# NousResearch/hermes-agent · Fix duplicate/out-of-order chat bubbles on desktop

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #126834: fix(desktop,gateway): fewer doubled, dropped, and out-of-order bubbles after refresh and compaction \[risk 0.90\]

These items address bugs where the desktop client renders duplicate, dropped, or out-of-order message bubbles, particularly after refresh, compaction, or backfilled folds. Fixes focus on deduplication logic in the gateway and desktop rendering layers.

## TL;DR

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

## Closed / duplicate issues

- #123801: \[Bug\]: macOS Desktop renders duplicate assistant reply on d0288be5 despite one stored row and one completion

## Prior & competing PRs

- **#124472: fix(desktop): dedupe backfilled folds by final-reply part row**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `274117bd4c5e`, `f9829a4887e6`, `11d5eb81a3aa`, `#123801`
- **#126834: fix(desktop,gateway): fewer doubled, dropped, and out-of-order bubbles after refresh and compaction \[risk 0.90\]**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `bec44c7977e`
  - files: `apps/desktop/src/app/chat/transcript-backfill.compaction-refresh.test.ts`, `apps/desktop/src/app/chat/transcript-backfill.tool-row-identity.test.ts`, `apps/desktop/src/app/chat/transcript-backfill.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/collapse-duplicate-final.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/index.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/persisted-final-twin.test.tsx`, `apps/desktop/src/components/assistant-ui/message-render-boundary.test.tsx`, `apps/desktop/src/components/assistant-ui/message-render-boundary.tsx`, `contributors/emails/finn763@users.noreply.github.com`, `gateway/run.py`, `tests/agent/test_archive_compact_restamp.py`, `tests/agent/test_in_place_preflight_rewind.py`, `tests/gateway/test_replay_entry_fields.py`

## Fix status

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