Repository navigation
Unify revision editor continuity and Thread destinations - #1605
Merged
Merged
Conversation
Keep generated draft editors through subscription-owned identity, resolve reply continuation through the canonical placed Thread destination, and land replacement editing after immutable document adoption and presentation. Share mechanical error ownership across fresh and in-place replacement so accepted state and deferred arrivals still complete. Remove the page-interface semantic region in favor of its actual preparation join and make paint attributes import-free. Add native producer, stale-input, generation, fault, and automatic gallery revision coverage; update the public continuation guide and its admitted native eval evidence.
leaf-agent
approved these changes
Oct 2, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 4, 2026
Resolves the eight open `xfail(strict=False)` markers. Six of them were hiding four real product bugs, now fixed in the product; one test was wrong; one already passed. - **Ask ring on a top-level Ask** (three markers, 11f2d87). Since native package scopes (#1591), the rule standing the Ask's ring down while its options control has focus matched only Asks nested inside a widget, so a top-level Ask drew two rings. - **A board as a pane's body** (1d8d63e). Also from #1591: the board's own rule out-ranked the pane grammar, so in the feature gallery at 1024px the board stood 201px outside its pane. The pane grammar moves to the `lf-layouts` tier. - **Resolving a long thread** (072e3bd). Focus falling back to a thread taller than the window scrolled the page 689px to the thread's head. A box longer than the window now counts as shown when any of it is in view. - **Contents map at presentation** (a8c75f5). Since #1605, PRESENTATION ran a turn after the page was stamped presented, so readers there saw the contents map's authored spans (203px for a 611px section). - **Accepted proposal slot** (764cfa3). No longer reproduces (3/3 serial, 18/18 flake copies, and Linux CI XPASSed it); marker dropped. - **Long panel arrival** (ce52a13). The test's list of clean starting points left out a transcript turn's head, which #1715 made the start of a long arrival. Each case passed three runs on the final tree; `npm run test:runtime` passes. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
Fresh executable revisions could replace a generated reply field and lose its typing focus; generated root editors also lacked a canonical replacement identity. Route editor continuity through the existing draft subscription lifetime and the actual placed Thread destination, then land it once after the new immutable document has been adopted and its canonical presentation proof completes. Both fresh and in-place revisions now use the same mechanical failure policy, so a failed caret restoration reports visibly while accepted state, receipt accounting, initial presentation and deferred work still complete.
The draft owner supplies current editor identity without producer-specific restoration bridges. Thread navigation returns the actual focused destination after placement, with the original intent and draft generation still governing delayed moves. Remove the page-interface semantic region and its caller-selected proof: optional interface preparation joins imports and installation directly, while the application publisher alone owns semantic adoption and proof. Paint attributes move to an import-free owner to avoid an initialization cycle introduced by the shared error channel.
This is an ownership and continuity cutover toward optional annotation presentation; the optional renderer remains unfinished. Production grows by 244 lines (44 files, 780 net maintained lines including contracts, tests, eval and gallery). Current-main startup adds one code request and 9,512 encoded code bytes by widget upgrade and authoritative presentation; the served document remains 174,722 bytes. Editor membership and the replacement/delivery boundaries must be established before presentation so continuity can restore the typing place as the fresh view arrives. No startup speed or LOC-reduction claim.
Validation: complete independent source/contract review and native review, 20 current-main native producer/race/fault/gallery cases, 192 runtime tests, 74 browser tests, 66 Worker tests, both TypeScript gates, pre-commit and exact bundle rebuild. The earlier full everyday run had 1,624 passes with a moved-owner assertion and a wheel-return teardown diagnostic; the owner assertion is corrected, all four wheel-return cases pass focused, and committed-tree CI runs the complete gate. The real shipped gallery baseline loses reply focus on automatic fresh replacement; the candidate preserves it through both automatic fresh and in-place replacement.
The routed public continuation guidance scores 0/3→3/3 on the corrected eval, with all three literal snippets admitted natively for continuation and unregister. Their unrelated repeated-hidden-write diagnostics remain explicit: this validates those continuation capabilities, not whole-module health.