# NousResearch/hermes-agent · Fix compaction retention of oversized typed user text

## Open now

- Nothing open on GitHub.

These items address a bug where compaction incorrectly discarded oversized typed user text and retained an older ask instead. The fixes adjust retention boundary budget allocation to preserve the newest oversized typed input.

## TL;DR

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

- #131788: \[Bug\]: native checkpoint retention skips oversized typed user text and keeps an older ask instead

## Prior & competing PRs

- **#132147: Compaction keeps the newest oversized user ask within budget for typed and non-ASCII text (#131788, salvage #131828, #127458)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/native_compaction.py`, `tests/agent/test_native_compaction.py`, `tests/agent/test_native_compaction_typed_user_retention.py`
- **#131819: fix(compaction): give the retention boundary budget to typed text parts**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `f432912636`, `#131788`, `#132147`
- **#132305: fix(compaction): retain truncated head of oversized typed user text instead of an older ask (fixes #131788)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `f432912636`, `#131788`, `#132147`

## Fix status

- Merged to main in PR #132147 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-05`.
