# NousResearch/hermes-agent · Plugin hooks inconsistently invoked across execution surfaces

## Open now

- Nothing open on GitHub.

These items concern gaps and fixes in when plugin hooks—particularly output transform hooks—are triggered, covering background processes, persistent shell terminals, and other execution surfaces where invocation behavior is inconsistent or missing.

## 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 #118845. Verify it addresses your case.
- **Recommended:** read PR #118845 (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: `resolved` · deciding PR(s): `pr-118845`. 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

- #70760: Bug: transform_terminal_output plugin hook not invoked on persistent-shell terminal path

## Prior & competing PRs

- **#118845: Plugin hooks fire on every surface: gateway slash commands bound + off-loop, transform hooks cover inline runtime tools, background processes and the persisted reply (#108698 #105279 #72836 #70760 #44239)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_runtime_helpers.py`, `agent/inline_tool_executors.py`, `agent/tool_executor.py`, `agent/turn_final_response.py`, `agent/turn_finalizer.py`, `gateway/run.py`, `gateway/run_inbound.py`, `gateway/run_notifications.py`, `tests/agent/test_run_agent.py`, `tests/agent/test_transform_llm_output_persistence.py`, `tests/gateway/test_session_env.py`, `tests/gateway/test_unknown_command.py`, `tests/tools/test_process_registry.py`, `tests/tui_gateway/test_tui_gateway_server.py`, `tools/process_registry.py`, `tui_gateway/methods_tools.py`, `website/docs/user-guide/features/hooks.md`
- **#71401: fix(process): invoke output transform hook on background process results**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `35fdb4608a`, `#118845`

## Fix status

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