Files
hermes-agent/hermes_cli
kshitijk4poor b97b0c6bc9 fix(gateway): every live-state check knows a degraded gateway is serving
Gate review: `degraded` became a whole-life serving state but four
sibling predicates only accepted `running`: derive_gateway_busy /
derive_gateway_drainable (the NAS drain gate reported a degraded gateway
with in-flight turns as idle and undrainable), the stale-heartbeat
detectors in `hermes gateway status` and the dashboard, and the Windows
doctor probe. All four accept `degraded`; a dead watchdog-stamped
`degraded` is still excluded by `gateway_running=False`.

The parked-platform ERROR pointed at `/platform resume`, which only
resumes platforms in the retry queue - a non-retryable failure never
enters it. The remedy is `hermes gateway restart`.

Test: a degraded gateway with active agents is busy; not live => not
drainable.
2026-09-19 02:06:55 +05:30
..
…
…
…
…
…
…
…