# NousResearch/hermes-agent · Token threshold locking out session reclamation logic

## Open now

- Nothing open on GitHub.

These items concern a bug where sessions exceeding a token threshold have no reclamation path triggered, allowing context to grow unchecked until model quality degrades. The accompanying fixes address a locking condition in the pruning/rearm logic that blocks over-threshold sessions from being compressed or reclaimed.

## 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 #101922. Verify it addresses your case.
- **Recommended:** read PR #101922 (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-101922`. 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 `1.00`: 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

- #101889: \[Bug\]: No reclamation path fires while above threshold_tokens — session rides 560K/1M until the model degenerates into a repetition loop

## Prior & competing PRs

- **#101922: fix(compression): do not let prune rearm lock out over-threshold sessions (salvage of #101894)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/context_compressor.py`, `agent/conversation_loop.py`, `tests/agent/test_proactive_prune_rearm_threshold.py`, `tests/agent/test_proactive_tool_result_pruning.py`, `tests/run_agent/test_proactive_prune_loop_wiring.py`
- **#101894: fix(compression): do not let prune rearm lock out over-threshold sessions**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#101922`

## Fix status

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