# NousResearch/hermes-agent · undo/retry broken after turns with no assistant reply

## Open now

- Nothing open on GitHub.

A bug where /undo and /retry become permanently unavailable after a turn that receives no assistant reply. Multiple fix attempts address rewind logic interacting with history state and in-memory merges.

## 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 #116975. Verify it addresses your case.
- **Recommended:** read PR #116975 (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-116975`. 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

- #115493: \[Bug\]: /undo and /retry are dead for the rest of a session after a turn ends with no assistant reply ("session history changed before the rewind could be persisted")

## Prior & competing PRs

- **#116975: fix(state): /undo and /retry work again after a turn that got no reply (#115493, salvage #115511)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_state_rewind.py`, `tests/gateway/test_undo_rewind_session.py`, `tests/hermes_state/test_rewind_surfaces_invariant.py`
- **#115503: fix(state): rewind sees through an in-memory user-merge before the history guard**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#115511`
- **#115511: fix(state): align rewind with repaired alternation on unanswered turns (#115493)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `ad01b93b2644`, `#116975`, `#115493`, `#115511`

## Fix status

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