NousResearch/hermes-agent

Compression wedge bug with oversized session history

Cluster 131412. Data as of

Nothing open on GitHub. Fix merged in #132160 on 3 Oct 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #132160. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #132160. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items address a bug where compression stalls on long tool-only or oversized sessions because the assistant tail anchor is unbounded, causing middle_window_tokens to stay at zero and leaving no compressible history.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #132160 Compression no longer wedges on a long tool-only turn (#131412, salvage #131445)

    merged to main

    files: agent/context_compressor.py, tests/agent/test_split_turn_compaction.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #131445 fix(compression): bound the assistant tail anchor by the soft ceiling (#131412) · merged via another change → bd0affe, #131412, #29824
Closed issues · 1
  • Closed#131412[Bug]: [Bug]: Current main cannot compact oversized openai-codex session — middle_window_tokens stays 0 and protected tail consumes all compressible history
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#132160
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
3 Oct 2026

For your agent

The same facts, typed.