# NousResearch/hermes-agent · compression compaction row handling and prompt bugs

## Open now

- Nothing open on GitHub.

These items address bugs in the compression and in-place compaction logic, specifically around rows that the alternation repair drops or merges, and a case where compaction over an unanswered prompt causes old prompts to be re-sent and a summarized message to be hidden.

## TL;DR

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

- #125564: \[Bug\]: In-place compaction over an unanswered prompt (durable user;user) re-sends the old prompts after the running turn and hides a summarized message

## Prior & competing PRs

- **#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)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - 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`
- **#125567: fix(compression): in-place compaction accounts for every row the alternation repair merged or dropped**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `6a1a762d02`, `#130672`
- **#129749: fix(compression): account for rows the alternation repair drops or merges**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `6a1a762d02`, `#130672`

## Fix status

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