Skip to content

Published catalog stills show text three examples no longer contain #176

Closed

Description

@leaf-agent

The published catalog at https://leaf.page/ shows stills captured at b4a5aeb, and three of the nine examples have been edited since — so the gallery advertises text those pages no longer contain. 4b42d15 removed the freshness digest that used to flag this, deliberately (it coupled every render-input change to regeneration), and test_site.py now checks routes, image membership, visibility and dimensions but not content, so nothing is watching the drift. Recapture needs the authoring machine: theme.css asks for Charter and system-ui, and fc-match on a CI runner has none of the serif stack, so any capture taken in CI ships in substituted faces.

The clearest instance is release-notes, whose opening paragraph was rewritten at bba885a — the still still shows the old wording.

Which stills lag their example, and how that was checked

Comparing each docs/example-<name>.jpg's last-capture commit against its examples/<name>.html's last edit on 4b42d1594037fa33de2c07c9eec81a4d57edefca:

example still captured example last edited
design-decision b4a5aeb b38c6e0 lags
release-notes b4a5aeb bba885a lags
ship-review b4a5aeb ed6508b lags
the other six b4a5aeb at or before b4a5aeb —

This is a floor rather than the full set: it compares authored source only, so a theme, registry or runtime change that moves a rendered page is invisible to it. #175's A/B measured six of nine stills moving across b932acb→b38c6e0 for that reason.

release-notes verbatim, b4a5aeb → 4b42d1594037fa33de2c07c9eec81a4d57edefca:

-        Four notes cover everything user-visible in 3.2. Rewrite any draft in place;
-        decide the proposed replacement, deletion, and addition in the margin; then sign
-        off on the wording that should ship.
+        Four notes cover everything user-visible in 3.2. A filled margin Button commits
+        its verb; a hollow one reveals context, and … unfolds more Buttons beside it.
+        Rewrite any draft in place, then sign off on the wording that should ship.

A second paragraph moved in the same commit range ("say so in a comment" → "Alt-click this section and say why").

Prior context: #133 tracked the digest's staleness and closed when the digest went; #175 carried the measurement and is closed as obsolete. This issue is the surviving fact rather than a reopening of either.

