Commit Graph
3 Commits
Author SHA1 Message Date
CatoandClaude Opus 5.5 2c7ec422de fix(ci): render sweep survives a lost browser; baseline lowered to client sites only (#150)
* fix(ci): render sweep survives a lost browser instead of losing the whole run

Twice on 2026-09-26 one crashed renderer ("Target page, context or browser
has been closed") threw out of main() from ctx.newPage and discarded every
site already measured - no report at all. renderWithRecovery rebuilds the
context (and relaunches the browser if it disconnected) and retries the
page once; a second loss is recorded as unmeasured, never clean. Pinned
with a fake context in test-render-sweep.mjs and mutation-checked.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

* chore(ci): lower render-sweep baseline - every own site at 0

Live sweep 2026-09-26 of all 13 own sites at 390/834/1440 after the fixes
deployed: rule3-small-target 0 on botsmann (was 18, botsmann#207),
datacat-web (21, datacat#274), evig (87, evig#510), heidi (12, heidi#139),
loki (24, loki#934), petvity (9, petvity#100), revamp-info (9, hirnli#124),
sbb-fundbuero (18, sbb-fundbuero#89), skif (1, skif#33), solon (16,
solon#193), surf-your-life (18, surf-your-life#82); evig fixed-overlap 3 -> 0
(cookie banner over the Hirn button, evig#510). Only client sites remain.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

---------

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-26 00:50:50 -07:00
CatoandClaude Opus 5.5 b11dfab519 fix(ci): rule 7 spares a link clipped by an on-screen nav scroller; lower bitbaum + camille (#149)
* fix(ci): rule 7 spares a link clipped by an on-screen nav scroller; lower bitbaum + camille

MEASURE reported camille-boulangerie's sitekit masthead nav "95px off the
right edge" at 390: the link ran past the screen but was clipped by its own
overflow-x:auto nav, which ends at 378px. A swipe reaches it and nothing
paints past the edge - the exemption render-sweep's offscreen-control
already gives a carousel. It holds only while the scroller itself is on
screen, and never for overflow:hidden. Both sides pinned in
test-ui-defect-audit.mjs and mutation-checked (removing the exemption fails
the silent fixture; exempting every scroller fails the off-edge one).
What was real on camille - its third section painting as a lone "Ü" - is
fixed upstream in sitekit#25.

Baseline (live sweep 2026-09-26): bitbaum rule3 44 -> 0 (bitbaum#86),
camille-boulangerie rule7 3 -> 0.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

* fix(ci): repo-metadata accepts any host a repo serves, not only its last row

aoz-begleitung serves two apps.conf rows since loki#922 (aoz-wohnen in
production, aoz-demo). parseRegister let the last row overwrite the first,
so the audit demanded the demo host as the product repo's homepage and
turned every fleet PR red. The first row is kept for the message; the
homepage may be any row's host. Pinned in test-repo-metadata-audit.mjs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

---------

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 23:48:55 -07:00
CatoandClaude Opus 5.5 621878300b feat(ci): render sweep — painted layout defects on every live site, ratcheted (#147)
* feat(ci): render sweep - painted layout defects on every live site, ratcheted

scripts/ci/render-sweep.mjs renders home + key pages of every served site
(loki apps.conf + extraSites; pages in render-sweep.pages.json) at
390/834/1440 and counts per site: nav contract rules 3/7/8 (reusing
ui-defect-audit's MEASURE - openButtonMenus is now exported for it),
other controls crossing the viewport, fixed/sticky controls on top of each
other (incl. the Loki launcher, clip-aware), empty headings and orphan caps
labels, numbers split across lines in cells/stats, and uncaught page errors
(console errors counted, not ratcheted). Markdown + JSON report.

render-sweep.baseline is a ratchet (site x check may fall, never rise),
seeded from the first full run 2026-09-25 with substrata at 0 after
bitbaum/substrata#112. Public GET pages only: DENY refuses
api/admin/auth/cron/job paths before any request; auth walls are reported
as not measured. No AI calls.

test-render-sweep.mjs pins every check firing AND silent (48 assertions);
each core condition was mutated out and failed its fixture. It runs before
the sweep in render-sweep.yml (weekly + dispatch). SHARED.md: new section
with the sweep and the widget's host contract.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

* ci(org-drift): baseline bip-kit README's link to Solon (a reference, not a door claim)

bip-kit#40 (merged 14:57 today) links https://solon.orangecat.ch as where
bitbaum products take votes; the door check reads any README mention of
another app's host as a claim to be it, which turned fleet main's CI red
for every open PR. Baselined with the reason, per the audit's own
instruction.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

---------

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 09:36:05 -07:00