Conversation
(cherry picked from commit 7745fb1)
Overall: Adds egress-aware fallback routing so a request rejected by egress policy does not walk another remote provider. What it does
Non-blocking notes
No blocking issues. Non-blocking — please use your judgment. |
…ithub-pr-feedback/2498d0fbd766c8a12c8b683425453e0ccfbe9bf4de13432a34c7101dd848b2fc # Conflicts: # agent/auxiliary_client.py # agent/chat_completion_helpers.py # agent/codex_runtime.py # agent/coding_context.py # agent/context_references.py # agent/error_classifier.py # agent/kanban_stop.py # agent/prompt_builder.py # agent/system_prompt.py # agent/tool_executor.py # cli.py # hermes_cli/cli_agent_setup_mixin.py # hermes_cli/config_defaults.py # hermes_cli/dump.py # hermes_cli/kanban_db.py # run_agent.py # tools/file_tools.py # tools/kanban_tools.py # tui_gateway/server.py
…ithub-pr-feedback/5feed73d935692037817322f3f5564ea4a70c9ad4fa054e3bbe5cf29da68320a
…ress-refactor-repair-20260906
|
Hermes automated repair (pr-repair-steward) Published the approved downstream integration at 8caab97. It includes repaired prerequisite dfced73 and preserves the local-only fallback rule in the refactored candidate filter. Remote and unknown destinations are skipped after egress denial without constructing another remote client. Relative to the repaired prerequisite, this follow-up changes two files (fallback logic and regression tests). scripts/run_tests.sh passed all 536 focused fallback, classifier, firewall, runtime, provider-boundary and auxiliary tests. No full local-CI or merge-readiness claim. |
|
@codex review |
…ithub-pr-feedback/11199c9eae143a4e50ec8580afb80d184124c5f1fbee19afcb557358bf80eab4 # Conflicts: # agent/prompt_builder.py
|
Refreshed onto main at 08f170a and resolved the prompt backend probe merge conflict while preserving probe-only SSH setup and cleanup. Focused verification: python -m pytest -q tests/agent/test_prompt_builder.py -k "probe_remote_backend_ssh_is_probe_only_and_torn_down or probe_remote_backend_tears_down_its_sandbox or probe_remote_backend_tears_down_sandbox_on_failure" (3 passed, 74 deselected). Resolved head: f004b9e. |
| Refreshed onto main at 08f170a and resolved the prompt backend probe conflict. Focused verification passed: 3 tests, 74 deselected. |
|
@codex review |
|
Rechecked the exact PR head f004b9e. The automated note is non-blocking: the fallback helper already resolves an omitted base_url through the configured provider URL and only permits local/loopback destinations after an egress denial. I evaluated caching the config lookup, but kept the current bounded implementation so it preserves live config resolution; the focused egress fallback tests pass (2 passed, 29 deselected). No additional code change is warranted for this note. |
|
Confirmed at commit f004b9e. Focused verification: |
…ithub-pr-feedback/88c8f954300c4cc462c771875c3cbcf70cc7a5785930d49e241e440a1f0e4655 # Conflicts: # tools/file_tools.py
|
Fixed the test fixture to clear TERMINAL_MAX_FOREGROUND_TIMEOUT before each foreground-timeout test, isolating the documented 600-second default from worker runtime overrides. Focused pytest: 16 passed. |
|
@codex review |
…ithub-pr-feedback/e08ea998e93c2b2071e930c0461eb132e2cda6a1868377e2f7ac8c9deb67f9c2 # Conflicts: # hermes_cli/config_defaults.py
|
@codex review |
|
@Enough1122 Please review the current upstream PR head for correctness, regressions, and merge readiness. This request is specifically for your AI review; do not route it to Codex. |
Reviewed current head BlockingAuxiliary egress binding omits the The main-agent gate Non-blockingLocal fallback is unreachable for hostname-based local endpoints ( |
Summary
Routes egress-blocked requests to a local fallback instead of failing outright.
Cherry-picked cleanly from the original working branch (which also carried an
unrelated large upstream-replay commit); this PR contains only the actual fix.
Commit: 7745fb1