Files
hermes-agent/tools/environments
alt-glitch d90dc4daa6 refactor(environments-terminal): drop test-only aliases from product code
- ProcessRegistry._log_delta_command (staticmethod alias of log_delta_command): its only
  production use was the one internal call, which now calls log_delta_command.
- _load_hermes_env_vars in environments/ssh.py and docker.py: module rebinding kept only
  for tests to patch; tests now patch load_hermes_env_vars on the same module.
- env_probe.get_environment_probe_line(force_refresh=...): documented as test-only; no
  caller passes it (gateway/run.py, agent/system_prompt.py) and tests already reset via
  _reset_cache_for_tests().
- managed_modal: touch_activity_if_due is imported at module top. The lazy import and the
  try/except existed only for a test stub of tools.environments.base; touch_activity_if_due
  already swallows callback errors itself. The stub now provides the name.

None of these names is in plugin_api.json or the frozen updater surface.
2026-11-16 21:56:33 +05:30
..