Compaction alternation repair drops unaccounted rows
NousResearch/hermes-agent · cluster 129123
Data as of
Nothing open on GitHub. Fix merged in #130672. Check it covers your case.
The short answer
- Known?
- Yes. 6 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #130672. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #130672. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and pull requests address a bug where rows dropped or merged by the alternation repair step during in-place compaction are not properly accounted for, causing incorrect row sequencing. Multiple fix attempts or iterations are represented across the members.
Open issues0
Open PRs0
Fixes on record
-
#130672 In-place compaction no longer re-sends old prompts or re-orders a killed turn's tool call after a reload (#125564, #129123, salvage #129749, #125567)
files:
agent/agent_runtime_helpers.py,agent/conversation_compression.py,agent/conversation_compression_archive.py,agent/message_metadata.py,contributors/emails/[redacted:email],gateway/run.py,hermes_state.py,hermes_state_coverage.py,hermes_state_messages.py,tests/agent/test_in_place_merged_user_rows.py,tests/agent/test_message_sequence_repair.py,tests/hermes_state/test_repaired_history_commit_coverage.py
4 PRs closed without merging
From the close comments: merged via another change 3 · superseded by another PR 1
-
#125567 fix(compression): in-place compaction accounts for every row the alternation repair merged or dropped · merged via another change →
6a1a762,#130672 -
#129124 fix(agent): account for dropped tool rows during compaction · merged via another change →
6a1a762,#130672 -
#129162 fix(compaction): account for alternation repair dropped rows (#129123) · superseded by another PR →
6a1a762,#130672 -
#129749 fix(compression): account for rows the alternation repair drops or merges · merged via another change →
6a1a762,#130672
Closed issues · 1
- Closed#129123[Bug]: In-place compaction re-sequences a killed turn's tool call behind the running turn (rows the alternation repair drops are not accounted for)
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.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means 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 LabAt a glance
- Merged PRs
- #130672
- Closed issues
- 1
- Attempts
- 4 PRs closed without merging
- Fix link checked
- 3 Oct 2026