hermes-agent/tests/agent/transports
Brooklyn Nicholson f6d2ee4afc feat(codex): honor redirect and hard stop in the app-server runtime
The Codex app-server runtime bypasses the main conversation loop and drives
its own subprocess turn, so it needs first-class hooks rather than the
OpenAI-loop interrupt path.

- `AIAgent.interrupt()` now forwards a hard stop to
  `CodexAppServerSession.request_interrupt()`, and `redirect()` uses Codex's
  native `turn/steer` protocol instead of cancelling the subprocess.
- `run_turn()` no longer clears an interrupt that arrived during
  `ensure_started()`: a stop landing mid-startup is honored before `turn/start`,
  and the interrupt event is cleared on every exit path.
- `run_codex_app_server_turn()` mirrors the loop finalizer's interrupt handoff
  (surface `interrupted` / `interrupt_message`, then `clear_interrupt()`) on
  both the normal and exception early-return paths, so a hard stop can't leave
  `_interrupt_requested` stale for the next turn.
2026-07-22 12:02:40 -05:00
..
__init__.py feat: add transport types + migrate Anthropic normalize path 2026-04-20 23:06:00 -07:00
test_bedrock_transport.py chore: prune unused imports and duplicate import redefinitions 2026-05-28 22:26:25 -07:00
test_chat_completions.py test(transports): assert Moonshot wire schema carries required:[] 2026-07-20 11:05:52 -07:00
test_codex_app_server_runtime.py fix(security): strip dynamic Hermes secrets from all subprocess spawn env 2026-07-01 14:37:22 +05:30
test_codex_app_server_session.py feat(codex): honor redirect and hard stop in the app-server runtime 2026-07-22 12:02:40 -05:00
test_codex_event_projector.py chore: prune unused imports and duplicate import redefinitions 2026-05-28 22:26:25 -07:00
test_codex_transport.py fix(codex): harden final cache-key boundaries 2026-07-17 13:48:41 -07:00
test_hermes_tools_mcp_server.py fix(mcp): pass params_schema to MCP tools via Python signatures 2026-07-14 21:36:32 -07:00
test_transport.py fix(agent): surface model refusals instead of retrying them as errors 2026-06-14 12:10:08 +05:30
test_types.py chore: prune unused imports and duplicate import redefinitions 2026-05-28 22:26:25 -07:00