Skip to content

Rendering slice 5: local collectors + optimistic handoff + buried-prompt-239 fixture - #428

Merged
Juliusolsson05 merged 1 commit into
integration/rendering-pipelinefrom
feat/rendering-slice5-local-fixtures
Jul 6, 2026
Merged

Juliusolsson05 merged 1 commit into
integration/rendering-pipelinefrom
feat/rendering-slice5-local-fixtures

Conversation

@Juliusolsson05

Copy link
Copy Markdown
Owner

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

…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>
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