# NousResearch/hermes-agent · Restore stale-target retry fix, desktop

## Open now

- Nothing open on GitHub.

These issues and PRs address a bug where Restore lacked the stale-target retry logic that Edit already had, causing failures when the restore target was no longer valid in session history. The work brings Restore's behavior in line with Edit on the tile surface.

## TL;DR

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

- #107593: fix(desktop): Restore fails with 4018 "no longer in session history" for a message that never persisted — Edit has stale-target retry, Restore doesn't

## Prior & competing PRs

- **#128318: fix(desktop): Restore recovers from a stale durable target like Edit, on the tile surface too**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/chat/session-tile-actions.test.ts`, `apps/desktop/src/app/chat/session-tile-actions.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.ts`, `contributors/emails/[redacted:email]`
- **#107597: fix(desktop): retry stale restore targets**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#128318`

## Fix status

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