# NousResearch/hermes-agent · Compression stall loop fixes and cooldown logic

## Open now

- Nothing open on GitHub.

A bug where compaction made no progress caused repeated stalling and context rebuilding each turn. These members address recovery via fallback chains, deterministic fallback summaries, cooldown flooring, and skipping retries during cooldown.

## TL;DR

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

- #112420: \[Bug\]: Compaction stall ("made no progress") continues without compression — oversized context re-triggers compaction every turn; drifted system prompt rebuilt repeatedly

## Prior & competing PRs

- **#113157: fix(compression): stalled summary route recovers on fallback_chain in the same turn; stall cooldown covers the idle window (#112387, #112420, salvage #112389, #112504)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/compression_facade.py`, `agent/context_compressor.py`, `agent/conversation_compression.py`, `run_agent.py`, `tests/agent/test_compression_attempt_lifecycle.py`, `tests/agent/test_compression_stall_fallback.py`, `website/docs/developer-guide/context-compression-and-caching.md`
- **#113813: fix(compression): repeated summary stall commits the deterministic fallback summary instead of looping (closes remaining atoms of #112420)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/AGENTS.md`, `agent/context_compressor.py`, `agent/context_compressor_summary.py`, `agent/conversation_compression.py`, `tests/agent/test_compression_stall_deterministic_fallback.py`, `website/docs/developer-guide/context-compression-and-caching.md`
- **#112422: fix(compression): skip automatic retries during cooldown**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#113157`, `#113813`, `#113157`, `#112420`, `#113813`, `#112420`
- **#112504: fix(compression): floor stall cooldown at idle window and prune on no-progress**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `f59d973af6`, `0023b904e4a1`, `07c92d675a82`, `2d333e68b21a`, `#112420`, `#113157`, `#113813`, `#114918`

## Fix status

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