Repository navigation
Description
Failure
ci run 33326754065 on ac5ba54 — test_site.py::test_the_public_catalog_is_a_visual_index_of_full_page_routes:
AssertionError: preview inputs changed — rerun scripts/example-previews.py
assert '00101a033b8c...0003cee1c5c39' == '18a2c889ef57...f7faeba9c36e2'
This is the one failure that entered the standing set on that run: the previous run (33324080398, 6794ddc) did not report it. It still reproduces on d7f9d0f.
Diagnosis
preview_build.capture_input_files() hashes every file under skills/leaf/assets, skills/leaf/packages/default, each package named in examples/layer.json, and all of examples/ — so any runtime, theme, registry or package edit invalidates docs/example-previews.json's inputs_sha256. ac5ba54 edited assets/leaf.js, assets/runtime/chrome-style.js and assets/runtime/keyboard/address.js, and docs/example-previews.json was last regenerated at fff16e6, its parent. Every commit on main since has changed inputs again, so the digest is now several runtime commits behind.
The remedy the test names is right, but it cannot be run from here: the stills are system-font dependent, and CI has neither of the faces the theme asks for first.
theme.css declares --serif: Charter, "Bitstream Charter", "Iowan Old Style", Georgia, ui-serif, serif and --sans: system-ui, -apple-system, "Segoe UI", sans-serif. fc-list on the ubuntu-24.04 runner has DejaVu and Liberation and none of Charter, Iowan Old Style or Georgia, so a capture taken here falls the prose all the way to a generic serif and system-ui to a Linux UI face. scripts/linux-suite.sh already states the same fact from the other side: "what the two platforms disagree about is exactly what a browser test measures: how wide a system font sets a word".
I ran scripts/example-previews.py here to measure it rather than to propose it. All nine stills came back changed, including the six whose examples nothing had touched, and the re-render is not subtle — the body text re-wraps throughout and the banner's sentence clips to "What you do here stays in this br…" in every image, because the Linux UI face sets it wider than the banner holds. Pushing those would swap the public gallery's typography for the runner's.
Where the rest of that run's 55 failures stand
Re-run on d7f9d0f, 24 of the 55 now pass on their own. Of the 31 that remain, the two open bot PRs account for most:
- Keep the root's bar standing rather than reserving a gutter it never draws in #121 (
scrollbar-gutter: stableon the root scroller) — applying just itschrome-style.jshunk to d7f9d0f takes the remainder from 31 to 23. Note it no longer cherry-picks cleanly:chrome-layout.jsconflicts againstsyncPanelLayer, which arrived with 335bf9a. - Read the settled ask's disclosure keys from DISCLOSE, and repaint every disclosure row's shortcuts #132 —
test_example_renders[command-hub],test_example_renders[corpus],test_the_arrows_say_which_way_the_section_under_the_reader_goes. Verified against its branch's described behaviour by reproducing the same fix locally: bothexample_renderscases pass oncelf-command's fleet chips andlf-worktree's head useselectableOffer. - This issue — the catalog digest.
That leaves seventeen unowned, clustered on chrome changes from the last hour rather than on one cause: four in test_render_anchors.py (the version menu's focus and visibility), six in test_render_controls.py (coarse-pointer taps, the action shelf, esc handback, stacking workspaces, the corpus's control-row archetypes), two each in test_render_conversations.py and test_render_widgets.py, and one each in test_render_navigation.py (test_a_widget_that_renames_its_role_keeps_the_press_offer_gave_it, which #132 explains and deliberately leaves), test_render_outbox.py and test_render_semantic_selection.py.
Note also that #132's change to lf-command.js and lf-worktree.js is itself a preview input, so merging it moves the digest again — whichever of the two lands last is the one that has to be followed by a regeneration.
Why no fix was produced
Regenerating from CI is the one thing a fix PR here could do, and it would replace the whole checked-in catalog with runner-rendered stills — a visible change to https://leaf.page/ made on the wrong machine, and one that tests/CLAUDE.md's own account of the macOS/Linux split predicts. Rerunning scripts/example-previews.py on the authoring machine, as part of the next wt merge that touches the layer, is the fix; whether the gate should keep hashing every runtime file — which makes it red for the whole window between a layer change and the next capture — is a design call rather than a stale reading.
Activity
leaf-agent commentedon Aug 30, 2026
Recurs on
cirun 33327317652 (531a41e), and still reproduces on the current tipaf4eb72: manifest5cade914…, computed72368214….The new fact is that #130 did rerun
scripts/example-previews.pyon the authoring machine — all nine stills and the manifest are inaf4eb72— and the gate is red anyway. So "rerun it as part of the nextwt mergethat touches the layer" is necessary but not sufficient, and the design call this issue raises is sharper than the capture window: as written the gate cannot be satisfied from a pull request at all.Measured on the two trees: on #130's head
9aa4f61the manifest matches its own inputs exactly. The same manifest on the squash-mergeaf4eb72does not. Nothing about the capture was wrong — ten commits touching hashed inputs landed onmainbetween #130's baseac5ba54and the merge, and every one of them changesinputs_sha256. A capture is only current on a commit where it was the last layer change to land, which a PR author cannot arrange.That also predicts the next red: #121 and #132 both edit hashed inputs, so whichever lands last re-stales any manifest captured before it.
How that was checked, and a second reproducibility hole
capture_input_files()/digest()were run out ofscripts/example-previews.pyagainst three trees:inputs_sha2569aa4f61(#130 head, pre-merge)5cade914…5cade914…af4eb72(squash-merge onmain)5cade914…72368214…1a98129(af4eb72^)00101a03…4206c5e0…The ten commits between
ac5ba54..1a98129that touch hashed inputs:d2dd825,84aef1d,2a1ca10,2937e3b,e7299eb,6a50d50,aa25ddf,24759a0,7336a14,d8d1f1e.Separately, the input list is a filesystem walk (
rglob("*")overexamples/,skills/leaf/assets,skills/leaf/packages/defaultand each package inexamples/layer.json), not a git enumeration, and.gitignorecovers.DS_Storeand__pycache__/— both of which land inside those roots. A macOS authoring checkout can therefore hash files a CI checkout does not have, which would make a correctly-captured manifest unverifiable here for a reason no diff shows. That is not what caused any mismatch above — all three trees were clean, andgit status --porcelain --ignoredover those roots is empty on this runner — but it is a second way the digest is not reproducible across checkouts, andgit ls-filesover the same roots would close it.I confirmed the font substitution this issue already describes rather than re-deriving it:
fc-match Charter,fc-match "Bitstream Charter"andfc-match "Iowan Old Style"all answerDejaVu Sanson this sandbox,fc-match Georgiaandfc-match serifanswerDejaVu Serif. A regeneration here re-set the prose in DejaVu Serif across all nine stills — re-wrapped body text, and the banner clipped a phrase earlier than the committed capture does. Those files were discarded rather than pushed.leaf-agent commentedon Aug 30, 2026
#134 now carries the recapture, and measuring it here changes two things in this issue's account.
The digest half is satisfiable, and it turns on merge order. None of the nine stills nor the manifest is a hashed input —
capture_input_files()takes onlydocs/leaf.js,session.jsandsitenote.jsout ofdocs/. So #134's diff is digest-neutral: computed on its rebased head it is7010517b…, and computed on plain26dbf42it is also7010517b…, which is what its manifest now records. A squash of #134 onto today's tip would be green. What breaks that is anything landing after it, and three of the other open PRs qualify: #121 editsassets/runtime/chrome-style.js, #132 editspackages/default/widgets/lf-options.js, and #135 editsassets/leaf.js, four runtime modules andassets/theme.css— all hashed, so any of them merging after a capture re-stales the manifest immediately. #134 is the one that has to land last, rebased and recaptured at that point, and the constraint recurs for every future PR that touches the layer — which is the structural problem #134's body describes, stated as the thing a maintainer has to schedule around today.The visual objection above is overstated. I compared the committed
docs/example-postmortem.jpgagainst #134's. The banner clipping I attributed to the Linux UI face is already in the macOS capture onmain— it readsWhat you do here stays in this brows…there, andWhat you do here stays …in #134's. So the clip is the banner's own truncation, not something the runner introduced; it just bites a few characters earlier. What genuinely differs is the serif face (Charter falls to a generic serif here, per thefc-matchresults above) and a slightly narrower text column from Linux drawing a scrollbar in the gutter — the prose re-wraps, but nothing renders wrongly. "CI is the wrong machine" still holds as a statement about fidelity to what the theme asks for; it does not hold as a claim that a CI capture ships a broken gallery.Still stale at the tip:
26dbf42computes7010517b…against a manifest of5cade914….The design call this issue raises is unchanged and #134 lays out the two options; I have not picked one. One note for whichever regeneration lands last: swapping the input walk from
rglobtogit ls-files(the reproducibility hole in the previous comment) moves the digest too, so it costs nothing extra to fold in there rather than paying a separate recapture for it.How this was measured
capture_input_files()/digest()run out ofscripts/example-previews.pywithPYTHONPATH=scripts:26dbf42(maintip)5cade914…7010517b…b824d6d(#134 head, rebased on26dbf42)7010517b…7010517b…142 files in the hashed set on both. The
docs/members are exactlyleaf.js,session.js,sitenote.js; filtering the set fordocs/example-*.jpgandexample-previews.jsonreturns empty, which is why the two computed values agree despite #134's ten changed files.Files each open PR changes, against
origin/main:The image comparison used
git show HEAD:docs/example-postmortem.jpgagainstgit show origin/fix/ci-33327342462:docs/example-postmortem.jpg, viewed at full size. Both banners are truncated with an ellipsis; the body serif and the wrap points differ; #134's content column ends roughly a scrollbar's width short ofmain's.leaf-agent commentedon Aug 30, 2026
Dispatched for
cirun 33326087140 (13a9fc9, 60 red). Not another failure report — every cause in it is already owned, and three of the owners did not exist when the collapsed block above was written. This refreshes that block againstmainat1a98129, 19 commits on.27 of that run's 60 still reproduce. One id is gone from collection (
test_example_renders[gallery]), 32 pass on their own. Applying #121's branch head (0812458) takes the 27 to 19 — and it cherry-picks clean onto1a98129now, so thechrome-layout.jsconflict this issue records againstsyncPanelLayeris resolved by its rebase, not still pending.Ownership of the 27, all measured rather than read off the PR bodies:
The twelve with nobody on them, from this run's set:
test_coarse_pointer_chrome_gives_its_compact_controls_humane_aims,test_coarse_pointer_resize_reach_stays_reachable_without_trapping_scroll,test_esc_hands_the_page_back_after_it_has_closed_the_last_panel,test_the_responsive_action_shelf_keeps_primary_actions_in_reach,test_workspaces_replace_each_other_instead_of_stacking[500],test_a_mark_in_the_layer_promises_no_press_the_layer_will_not_take,test_a_settlement_in_a_reply_leaves_its_own_anchor_on_the_page,test_a_widget_that_renames_its_role_keeps_the_press_offer_gave_it(the one #132 explains and deliberately leaves),test_a_float_the_panel_displaces_hands_the_page_no_sideways_scroll,test_selection_hints_do_not_name_page_content_behind_a_covering_panel,test_suggestion_controls_stay_out_of_the_column,test_suggestions_sharing_a_block_keep_source_and_keyboard_order.Two more are red on
1a98129that this run never reported, both #132's cause rather than new ones:test_example_renders[corpus]andtest_the_composed_corpus_declares_every_control_row_archetype, each naminglf-command's3 running/5 workers/5 stoppedchips.How it was measured, and what a second remedy for the gutter showed
Each figure is a run of the 60 ids from run 33326087140 on this runner, in chunks, with
--run-nightly; the 19 is the same ids withgit cherry-pick 0812458on top of1a98129. The fourtest_render_anchors.pyfailures and thepage down / upreading were reached here independently before #137 was found, at the same numbers — a second confirmation of it rather than anything to add.Worth recording against #121 specifically, because it is the argument for its remedy over the obvious alternative. The gutter can also be answered at the reading layer: leave
scrollbar-gutter: stableand measure sideways overflow againstdocumentElement.offsetWidthinstead of itsclientWidth, inrootOverflowand in the six test probes that restate it. Built and measured here, that fixes 5 of the 8 and cannot fix the other 3 —test_covering_panel_keeps_toasts_on_screen_and_clear_of_the_footer,test_dynamic_chrome_offsets_keep_the_safe_area_in_their_arithmetic, andtest_the_reader_draws_an_edge_to_the_width_they_wantare not readings that disagree but chrome placed a bar's width off the window ('panel': {'left': -15, ..., 'right': 305}on a 320px viewport). A reading-layer fix leaves the reserved strip in the layout and only stops mismeasuring it;overflow-y: scrollremoves it. Nothing from that alternative is proposed here.Also measured: with #121 applied,
test_a_left_sidebar_uses_the_margin_until_the_page_needs_it_backfails atassert (950 - 264) == 720, which is #136's reading exactly — the column is 686px because--railclaims 250px on this runner's fonts against the ≤216px a 1200px page needs, and the claim is the widest margin row (228px) plus its margin. So the two are independent, and #136 does not need #121 under it.leaf-agent commentedon Aug 30, 2026
Dispatched for run 33328158954 (
acabe35, a hooks-only commit — 33 red, the same standing set). The comment above measured the board minutes before #138 opened, so only its last row has moved, and this is that row rather than a second reading of the rest.#138 takes five of the twelve —
test_a_mark_in_the_layer_promises_no_press_the_layer_will_not_take,test_a_settlement_in_a_reply_leaves_its_own_anchor_on_the_page,test_a_float_the_panel_displaces_hands_the_page_no_sideways_scroll,test_suggestion_controls_stay_out_of_the_column,test_suggestions_sharing_a_block_keep_source_and_keyboard_order.Five of the seven left are one fact, not five bugs. A covering panel is a
<dialog>now, so the document behind it is inert and the panel eats presses aimed past it. #138 names four on that fact and declines to pick the answer;test_the_responsive_action_shelf_keeps_primary_actions_in_reachis the fifth, and it reads as a gutter failure only because the gutter fails first. With #121'schrome-style.jshunk applied here on726382c, it clears its sideways assertion and then times out at<dialog open id="lf-threads" class="lf-ui lf-panel open"> intercepts pointer events— the same stringtest_coarse_pointer_chrome_gives_its_compact_controls_humane_aims,test_coarse_pointer_resize_reach_stays_reachable_without_trapping_scrollandtest_workspaces_replace_each_other_instead_of_stacking[500]report, and the same inertnesstest_selection_hints_do_not_name_page_content_behind_a_covering_panelreads from the other side whensreaches nothing. Whether a covering panel takes the page out of reach or covers it and leaves it working is one call that closes all five.The other two need nobody new:
test_esc_hands_the_page_back_after_it_has_closed_the_last_panelsits with #137's Escape group, andtest_a_widget_that_renames_its_role_keeps_the_press_offer_gave_itis the one #132 explains and deliberately leaves.Where the standing set entered, since this issue records the digest's arrival but not the rest's
Comparing the reported failures of run 33297425217 (
01ec4f4) with run 33317065355 (335bf9a): 13 red before, 60 after — 47 entered at 335bf9a "Delegate page chrome to browser standards", and none left. Of this run's 33, 18 are from that set, 12 are the ones it inherited (#121's, entered at 26feec8b), and 3 are neither — the digest,test_example_renders[corpus], andtest_the_composed_corpus_declares_every_control_row_archetype, the last two being the pair the comment above already attributes to #132.So the whole board is two commits and their repairs, and the covering-panel call above is the last unanswered question either of them left.
Fix margin rail, float placement, thread marks, and preview tab order…
Keep the thread panel from taking focus off the control that opened it (
Read the settled ask's disclosure keys from DISCLOSE, and repaint eve…
Stop the render gate reporting a hidden note as words out of reach (#143
leaf-agent commentedon Aug 31, 2026
Dispatched for
cirun 33340110090 (536eb53, 30 red). Not another failure report — the board has moved a long way since the comment above, which predates #147 and #148 and the nineteen failures292de9cbrought. This is the ownership map for that run, measured onmainatcd1b523and on #148's headea4eb0brather than read off the PR bodies.292de9cseat/option cluster: 14 durable-draft tests,test_c_in_a_seated_conversation_reaches_the_thread_it_is_in,test_every_ring_the_layer_draws_is_shown_whole_somewhere_in_the_corpus,test_a_questions_digits_are_drawn_whole,test_the_ring_says_where_the_reader_is_standing,test_a_label_in_a_retired_slot_leaves_the_page_with_the_slot. All 19 green on its head.test_render_anchors.py.test_a_seat_conversation_leaves_the_pick_it_is_about_live,test_the_ring_holds_on_a_seat_the_agent_has_still_to_answer— the design call #148 leaves.-n0.The two unowned.
test_coarse_pointer_resize_reach_stays_reachable_without_trapping_scrollis the one #144's body walks forward and hands on: past its modal failure, red on the earlierwait_for_functionfor.lf-threadsscrollTopafter a touch swipe, which belongs to #121'soverflow-y: scrolland is live onmainnow. No PR carries it.test_a_coined_class_cannot_reach_the_chromes_rulesis the layer-vocabulary gate: three names —lf-key-more,lf-key-sequence,lf-key-then— became document-level, and the gate's whole point is that widening the shared vocabulary is a decision rather than a test edit. They arrived with360c40a"Clarify keyboard chord progress" through the one shared keycap-geometry rule (.lf-address, .lf-key-sequence > kbd, .lf-key-more kbd,chrome-style.js), which sits at document level because.lf-addressis worn in the page. The question that decides the fix is whether a key sequence is ever drawn in the page: oncorpusI could only produce them inside.lf-chrome, in which case moving that rule into the@scopeblock is the fix and the vocabulary should not widen at all.One more, not in this run but red on
mainnow.test_the_responsive_action_shelf_keeps_primary_actions_in_reachfailsassert 352.828125 < 320deterministically at-n0, onmaintip and on #148's head alike. It entered at2659732"Align compact banner controls" — green at536eb53,8ccdaf9and405d5d0, red at2659732. It is also the shape running-tend warns about from the other side: it passed under-n4on both trees, so a suite run wide enough will hide it.How this was measured, and the two that did not reproduce
Ownership was taken by running this run's 30 node ids on each tree with the repo's own environment (
uv run pytest … --run-nightly), not by matching PR bodies to test names.On
mainatcd1b523, the run's sixteen non-draft ids plus the whole oftest_render_drafts.pyunder-n4: 15 of the 16 still red, and 14 of the drafts file. Onea4eb0b(#148's head,testandlintgreen there) the same selection is9 failed, 57 passed, and the nine are exactly the four versions-menu tests, the two #147 leaves, the catalog digest, the coarse-pointer resize, and the coined-class gate.Two did not reproduce and are the race class
tests/CLAUDE.mdand therunning-tendskill both name — a read that ran before the page said it was ready — rather than regressions:test_a_reader_arrives_at_what_they_left_rather_than_watching_it_arrive— green at-n0onmain, and green under-n4on both trees.test_a_left_sidebar_uses_the_margin_until_the_page_needs_it_back—assert 1258 <= (1234 + 1), and it alternates at-n0: pass / fail / pass onmaintip, pass / fail at536eb53. It reproduces on trees as far back asb373511, so it is not something the last day's chrome work brought.The coined-class probe: on the
corpusexample,document.querySelectorAll('.lf-key-sequence')returned 9 elements afterg, and 3 and 10 afterg handg f— every one of them inside.lf-chrome..lf-key-thenreturned 1, also in the chrome..lf-addressreturned 16, all in the page, which is why that name is in the gate's list already.addressChipinruntime/keyboard/address.jsdoes put akeySequenceinside an.lf-addresschip, so the page-side case exists in the code; I could not get one to render on that example, and did not sweep the rest of the corpus for it.I reached the same diagnosis as #147/#148 independently before finding them, and re-homed the fourteen draft tests onto a
lf-task talkseat the same way #148 does; that work is discarded rather than opened as a second PR. One measurement from it is worth recording against #147's option list, since it says the overlay route was refused: declaringx-conversationback ontolf-optionsthroughserve(..., layer_registry=…)does make both of #147's tests green, because the seat projection is registry-driven (seat_with_agentindecisions.py) and never asks for the box. It is still not a fix — the render gate'smissingConversationswould refuse that layer, so the tests would be reading a page no author could publish — but it does locate the objection precisely: what is missing is the module'sconversationBoxcall, not the declaration.leaf-agent commentedon Aug 31, 2026
Dispatched for
cirun 33340209182 (8ccdaf9, 31 red). No new failure and no PR from this run: the set is the one the map above already covers, and the two it lists as unowned have since been claimed, so this is a correction to that list rather than another report.test_a_coined_class_cannot_reach_the_chromes_rules— Scope the chrome's own keycap rules and read one box statement from both sides #152. It reaches the same conclusion the map leaves open: I could only produce.lf-key-sequenceinside.lf-chrometoo, onDECISIONS_PAGEand onADDRESS_PAGEaftera, where an option's own.lf-addresschip is a bare<span>holding its digit and carries no sequence. So the names are chrome-only, and the choice is between widening the pin and making a second copy of the keycap geometry. One thing the map's account has aged out of: it names three, andlf-key-thencame back off document level at aa41f7a — onmaintip the test now reportslf-key-moreandlf-key-sequencealone, which is what Scope the chrome's own keycap rules and read one box statement from both sides #152 pins.test_coarse_pointer_resize_reach_stays_reachable_without_trapping_scroll— Stop the thread panel wearing the UA dialog's padding #145, which takes it past Show the thread panel over the page instead of modally over it #144's hand-off and gives it the mechanism:.lf-panelis a<dialog>whose rule resets every UA box default except padding, so the UA's1emstill stands down the sheet's left, and a touch landing there meets the dialog rather than the thread list.test_the_responsive_action_shelf_keeps_primary_actions_in_reach, the one the map records as red onmainbut not in its run — Keep the compact shelf's display rule off the controls the page has hidden #150, which traces it to the same2659732and names the specificity tie that shows ahiddenMap button.Two more from this run's set that the map does not list, both green at
-n0and under-n4onmaintip here, so they belong with its race class rather than with anything owned:test_a_label_press_keeps_the_controls_keyboard_standingandtest_a_folding_reference_hands_its_hold_to_the_next_card.I re-derived #148's and #151's cluster before finding them and have discarded that work rather than opening a third PR for it.
leaf-agent commentedon Aug 31, 2026
Dispatched for
cirun 33342751714 (7a8a039, 30 red). No new failure and no PR from this run:7a8a039"Remove unused browser boot forwarding" caused none of them — its 30 ids are a strict subset of the 31 its parent92b54aereported in run 33342043027, and the one it drops istest_a_left_sidebar_uses_the_margin_until_the_page_needs_it_back, the alternating read #153 owns. The 30 are the set the map above already covers.One row of that map has moved, and it moved green.
test_the_responsive_action_shelf_keeps_primary_actions_in_reach— recorded there as red onmainbut not in its own run, and picked up by #150 — passes onmaintip1c7d033at-n0, twice, in ~7s each. #150 landed at50f261d, so this is the fix arriving rather than a wide suite hiding it: the width that hid it before was-n4, and-n0is the reading that had it red.That leaves 29 red on the tip, all owned: 19 to #148 (14 in
test_render_drafts.pyplus the five option/ring ids), 4 to #137, 2 to #147/#151, 1 each to #145, #149, #152, and the catalog digest to #134 / this issue.How this was measured
The subset claim compares the two runs' own summary lines (
gh run view <id> --log-failed), not PR bodies — 31 ids at92b54ae, 30 at7a8a039,comm -13empty in the direction that would show a regression.On
maintip1c7d033, with the repo's own environment (uv run pytest … --run-nightly):-n2, run twice:15 failed, 1 passedboth times, the one pass being the shelf test;tests/test_render_drafts.pywhole at-n4:14 failed, 36 passed, every failure the sameLocator.filltimeout waiting on atextareainside#jobs's conversation seat — Update the option-group tests for the removed seat, and ring the add field #148's cluster, unchanged;-n0, twice: passed.leaf-agent commentedon Aug 31, 2026
Recurs on
cirun 33342915540 (2d46d4a), where it was 1 of 31 failures. The new fact is that landing last is not sufficient — the previous comment's remedy has now been tried and it did not hold.mainmerged, in this order:6d68a1b(#152),d98ed92(#151),c0a5b65(#134). #134 was last. It is still stale at the tip:uv run pytest tests/test_site.py --run-nightlyonc0a5b65reads0836f336… != 3c23a202….The reason is that "last" is a property of merge order while the digest is a property of the tree the capture was taken on. I recut #134 onto
4b5b4b8and reranscripts/example-previews.pythere;git diff --name-only 4b5b4b8 c0a5b65restricted to the hashed roots is exactly one file —skills/leaf/assets/runtime/chrome-style.js, which arrived with #152, merged after the capture and before #134. So satisfying the gate needs the capture taken after every other layer change has already landed onmain, not merely merged after them. That is a serialization the maintainer has to hold by hand across a queue that ran three merges in the window this one recapture took, and it is the third consecutive capture on this branch to land stale (26dbf42, then4b5b4b8, both green on their own trees).Nothing else from that run is outstanding: all 31 failures were rerun against
4b5b4b8; three were already fixed onmain(#150, #145, #153) and the rest landed as #152, #151 and #134. This digest is the only red left, and it is red for the structural reason above rather than for a missed step.The design call is unchanged and I have not picked one — #134's body carries the two options (assert the digest half in the everyday suite, where
wt mergeasks it on the rebased tree; or capture inpublish-site.yamland stop checking the stills in). This run is evidence for the first: a digest-only assertion is 142 file reads with no browser, andwt mergeis the one place the tree is already final when the question is asked.leaf-agent commentedon Aug 31, 2026
Recurs on
cirun 33357968538 (16a5991), where it was 1 of 16 failures, and it is still red atmain's tip. The new fact is that this staling did not come from the squash landing on a movedmain. #161 recaptured on the authoring machine at5efdaf9, correct against its own tree; the branch then mergedorigin/mainone more time at5eacc9a, and that merge pulled16a5991's five hashed runtime files under the capture. The manifest was stale before the merge button was pressed, so the previous comment's "capture after every other layer change has already landed" is still not the whole condition — the capture also has to come after the branch's own last merge ofmain, which is a thing a PR can do and #161's did not.Nothing catches that in between:
ci.yamlruns--run-nightlyonly underif: github.event_name == 'push', so #161's own PR CI never asked the digest question and was green. The gate first speaks onmain, where the answer is no longer actionable — which is the same argument for #134's first option that the previous comment already records, now with a case where merge order was not the culprit at all.The other 15 failures of run 33357968538 are gone: rerun against
mainat6bbfb4bwithuv run pytest --run-nightly, all 15 pass (one had been renamed —test_a_comment_hidden_by_narrowing_lands_in_its_reply_boxistest_a_comment_hidden_by_narrowing_opens_its_inline_replysince #161). This digest is the only one left, and it is deterministic — 145 file reads and asha256, no browser involved.I have not produced a fix, for the reason this issue already carries:
fc-matchhere still answersDejaVu SansforCharter,Bitstream CharterandIowan Old StyleandDejaVu SerifforGeorgia, so a recapture from CI would re-set the public gallery in the runner's faces, and editinginputs_sha256alone would green the gate by removing what it proves. The design call is unchanged and still a maintainer's.Measured digests, and what moves next
capture_input_files()/digest()replicated fromscripts/example-previews.py#L47-L80, 145 files in the hashed set on every tree below:inputs_sha2565efdaf9(#161, the capture commit)ae6f4b2d…ae6f4b2d…03bfc0d(#161, merge ofmain)ae6f4b2d…ae6f4b2d…5eacc9a(#161 head, merge ofmainagain)ae6f4b2d…aa676dc2…b4a5aeb(#161 squash-merged)ae6f4b2d…aa676dc2…6bbfb4bae6f4b2d…aa676dc2…d755e18(tip)ae6f4b2d…a5fbd867…git diff --name-only 03bfc0d 5eacc9ais exactly16a5991: five hashed files —assets/leaf.js,assets/runtime/anchors.js,assets/runtime/composing/surface.js,assets/runtime/design.js,assets/runtime/geometry.js— plusskills/leaf/CLAUDE.mdandtests/test_render_aim.py, which are not hashed.b4a5aeb..6bbfb4btouches onlytests/, which is why the computed value holds across those three rows;d755e18"Keep page chrome on the document coordinate plane" moves it again throughchrome-style.js,composing/surface.js,geometry.jsandliving-margin.js.Both open PRs will move it again after any capture taken now: #162 edits
assets/runtime/conversation/thread-list.js, and #163 editsassets/leaf.js,assets/runtime/anchors.js,assets/runtime/composing/aim.js,composing/surface.js,composing/targets.jsandexamples/release-notes.html. Itsexamples/corpus.htmlis not hashed —capture_input_files()excludes that name.leaf-agent commentedon Aug 31, 2026
Recurs on
cirun 33358653065 (b4a5aeb, #161's merge). Two things about this run are new, and the second changes what the gate is measuring.It is now the only red on
main. That run ends1 failed, 1568 passed, 6 skipped in 2048.51s— the standing set every comment above maps is gone, and this manifest hash is the whole board.mainis one recapture away from fully green.The gate has stopped being about the commit it fails. Four commits have landed since
b4a5aeb, and the digest is stale on all four. Three of them —8bf0a0b,053d6d5,6bbfb4b— touch nothingcapture_input_files()hashes; each changes exactly one file undertests/, and all three compute the identicalaa676dc2…thatb4a5aebdid. They are red for a staleness they inherited from #161's merge. Onlyd755e18moved the digest on its own, toa5fbd867…, against a manifest that still readsae6f4b2d…on all five. So the gate no longer says "your commit staled the gallery"; it says "someone staled it before you, and every push from here is red until a recapture lands."That narrows the options this issue carries. #134's first option — assert the digest half in the everyday suite, where it is cheap and browserless — is a real gate only when
main's manifest is current. While it is stale the assertion reddens every pull request, including the three test-only ones above, and nothing on a PR can clear it: the fix has to land onmainfirst. It is also not something I can clear from CI, for the reason this issue already records and I re-measured on this runner —fc-matchstill answersDejaVu SansforCharter,Bitstream CharterandIowan Old Style, andDejaVu SerifforGeorgia, so a capture taken here re-sets the public gallery in substituted faces. So the ordering is fixed whichever option wins: a recapture on the tip first, the structural change after it.No PR from this run. A second CI recapture is the shape #156 already was, and the reason it closed — folded into #161 — is still the right one.
How this was measured
inputs_sha256computed withcapture_input_files()/digest()out ofscripts/example-previews.py, in a worktree checked out at each commit:b4a5aebae6f4b2d…aa676dc2…8bf0a0bae6f4b2d…aa676dc2…053d6d5ae6f4b2d…aa676dc2…6bbfb4bae6f4b2d…aa676dc2…d755e18ae6f4b2d…a5fbd867…git diff --name-onlyacross the three middle commits:tests/render_harness.py,tests/test_render_widgets.py,tests/test_render_controls.py— one file each.d755e18editsskills/leaf/CLAUDE.md,runtime/chrome-style.js,runtime/composing/surface.js,runtime/geometry.js,runtime/living-margin.jsandtests/test_render_aim.py; the four runtime files are hashed.The four newer runs were still in progress when this was written, so their conclusions are the computed digests above rather than a read of their logs. The single-failure count is read off run 33358653065's own summary line.
ci.yamlstill asks the nightly suite only onpush, which is why each of these first speaks onmain.leaf-agent commentedon Aug 31, 2026
Dispatched for
cirun 33359068004 (053d6d5). No new failure and no PR from this run — #164 now carries the refresh and is correct atmain's tip. What is new is a measurement that narrows this issue's blocking rationale.The "CI is the wrong machine" claim holds for the stills, but not for the digest. A recapture here does re-set the gallery in substituted faces — I reproduced that independently, all nine stills change at a tree whose manifest matched its own inputs. But an A/B capture taken on one runner cancels that: the substituted faces are the same constant on both sides, so byte-equality across two trees says the input delta is preview-neutral and only
inputs_sha256has to move. That is a claim CI can settle, even though the bytes it produces are not shippable.Measured across the current gap. Capturing at
03bfc0d(the last tree whose manifest equalled its own computed digest) and at7f58225(tip) on this runner gives all nine stills byte-identical —example-release-notes.jpgincluded, even though7f58225editsexamples/release-notes.html, because that paragraph sits at L107 of a 124-line document, below the captured 1120×700 first viewport. So the refresh at the tip is hash-only, and the checked-in gallery was never visually stale — only its hash was.#164 corroborates it from the other side. Its regeneration was run on the authoring machine and came back a one-line diff with no image bytes, which is exactly what the A/B predicted from here. That is the method being checked against a real capture rather than against itself.
What this buys a future run: when the A/B comes back identical, the digest bump is verifiable from CI rather than blocked on the authoring machine. When it comes back different, the stills genuinely moved and the authoring machine is still the only place to take them — the case this issue's rationale was written for. Worth stating plainly: byte-equality under substituted faces is strong evidence, not proof. A layout change could in principle interact with font metrics and move a still only under Charter, so the A/B licenses "no recapture needed" with high confidence rather than certainty.
None of this touches the scheduling problem this issue also records — the digest still re-stales on every input-touching commit, and is still only checked after
mainmoves.How it was measured
digest(capture_input_files())fromscripts/example-previews.py, 145 hashed files, computed in a worktree per commit:03bfc0d(inside #161, pre-merge)ae6f4b2d…ae6f4b2d…5efdaf9(#161's recapture)ae6f4b2d…ae6f4b2d…5eacc9a(#161 head, after mergingmain)ae6f4b2d…aa676dc2…b4a5aeb(#161's squash ontomain)ae6f4b2d…aa676dc2…053d6d5(this run's commit)ae6f4b2d…aa676dc2…d755e18ae6f4b2d…a5fbd867…7f58225(tip)ae6f4b2d…3e837757…The
053d6d5row reproducing the run's assertion is what says the method matches the gate's.The captures:
scripts/example-previews.pyrun unmodified in a worktree at03bfc0dand again at7f58225, same runner, same Chrome, comparingsha256of the ninedocs/example-*.jpgbetween the two output sets. All nine equal. Against the checked-in stills at03bfc0d, all nine differ — which is the font substitution this issue documents, still true and still the reason these bytes are not shippable.With
inputs_sha256set to3e83775774fd235aea33e549841d6481e734543dc22a54d44b5eee8f2185c3eaand no image touched,uv run pytest tests/test_site.py --run-nightly -n0— 20 passed, including the assertion at L206.leaf-agent commentedon Aug 31, 2026
Nightly sweep, 2026-08-31. The digest re-staled again on
main, and this run has a measurement that sharpens the scheduling half of this issue rather than repeating the recapture argument.It recurred at
bba885a, and the run confirms it.cirun 33364553456 came back14 failed, 1558 passed, 6 skipped, andtest_site.py::test_the_public_catalog_is_a_visual_index_of_full_page_routesis one of the fourteen. It is the only one of the fourteen with this cause — the other thirteen cluster on decisions, widgets and the chrome coordinate plane, which is #166 and the in-flighttend-ci-fixrun, not this issue.The contrast inside the last four commits is the useful part.
25e8a27changed a hashed input and moved the manifest in the same commit, so it landed green.bba885achanged nine hashed inputs and did not, so it reddenedmain. Nothing in the repo can tell those two apart before the merge: the assertion lives in a module markedpytest.mark.nightlyattests/test_site.py#L60, andci.yamlasks for--run-nightlyonly onpush. So the check first speaks onmain, after the merge, on the machine that cannot regenerate.The assertion itself does not need that machine.
test_site.py#L203-L219is pure filesystem and hashing — the manifest's preview set,inputs_sha256, theexample-*.jpgnames, and each record'ssha256/width/height. Only from L221 on does it takebrowser/hosted. The browser fixture and thenightlymark are what hold it back, not the work it does.So the proposal is to move where it runs, not what it proves. Split L203–L219 into a test that takes no browser fixture and carries no
nightlymark. It would then run in the everyday suite — which is the PR gate and whatwt mergeruns locally, on the authoring machine, the one place a regeneration is possible.bba885awould have failed there, in front of the person who could have fixed it in the same commit, instead of onmainafterwards.The trade-off is real and is why I have not opened a PR for it: every PR touching a hashed input would then have to carry a manifest refresh to be green. That is the intended discipline — it is what
25e8a27already did — but it is a change to how this repo lands runtime work, so it is yours to want rather than mine to assume.One thing this run deliberately did not do: a hash-only bump for the current gap.
bba885aandd755e18edittheme.css,chrome-style.js,living-margin.jsandlf-suggestion.js, so the A/B method from the previous comment would very likely come back different — the case where the stills genuinely moved and the authoring machine is the only place to take them. Capturing from a tree with fourteen failing render tests would be wrong regardless.Measurement
digest(capture_input_files())fromscripts/example-previews.py#L47-L79, 145 hashed files, computed in a detached worktree per commit:77a8681(#164, the refresh)3e837757…3e837757…25e8a27ff92edc6…ff92edc6…b932acbff92edc6…ff92edc6…bba885a(tip)ff92edc6…012f7429…The nine hashed inputs
bba885achanged:examples/release-notes.html,skills/leaf/assets/leaf.js,runtime/chrome-style.js,runtime/living-margin.js,runtime/reactions.js,assets/theme.css,assets/widgets/lf-suggestion.js,packages/default/theme.css,packages/default/widgets/lf-draft.js. (examples/corpus.htmlis also in the commit butcapture_input_files()excludes it by name.)The other thirteen failures in run 33364553456, for the record that this issue is not the one to read them under:
test_render_aim(design-mode press),test_render_controls(margin-action neighbours, ring corpus),test_render_export(release-notes standalone),test_render_navigation(key register),test_render_outbox(second-tab decision),test_render_projection×2,test_render_widgets×5.skills(running-tend): correct #133's state and the class count
Fix the exported rail and the render coverage after the Button fold (#…