Files
hermes-agent/tools
Ben Barclay 06bcbc2ab7 fix(tui_gateway): hold foreign owners through the post-turn drain; keep owners across agent rebuilds
The post-turn safety-net drain took every event off the shared queue but held only the draining
session's owners. Idle session A's completion, sitting in session B's hands while B checked
ownership, left A in neither the queue nor a hold, so a reaper could close A and the requeued notice
was then dropped as unowned. The drain now dequeues through drained_for(), which holds every
dequeued event's owner until the foreign events are requeued and its own are routed.

_rebuild_session_agent (Bot Chat capability refresh) installed a replacement agent without the old
one's raw spawning ids, so a process started before a compression rotation stopped pinning its
session and fell outside the new agent's close kill set. The replacement now inherits them.
2026-10-20 02:24:45 -07:00
..
2026-10-08 19:54:07 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:54:07 +02:00
2026-10-08 21:29:48 +02:00
2026-10-08 21:38:05 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-08 21:29:48 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:42:29 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 21:29:48 +02:00
2026-10-09 17:34:36 +02:00