# NousResearch/hermes-agent · Shell hooks missing in certain session types

## Open now

- Nothing open on GitHub.

These issues and PRs address shell hooks not being registered in specific runtime contexts, including profile-scoped UI runtimes and serve/Desktop sessions. The root cause involves serve being excluded from a command set that controls hook initialization.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 0 merged PR(s), 2 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.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

- #81314: \[Bug\]: Shell hooks are not registered in Desktop sessions because serve is excluded from _AGENT_COMMANDS

## Prior & competing PRs

- **#81330: fix(cli): initialize hooks for serve sessions (#81314)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`
- **#81409: fix(hooks): register shell hooks in profile-scoped UI runtimes**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
