Skip to content

Ask the everyday gate for the key line's rows - #307

Merged
max-sixty merged 9 commits into
mainfrom
arch-landing
Sep 5, 2026
Merged

max-sixty merged 9 commits into
mainfrom
arch-landing

Conversation

@max-sixty

@max-sixty max-sixty commented Sep 5, 2026 •

Copy link
Copy Markdown
Owner

The everyday suite never asked whether a reader can see a key. A key line with no rows in it is silent — the chrome paints, the console stays clean, and every other everyday assertion holds — so the whole boot cutover ran against a gate that would not have noticed. One assertion closes that: at rest a page shows c and r, and a planted lineRows returning nothing fails it while errors stays empty. The boot's own failure to register a painter is loud and already covered.

This branch started much larger. It was fanning tests/CLAUDE.md out into the helpers each rule describes, written before #304 rewrote that document keeping the rules in place and its headings as addresses. Both were the same job done opposite ways, and #304 landed first, so every paragraph this branch added — the probe timeout, the traffic ledger, data-lf-applied, the aborted refusal, autouse ordering, HOLD_MOTION's release, the ring reading — became a second copy of a rule that now has a home. Those files are back at main's version.

ring_faults is also spelled here the way the code spells it. RING_FAULTS appeared in the document and in a comment in test_render_conversations.py, and is not a name in the tree.

Three citations named something that is not there. ## Layout and motion opens "The page must hold still under the reader's aim", and #301 quoted a paraphrase of that sentence as though it were a heading, from chrome.css and from docs/site.css. main has since deleted docs/site.css outright, so that one is gone with the file. chrome.css and skills/leaf/assets/theme.css now name the heading, which is the address. Every quoted citation in the tree resolves against a heading in the document it names, and the phrase itself appears nowhere.

🤖 Generated with Claude Code

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

max-sixty and others added 7 commits September 5, 2026 09:25
tests/CLAUDE.md had grown to 51KB, most of it the mechanism of one
harness helper each — how `panel_settled` finishes the shell carry, what
`watched` listens to, why `_until` prints both ends of its wait — and the
helpers' own docstrings said the same things again. The file now keeps
the laws a test author needs before choosing a mechanism and a map to the
helpers that carry each one, at 32KB. The facts only the file held moved
to their code: the ring reading's whole contract onto `RINGS_DRAWN`, the
shut-panel half of `trappedMargins` onto that probe, why the probe wait
is the driver's onto `wait_for_probe`, and one paragraph each onto
`leaf_page`, `select`, `round_trip`, `told`, `undo`, `refuse`,
`page_dir`, `_no_page_outlives_its_test`, and the launcher test.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EDSAWYR4GqyuzouhN8qk78
Three references named sections the fan-out removed and now name the
sections or docstrings that carry the rule; seven added paragraphs
repeated text beside them and are cut to what was new; the ring reading's
comment names `ring_faults` rather than a constant that never existed and
says the element mark now answers the keyboard instead of asserting the
defect and its fix at once; the `trappedMargins` paragraph in
tests/CLAUDE.md keeps the turn that made it the exception; and the five
rules the move had left homeless are back: `serve(..., seed_log=False)`,
releasing held animations, the quote-scroll edges, retries as second
sends, and what `primed` still owns.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EDSAWYR4GqyuzouhN8qk78
The rows are painted by a registration the boot makes, not by anything a
widget or the page asks for, so a runtime that loses that registration
keeps every other everyday assertion green while no reader can see a key;
the nightly keyboard tests were the first to notice. On a shipped page at
rest the line carries `c` and `r`, so the smoke test asks for a non-empty
row set after presentation. It passes on main and fails on the cutover
branch before its fix.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EDSAWYR4GqyuzouhN8qk78
# Conflicts:
#	tests/CLAUDE.md
…swered

main's own rewrite of tests/CLAUDE.md (#304) kept the testing rules in the
document and made its headings addresses. This branch had moved the same rules
into the helpers they describe, so on that base every paragraph it added was a
second copy: the probe timeout, the traffic ledger, `data-lf-applied`, the
`aborted` refusal, autouse ordering, `HOLD_MOTION`'s release, the whole ring
reading. Those are reverted to main.

What is left is what main does not have. The everyday suite now asks the key
line for rows: a line with none in it draws no console error and leaves every
other everyday assertion green, which a planted empty `lineRows` confirms.
`ring_faults` is also spelled as the code spells it, in the document and in
test_render_conversations.py; `RING_FAULTS` is nothing.
`The page holds still under the user's aim` is the first sentence of
`## Layout and motion`, not a heading, and #301 cited it as one from
chrome.css and docs/site.css. Cite the heading, which is the address.
# Conflicts:
#	docs/site.css

