Marks / Product integration / Durable execution
hermes-agent · Durable execution
Turn lease serializes (interrupt default), and a recovery turn re-drives resume_pending. Disconnect survival is opt; unresolved: whether /v1/runs resumes after restart
Level
Criteria for this column
- 0
State in memory only; a restart loses sessions
- 1
Sessions persist, but an in-flight turn is lost on restart and concurrent requests on one session are not serialized (dropped or racing)
- 2
Sessions persist and concurrent input is serialized (queue, steer or reject), but an interrupted turn is lost or must be resent by hand
- 3
Level 2, plus an interrupted turn is detected after restart and either closed out with a recorded error or resumed
met - 4
Level 3, plus turns survive client disconnect and automatic resume or replay with an explicit idempotency rule (request ids, replay-safe declarations, at-least-once documented)
What the source review found
Varies by surface. Gateway: per-session turn lease; busy input interrupts by default [opt: queue, steer]; shutdown marks sessions resume_pending and re-drives them. API SSE disconnect interrupts the run; /v1/runs is connection-independent with idempotency keys. No step replay after a crash (Note I-4). I41I42I43I44I45I46
Pinned evidence
Cited by the mark
- I41
per-session turn lease; fails closed on timeout; CLI-continuity outside the lock
- I43
recovery turn on boot/reconnect for recent
resume_pendingsessions (marked at gateway/run_shutdown.py:893-906) - I44
SSE client disconnect abandons/interrupts the agent task
NousResearch/hermes-agent gateway/platforms/api_server_openai_routes.py L1238-L1243
Also cited by the review finding
- I42
busy_input_mode: "interrupt"default (interrupt/queue/steer)NousResearch/hermes-agent hermes_cli/config_defaults.py L815
- I45
/v1/runsidempotency keys (SQLite)NousResearch/hermes-agent gateway/platforms/api_server_run_idempotency.py L1-L30
- I46
ACP concurrent prompt redirected or queued
Two independent graders
- Grader A
- 3 / 3
- Grader B
- 3 / 3
- Final
- 3 / 3