Files
hermes-agent/tests/tools
kshitijk4poor 9fea861eeb fix(process_registry): match oneshot completion linger by owner, not container key
wait_for_pending_completions(task_id) filtered notify_on_complete jobs by
ProcessSession.task_id, but the terminal tool stores the container key
there (`session:<key>`, `default`) and the spawning turn in owner_task_id
— the same mismatch the previous commit fixed in snapshot_running_ids,
kill_all and list_sessions. A caller scoping the linger to its own turn
would therefore wait on nothing. Match (owner_task_id or task_id) like
its siblings; the existing scoping test now spawns both jobs under one
shared container key so it fails on the old predicate.

Follow-up to #120631 (sibling site noted in review).
Co-authored-by: John Paul Soliva <soliva.johnpaul@icloud.com>
2026-09-24 16:04:05 +05:30
..