{"repo":"NousResearch/hermes-agent","public_id":"108624","display_label":"Shell hook process cleanup on Ctrl+C interrupt","summary":"These issues and PRs concern a bug where pressing Ctrl+C during a shell hook leaves the hook process tree running instead of terminating it. The work involves reaping the full hook process tree when the spawn is interrupted.","subsystem":null,"counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":109152,"merged_at":"2026-09-12T14:54:58+00:00"},"resolution":{"state":"resolved","by":"pr-109152"},"freshness":{"state":"verified","last_verified_at":"2026-09-12T14:54:58+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":108624,"pr_number":109152,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-12T14:54:58+00:00"}],"members":[{"kind":"issue","number":108624,"title":"shell hooks: Ctrl+C while a hook is running leaves the hook process running (follow-up to #84901)","url":null,"state":"closed"},{"kind":"pr","number":108625,"title":"fix(hooks): reap the hook process tree when _spawn is interrupted","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"761fa5d497","number":0},{"kind":"pr","value":"#109152","number":109152}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":109152,"title":"fix(hooks): Ctrl+C during a shell hook reaps the hook process tree (salvage #108625)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/shell_hooks.py","tests/agent/test_shell_hooks_tree_kill.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}