# NousResearch/hermes-agent · agent:end hook full response exposure fix

## Open now

- 2 issues, 2 PRs open on GitHub.
- #7318: agent:end hook receives truncated response (500 chars) and mutations are not applied
- #45721: \[Feature\]: Expose \`full_response\` and \`full_message\` in \`agent:end\` hook context
- PR #45723: fix(gateway): expose full_response and full_message in agent:end hook context
- PR #89224: fix(gateway): deliver full response and apply mutations from agent:end hooks

These members address a bug where the agent:end hook received a truncated response and mutations were not applied, along with the feature request and fixes to expose full_response and full_message in that hook's context.

## TL;DR

- 4 member(s): 2 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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_PARTIAL`): 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.39`: 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.

## Open related issues

- #7318: agent:end hook receives truncated response (500 chars) and mutations are not applied
- #45721: \[Feature\]: Expose \`full_response\` and \`full_message\` in \`agent:end\` hook context

## Prior & competing PRs

- **#45723: fix(gateway): expose full_response and full_message in agent:end hook context**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#45721`, `#45721`, `#45721`
  - files: `gateway/hooks.py`, `gateway/run.py`, `tests/gateway/test_agent_end_hook_context.py`
- **#89224: fix(gateway): deliver full response and apply mutations from agent:end hooks**. open
  - maintainer direction: category `merged_via`; implication `superseded`; refs `31d0a2428e9db346d6781da66f5b37ff3e12def2`, `d2a10fdc905b`, `1f5142dfdfc4`, `1f5142dfdfc4`, `1f5142dfdfc4b9b5674297a0666195907b284916`
  - files: `gateway/run_turn.py`, `tests/gateway/test_gateway_silence_tokens.py`

## Fix status

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