Skip to content

Restore page-authoring's guidance on which form shows each subject - #5901

Merged
max-sixty merged 6 commits into
mainfrom
fix/issue-5900
Nov 15, 2026
Merged

max-sixty merged 6 commits into
mainfrom
fix/issue-5900

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

This restores the "Show the subject" section at the top of skills/leaf/references/page-authoring.md. The section tells an author which form each kind of subject takes. Under it, a mechanism nothing can show yet is drawn, including where things sit, what calls or feeds what, and today beside the proposal. Numbers whose shape is the point become an lf-chart. #4267 and #4629 replaced the section with "Develop the work", which has one sentence on drawing. That sentence is removed here, since the section covers it. SKILL.md's step that starts a fresh author now names both sections.

The restored text differs from 2715471's in four places:

  • The screenshot bullet points to authoring-evidence.md, "Interactive and visual evidence", for capture detail (crops and shadows), which that reference now owns.
  • The link to authoring-decisions.md is dropped, because that file no longer exists.
  • The motion bullet stops at naming lf-motion, and the chart bullet's pointer to "Reading cost" is dropped.
  • The behavior bullet adds that an order of events between actors is an lf-timeline, as authoring-evidence.md says.

Scores: head is no better than base

In #5900's runs on Fable 5.2, 20ad05c's text gave 0 of 3 pages a chart of the measurements, and this variant 2 of 3. The new case, mechanism-proposal-shows-its-measurements, gives the author about 3,200 words of notes on a photo-upload pipeline moving its variant generation from the request to a queue and workers: the parts, one upload's path through them, timings measured against today's path, and three decisions. It asks for the proposal on a Leaf page. Two text rubrics judge the page's HTML. Paired against main, 4 runs per arm:

Model Arm Charts the timings Draws one upload's path, or today beside the proposal lf-charts per page
Opus 5.5 base 5cc9aef 4 of 4 4 of 4 3, 2, 3, 2
Opus 5.5 this branch 4 of 4 4 of 4 2, 2, 2, 3
Fable 5.2 base 5cc9aef 4 of 4 4 of 4 2, 3, 3, 2
Fable 5.2 this branch 4 of 4 4 of 4 2, 3, 2, 2
uv run leaf-dev eval run mechanism-proposal-shows-its-measurements --harness claude-code --base 5cc9aef6a7 --repeat 4 -j 2
uv run leaf-dev eval run mechanism-proposal-shows-its-measurements --harness claude-code --base 5cc9aef6a7 --model claude-fable-5-2 --repeat 4 -j 2

Base already charts, so this case doesn't reproduce #5900 and can't show the restored section helping. Every author on both arms read authoring-evidence.md, whose lf-chart line SKILL.md routes measured facts to, and none started a fresh author for the page. The judge's reasons match the pages: each has two or three lf-charts of the timings, most of them response time and ready time against upload rate, and a sequence diagram, timeline or drawn figure of one upload, today's beside the proposal's in most. One page on this branch (Opus) failed its render check, where an lf-chart annotation overlapped a tick label at 360–480px.

#5900's runs differ from these in the notes' length (about 9,500 words), the user's global instructions, xhigh effort, and possibly a fresh author started per SKILL.md, whose brief at base names only "Develop the work". I didn't test those. A variant that handed a fresh author only page-authoring.md was stopped early: four of the five authors that started loaded the Leaf skill on their own, so it didn't isolate the file.

The case stays as a guard on the default: an author run costs about $2 and 8 minutes on Opus 5.5, and $4 on Fable 5.2.

Also in this branch

  • leaf-dev eval run --model now sets the Claude Code author too. It was refused unless --harness codex, though authoring cases already passed it through; claude_child's default bound the pin at import, and the read-only probe ignored it.
  • SKILL.md's changed paragraph is rewrapped to the file's width.

tests/model/test_interact_layer.py (175) and dev/tests/test_evals.py (13) pass, as do the pre-commit hooks on the changed files.

Closes #5900

#4267 and #4629 replaced "Show the subject" with "Develop the work",
keeping one sentence on drawing. Pages handing over a proposed mechanism
then stopped charting measurements and drawing the request's path. The
section returns above "Develop the work", minus the capture details
authoring-evidence.md now owns and the link to the removed
authoring-decisions.md; the lone drawing sentence goes.

Closes #5900

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The restored behavior bullet predates lf-timeline: the timeline package landed on 2026-10-25, after 2715471. So it now sends "a process over time" to a live sample or lf-motion, while authoring-evidence.md, "Interactive and visual evidence", sends an order of events between actors, such as a race between two jobs, to lf-timeline. An author looking at a sequence of events gets two answers depending on which reference it reads first, and #5900's own pages draw one or two timelines each. Name lf-timeline in the bullet so the section routes every form the evidence reference owns.

The restored section predates the timeline package, so it sent every
process over time to a live sample or lf-motion while authoring-evidence.md
sends an order of events between actors to lf-timeline.
--model was refused unless --harness codex, though authoring cases
already passed it to their Claude Code author. The read-only probe's
provider and claude_child, whose default bound the pin at import, now
read the model a run sets, so #5900's Fable 5.2 runs can go through the
catalog: --harness claude-code --model claude-fable-5-2.
The restored section name lengthened one line past the file's width.
#5900 found pages handing over a proposed mechanism no longer charted
its measurements. mechanism-proposal-shows-its-measurements gives the
author about 3,200 words of notes on a photo-upload pipeline moving its
variant generation to a queue and workers, with timings measured against
today's path and three decisions, and asks for the proposal on a Leaf
page. Two text rubrics judge the page's HTML: whether it charts the
timings, and whether it draws one upload's path or today's beside the
proposal.

Paired on 2026-11-15, base 5cc9aef against this branch, 4 runs per
arm: both arms passed both rubrics 4 of 4 on Opus 5.5 and 4 of 4 on
Fable 5.2. The case doesn't reproduce #5900's failure, so it guards the
default. An author run costs about $2 and 8 minutes on Opus, $4 on
Fable.
@max-sixty max-sixty changed the title fix: restore page-authoring's guidance on which form shows each subject Restore page-authoring's guidance on which form shows each subject Nov 15, 2026
@max-sixty
max-sixty merged commit e9b355d into main Nov 15, 2026
4 checks passed
@max-sixty
max-sixty deleted the fix/issue-5900 branch November 15, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A page handing over a proposed mechanism no longer charts its measurements or draws the request path

2 participants