Repository navigation
Rendering slice 5: local collectors + optimistic handoff + buried-prompt-239 fixture - #428
Merged
Juliusolsson05 merged 1 commit intoJul 6, 2026
Conversation
…st end-to-end fixture observations/local.ts — optimistic-submit candidates (echo providers only; submit wall-clock so the stand-in sorts exactly where its committed twin will) and lifecycle candidates (work is a phase fact — always present when streamPhase non-idle; empty only when no content survived). ownership.ts — optimistic reconciliation: committed USER rows own their optimistic stand-ins by normalized text (marker+text, never tail position). Bias toward the optimistic row SURVIVING when ownership is unprovable: too-long is visible and diagnosable, too-early is the silent #339 class. committed.ts now stamps normalizedTextKey on user rows for exactly this (assistant-suppression sets remain assistant- only). fixtures.buriedPrompt239.test.ts — THE first end-to-end run: raw entries + history turn + optimistic prompt + work → collectors → ledger → asserted FINAL ORDER (the #172 comment-5 bar). Covers the core #239 shape, the D3 reorder-not-suppress discriminator, and the optimistic→committed handoff without re-burying (#172 comment 6). 39/39 green; tsc node+web 0 errors on full integration diff. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First end-to-end pipeline fixture passes: collectors → ledger → asserted final order for the #239 shape, incl. the optimistic→committed handoff. 39/39, tsc clean. Self-merging per loop authorization.
🤖 Generated with Claude Code