oficina / home Public

Chrome in the system UI face: estilo 260f98c (from 0b4d92c), no webfont link or preload 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: 7f23a891a5d55d7f7ac85fd179fd3050954c2f28

What changed

  • estilo pinned at 260f98c, up from 0b4d92c (with GOPRIVATE=amadan.net; go mod tidy touched only the estilo lines). The connect/ module has its own estilo pin and uses only homeconnect, so it is left alone.
  • The front page (static/site/index.html) drops the onest-latin.woff2 preload and the fonts/v1/fonts.css link. templates/layout.html drops the same preload and link, and the fontsCSS and fontPreload template helpers are removed from calma.go.
  • estilo's font handler stays mounted on both origins, so a page cached before this still resolves its stylesheet. origins_test still serves /static/estilo/fonts/v1/*. Credits keep listing Onest because the file is still served.
  • TestColdLoadPreloadsTheMarksAndNoWebfont replaces TestColdLoadPreloadsTheFontAndMarks in shared_chrome_test.go. The marks are still preloaded. The front page and id.* sign-in as served, and every template and site page as source, 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 on both origins. It failed on the old pages before the links were removed. page_test's fonts.css assertion is removed for the same reason.

What else the eleven estilo commits bring. I checked each against Home:

  • The rail account (Account.Rail): not set by Home, so no effect.
  • The destructive menu row (menu.Item.Danger, estilo-menu-item="danger"): Home has no such row.
  • The switcher panel spans the bar below 30rem, and SuiteApps: Home renders no switcher.
  • The bar title field's iOS zoom rule: Home has no title field.
  • The connect card's actions in one row (homeconnect): Home doesn't render it.
  • The door copy now uses {app}/{link} tokens instead of %s: the English strings are word-for-word the same, and Home only calls chrome.EmailSubject/EmailBody, which keep their signatures.

The new CSS ships inside estilo's served chrome.css and menu.css, but nothing in Home matches it.

Local gate (GOTOOLCHAIN=go1.26.5): make test. Green: vet, fmt, build (including the linux/arm64 cross-build), Go tests for all five modules, and race for internal/home, operator, directorydata, handoff, roster, dashboard and connect. make test-browser is green too, and TestNoZoomOnTap really drove a browser. Local-only failure: test-race names ./internal/provisioner/, whose files are all //go:build linux, so it can't build on macOS ("build constraints exclude all Go files"). Make stops there, so I ran the remaining race lines by hand, and they are green.

Visible change: the typeface only. The front page, the door, the directory and every layout page go from Onest to the platform's UI face (San Francisco on Apple, Segoe UI on Windows, Roboto on Android). A cold load makes one less font fetch and one less stylesheet request. No copy, layout or colour changes.

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 7f23a891a5d55d7f7ac85fd179fd3050954c2f28 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 new pages no longer request Onest: both the public front page and common layout lose the font link/preload, the unused helpers are gone, and the old v1 CSS/WOFF2 still answer on both origins. Home serves its theme directly from estilo, so there is no generated theme file to update. Credits correctly retain Onest while its file is served.

I reviewed all 11 additional estilo commits between 0b4d92c and f14458a, plus the system-font commit. Home never sets Account.Rail, menu.Item.Danger, a switcher or a title input, and does not render homeconnect's card. The new CSS selectors therefore have no matching Home UI. Home's SignIn/SignInNotice helpers, including signed-out copy, and EmailSubject/EmailBody remain compatible with the token-based door-copy implementation; the resulting English is unchanged. No additional visible change found beyond the font switch.

Mutation checks: restoring the layout font link failed; independently restoring the public front-page font preload failed in both source and served-page checks; a mixed-case unquoted AS=font preload in a page-specific template failed; a font-file link and inline @font-face each produced failures; disabling mountCalma's font mount failed for both legacy files on both origins. Restored tests passed. I also scanned application HTML/CSS/JS for remaining Onest loading. The guard covers local page sources plus the served front page and id.* sign-in, not an exhaustive browser network trace.

Validation: All Go runs used GOTOOLCHAIN=go1.26.5 and make targets. make test passed vet/format/build (including linux/arm64) and tests for all five modules. Its race target reproduced the known macOS failure for Linux-only internal/provisioner; the other packages in that invocation passed. I ran the remaining module race recipes through a temporary supplemental make target: handoff, roster, dashboard and connect all passed. make test-browser passed. Hub CI passed at the reviewed head. The unmodified local make test is not claimed green.

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