# NousResearch/hermes-agent · Stale reasoning content miscounted in compression logic

## Open now

- Nothing open on GitHub.

These items relate to reasoning or 'thinking' content being incorrectly handled during context compression, including undercounting in threshold checks and stale state during replay or compaction walks.

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

- #80246: Web UI context-compression threshold check undercounts reasoning_content, causing false 'context overflow' on long reasoning sessions

## Prior & competing PRs

- **#98998: fix(compression): compaction dead-loop ended — trigger and tail walks charge stale thinking by wire truth (#84371)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/context_compressor.py`, `agent/conversation_compression.py`, `agent/conversation_loop.py`, `agent/message_sanitization.py`, `agent/model_metadata.py`, `agent/turn_context.py`, `tests/agent/test_estimator_parity_84371.py`
- **#94211: fix(agent): charge stale thinking on DeepSeek/Kimi replay**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#98998`

## Fix status

- Merged to main in PR #98998 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-31`.
- Subsystem: `dashboard`
