Files
hermes-agent/website/docs
Teknium adf8ecd5d4 fix(groups): Discard never starts a peer turn its member gateway never admitted
Discard of a deferred peer turn whose home lost the run receipt found the run
by replaying the keyed POST /v1/runs. A member gateway that had never admitted
that key started a fresh run with the user's prompt, and Discard then stopped
it and answered session_busy.

The home now asks the member gateway which run the turn's idempotency key
started, without sending the turn: POST /v1/room-members/runs/close (grant's
stop permission, the same room run namespace as /v1/runs/{id}/stop). The member
answers the run id, or closes the unused key in the same write transaction
that reserves keys, so a late copy of the turn is refused with
idempotency_key_conflict and nothing ever runs under it. A closed key settles
the turn at once; a found run is stopped and the turn settles once the member
confirms. An unreachable member, or one too old to have the route (404/405),
keeps the turn (peer_unreachable) and the home never falls back to the
admitting POST. A key whose finished run aged out of the run store is closed
too, which is still "nothing runs under it".

Retry keeps replaying the admission on purpose; Stop/Disband of a deferred
turn already send nothing without a receipt.
2026-11-06 08:43:37 -08:00
..