# NousResearch/hermes-agent · Kanban worker chat subprocess shell hooks and accept-hooks flag

## Open now

- Nothing open on GitHub.

One issue reports that \`pre_tool_call\` and \`on_session_finalize\` shell hooks do not fire reliably in kanban-worker \`chat -q\` context on v0.13.0. Two pull requests with matching titles propose passing accept-hooks to the worker chat subprocess, which appears related, though the titles alone do not show whether they address the reported problem.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #28393. Verify it addresses your case.
- **Recommended:** read PR #28393 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #25204: Shell hooks for \`pre_tool_call\` and \`on_session_finalize\` do not fire reliably in kanban-worker \`chat -q\` context (v0.13.0)

## Prior & competing PRs

- **#28393: fix(kanban): pass accept-hooks to worker chat subprocess (#25659)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/kanban_db.py`, `tests/hermes_cli/test_kanban_core_functionality.py`
- **#25659: fix(kanban): pass accept-hooks to worker chat subprocess**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `8bfb4569487af5441abae44f63f78937227a9473`, `#28393`

## Fix status

- Merged to main in PR #28393 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-05-19`.
- Subsystem: `agent`
