# NousResearch/hermes-agent · undo command loses history at compaction boundaries

## Open now

- 1 issue, 0 PRs open on GitHub.
- #81130: \[Bug\]:  \`/undo\` does not restore pre-compaction history across an in-place compaction boundary

A bug where the /undo command fails to restore pre-compaction history when crossing an in-place compaction boundary. Includes the bug report and related fix attempts.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 0 open PR(s), 0 merged PR(s), 2 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. 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.

## Open related issues

- #81130: \[Bug\]:  \`/undo\` does not restore pre-compaction history across an in-place compaction boundary

## Prior & competing PRs

- **#81231: fix(sessions): /undo restores pre-compaction history (#81130)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#81258`, `#81130`
- **#81258: fix(undo): restore pre-compaction history across compaction boundaries**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#81130`, `#81231`, `#81258`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