Activity

  1. leaf-agent commented on Aug 31, 2026

    @leaf-agent
    CollaboratorAuthor

    Measured this from CI. The drift is wider than the source-only floor above: six of the nine published stills differ, and two of them show text the example no longer contains, not one.

    The A/B #175 established makes this answerable from a runner even though the runner cannot ship a capture — run the generator unmodified at two trees on the same machine and compare its output to itself, so the substituted faces cancel. I captured at b932acb (the last tree whose stills were current) and at main's tip 4b42d15, same runner and same Chrome:

    still vs b932acb what moved
    release-notes differs prose rewritten at bba885a, plus a column shift
    ship-review differs a task title rewritten at ed6508b, plus a column shift
    design-decision differs column shift only — its source edit sits at L149, below the captured 1120×700 viewport
    command-hub, heat-loss, live-progress differ rendering only — none has a source edit since b932acb
    postmortem, pr-walkthrough, triage-board byte-identical —

    ship-review is the new one. docs/example-ship-review.jpg shows a readiness-docket item reading iOS resync stall, visible at the bottom of the captured viewport; examples/ship-review.html#L47 has read iOS reconnect stall since ed6508b. So https://leaf.page/ advertises two sentences no page behind it contains.

    The three commits since b38c6e0 add nothing to that set — it is the same six #175 measured through b38c6e0, and 78fa4c4, 671d550 and 4b42d15 are a search-selection JS change, a skill doc and the digest removal.

    The recapture blocker holds. fc-match on this runner resolves Charter, Bitstream Charter and Iowan Old Style to DejaVu Sans and Georgia to DejaVu Serif, so nothing in theme.css's serif stack is present. A capture committed from here would ship the gallery in substituted faces. Nine stills, one scripts/example-previews.py run on the authoring machine, is the whole fix.

    On what watches it. Not opening a PR for a gate: 4b42d15 removed one deliberately three commits ago and re-adding one is the same call, made again. The distinction worth recording is that the objection was to the key, not the watch: the digest keyed on render inputs, so any layer edit reddened main whether or not a pixel moved. The A/B above keys on outputs — it fires only when a capture actually differs, and the six-of-nine result here is what it would have reported. It costs two generator runs and needs unshallowed history to find each still's own capture commit. Happy to implement it if that trade reads better than no watch at all.

    How the A/B was run

    Two detached worktrees at b932acb and 4b42d15, scripts/example-previews.py run unmodified in each with the repo's own .venv, channel="chrome" on /usr/bin/google-chrome throughout. Compared sha256 of the nine docs/example-*.jpg between the two output sets, then a Pillow pixel diff for magnitude — the six that differ change 4–7.5% of pixels with a bounding box spanning the whole content column, which is the signature of the column moving rather than a local edit. command-hub read visually as a pure ~19px rightward column shift with identical text, which is why the table separates the layout-only rows from the two with changed words.

    Fonts, on this runner:

    Charter              DejaVuSans.ttf: "DejaVu Sans" "Book"
    Bitstream Charter    DejaVuSans.ttf: "DejaVu Sans" "Book"
    Iowan Old Style      DejaVuSans.ttf: "DejaVu Sans" "Book"
    Georgia              DejaVuSerif.ttf: "DejaVu Serif" "Book"
    system-ui            DejaVuSans.ttf: "DejaVu Sans" "Book"
    
  2. leaf-agent commented on Sep 4, 2026

    @leaf-agent
    CollaboratorAuthor

    Status update from tonight's sweep: the three source-text instances this issue names are fixed and published, and one new instance has appeared from a layer change. The issue stays open on the new one.

    Fixed. fc0d216 ("Repair nightly coverage after example expansion") refreshed all ten catalog previews from the authoring machine, and it is a descendant of every example source edit the issue and its comment cite — bf9dd47 (ship-review, design-decision) and 3386da9 (release-notes). No examples/ commit has landed since. publish-site went green on cbdf58e at 06:40 UTC today, so https://leaf.page/ now serves those stills. Checked at HEAD: docs/example-ship-review.jpg reads The iOS reconnect stall, matching examples/ship-review.html#L21, and docs/example-release-notes.jpg's opening paragraph matches examples/release-notes.html#L23 verbatim.

    New. docs/example-release-notes.jpg shows the banner control as ✓ Accept all (3). a57ae29 — which lands after the recapture — dropped that glyph on purpose ("bulk suggestion acceptance reads as an action rather than a completed state"), so the runtime now renders Accept all (3) and the registry's $awaits.all description was reworded to match. The published still is the only place the old label survives. This is the layer-change half of the drift the issue's own body flags as invisible to a source-only comparison, rather than a return of the source-text half.

    One scripts/example-previews.py run on the authoring machine still clears it; the font blocker is unchanged.

    How this was checked
    $ git log -1 --format=%h -- docs/example-release-notes.jpg   # fc0d2162
    $ git merge-base --is-ancestor bf9dd474 fc0d2162 && echo ok  # ok (stills newer)
    $ git merge-base --is-ancestor 3386da9e fc0d2162 && echo ok  # ok
    $ git log --oneline fc0d2162..origin/main -- examples/       # empty
    $ git log -1 -S'✓ ${label} all' -- skills/leaf/assets/runtime/decisions/view.js
      a57ae295 Clarify banner actions and workspace state (#242)
    $ git merge-base --is-ancestor fc0d2162 a57ae295 && echo after  # after
    

    The two stills were read directly to confirm the rendered text, rather than inferred from the commit graph. No pixel A/B was run this time — the question was whether specific words still appear, which the images answer on their own.

    The open question from the previous comment — whether an output-keyed A/B watch is worth adding, given 4b42d15 removed the input-keyed digest deliberately — is untouched and still yours to call. Tonight's recurrence is evidence for it: the drift returned within a day of a fresh capture, from a layer commit no source-only check would see.

  3. leaf-agent commented on Sep 6, 2026

    @leaf-agent
    CollaboratorAuthor

    Tonight's sweep: the instance the 2026-09-04 comment left open is fixed, and the same paragraph drifted again the same day.

    7411a84 recaptured all ten catalog stills from the authoring machine — every docs/example-*.jpg last changed there. Four commits later, f3e8cc3 ("Remove persistent suggestion outcome labels", #323) rewrote release-notes' opening paragraph, and docs/example-release-notes.jpg has not moved since the recapture:

    -        change to try its receipt and Undo, or rewrite a draft and save it. Press
    +        change, undo that choice, or rewrite a draft and save it. Press

    So the published still advertises "try its receipt and Undo" on a page that no longer says it — this issue's exact symptom, on this issue's original example, reintroduced within hours of a hand recapture.

    The new fact is not the instance, it's the cadence. A recapture is a manual act on the authoring machine and it held for four commits; main took 52 yesterday. Whatever fixes this has to survive that rate, which recapturing on noticing does not. The digest that used to flag it was removed deliberately at 4b42d15 for coupling every render-input change to regeneration, so this is not an argument to bring it back — it's a note that the interval between "stills are current" and "stills are wrong" is now shorter than the interval between sweeps, and that no cheaper signal replaced it.

    How that was checked
    $ for f in docs/example-*.jpg; do git log -1 --format='%h %ad' --date=short -- "$f"; done | sort -u
    7411a841 2026-09-05
    
    $ git log --oneline 7411a841..origin/main -- examples/
    67962f79 Show a screenshot in the ship review's thread so the media ring is walked (#320)
    634ec14d Unify agent activity across Leaf surfaces (#322)
    d20e59d3 Harden Leaf's document delivery policy (#326)
    f3e8cc33 Remove persistent suggestion outcome labels (#323)
    
    $ git log --oneline 7411a841..origin/main -- docs/example-release-notes.jpg
    (no output)

    The other three example commits in that range are the CSP base-uri/form-action addition (d20e59d3) and markup that does not change visible prose; f3e8cc33 is the only visible-text edit. This is the same source-only floor the issue body notes: a theme, registry or runtime change that moves a rendered page is invisible to it, and four commits touched skills/leaf/assets/ in the same range.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions