Skip to content

fix: reveal evidence when stepping through card threads - #5047

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5010
Nov 2, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-5010

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The card’s Next thread and Previous thread controls now open the selected thread through the canonical destination, revealing its recorded image or saved element before landing focus on the discussion. They previously replaced only the card, leaving a trace’s old checkpoint and saved tree on screen. This reuses the same reveal and navigation rules as the keyboard walk.

The trace journey reproduced the missing exact frame before the fix and now passes in both directions, including focus and the subsequent keyboard step. The existing shared-passage card navigation test passes too. All 737 runtime tests and pnpm run check:browser pass; the committed kernel is rebuilt.

The same captured trace after Next thread, before and after the fix: the discussion names the early frame in both; the candidate restores that frame and its 0.042 s playhead, clearing the unrelated checkpoint’s saved tree.

Before After
Discussion changed while the old checkpoint stayed visible The discussion and restored recorded frame agree

Startup comparison on that fixture: 37 requests at widget upgrade and 39 at server-state presentation in both versions; JavaScript increases by 22 bytes at each phase. Document arrival, upgrade and state presentation keep the same loading stages; the new destination work runs on activation.

Closes #5010 — automated triage

Route card navigation through the canonical thread destination so its recorded image or saved element matches the discussion. Cover Next and Previous alongside the keyboard walk.

Closes #5010
@leaf-agent
leaf-agent merged commit df3ea27 into main Nov 2, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5010 branch November 2, 2026 01:16
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.

Trace card Next thread changes the discussion without revealing its frame

1 participant