Repository navigation
fix: streaming live block taller than the live window is no longer lost (#14) - #16
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 1.1 remove repo-local OpenSpec commands and skills, superseded by user-level skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ock (§2) - 2.1 PrePaint stops overflow at the first open LiveBlock; live window shows newest rows - 2.2 tests: objects in front still commit, objects behind stay behind, zero-height window - 2.3 tests: append/SetContent after overflow land; commit emits every row once, in order - 2.4 pressure valve: open block committed once rows behind it fill the window - 2.5 InsertLiveBlock commits earlier open blocks (BeginLive and the public insert path) - 2.6 XML docs on ILiveBlock, ScrollbackModel and LiveBlock Refs #14 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 3.1 LiveBlock.Render splits on \n (and \r\n, even across appends); each line wraps on its own - 3.2 tests: other control characters in appended text are still sanitized Refs #14 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 5.1 drop the pressure valve and BeginLive auto-commit: dmon-core-next streams parent and child runs concurrently, and either valve dropped the parent's text - 5.2 spec delta, proposal, design and XML docs: only the consumer commits a live block Built ahead of §4, whose docs depend on it. Refs #14 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g (§4) - 4.1 headless regression for #14; test sink records every committed row - 4.2 scrollback and API docs: newest rows while open, concurrent blocks, always Commit - 4.3 CHANGELOG: Fixed #14, Changed (BREAKING behavioural) AppendText newlines Refs #14 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 6.1 LiveBlock caches wrapped rows of finished lines; only the growing line re-wraps - 6.2 trailing \n adds no blank row; every trailing \r trimmed - 6.3 oversized collapsible reprint deferred while an open live block is ahead; a second Expand no longer reprints - 6.4 stale test summary fixed; test sink growth documented Refs #14 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…k spec Co-Authored-By: Claude Opus 5.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.
Closes #14
Summary
ILiveBlockand stops there. If it's taller than the live window, the window shows its newest rows. LaterAppendTextandSetContentcalls keep landing, andCommitsends the full final content to scrollback once, in order.Commiton every path, including errors and cancellation (now in the docs).AppendTextnewlines (BREAKING, behavioural):\nand\r\nbreak lines, even when split across appends. A trailing\nadds no blank row, and other control characters are still sanitized.Expandno longer reprints them (an older duplicate bug).openspec/changes/archive/2026-12-02-fix-live-block-overflow/, withinline-scrollbackspec synced (+5 requirements, 2 modified). The devlog notes record each decision.Verification
make gates→BUILD_EXIT:0,TEST_EXIT:0(919 passed),FORMAT_EXIT:0,VALIDATE_EXIT:0,GATES_EXIT:0"\nline 51"):line 51is visible while streaming; afterCommit, scrollback holds every token exactly once, in order.openspec validate inline-scrollback --strictstill warns on the over-long "One-way collapsible" requirement, which this change didn't touch.Downstream
dmon-core-next should check that every
_liveblock is committed on its error and cancellation paths. An uncommitted block now holds back scrollback rather than losing text.🤖 Generated with Claude Code