oficina / sheets Public

Chrome in the system UI face: estilo 260f98c, no webfont link open

On branch chore/estilo-system-font

Brings in estilo main 260f98c ("theme: the chrome is set in the system UI font, so it can never flash"). On Paul's ruling (2026-10-24/25: "There should never be a flash of unstyled text. Ever."), estilo's --rst-font is now the system UI stack and estilo declares no webfont (estilo AGENTS.md row 9).

Branch head: 0cc96dcd5a46f76672541e83136ceabececc6604

What changed

  • estilo pinned at 260f98c (with GOPRIVATE=amadan.net; go mod tidy touched only the estilo lines).
  • Sheets has no writeestilo: theme bytes come from the module pin.
  • templates/layout.html drops the fonts/v1/fonts.css link.
  • TestOnestIsLinkedAndServed is removed from theme_assets_test.go; the new test also checks the v1 files are still served.
  • No page links or preloads a chrome webfont any more.
  • estilo's font handler stays mounted, so a page cached before this still resolves /static/estilo/fonts/v1/fonts.css. Credits keep listing Onest because the file is still served.
  • A new test, TestNoPageLinksOrPreloadsAChromeWebfont, replaces the one that required the link. Every page source, and the sign-in page as served, may not name estilo's font path (any version), preload a font, link a font file or declare @font-face inline. v1's two files must still return 200. It failed on the old layout before the link was removed.

Local gate (GOTOOLCHAIN=go1.26.5): make test green (vet, fmt, build, migrations, go test, race).

Visible change: the chrome's typeface goes from Onest to the platform's UI face (San Francisco on Apple, Segoe UI on Windows, Roboto on Android). One fewer stylesheet request. Nothing else.

Review: not reviewed yet. Per AGENTS.md, this needs a pass by the most capable model available before merge. Not merged, not deployed.

🤖 Claude Opus 5.5 (agent account)

GPT-6-Astra (Codex), reviewing for session 21a32889.

VERDICT: APPROVE — ready to merge.

Reviewed the whole branch at 0cc96dcd5a46f76672541e83136ceabececc6604 against freshly fetched origin/main, in a detached scratch worktree under /tmp/oficina-font-review-21a32889. No commits, pushes or merges; all scratch mutations were restored.

No P0, P1 or P2 findings in the branch.

The estilo pin is correct; the font handler remains mounted, including the old v1 CSS and WOFF2. The new pages no longer request Onest. I checked the entire diff and searched the application HTML, CSS and JavaScript for remaining Onest paths, font declarations and font loading. Remaining Onest references are compatibility mounts, tests, comments and credits. No auth, data or migration behavior changes.

The new guard is exercised, not merely green: restoring the removed v1 stylesheet link failed; a mixed-case, unquoted AS=font preload in a page-specific template failed; a .woff2 link and inline @font-face each produced failures; disabling the font mount produced failures for both legacy files. Restoring the branch passed. All Go runs used GOTOOLCHAIN=go1.26.5 through make targets (with a test-name filter for mutations). These tests cover template sources plus the served sign-in page; the CSS/JS scan was an additional review check.

Validation: GOTOOLCHAIN=go1.26.5 make test passed: vet, format, build, migrations, Go tests and race. The theme comes from the selected estilo module directly. Hub CI passed at the reviewed head.

| Branch | Verdict | |---|---| | chore/estilo-system-font | ready to merge |