# NousResearch/hermes-agent · Fix stale/duplicate desktop turn rendering bug

## Open now

- Nothing open on GitHub.

A bug caused the desktop client to re-render previous turn content (tools and final answers) after new replies when background review was superseded. The fixes address discarding stale structured turn tails and preventing duplication or dropping of replies in that scenario.

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

- #120580: \[Bug\]: Desktop re-renders the previous turn's tools and final answer after a new reply when background review is superseded

## Prior & competing PRs

- **#120601: fix: background-review supersede no longer duplicates or drops desktop replies; fork turns tagged in logs**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/background_review.py`, `agent/turn_context.py`, `agent/turn_finalizer.py`, `apps/desktop/src/app/session/hooks/use-message-stream/background-review-interrupt.test.tsx`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/index.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/message-stream.test.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/message-stream.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/session-info.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/types.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/heartbeat-complete-reorder.test.tsx`, `apps/desktop/src/app/session/hooks/use-message-stream/index.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/steering-recovery.test.tsx`, `apps/desktop/src/app/types.ts`, `tests/agent/test_background_review.py`
- **#120581: fix(desktop): discard stale structured turn tails**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#120601`, `#120580`

## Fix status

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