NousResearch/hermes-agent

Pruning stale native-compaction checkpoints

Cluster 102374 · agent. Data as of

Nothing open on GitHub. Fix merged in #115833 on 19 Sep 2026. Check it covers your case.

The short answer

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

These items address a bug where shadowed native-compaction checkpoints are never removed, causing unreachable ciphertext to inflate storage. The work involves pruning those stale checkpoints from transcripts, child sessions, persisted rows, and the wire builder.

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.

  • #115833 fix(compression): shadowed native-compaction checkpoints are pruned from the compacted transcript, child sessions and persisted rows (#102374, salvage #102378)

    merged to main

    files: agent/context_compressor.py, agent/session_persistence.py, hermes_state_messages.py, tests/agent/test_stale_replay_prune.py, tests/hermes_state/test_append_messages_batch.py

2 PRs closed without merging

From the close comments: merged via another change 1 · superseded by another PR 1

  • #102378 fix(compression): prune native-compaction checkpoints a newer carrier shadows · merged via another change → 1947f74, #115833, #102374, #102378
  • #102393 context_compressor: prune stale checkpoints to match wire builder · superseded by another PR → c157c2e, #102378
Closed issues · 1
  • Closed#102374[Bug]: Stale native-compaction checkpoints are retained forever — unreachable ciphertext inflates the tail budget and dominates state.db growth
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.50: 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

Subsystem
agent
Merged PRs
#115833
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
19 Sep 2026

For your agent

The same facts, typed.