Repository navigation
Turn twelve second copies of shipped rules into pointers, or fold them into the rule's home - #6885
Merged
Merged
Conversation
Each of these rules was stated in two of the skill's references. One statement stays, and the other becomes a pointer to it or folds its extra facts into it: the handling clause at the top of harness-codex.md, the claim sentences in event-batches.md and codex-setup.md, an option card's label and title in authoring-on-me.md, the sidebar's spine in page-layout.md, content beside main in page-authoring.md, a table's sideways scroll in page-layout.md, the page with no theme in package-themes.md, and mountSample's host in live-samples.md.
#5981 landed while this branch was open, and #5979 no longer edits threads.md, so these second copies can go: the pick rule in event-batches.md, the turn-writer route in threads.md, where a thread goes when its passage is removed in authoring-revisions.md, the reading face's effect on controls in page-layout.md, and the payload each record kind sends in module-state.md.
The case that covers the sentence, audit-calls-are-proposals, wrote a question as each decision's heading on 2 of 4 pages with main's text and 0 of 4 with the pointer. Four pages an arm can't tell that from chance, and the pointer saved ten words, so the sentence stays.
The pick sentence in event-batches.md goes back to main's text: its pointer's section covers a choice but not when a message takes --obligation. The payload sentence in module-state.md says which verbs it covers and that rankAt takes ids, and package-data.md says a move's unit and value are ids. The reading face sentences say what the declaration does to a box's controls in plainer words.
max-sixty
marked this pull request as ready for review
November 23, 2026 19:24
leaf-agent
approved these changes
Nov 23, 2026
max-sixty
added a commit
that referenced
this pull request
Nov 23, 2026
…that installs a package scores (#6889) `numeric-grid-shows-shape/installed-package` errors on every arm once its author writes a valid page: `RegistryError: this Leaf cannot compose the page's layer: unknown package 'team-charts'`. Since #6619 the authoring harness reads a finished page's bound data in its own process, so the page's layer composes against this machine's packages rather than the run's state home, where `metadata.installed` put the case's fixture package. The read now runs in a child process under the run's state home. The child uses this checkout's Leaf, as the in-process read did, not the arm's, so an old `--base REF` arm keeps working. A read that fails raises with the child's stderr, so the eval's error column still shows the exception. Found while scoring #6885; max-sixty asked for the merge from a summary on the session's Leaf page and hasn't said he read the diff. Tests: the case, run once on Claude Code, reaches its grader and passes, where both arms errored 4 of 4 before. A new test in `dev/tests/test_evals.py` installs the fixture package under one state home, reads a bound patch back under it, and checks that under a different one the read fails naming the missing package. The `dev-tests` job runs only on the nightly schedule, so this pull request's checks don't run the new test; it passes locally. > _This was written by Claude Code on behalf of max-sixty_
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.
max-sixty chose this on the session's Leaf page: give each rule that the
/leafskill's references state twice one home. A survey of the references on 21 Nov found 28 second copies it judged movable. This makes 12 of them, across 11 files, for 105 fewer words. Each second copy becomes a pointer to the rule's home or folds its extra facts into it, and one goes where its own file states the rule again: thehandlingclause openingharness-codex.md, theleaf page claimsentences inevent-batches.mdandcodex-setup.md, the sidebar's spine and a table's sideways scroll inpage-layout.md, content besidemaininpage-authoring.md, the page with no theme inpackage-themes.md,mountSample's host inlive-samples.md, the turn-writer route inthreads.md, a removed passage's thread inauthoring-revisions.md, the reading face's effect on controls inpage-layout.md, and each record kind's payload inmodule-state.md.What the diff doesn't show:
authoring-evidence.mdremoved ("select the package that adds it"), 7 of 16 authors ofsource-code-readable/text-editused the diff widget, against 12 of 16 on main; restored, 7 of 8 against 6 of 8. The option card'slabelsentence inauthoring-on-me.mdstays because its case,audit-calls-are-proposals, wrote question headings on 0 of 4 pages against 2 of 4, too few runs to tell and not worth more for ten words. Four stay on reading: each addresses a reader its home doesn't reach, says more than its home, or would point at a section that covers half of it.conversation-loop.md.mountSample's host keeps two facts inlive-samples.md, becausemodule-authoring.md, their home, is 108 characters under the 30,000 a skill file may be.toc.css), and a move'sunitandvalueare ids (projection/model.js).playwright-recording-shows-its-trace6 of 8 each;recorded-effect-payloads6 of 6 each;generated-preview-keeps-its-state4 of 4 against 3 of 4, the one failure unrelated to the sample host. The other moves have no covering case.Two fresh readers read each changed file cold and then the diff; their findings are folded in, among them three claims in my first draft that the code contradicted. max-sixty asked for the merge from a summary on that page and hasn't said he read the diff. Tests:
tests/model/test_interact_layer.py,test_theme_tokens.py,test_themes.pyandtests/runtime/widget-api.test.mjs.