@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 test_smoke.py assertion is the right shape and it isn't vacuous — keylineMore is el("button", "lf-key-more"), a single class token that .lf-key does not match, so with lineRows returning nothing the selector goes to zero rather than finding the permanent More keycap. The RING_FAULTS → ring_faults rename is complete: ring_faults is the name in tests/render_cases_layout.py, and grepping the tree for RING_FAULTS returns exactly the two occurrences this diff fixes. ## Layout and motion is a real heading in skills/leaf/assets/CLAUDE.md.

One thing to fix before this lands: the docs/site.css hunk is dead on main. 34edfa11 deleted the file, and the nav.sitenav rules moved to docs/package/theme.css without the long comment — grep -rn "hold still" docs/ on main returns nothing. So there is no citation left under docs/ to repoint, and this is the PR's only merge conflict (test-merging the head into origin/main gives CONFLICT (modify/delete): docs/site.css; the other four files auto-merge). Rebase and drop the hunk rather than porting it into docs/package/theme.css.

Also, The page holds still under the user's aim is not the first sentence of ## Layout and motion — that sentence reads "The page must hold still under the reader's aim." The quoted phrase does not appear in the document at all, which makes skills/leaf/assets/theme.css the remaining instance of exactly what this branch is closing: in the font-variant-numeric comment it says That is the movement "the page holds still under the user's aim" forbids, quoting words no document contains. It names no file, so it slips the rule as you worded it, but it's the same dangling quote one file over.

Checks
  • .lf-key chips: chip() in skills/leaf/assets/runtime/keyboard/keyline.js builds el("span", "lf-key") and sets span.hidden from row === REFERENCE || (!shelf && !shown.has(row)); keylineMore is appended separately with lf-key-more.
  • grep -rn 'ring_faults\|RING_FAULTS' over *.py and *.md: definition at tests/render_cases_layout.py, call sites in test_render_conversations.py / test_render_controls.py / render_support.py, and the two RING_FAULTS strings this diff edits. Nothing else.
  • Test-merge: git merge --no-commit --no-ff of refs/pull/307/head onto origin/main in a scratch worktree — one conflict, docs/site.css (DU).
  • The base here is 1bcbff95, three commits behind main, which is why the deletion isn't visible in the PR's own diff.

The red review check on this head is tend-review failing during the bot outage window, not a verdict — this review is that run's replacement, posted from the scheduled notifications poll. ci / test and ci / lint are green, but they ran against the pre-34edfa11 base, so they never saw the conflict above.

@max-sixty
max-sixty merged commit e3b1f52 into main Sep 5, 2026
6 checks passed
@max-sixty
max-sixty deleted the arch-landing branch September 5, 2026 21:05
max-sixty added a commit that referenced this pull request Sep 5, 2026
The everyday suite never asked whether a reader can see a key. A key
line with no rows in it is silent — the chrome paints, the console stays
clean, and every other everyday assertion holds — so the whole boot
cutover ran against a gate that would not have noticed. One assertion
closes that: at rest a page shows `c` and `r`, and a planted `lineRows`
returning nothing fails it while `errors` stays empty. The boot's own
failure to register a painter is loud and already covered.

This branch started much larger. It was fanning `tests/CLAUDE.md` out
into the helpers each rule describes, written before #304 rewrote that
document keeping the rules in place and its headings as addresses. Both
were the same job done opposite ways, and #304 landed first, so every
paragraph this branch added — the probe timeout, the traffic ledger,
`data-lf-applied`, the `aborted` refusal, autouse ordering,
`HOLD_MOTION`'s release, the ring reading — became a second copy of a
rule that now has a home. Those files are back at main's version.

`ring_faults` is also spelled here the way the code spells it.
`RING_FAULTS` appeared in the document and in a comment in
`test_render_conversations.py`, and is not a name in the tree.

Three citations named something that is not there. `## Layout and
motion` opens "The page must hold still under the reader's aim", and
#301 quoted a paraphrase of that sentence as though it were a heading,
from `chrome.css` and from `docs/site.css`. main has since deleted
`docs/site.css` outright, so that one is gone with the file.
`chrome.css` and `skills/leaf/assets/theme.css` now name the heading,
which is the address. Every quoted citation in the tree resolves against
a heading in the document it names, and the phrase itself appears
nowhere.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

---------

Co-authored-by: Claude Fable 5.1 <[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