# NousResearch/hermes-agent · Desktop session history stale refresh row retention fix

## Open now

- 1 issue, 2 PRs open on GitHub.
- #119819: \[Bug\]: Desktop session history tab shows wrong/missing recent messages — session content misaligned
- PR #119828: fix(desktop): retain newer rows after stale history refresh
- PR #130198: fix(desktop): retain newer rows after a stale history refresh without breaking undo \[risk 0.60\]

These items address a bug where the desktop session history tab displays wrong or missing recent messages due to stale history refreshes overwriting newer rows. The fixes focus on retaining newer rows after a stale refresh without disrupting undo behavior.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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

- #119819: \[Bug\]: Desktop session history tab shows wrong/missing recent messages — session content misaligned

## Prior & competing PRs

- **#119828: fix(desktop): retain newer rows after stale history refresh**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `apps/desktop/src/app/chat/transcript-backfill.ts`, `apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.test.ts`
- **#130198: fix(desktop): retain newer rows after a stale history refresh without breaking undo \[risk 0.60\]**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `0ab43d4f67e41be75f4f6c0fa14a86dbcfd3e5b3`, `bd0e1ba34771fbde521da8fcf8f55148ba950246`, `c25709c672`, `91988e94e1`, `3804be3e01`, `1076f1d47d`, `#94724`
  - files: `apps/desktop/src/app/chat/rewind-generation.ts`, `apps/desktop/src/app/chat/transcript-backfill.test.ts`, `apps/desktop/src/app/chat/transcript-backfill.ts`, `apps/desktop/src/app/contrib/hooks/use-background-sync.ts`, `apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.test.ts`, `apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.ts`, `apps/desktop/src/app/session/hooks/use-session-actions/index.ts`, `apps/desktop/src/app/session/hooks/use-session-actions/restore-pending-clarify.ts`, `apps/desktop/src/app/session/hooks/use-session-actions/resume-warm-cache.ts`, `apps/desktop/src/app/session/hooks/use-session-actions/rewind-gate.ts`, `apps/desktop/src/app/types.ts`, `apps/desktop/src/types/hermes.ts`, `hermes_cli/web_routers/sessions.py`, `tests/hermes_cli/test_session_message_rewind_generation.py`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
