Repository navigation
Expose canonical Threads, Asks, and queue APIs to Leaf packages - #2134
Merged
Merged
Conversation
# Conflicts: # skills/leaf/assets/leaf.js # skills/leaf/assets/runtime/keyboard/layer-stack.js
leaf-agent
reviewed
Oct 9, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The new live-revision test is red on its browser stability check. I ran test_primary_reader_revision_replaces_owner_without_losing_thread_draft twice; its assertions passed both times, but clean_browser reported that the version controls moved upward 29 px without input during the journey. This leaves the claimed owner-replacement path failing the test gate. The movement needs to be resolved, or the test needs to establish why it belongs to a deliberate user gesture.
Keep More controls in their opened positions through asynchronous retirement, and reveal newly available destinations on explicit travel. Reuse rendered ancestry in movement evidence so slot-owned scrolling is removed without excusing local carries. Preserve body scripts once in the composed corpus and index the worked package in the gallery.
leaf-agent
approved these changes
Oct 9, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 21, 2026
…side it (#3396) A survey of `notes/` against the code and history at d91b67b. Where a note's design has landed, its contract moves beside the code if it wasn't already there, and the note or section goes; what is still unresolved stays. - **Deleted:** `floating-panel/GOAL.md` (every departure is now recorded in `floating-panel.js` and `styles/floating-panel.css`; #3392 moved the last one, the draft posture, beside `drafted`, and this adds the no-key-hints decision to the header), `browser-reactivity.md` (its design is in module headers; why paints that must land in the turn use `render` moves to `assets/AGENTS.md`, and the margin's double draw becomes a TODO implementation candidate) and `chrome-and-covers.md` (`page-layout.md` holds the workspace decision; the `layouts.css` Workspace comment now records the rejected main-region-scrolls design). - **Trimmed:** `agent-usability-evals.md` drops the findings through 2026-10-12, which have landed. `comparisons.md` drops the phone-pin finding (#2680), the 4 October follow-up proposals and two landed lessons. `user-feedback-responsiveness.md` narrows delegated work to Codex and Pi (#3370) and drops "Explicit stdin" (#3375). `threads.md` drops request buttons (#1327), placement (#2134) and notification transitions. `shared-decisions.md` points at the recorded owner contract. `browser-support.md` drops two fixed entries and owners #3100 removed. - **TODO.md** follows each: #28 points at the module header, #25 asks for the board's write rather than an owner, the annotation-placement item loses its landed phone half, and the delegated-work and reply-budget items lose what #3370 and #3372 settled. - Smaller corrections in `shift-watch-cost`, `undo-reach` (#3271), `named-widget-interfaces`, `codex-integration` (`codex_tool.py`), the long-read eval's provenance comment, and `motion.js`'s fold comment. The runtime comment edits rebuild `kernel.json` only. No behavior changes. > _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.
Leaf packages can now build real conversation and work-queue interfaces. Previously they could arrange optional thread mirrors, but creating conversations, reading complete Ask/Done inventories, owning native message widgets, and navigating to those widgets still depended on private core paths.
The application publisher exposes immutable Threads, Asks, and obligation queues through read/watch APIs. Typed commands create conversations with a stable key, resolve current queue identities, and expose canonical command availability. Existing core controls and package consumers use those same boundaries.
A primary package reader nominates retained conversations or individual messages/replies. Leaf keeps native widgets, shared drafts, exact-content read receipts, and navigation; the package owns selection and layout. Native slots forward through nested shadow layouts while keeping retained content in document stylesheet scope. Mechanical focus, disclosure, modal, and exposure checks follow rendered ancestry. Failed presentation returns native content to a usable core fallback. An open More menu retains its row positions through asynchronous changes.
The feature gallery includes a genuine package switching Conversation, Shelf, and Feed, answering an Ask, creating/sending conversations, and completing eligible tasks. Package author documentation and every existing caller/probe are cut over; the corpus is regenerated.
Validation: runtime and browser foundation suites; real browser integration for native identity, drafts, admission refusal, duplicate Done, exact-message/Ask arrivals, nested shadow/inert exposure, and live revisions; blind desktop, mobile touch, and keyboard journeys; independent code/ownership review; browser bundle, static dependency and formatting checks. Served startup comparison shows one additional module request and approximately 21KB by presentation on a shadow-bearing example, with no browser errors or second stylesheet load. Elapsed timing is diagnostic.