Repository navigation
Show the material a page's claims rest on, collapsed where it is long - #6619
Merged
Merged
Conversation
…15 failing asks to the judge
# Conflicts: # .config/leaf-assets.json # README.md
leaf-agent
previously approved these changes
Nov 20, 2026
…t rests on max-sixty picked adding the line on the report page for this branch. It sits under "Make the work concrete and playable", beside the subject of a judgment, and page-authoring.md's "Show what a claim rests on" owns the detail. Replays of the motivating late session showed an ask 2/4 with the line against 2/6 without it, within noise.
leaf-agent
approved these changes
Nov 20, 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.
Leaf's authoring instructions now ask a page to put the material behind each claim on the page: the cases behind a count, the records of what happened, the code, the diff, quoted rather than retold, with everything behind a count kept on the page and collapsed as "Reading cost" says.
page-authoring.mdgains "Show what a claim rests on", which takes over the narrower clause in "Show the subject" that asked only for a cited rule to be quoted. A fresh author subagent is handed that material (SKILL.md), a worker's brief asks for it with each finding (conversation-loop.md),authoring-evidence.mdasks for the exact patch of any edit a claim or decision turns on, not only one under review, andSOUL.mdstates the property under "Make the work concrete and playable".max-sixty asked for this: "leaf pages are overly hesitant to provide source material: cases of what happened / code diffs / code snippets." On 16 of his pages from 4–20 November, read as they stood at his first comment, 197 of 348 claims of those kinds stood on the author's word alone, and 5 kept their material in a disclosure.
Three new authoring cases, tagged
evidence, with fixtures in leaf-assets:findings-show-their-cases(a worker's counts over 24 real fork asks),merge-decision-shows-the-diff(#6555's merge decision) anddiagnosis-quotes-code-and-log(an incident outside Leaf). Claude Code, 3 runs per arm: base already shows one case, the diff and the code (3/3 each); the change puts every ask behind a count on the page in 2/3 against 0/3, and keeps the answer and decision leading the page (3/3 each); with the SOUL.md line every rubric scored 3/3. Authoring evals now pass the judge the page's bound data (metadata.page_data), since a patch view keeps its diff there rather than in the HTML.What this doesn't fix, Ref #5401: replayed from just before the session that wrote "3 of 7" with no ask shown, base showed an ask 1/6, this branch without the SOUL.md line 2/6 and with it 2/4, all within noise. The failure lives in long sessions writing sections themselves, which this text reaches no better than #5401's paragraph did. max-sixty picked adding the SOUL.md line.
Reviewed by a fresh Claude Code reviewer and by Codex; their findings are folded in. Tests:
dev/tests/test_evals.pycatalog and saved-output grading.