Skip to content

Rewrite root AGENTS.md and the leaf skill's SKILL.md in plain prose - #2915

Merged
max-sixty merged 5 commits into
mainfrom
prose-readability-survey
Oct 15, 2026
Merged

max-sixty merged 5 commits into
mainfrom
prose-readability-survey

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Rewrites root AGENTS.md and the shipped skills/leaf/SKILL.md in short plain prose, as reviewed on the prose-readability survey page. Every rule is kept in plainer sentences, and the headings are unchanged, so every place that cites a section by name still resolves.

File Words
Root AGENTS.md 4,142 → 3,641
skills/leaf/SKILL.md 2,270 → 2,184

AGENTS.md. The leaf-assets.json merge-conflict rules move out of "The install runs this tree" into the dev/leaf_dev/leaf_assets.py header, which owns the pins. The draft predates three changes on main, which are carried into it: the product-principles paragraph (verbatim), the committed kernel with its fallback to source modules, and the kernel's exemption from the no-large-files rule. Two rules the first review found dropped are restored: the window that bounds a widget's state, and present() for renderers that read outside the tracked state.

SKILL.md. The Concrete principle's wording drives whether an authoring agent draws pictures, so the rewrite was scored against main before landing:

  • findings-page-shows-its-subject and options-stay-words-for-wording, 3 runs per arm on Claude Code: 12/12 on both.
  • A replay of session 848900aa, the session behind the first case, from just before it wrote its findings page: the candidate drew the CSS cascade tiers in 4 of the 4 pages written, main in 0 of 4 (6 runs per arm; 4 runs wrote no page).

No code changes.

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 2 commits October 14, 2026 17:14
The maintainer reviewed and chose to land the rewrite drafted on
agent-afc8ee5e93bb3a8cf (513452f40, 13b726db1). 4,142 -> 3,596 words.
Every rule above "Repository map" is kept in plainer sentences; headings
are unchanged, so the five section citations still resolve.

The leaf-assets.json merge-conflict rules move from "The install runs
this tree" into the dev/leaf_dev/leaf_assets.py header, which owns the
pins.

Ported onto the draft from main since it was written: the product
principles paragraph (verbatim), the committed kernel and its fallback to
source modules, and the kernel's exemption from the no-large-files rule.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The state and presentation sections lose two maintainer-facing rules that matter when extending the runtime; the inline suggestions restore them.

Comment thread AGENTS.md Resolved
Comment thread AGENTS.md Resolved
leaf-agent's review of #2915 found the rewrite dropped two rules: a page
widget's state is bounded by the document version while a widget frozen
into thread markup uses its thread's window, and a renderer reading input
outside the tracked state repaints only when that input's owner calls
present() (runtime/semantic-state.js).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
leaf-agent previously approved these changes Oct 15, 2026
max-sixty and others added 2 commits October 14, 2026 17:45
Applies the SKILL.md change of f54336a97 and cf7dfd8c4 onto current main for
scoring; main's Extensible principle is kept as written.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty max-sixty changed the title Rewrite root AGENTS.md in plain prose Rewrite root AGENTS.md and the leaf skill's SKILL.md in plain prose Oct 15, 2026
@max-sixty
max-sixty merged commit 0c62be8 into main Oct 15, 2026
3 checks passed
@max-sixty
max-sixty deleted the prose-readability-survey branch October 15, 2026 01:03
max-sixty added a commit that referenced this pull request Oct 15, 2026
…2926)

The last batch of the prose rewrite that #2897, #2905 and #2915 started:
the package instructions (`playground`, `playwright`, `monitoring`,
`file-editor`, `code-review`, `visual-review`) and 43 registry tag
descriptions and `x-instructions` strings, including `lf-chart`,
`lf-tabs`, `lf-diagram`, `table`, `aside.sidenote`, `aside.sidebar` and
the `svg.drawing`, `td.num` and `section.panel` classes. Each is
rewritten in short plain prose that names the real case, and guidance
that didn't help is cut. A second agent reviewed the draft for accuracy,
lost rules and readability, and every finding is applied in the second
commit.

| Area | Words |
| --- | --- |
| Package instruction files | 3,563 → 3,071 (−14%) |
| Rewritten registry strings | 2,761 → 2,576 (−7%) |

The cuts are smaller than in earlier batches because nine eval cases
grade rules in the playground instructions, so those rules stay.

**Corrections to claims that were wrong on main:**
- `table` pointed to "a KPI widget" for headline figures; Leaf has none.
It now names `dl` cells in a `layout-tiles` block.
- `table` said a bare `<th>` is set in small caps; `shadow.css` draws a
small, muted, bold label.
- `lf-text-document` said both tabs share one scrollable viewport; with
`preview`, each tab has its own `--lf-bound` box.
- `lf-text-document`'s `language` falls back to the preview's language,
and with neither set the source is uncolored.
- `.facts` floats right only as a direct child of a `<strong>`-titled
`lf-option` that is wide enough.
- `aside.sidebar` mentioned occupants that "declare themselves
apparatus"; no registry key declares that.
- `lf-chart` refuses to draw without an `ariaLabel`; the instruction now
says so.

**Evals** (Claude Code, base `0c62be82a` against the candidate):
- First pass, all nine `playground-*` cases, the two Playwright cases,
`diagram-parts-complete`, `queue-is-a-side-list` and
`numeric-grid-shows-shape`, 2 runs each: base 23/28, candidate 24/28.
- After the review fixes, 3 runs each: `playground-query-is-the-task`
3/3 on both arms; `capture-set-labels-each-axis` 3/3 on both arms.
- `playground-candidates-line-up` fails on both arms (base 1/5,
candidate 0/5), always on `cards-keep-their-height`: no run sets
`align-self: start`, so each card stretches to its row. That needs new
guidance with its own A/B, so this PR doesn't change it.

The `### Real-artifact A/B comparison` heading in the playground
instructions is removed; nothing cites it. No code changes.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.

2 participants