Skip to content

fix(dashboard): collapse the safety-net duplicate in the session feed - #479

Merged
ZIJ merged 2 commits into
mainfrom
fix/session-feed-dedup
Jul 3, 2026
Merged

fix(dashboard): collapse the safety-net duplicate in the session feed#479
ZIJ merged 2 commits into
mainfrom
fix/session-feed-dedup

Conversation

@ZIJ

@ZIJ ZIJ commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Re-homes the session-feed dedup fix that landed on the #478 branch after #478 merged (so it never made it into main).

Bug: the runtime emits a turn's final assistant text as BOTH agent.message@progress (streamed by translate) and agent.message@user (the answer, via the adapter safety-net) — so it renders twice in the "all" event view, on every claude turn (claude answers in plain text, not say).

Fix: in the feed builder, drop the @progress copy when an identical-text @user message exists in the same turn. The "user" view was already single (it only shows @user).

web tsc -b + vite build clean. One file (SessionDetail.tsx).

🤖 Generated with Claude Code

ZIJ and others added 2 commits July 3, 2026 02:25
The runtime emits a turn's final assistant text as BOTH agent.message@progress
(streamed by translate) and agent.message@user (the answer, via the adapter
safety-net) — so it rendered twice in the "all" view (every claude turn, since
claude answers in plain text not `say`). Drop the @progress copy when an
identical-text @user message exists in the same turn. The "user" view was already
single (it only shows @user).

web tsc -b + vite build clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The two dedup-key template literals had a NUL (0x00) where a space belonged
(`${turn_id}\0${text}`), which made git + GitHub flag the whole file binary and
hide the diff. Functionally harmless (NUL matched NUL on both sides), but replace
with real spaces so the source is clean and the diff renders.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ZIJ
ZIJ merged commit 7fab201 into main Jul 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant