Rendering slice 4: semantic collector with model-level guards#427
Merged
Juliusolsson05 merged 1 commit intoJul 6, 2026
Merged
Conversation
…odel-level guards observations/semantic.ts — current + history turns into block candidates (plan D2). Guards that lived as React null-returns become decisions: compaction synthesis yields zero candidates regardless of how the flag was detected (#345's model-level kill), empty thinking / empty write_stdin rejected with reasons, history turn matching the current turn id dropped (dump invariant 14). Text ownership keys only on FINALIZED text so streaming blocks can't be suppressed mid-growth. History orders by endedAt, current by startedAt (the D4 choice that makes the ordering law work). 36/36 pipeline tests 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.
Block-level semantic candidates; #345 compaction kill at model level; finalized-only text keys; invariant-14 dedupe. 36/36 green, tsc clean. Self-merging per loop authorization.
🤖 Generated with Claude Code