Shell hook prompt blocking asyncio event loop fix
NousResearch/hermes-agent · cluster 120356 · agent
Data as of
Nothing open on GitHub. Fix merged in #140984. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #140984. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #140984. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where the shell hook approval prompt calls input() on the asyncio event loop thread causes freezes and gateway self-termination, with accompanying fixes to avoid blocking the event loop during consent prompts.
Open issues0
Open PRs0
Fixes on record
-
#140984 Unattended gateway no longer freezes and exits 75 on a shell-hook consent prompt (#120356, salvage #140461)
files:
agent/shell_hooks.py,gateway/run_startup.py,gateway/shutdown_watchdog.py,hermes_cli/main.py,tests/agent/test_shell_hooks_consent.py,tests/gateway/test_loop_liveness_watchdog.py,tests/hermes_cli/test_cli_startup_trim.py,website/docs/user-guide/features/hooks.md
3 PRs closed without merging
From the close comments: done elsewhere 2 · superseded by another PR 1
-
#120362 fix: avoid shell hook prompt on event loop · superseded by another PR →
afb53eb,#140984,#120356 -
#123425 fix(agent): bound the shell-hook consent prompt on the event loop thread · done elsewhere →
afb53eb,#140984 -
#140461 fix(gateway): never prompt for shell-hook consent outside the foreground CLI (#120356) · done elsewhere →
ea30fe3,afb53eb,#140984
Closed issues · 1
- Closed#120356[Bug]: shell hook approval prompt calls input() on the asyncio event loop thread — a console-bearing launcher (Windows .vbs login item) freezes the loop 105s and the gateway self-kills with exit 75
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Merged PRs
- #140984
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 18 Oct 2026