Repository navigation
Cut over the chrome stylesheet, the test ledger, and the runtime CLAUDE.md - #301
Merged
Merged
Conversation
The comment layer's stylesheet was an 1836-line JavaScript template literal, built by interpolating eight compile-time constants. A backtick anywhere in it ended the string, `node --check` accepted the result, and no CSS tool could read it. It is now `runtime/chrome.css`, with the marks that shadow roots also adopt in `runtime/marks.css`; both arrive as CSS module imports and are adopted rather than written into the head, so a version activation's head reconciliation no longer needs an anchor node. The bake serializes the adopted sheets into a copy, the MCP bundle constructs them from the files, and the layer tests parse every vendored stylesheet and hold chrome.css's literal widths to PANEL_W and TRAY_W. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
The suite rebuilt the outbox's lifecycle from Playwright's request, response, requestfinished, and framenavigated events, and that copy needed a protocol of its own: a post a reload killed that no event reported, a waiter the browser woke before the listeners that counted, a body read with no deadline that wedged a worker. The runtime now counts each trip at the door it goes through (runtime/traffic.js) and paints the ledger on the body as `data-lf-traffic`; `Traffic`, `_until`, `round_trip`, and `sending` read that and keep their API. The ledger is the document's, so a navigation starts it over. The three harness self-tests of the listener mechanism go with it. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
The sections of skills/leaf/CLAUDE.md that one module alone consumes — the readiness stamps and layer-owned defaults, the outbox's delivery contract, the projection's checkpoint, overlay, reconciliation, and undo, the authored initial condition, the state door, the sequence helpers, the version activation and view restore, projected and external data, and the registry's query doors — now stand in those modules' headers, with the names that had gone stale (versionDocument, activateVersion, takenBack, markSettled, rowPresence, currentVersion) corrected to the identifiers that exist. Two paragraphs that repeated version.js's own header and layer-registry.md were dropped. CLAUDE.md itself is edited by the parent from the moved-range lists. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
… their modules The sections of skills/leaf/CLAUDE.md that one module alone honours now stand as that module's header: Target Buttons and the Page map in living-margin.js, packing and the rail in margin-layout.js, standing and walks in decisions/view.js, the decision lists in decisions/model.js, trays, motion, arrangements, the banner shelf, the shell in chrome-layout.js, and the stylesheet rules in chrome.css, marks.css, theme.css, the default package's theme, and the render-check probes. Paragraphs the destination already stated are dropped rather than repeated. CLAUDE.md itself is edited by the parent from the moved ranges. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
The keyboard sections of skills/leaf/CLAUDE.md — the return stack, the row and binding contract, scope and dispatch, disclosures, the key line, the reference, and the go-to chord — now stand as the header comments of the runtime/keyboard modules that own them, with the versions menu's two predicates in version.js, the conversation return in conversation/landing.js, and the offer rule beside `offer`. Text moves whole; the address module's own restatement of the chord table is cut to what the header does not say. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
The conversation, composing, passages, anchors, drafts, geometry, widget-element, notification, and reaction sections of skills/leaf/CLAUDE.md now stand as the header comments of the modules that own them, in their own words. Paragraphs a module already stated are not repeated, one stale name (reactionStanding) is dropped, and packages.md carries the widget obligations it lacked instead of pointing at CLAUDE.md. CLAUDE.md itself is untouched here; the parent removes the moved ranges. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
skills/leaf/CLAUDE.md had grown to 216KB, loaded whole by any session touching the runtime, and most of it was one module's contract: Target Buttons alone was 19KB about living-margin.js, which had no header. Its own rule says an invariant whose only consumer is one module belongs beside that module. Four forks moved every section the routing table attributed to a single owner into that module's header comment, dropping paragraphs the header already stated and rewriting the ones that named identifiers no longer in the tree (versionDocument, takenBack, markSettled, reactionStanding, currentVersion). What stays is the ownership map, the startup order, what crosses to the server, the cross-runtime projection contracts, the registry grains, the layer-wide UI laws, and the page-scope rows leaf.js still composes. The file is 45KB; the movement tests' paragraph went to tests/CLAUDE.md and the references that named moved sections now name the modules. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
The mark ramp and the coined-class probe walked document.styleSheets for rules that now arrive adopted from runtime/marks.css and runtime/chrome.css. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
# Conflicts: # skills/leaf/CLAUDE.md # skills/leaf/assets/runtime/chrome-layout.js # skills/leaf/assets/runtime/chrome-style.js # skills/leaf/assets/runtime/state-feed.js
The coined-class probe pins which names document-level rules may carry; sharing the address chip's box with the chrome's step keys in one rule put two private names on it. The box is spelled twice instead, once on each side of the scope line, and the comment says the lists stay equal. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
leaf.js and keyboard/bindings.js each carried a list of what a row's fields mean, overlapping on seven fields; bindings.js now holds the whole list and leaf.js points at it. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
The ledger paints on the root element rather than the body, which design mode observes for page movement; the harness reads one paint per round and names the last reading on failure instead of reading past its deadline; the export folds the runtime's sheets in as their own text through links the bake writes, rather than re-serialising parsed rules, and drops the ledger from the copy; the layer test also holds the width property names and the decision stamp equal to the runtime's constants; NON_COVERING and STRIP_TRAY_RULE, which existed only to be interpolated, are gone; the reload test asks that the new document's first trip counts and completes; two theme.css comments name chrome.css. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
Two rules had vanished in the move and are back beside their code: the renderState attribute contract (projection.js) and the form-discipline rules for content-derived widget forms (packages/default/theme.css). CLAUDE.md's preamble now names everything the file holds, the ownership map covers theme.css and the twelve runtime modules it had never named, the Authoritative projection section opens on what it is rather than an orphaned "also", the version-answers-a-Decision paragraph carries its own setup, the one internal link points at address.js, and two paragraphs and one section the module headers already state are gone. In the headers: five openings no longer restate the paragraph beneath them, two outbox.js lists are lists again, authored.js's table is a list, three sentences narrowed in the move name every consumer again, and three citations of old section names name the file or module instead. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017CaMdFDbFjbycsaEuhQEQZ
# Conflicts: # skills/leaf/CLAUDE.md # skills/leaf/assets/runtime/chrome-style.js
leaf-agent
reviewed
Sep 5, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
One finding, in the file this PR rewrites: the ownership map places the delivery ledger on the body, while runtime/traffic.js paints it on document.documentElement and spends a paragraph on why the body is the one element it must not be — the body is what design mode's legend observer watches, so a counter that moves on every trip would relay into a legend layout. tests/CLAUDE.md, the Traffic docstring, and the module header all say root element; only the map disagrees, and the map is what a reader is told to consult before changing the module.
The map still said the body after the ledger moved to the root element so design mode's body observer would not hear it. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01EDSAWYR4GqyuzouhN8qk78
leaf-agent
approved these changes
Sep 5, 2026
max-sixty
added a commit
that referenced
this pull request
Sep 5, 2026
Four blind users and a driven tour of the shipped examples turned up the places Leaf's chrome was inconsistent or confusing. This lands every finding that reproduced, each fixed in the path that owns it and pinned with a test that was watched fail with the bug put back. The design calls the sweep raised (the open-ask Button's `?` face beside the help key, the 1px element-mark outline, hint wording) are listed at the end and not decided here. ## The page holds still, and narrowing is the panel's view - Closing the Threads panel left the margin's Buttons standing over the prose. The body's width change laid the rows out on the carry's first frame, against a column a few pixels into its move, and nothing asked again once it arrived. `chrome-layout.js`'s `repaintMovingShell` now lays the rows out on each carried frame and once more at rest, so they ride with the column. - A reply box growing under the keyboard pushed its Send out of the list. `replies.js` reveals the held thread on each `input` while the textarea has focus, and does it instantly rather than smoothly, since a smooth reveal undershot a box still growing. - "Waiting on you" removed the other cards from the DOM, so the Asks count, the "N comments" notes, and every link to a hidden thread followed the panel's narrowing. `thread-list.js` hides the cards with `hidden` instead and dispatches `lf-thread-hidden`; a reveal aimed into a hidden card widens the list; `reconcile.js`, `landing.js`, `anchors.js`, `reactions.js` and `leaf.js` read `:not([hidden])`. The invariant is stated at the hide loop, where #301 now keeps the runtime's own rules. - Where the reader stands is read before that loop: hiding a card dispatches `lf-thread-hidden`, and the reaction list's disarm answers it by moving the focus itself, which read afterwards said the reader had never been in the list and left them on body. The disarm test pins that they land on the list, and a second test pins the plain case, where nothing but the reply box holds the focus. ## One word per meaning - Every "— recorded" and "Message recorded" notice now says "sent", the word the receipt already uses, across `projection.js`, `box.js`, `notifications.js`, lf-board, lf-draft, lf-options, lf-options-addition and lf-diff. - The shortcuts reference is "All keyboard shortcuts" in its aria-label, its REFERENCE row and `reference.js`; the tray's Escape word says "asks" rather than "decisions"; the composer's Escape line says "close — draft kept" only when there is a draft to keep. - The versions menu's diff press reads "Δ changes" instead of a bare "Δ"; the Asks button's title states the count and what a press does; "Waiting on you" carries a sentence for each of its three states. - A thread's margin card is headed the way the panel heads it: the target's heading if it has one, else the passage the thread quotes, else the item's title. A card headed "aside · The fallback cookie…" over a comment on the aside's last sentence was a third name for one thread. ## Widgets - lf-options: Done's key chip sits in its own address column inside the group's frame rather than as a stray digit at the frame's edge, and a single-pick card draws its empty ring at rest, so a pressable card looks pressable before hover. - lf-tabs: the activate row is offered only from an unselected tab. - lf-suggestion names its own words through `lfSays()`, which `anchors.js` asks of any `x-word: module` element, so an aim label reads "courtyard → covered terrace" rather than the slots' text nodes run together. The registry note and `docs/registry.html` are regenerated. - The living margin's press row says what the focused Button does, read off its record. - Banner, keyline and panel head are `user-select: none` inside `chrome.css`'s `@scope`, so a drag up out of the prose no longer picks the chrome's text up. ## Python - `acknowledgments.py` collapses page and frozen-widget moves per target and unit and mints one receipt for the newest, so a question no longer shows two "✓ Sent" receipts. `session-lifetime.md` says so. ## Testing - `uv run pytest tests`: 872 passed on the head b191a91. - The touched browser files with `--run-nightly` (margin, conversations, options, navigation, reactions, semantic selection, projection, controls, drafts, widgets, anchors): 777 passed on the same head. ## Not decided here The sweep's judgment calls, left for a separate change: the open-ask Button's `?` face reads as help until it becomes a paper plane; a thread on a whole paragraph is a 1px outline the keyboard tester read as a lingering focus ring; the `s` hint's wording and the rest hint; count formats in the banner. > _This was written by Claude Code on behalf of max-sixty_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01CzfTZcM2daqTxU2X6Ep8Tu --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Sep 5, 2026
…#304) A survey of the repository's skills and guidance against what the project is for (a page the agent hands over, a loop that carries anchored comments and actions back, a page directory as the durable record) found the same rules stated in two to four places, the references that govern the reply loop unread by sessions running the loop, and the developer files carrying their contracts inside the history of each rule's discovery. This branch puts each rule in one home at the level where its reader acts on it. **The authoring skill.** `SKILL.md` is routing plus the page contract's intent; the Ask rules, package guidance, and Codex payload live in the references that own them (`authoring-decisions.md`, `page-authoring.md`, `host-codex.md`). `conversation-loop.md` keeps the two facts an author acts on about a work claim. The `lf-num` rule is a three-step procedure, and `leaf data set` and `leaf data capture` now print the `updated` instant it tells the author to pin. The `lf-tabs` rule moved from anchors to `authoring-revisions.md`, which owns keeping a page current. **The loop's rules travel in the batch.** In the local session corpus, no session that ran `leaf ack` had read `event-batches.md` and none that ran `leaf reply` had read `conversation-threads.md`. The kernel registry now declares `$events.handling`, one sentence per event kind, and every batch's first line carries the sentences for the kinds it holds beside `threads`; the Codex epoch entry carries the same. A project layer restates one kind merge-patch style, as it does a reaction token; the registry door refuses an undeclared kind or anything but a non-empty sentence; a page vendored before the member existed gets the installed kernel's sentences. `event-batches.md` keeps the delivery and acknowledgement mechanism and drops the per-kind list. **Developer files.** The runtime contract lives at `skills/leaf/assets/CLAUDE.md`, since Claude Code includes a subdirectory's `CLAUDE.md` whenever a file there is read and the old location loaded it into every checkout session that read the skill. #301 landed its own cut of that file while this ran; the merge takes main's version, moved, with the preamble pointing at the root's cross-runtime headings, and keeps this branch's headers for the 19 runtime modules main left bare. `tests/CLAUDE.md` and `examples/CLAUDE.md` are rules under their old headings (other guidance points at them by heading). `internals/events.md` and `internals/session-lifetime.md` lead with tables of fact, writer, and expiry. `developing-with-leaf` keeps its Codex steps under their own heading, and `ui-sweep` names the sections it judges against. Two review passes ran over the rewrites: an audit for rules dropped rather than condensed (seven found, all restored in the last commits) and a code review of the batch change (validation at the registry door, the reading moved beside the other declaration readings, restate and refusal tests). Not built: a render-gate check for a Mermaid statement that renders as a node, since the bundled renderer exports no parser to compare against; the reference names what the widget refuses and leaves the rest to one look at the drawing. <details> <summary>Sizes before and after, in words</summary> | File | Before | After | | --- | --- | --- | | `skills/leaf/SKILL.md` | 1,446 | 1,161 | | `references/conversation-loop.md` | 672 | 390 | | `references/event-batches.md` | 1,216 | 480 | | `references/internals/session-lifetime.md` | 2,199 | 1,500 | | `tests/CLAUDE.md` | 8,380 | 5,660 | | `examples/CLAUDE.md` | 3,555 | 2,023 | | runtime contract (main's cut, moved) | 34,195 | 6,472 | The full-loop reading path for an authoring agent is 7,036 words, from 8,348. </details> > _This was written by Claude Code on behalf of max-sixty_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01NsZewB4eky9zXSkeDmLR7w --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Sep 5, 2026
`The page holds still under the user's aim` is the first sentence of `## Layout and motion`, not a heading, and #301 cited it as one from chrome.css and docs/site.css. Cite the heading, which is the address.
max-sixty
added a commit
that referenced
this pull request
Sep 5, 2026
The everyday suite never asked whether a reader can see a key. A key line with no rows in it is silent — the chrome paints, the console stays clean, and every other everyday assertion holds — so the whole boot cutover ran against a gate that would not have noticed. One assertion closes that: at rest a page shows `c` and `r`, and a planted `lineRows` returning nothing fails it while `errors` stays empty. The boot's own failure to register a painter is loud and already covered. This branch started much larger. It was fanning `tests/CLAUDE.md` out into the helpers each rule describes, written before #304 rewrote that document keeping the rules in place and its headings as addresses. Both were the same job done opposite ways, and #304 landed first, so every paragraph this branch added — the probe timeout, the traffic ledger, `data-lf-applied`, the `aborted` refusal, autouse ordering, `HOLD_MOTION`'s release, the ring reading — became a second copy of a rule that now has a home. Those files are back at main's version. `ring_faults` is also spelled here the way the code spells it. `RING_FAULTS` appeared in the document and in a comment in `test_render_conversations.py`, and is not a name in the tree. Three citations named something that is not there. `## Layout and motion` opens "The page must hold still under the reader's aim", and #301 quoted a paraphrase of that sentence as though it were a heading, from `chrome.css` and from `docs/site.css`. main has since deleted `docs/site.css` outright, so that one is gone with the file. `chrome.css` and `skills/leaf/assets/theme.css` now name the heading, which is the address. Every quoted citation in the tree resolves against a heading in the document it names, and the phrase itself appears nowhere. 🤖 Generated with [Claude Code](https://claude.com/claude-code) > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Sep 5, 2026
The everyday suite never asked whether a reader can see a key. A key line with no rows in it is silent — the chrome paints, the console stays clean, and every other everyday assertion holds — so the whole boot cutover ran against a gate that would not have noticed. One assertion closes that: at rest a page shows `c` and `r`, and a planted `lineRows` returning nothing fails it while `errors` stays empty. The boot's own failure to register a painter is loud and already covered. This branch started much larger. It was fanning `tests/CLAUDE.md` out into the helpers each rule describes, written before #304 rewrote that document keeping the rules in place and its headings as addresses. Both were the same job done opposite ways, and #304 landed first, so every paragraph this branch added — the probe timeout, the traffic ledger, `data-lf-applied`, the `aborted` refusal, autouse ordering, `HOLD_MOTION`'s release, the ring reading — became a second copy of a rule that now has a home. Those files are back at main's version. `ring_faults` is also spelled here the way the code spells it. `RING_FAULTS` appeared in the document and in a comment in `test_render_conversations.py`, and is not a name in the tree. Three citations named something that is not there. `## Layout and motion` opens "The page must hold still under the reader's aim", and #301 quoted a paraphrase of that sentence as though it were a heading, from `chrome.css` and from `docs/site.css`. main has since deleted `docs/site.css` outright, so that one is gone with the file. `chrome.css` and `skills/leaf/assets/theme.css` now name the heading, which is the address. Every quoted citation in the tree resolves against a heading in the document it names, and the phrase itself appears nowhere. 🤖 Generated with [Claude Code](https://claude.com/claude-code) > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Fable 5.1 <[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.
Three decisions the runtime had been patching around, cut over: the chrome stylesheet becomes real CSS, the test harness reads a delivery ledger the runtime paints instead of inferring one from network events, and the 216KB
skills/leaf/CLAUDE.mdfans out to the module headers it was describing. A fourth is measured and left as its own piece of work: the hand-rolled dependency injection, where 62createX(bag)factories take 939 named dependencies, 372 of themleaf.js-local closures and elements, which is whyleaf.jsis a 3,900-line boot script with 62 forwarding trampolines.Stylesheet
runtime/chrome-style.jswas an 1,836-line JavaScript template literal interpolating eight compile-time constants; a backtick anywhere in it ended the sheet,node --checkpassed the result, and no CSS tool could read it. It is nowruntime/chrome.css, with the marks shadow roots also adopt inruntime/marks.css; both arrive as CSS module imports (with { type: "css" }) and are adopted rather than written into the head, so version activation no longer needs an anchor node. A copy gets the sheets as their own file text through links the bake writes; the MCP fixed-page bundle constructs them from the files (built and checked). The layer tests parse every vendored stylesheet with tinycss2 and holdchrome.css's literal widths, property names, and decision stamp equal to the runtime's constants, since a media query cannot read a constant. The keycap box is spelled once per side of the@scopeline so the chrome's private names stay off the document-level surface the coined-class probe pins.Delivery ledger
tests/render_harness.pyrebuilt the outbox's lifecycle from Playwright request, response, requestfinished, and framenavigated events, and that copy needed a protocol of its own (a post a reload killed that no event reported, a waiter the browser woke before the listeners that counted, a body read with no deadline). The runtime now counts each trip at the door it goes through (runtime/traffic.js) and paints the ledger on the root element asdata-lf-traffic;Traffic,_until,round_trip, andsendingread that with their API unchanged, and the listener machinery and its three self-tests are gone. The ledger is the document's, so a navigation starts it over;pendingis the outbox's own serial view, which is stricter than the old watcher for an entry behind a retrying head.Fan-out
Every section of
skills/leaf/CLAUDE.mdowned by one module moved into that module's header comment, duplicates were deleted, and paragraphs naming identifiers no longer in the tree were rewritten (versionDocument,takenBack,markSettled,reactionStanding,currentVersion). The file keeps the ownership map (now naming every runtime module and the theme), the startup order, what crosses to the server, the cross-runtime projection contracts, the registry grains, the layer-wide UI laws, and the page-scope rowsleaf.jsstill composes: 44KB from 216KB. A paragraph-coverage check against the old file found 3 of 389 unaccounted, all rewritten by hand; a review's 20-paragraph loss sample survived 20 of 20.Review and testing
Two review passes ran: code ("clean design" for the stylesheet, "acceptable" for the ledger; 12 findings, all acted on) and prose (23 findings, 19 acted on, the rest pre-existing). The everyday suite passes after every round; the nightly gate, keyboard, export, reload, and layer subsets pass. Three nightly reds remain and fail identically at
mainin a control worktree (test_selected_reactions_keep_neutral_button_furniturelight and dark,test_the_composed_corpus_declares_every_control_row_archetype).What a reviewer should look at
skills/leaf/assets/runtime/traffic.js, and the ledger reads intests/render_harness.py(Traffic,_until).skills/leaf/assets/leaf.jsaround the// ---------- styles ----------marker,runtime/shadow.js, andrender-checks/standalone.jsbake()for the adopted sheets and their export path.skills/leaf/CLAUDE.mdwhole, then any module header the diff grew (living-margin.jsgained the largest).tests/test_interact_layer.pyfor the stylesheet parse and constant-equality tests.🤖 Generated with Claude Code
https://claude.ai/code/session_01EDSAWYR4GqyuzouhN8qk78