Desktop stale stream delta duplication fixes

NousResearch/hermes-agent · cluster 119543 · apps/desktop

Data as of

Nothing open on GitHub. Fix merged in #120601. Check it covers your case.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #120601. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #120601. That is separate from the fix event.
Still open
Nothing open on GitHub.

A cluster of issues and fixes addressing stale or superseded streaming deltas on desktop that could cause previous message text to appear duplicated or dropped at turn boundaries. The work involves guarding against out-of-order stream events across turn transitions.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #120601 fix: background-review supersede no longer duplicates or drops desktop replies; fork turns tagged in logs

    merged to main

    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

3 PRs closed without merging

From the close comments: closed without comment 1 · merged via another change 1 · superseded by another PR 1

  • #119556 fix(desktop): fence stale pre-start stream deltas · superseded by another PR → #120601, #119543
  • #119571 fix(desktop): drop superseded-turn delta orphans at message.start · merged via another change
  • #119673 fix(desktop): guard against stale message.complete across turn boundary · closed without comment
Closed issues · 1
  • Closed#119543Desktop: stale background-review stream can visibly duplicate previous message text before new turn starts
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.50: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
apps/desktop
Merged PRs
#120601
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
23 Sep 2026

For your agent

The same facts, typed.