Shell hooks not registered across multiple entry points
Cluster 41457 · apps/desktop. Data as of
2 open items. Fix merged in #104870 on 7 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 11 related items grouped here, 3 issues already closed.
- Fix event
- A fix was merged to main in PR #104870. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- 1 issue and 1 PR.
Next step: read #104870, then check whether your report is the one still open.
Read #104870Pick up a Lab taskA recurring bug where shell hooks defined in config.yaml (e.g. pre_tool_call, on_session_finalize) are never registered in the TUI gateway, ACP adapter, hermes serve, and kanban-worker chat contexts. The cluster contains the original bug reports and numerous fix attempts targeting these entry points.
Open issues1
- Issue#41457Shell hooks not registered in desktop (TUI gateway) and ACP adapter — pre_tool_call block hooks silently ignored
Open PRs1
- PR#41464fix: register shell hooks in TUI gateway and ACP adapter (issue #41457)
Fixes on record
-
#104870 fix(desktop): configured shell hooks run for chat agents
files:
evals/desktop_bug_campaign/hooks_live.py,tests/tui_gateway/test_profile_shell_hooks.py,tui_gateway/server.py,website/docs/user-guide/features/hooks.md
5 PRs closed without merging
From the close comments: done elsewhere 2 · superseded by another PR 2 · duplicate 1
-
#41548 fix(#41457): register shell hooks in TUI gateway and ACP adapter at startup · done elsewhere →
#41457,#41464 -
#41555 fix(security): register shell hooks in TUI gateway and ACP adapter entry points · superseded by another PR →
#41464,#41457 -
#43826 fix(tui_gateway): register shell hooks at desktop/TUI startup · superseded by another PR →
#13854 -
#43828 fix(tui): register shell hooks at TUI gateway startup · duplicate →
#43826,#13854 -
#67084 fix(tui_gateway): register shell hooks in _make_agent so they dispatch interactively · done elsewhere →
d87d765,#104870,#57020,#69825
Closed issues · 3
- Closed#43823[Bug]: Shell hooks (config.yaml hooks:) are never registered in the desktop TUI entry point
- Closed#61806shell hooks (pre_tool_call) never registered in `hermes serve` — Desktop app / dashboard API sessions bypass all hook policies
- Closed#67053Shell hooks register in the launcher but never dispatch in interactive `hermes chat` — tui_gateway daemon doesn't call register_from_config
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.20: 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
- apps/desktop
- Merged PRs
- #104870
- Closed issues
- 3
- Attempts
- 5 PRs closed without merging
- Fix link checked
- 7 Sep 2026