# NousResearch/hermes-agent · Limiting large compaction summaries in session search bookends

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #55640: fix(context): bound session recall payloads

These issues and PRs address a problem where session search discovery bookends could include or rehydrate oversized compaction summaries, with fixes focused on filtering, truncating, or capping such content to bound payload sizes.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #69334. Verify it addresses your case.
- **Recommended:** read PR #69334 (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-69334`. 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

- #43175: session_search discovery can rehydrate huge compaction summaries via bookends

## Prior & competing PRs

- **#69334: fix(search): keep compaction summaries and megabyte messages out of discovery bookends**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/test_session_search.py`, `tools/session_search_tool.py`
- **#43184: fix(tools): filter compaction summaries from session_search bookends and cap content length**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `9bb253d4f`, `#69334`
- **#43267: fix(tools): truncate huge bookend messages in session_search (#43175)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#43184`
- **#55640: fix(context): bound session recall payloads**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#45`, `#47`, `#55640`
  - files: `contributors/emails/[redacted:email]`, `tests/tools/test_session_search.py`, `tools/session_search_tool.py`

## Fix status

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