# NousResearch/hermes-agent · shell hooks not registered for serve command

## Open now

- 0 issues, 3 PRs open on GitHub.
- PR #69832: fix(serve): register shell hooks for dashboard/serve startup (#69825)
- PR #70461: fix: add 'serve' to _AGENT_COMMANDS so register_from_config is called (#69825)
- PR #102521: fix(cli): register config shell hooks on serve and dashboard startup

A bug where the 'serve' command was omitted from the agent commands list, preventing shell hooks from being registered via register_from_config. Multiple fix attempts address this by adding 'serve' to the relevant command set.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 3 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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.40`: 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

- #69825: \[Bug\]: serve command never registers shell hooks (register_from_config never called)

## Prior & competing PRs

- **#61844: fix(cli): register shell hooks in hermes serve sessions by adding 'serve' to _AGENT_COMMANDS (#61806)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `d87d7657c0791c7038f2e5dfffb036516cba512c`, `#104870`
- **#69832: fix(serve): register shell hooks for dashboard/serve startup (#69825)**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `d89fff1aef04d3fa397ceedda2518b4607a50e8b`, `63279301bcbdc185c1b07b98a9312eb0c862f26d`, `4441a2a28d2143b3fe97bbd45b6d34934304f738`, `#102117`, `#69832`
  - files: `hermes_cli/main.py`, `tests/hermes_cli/test_dashboard_shell_hooks.py`, `tests/hermes_cli/test_dashboard_web_dist_validation.py`
- **#70461: fix: add 'serve' to _AGENT_COMMANDS so register_from_config is called (#69825)**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#61844`
  - files: `hermes_cli/main.py`, `hermes_cli/profiles.py`
- **#102521: fix(cli): register config shell hooks on serve and dashboard startup**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `106dba07008794c516b0a251ff42005625c2ad79`, `63279301bcbdc185c1b07b98a9312eb0c862f26d`, `#102504`, `#69825`, `#61806`, `#69832`, `#81409`, `#61844`, `#70461`, `#102513`
  - files: `hermes_cli/config_shell_hooks.py`, `hermes_cli/main.py`, `tests/hermes_cli/test_dashboard_hooks.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
