Files
hermes-agent/tests/agent
dsad 1798b335c4 fix(agent): reasoning replay verdict resets when the route changes
The Responses replay kill switch (_codex_reasoning_replay_enabled) was
session state that nothing reset, so a route that tripped it kept replay
off on every route the session moved to afterwards: a /model switch,
fallback activation, or the turn-start restore back to the primary.

The verdict now belongs to the route that earned it: all three route
changes reset it, and the switch rollback snapshot covers it.

Salvage of #61552 (reapplied on current main; the original's
switch_model / restore hunks no longer apply).
2026-10-01 12:08:13 -07:00
..