{"repo":"NousResearch/hermes-agent","public_id":"105223","display_label":"Plugin guard hang behavior and fail-closed policy","summary":"These items concern how plugin hook guards (particularly pre_tool_call and pre_gateway_dispatch) behave when a callback hangs or raises, including fail-closed semantics, blocking precedence rules, and recovery from a permanently stuck 'still running' state.","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":118844,"merged_at":"2026-09-22T06:47:52+00:00"},"resolution":{"state":"resolved","by":"pr-118844"},"freshness":{"state":"verified","last_verified_at":"2026-09-22T06:47:52+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":87420,"pr_number":118844,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-22T06:47:52+00:00"},{"issue_number":92553,"pr_number":118844,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-22T06:47:52+00:00"},{"issue_number":104865,"pr_number":118844,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-09-22T06:47:52+00:00"},{"issue_number":105223,"pr_number":118844,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-22T06:47:52+00:00"},{"issue_number":105827,"pr_number":118844,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-22T06:47:52+00:00"},{"issue_number":109624,"pr_number":118844,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-22T06:47:52+00:00"},{"issue_number":110241,"pr_number":118844,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-22T06:47:52+00:00"}],"members":[{"kind":"issue","number":105223,"title":"pre_tool_call: a hung guard callback permanently fails closed — all subsequent tool calls blocked until process restart ('still running' key has no expiry)","url":null,"state":"closed"},{"kind":"pr","number":105241,"title":"fix(plugins): recover tool calls after a hung policy guard","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"75e9567ca7","number":0},{"kind":"pr","value":"#118844","number":118844}],"category":"implemented_elsewhere","implication":"superseded"},"merged":false},{"kind":"pr","number":118844,"title":"Plugin hook policy: hung or raising guards fail closed without wedging, block outranks approve, shell approve reaches the gate, async pre_gateway_dispatch awaited (#105223 #109624 #87420 #92553 #105827 #110241)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/shell_hooks.py","gateway/run_inbound.py","hermes_cli/lifecycle.py","hermes_cli/middleware.py","hermes_cli/plugins.py","hermes_cli/plugins_dispatch.py","tests/agent/test_shell_hooks.py","tests/gateway/test_bot_loop_guard.py","tests/gateway/test_pre_gateway_dispatch.py","tests/hermes_cli/test_plugins.py","website/docs/user-guide/features/hooks.md"]}],"trust":{"default_tier":"verified","includes_suggested":false}}