Repository navigation
Stop telling eval subjects what to read, and author the cases whose rule lives behind a command - #6073
Merged
Conversation
…ule lives behind a command
53 of the 117 short cases told the subject what to read: 15 named the file
or registry entry holding the rule they grade, 19 named a kind of reference
("Read the public references"), and 19 invited reading in general. Read-only
probes have no page and no shell, so they can't run `leaf page instructions
--use`, the route page-authoring.md gives an author to a widget's or
package's instructions; case authors pasted the file path instead, and
instruction-changes.md allowed it as a diagnostic.
Removing the directions changed no pass rate on Claude Code at 0e538e2.
Six representative cases passed 24 of 24 as committed and 24 of 24
rewritten (after one rubric fix below), and the realistic authors read the
rule's home themselves in every run. Four cases with only a general
invitation passed 10 of 12 with it and 10 of 12 without, reading the same
files.
Behavior changes:
- The nine cases whose rule lives in a registry entry or a package's author
instructions now author a real page (`metadata.authoring: true`), so the
subject reaches the rule as an author does. Each run costs about 1.3M
tokens, mostly cached, and 2 to 9 minutes, against a probe's 70k and under
a minute.
- trace-review is deleted. Its rule (serve a trace with `leaf-dev
trace-server`) moved into `leaf-dev probe --help` in f760877, which no
probe can run; it failed 0 of 2 as committed and as rewritten.
- options-draw-their-arrangement and options-stay-words-for-wording: a bare
`recommended` label is not an argument for the option. options-stay-words
also passes the wording shown among the report's lines as text, which
authoring-on-me.md asks for ("a wording as it would appear"); saved runs
regraded 4 of 4 and 2 of 2.
- option-cards-take-their-width gains an after-compaction variant. In real
Claude Code sessions over the two weeks to 2026-11-15, every lf-options
group written before a compaction followed a read of its entry (34 of
34); after one, 39 of 107 did. The variant reproduces it (2 of 4); a
SKILL.md conditional-reference line naming `leaf page instructions --use`
gave 3 of 4 and is not included.
- instruction-changes.md drops the allowance for cases that supply the rule,
and says a case whose rule an author reaches through a command authors the
page; evals/README.md says why a probe can't.
The header of each case that ran records its result.
…p the post-compaction variant, and fix rubrics that faulted what was asked Review found seven playground probes still pointing the subject at `packages/playground/instructions/author.md`, whose rules no reference holds. They now author a page, as the nine converted before did; they haven't run in this form. Three more prompts lose a pointer at references or a general invitation to read. The after-compaction variant of option-cards-take-their-width is removed: a recount by the instructions' text in each run's tool results shows all 8 authors read the lf-options entry, so a fresh session handed a compaction summary doesn't reproduce the miss real sessions show (34 of 107 new groups written after a compaction had the instructions in context, against 34 of 34 before). The earlier count missed backslash-continued commands. exhibit-playground-stays-in-the-column's disclosure grade now allows the incident-log appendix at the end of Root cause, where the request puts it; it had passed one such page and failed another, and the saved run regrades 2 of 2. evals/README.md names both reasons a probe can't run `leaf page instructions`.
…record the seven unrun conversions The product-copy judgment no longer accepts a partial revision that keeps controls it doesn't show, since an authoring run starts from an empty page; its prompt writes the page from the draft. The parts case's placeholders now cover its screenshots, which an empty page can't serve. Each of the seven playground cases converted in the previous commit records that it hasn't run as an authoring case.
leaf-agent
approved these changes
Nov 15, 2026
max-sixty
added a commit
that referenced
this pull request
Nov 16, 2026
… the 16 authoring conversions probes again (#6100) #6073 turned 16 reply-only eval probes into authoring cases, because each grades a rule in a package's instructions, which an author reads with `leaf page instructions --use`, and a probe had no page to run it on. This gives probes that page: a case declares `metadata.page`, the packages beside the defaults, and the runner initializes it under the probe's working directory with the arm's launcher. The prompt names the page and how Leaf's commands run (`page_prompt` in `workflows/eval.yaml`). Claude Code probes may run `leaf page instructions`, `leaf page vocabulary` and `jq` besides their read-only tools; Codex probes approve the plugin's `leaf` tool, since the launcher's `uv` can't take its cache lock inside the read-only sandbox. The 16 cases go back to probes, keeping their prompts. Two runs a case at b90df8d: Claude Code passed 26 of 32 at about $0.44 a run (an authoring sample took 0.7M–1.3M tokens against these probes' 0.2M), 2 of 2 on each of the 9 cases that also ran as authoring cases in #6073. Codex passed 24 of 32 at about $0.04, every run through the `leaf` tool. The failures are in six cases, each comment recording what failed; `playground-candidates-line-up` failed in every run, as in 14 of 17 before #6073. To weigh: every probe column now has the narrow `Bash` grant and, on Codex, an approved `leaf` tool, which can run any `leaf` command (writes included) in the probe's scratch state, so probes that never mention a page may behave differently; six other probes passed 12 of 12 under it, as they passed before. Requested by max-sixty. Checks: `dev/tests/test_evals.py -k 'catalog or model_option or delegates'`, pre-commit, and the runs above. > _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.
64 of the 117 short eval cases told the subject what to read: 22 named the file or registry entry holding the graded rule, 21 a kind of reference, 21 invited reading in general. This removes every such direction. The 16 cases whose rule lives in a registry entry or a package's author instructions now author a real page, because a read-only probe can't run
leaf page instructions --use, the route an author takes to those instructions; that inability is why case authors pasted file paths, andinstruction-changes.mdallowed it as a diagnostic. That allowance is gone, andevals/README.mdsays when a case must author.Removing the directions changed no pass rate on Claude Code: six representative cases passed 24/24 as committed and 24/24 rewritten, every rewritten author reaching the rule itself, and four cases passed 10/12 with and without "Read whatever instructions you need". Eight more rewritten cases regrade 16/16 after three rubric fixes for grades that faulted what the request or
authoring-on-me.mdasks for.trace-reviewis deleted: its rule moved intoleaf-dev probe --help, which no probe can run.To weigh: an authoring run costs about 1.3M tokens (mostly cached) and 2–9 minutes against a probe's 70k and under a minute. Seven playground probes converted last haven't run, nor has Codex. Real sessions miss widget instructions after a compaction (34 of 107 new
lf-optionsgroups had them in context, against 34 of 34 before), which this branch measures but doesn't fix.Requested by max-sixty; reviewed by a fresh-context agent. Checks:
dev/tests/test_evals.py, pre-commit.