Repository navigation
feat(core): page titles in Cabinet Grotesk, the font kept out of the repo - #1372
Merged
Merged
Conversation
Owner
Author
|
Review round 1 (GPT 6.1 Sol, xhigh): no must-fix findings. What I did with each, as of 33ced58:
|
Owner
Author
Acceptance: PASS with notesChecked Done means
Golden journeys
Rollback answers: match the diff. Breaking accurately describes the one-time production-deploy setup. Reverting leaves an unused private bucket/object; the prior release neither reads it nor needs schema, data or stack changes. No Not run
Notes
|
allisonmahmood
force-pushed
the
ui/product-logos
branch
from
November 10, 2026 20:34
3466836 to
29eb037
Compare
…repo Co-Authored-By: Claude Opus 5.5 <[email protected]>
allisonmahmood
force-pushed
the
ui/cabinet-titles
branch
from
November 10, 2026 20:46
33ced58 to
25bc0b7
Compare
1 of 2 tasks
allisonmahmood
added a commit
that referenced
this pull request
Nov 10, 2026
…d once (#1376) ## What changed This adds release 41's What's new entry, written from `a25a9c5`. It covers everything merged since release 40's `through` (`08e1fd9`), and sets the `patchy` release to `0.41.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. It ships the UI overhaul together with #1204, the terms prompt, as one release, at Allison's word. | Change | PRs | | --- | --- | | Improved: Patchy has a new look | #1332, #1336, #1338, #1343, #1353, #1354, #1369, #1372 | | New: Accept updated terms once | #1204 | | Improved: Settings holds People, Integrations and Agent access | #1334, #1341 | | Improved: Home starts with what needs you | #1344, #1353 | | New: A blue dot marks patches you haven't opened | #1370 | | Improved: A patch's page has one header and tabs | #1345 | | Improved: Search lands on All patches | #1346, #1353 | | Improved: Inviting and deactivating people is clearer | #1349 | | Improved: Your agents shows what's connected | #1352 | | Improved: Integrations use plain words | #1347, #1351 | | Improved: Agents and integrations show their own logos | #1371 | | Improved: What's new goes by month | #1350 | | Fixed: ⌘⇧K works on your company's public patches | #1339 | | Fixed: Saving works after a patch stops being public | #1339, #1375 | | Behind the scenes: every page built from one set of parts, with a check | #1338, #1354 | | Behind the scenes: agents know a once-public page's refusals mean reload, and retries wait and stop | #1374 | | Patch changes: a kept public page reloads into the company page; check retries wait and stop | #1375, #1374 | #1337 is release 40's own entry. #1340 (routes split, plus the call summary Home and All patches show) and #1342 (the `dense` dev scenario) need no line of their own: the call summary is part of the Home and All patches changes, and the scenario is tooling. The overhaul makes no patch changes. Running patches keep their own styles, which #1332 pins, and the only SDK change is the wording of two error messages' admin addresses. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`. - **Rollback safety, from the live commit `d3d32da` (release 40) to this PR's merge:** - **#1334 is `one-way`.** Your agents and Settings moved to `/agents` and `/settings/…`. Old addresses redirect forward, but release 40 serves none of the new ones. This release's CLI hints, the `patchy` skill on `main`, and the API, MCP and publish hints all name the new addresses, so on release 40 they'd answer 404. - **#1372 needs the private font bucket**, and that's done. Its deploy step fetches the pinned Cabinet Grotesk file and checks it before recording anything. The bucket was created on 2026-11-10 and holds the pinned bytes. A rollback to a commit from before #1372 pins no font and builds as before. - **#1204** adds migration `0036_terms_acceptances`, an additive table that release 40 never reads. Release 40 doesn't prompt, and coming forward again asks only people who hadn't accepted. Not `one-way`. - **#1375** changes only the public shell's script, and #1374 is skill text. Release 40 renders its own shell and serves its own skills. - **#1370 and #1339** add rows to the existing `patch_opens` table (a guest's opens, and members' opens of public patches). Release 40 reads them like any other open. - **Everything else** is pages, styles, copy and docs: no migrations, and no API, `--json` or configuration changes. - **patchy-web #53**, the website line #1371's logos needed, is merged (771e6d9). **Rollback line:** Rolling back past #1334 would break every `/agents` and `/settings/…` link that this release's CLI, skill and hints hand out, because release 40 answers them with 404. Fix forward instead. ## How it was verified - **Tests:** the `packages/core` What's new test passes (5), the `packages/api` suites pass (64), and the three files are formatted. - **The range.** Each of the 22 overhaul PRs was: - reviewed by GPT 6.1 Sol at xhigh, with every finding fixed or declined in writing on the PR; - accepted on its final head by an agent that didn't write it; - merged green, by a merge train that rebuilt each PR's accepted tree on main's tip and checked that main's tree matched it after every merge. - **#1339, #1375, #1374 and #1204** were each Sol-reviewed and accepted, and merged on their own: #1339 before the train, the other three after it. #1204's acceptance was rerun on the new sign-in pages. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required The changelog entry and the release version only. - **What does a revert leave behind?** Nothing. CLIs installed from this release report `0.41.0` and are told to match the server, as at every release. - **Does the release before it still work with that?** Yes. Changes made by Claude Opus 5.5 in Claude Code, running in T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.







Stacked on #1371; part of #1315. Merge the stack together, not alone.
What changed
Patchy's own page, dialog and door titles are set in Cabinet Grotesk Extrabold, falling back to Geist, as the overhaul's type spec has them. The font file isn't in this repository: a private bucket in our AWS account holds it, a production deploy copies it into the release image, and
cloud.patchyhq.comserves it from its own origin at a digest URL, as it serves Geist. Anywhere the file isn't, CI, PR images and local checkouts, titles stay Geist and pages declare no face for it, so nothing is fetched and nothing 404s.packages/core/fonts/display-font.jsonnames the file and its SHA-256. The server, the image build and the deploy all read it. The file goes beside it inpackages/core/fonts/, which.gitignorekeeps out of commits.fonts.tschecks once, on load, whether the file is there. With it, thefontschunk adds aCabinet Groteskface (weight 800,font-display: swap) and a metric-matchedCabinet Grotesk Fallback, and--font-displaybecomes"Cabinet Grotesk", "Cabinet Grotesk Fallback", var(--font-ui). Without it, the app's stylesheet is byte for byte what it was (same SHA-256 at base and head). A running patch's shell, its policy and the company look are untouched; the shell styles' pin test still passes.FontMismatch), since a browser would keep the wrong bytes for a year.<sha256>/<file>frompatchy-fonts-<account id>and checks it withsha256sumbefore the run records or deploys anything. The image build checks the bytes again, and that they reached the staged runtime. The deploy job drops its pnpm cache (a cache saved frommaincan be restored by any pull request's workflow; I checked pnpm's store doesn't take the file today, so this is insurance).server-image.ymlnever fetches the font and says why above its artifact upload. A commit from before this one pins no font, so a rollback to it builds exactly as before.Why the bucket isn't in CDK. The image is built before the base stack deploys, and the base stack deploys from each release's own commit. A stack-made bucket wouldn't exist, let alone hold the file, for the first release that needs it, and a rollback past this change would take it out of the stack (retained, but orphaned, and the next deploy would fail to create it again). So the bucket is made once by hand, like the host secret's value. It can be set up before this merges, and no stack update or deletion can touch it. The explicit choice: once a commit pins the font, every production deploy requires it and stops before recording anything when it's missing, unreadable or different. No release quietly ships Geist titles, and every rebuild of a commit gets the same bytes, so its image digest matches ECR's.
docs/OPERATIONS.md› The display font records all of this.Core additions:
displayFont,hasDisplayFont,servedFontsandfontStyles(withDisplay)infonts.ts;Fonts.serve(files)andFontMismatchin the portal.fontFaces,fontUrl,fontFileandfontPreloadbehave as before. The/~uigallery's title rows name the face in use.For Allison
One-time, before the first deploy that includes this PR. It can run now. Use administrator credentials; nothing here touches the running service.
If a deploy runs first, it stops at "Fetch the display font" before recording or deploying anything; run the above, then start a new run.
Look at
With the font in place, as Allison Mahmood (admin)
Before is
3466836(--base origin/ui/product-logos) and after is9a5d8b7(ui/cabinet-titles), both on thedensescenario, frompnpm dev compare, with the official file dropped into the after side's checkout (and removed afterwards).Every page answered 200 with no browser errors.
/1280px, after
1280px, before
/patches/new-business1280px, after
1280px, before
/patches/new-business/delete1280px, after
1280px, before
/brightline/holiday-rota1280px, after
1280px, before
The gallery's type specimen names the face it draws titles in:
Without the file (the same compare on head as CI and everyone else builds it): Home and the door showed no visible change at either width. The patch page and the dialog differed only in the instance's host name and two call durations; every title stayed Geist. Every page answered 200 with no browser errors.
How it was verified
200 /assets/fonts/Geist-Variable-3626eba547294501.woff2,200 /assets/fonts/CabinetGrotesk-Extrabold-de0d7ba5c28ab4a8.woff2; the title computes to"Cabinet Grotesk", "Cabinet Grotesk Fallback", Geist, …; no console errors or warnings.Geist, "Geist Fallback", …; no console errors or warnings.pnpm devwithFontMismatch: …CabinetGrotesk-Extrabold.woff2 has SHA-256 d039…, not the pinned de0d…; put the official file there, or remove it.scripts/build-server-image.mjsrun twice with the file in place gave the same tarball and digest,sha256:838dc8c2e148…, and the image's@patchy/core/fonts/CabinetGrotesk-Extrabold.woff2hashes to the pinned digest. The tarballs were deleted afterwards.fonts.test.ts: with the file, the face at its URL, weight 800 and swap, a fallback that asks for nothing, and the title stack; without it, no face andvar(--font-ui); a copy offonts.tslaid out as a release, with and without the file beside it, decides as the server will (hardcoding the check fails it); the release's stylesheet follows the file.Fonts.test.ts(portal): a font beside the committed ones is served at its digest URL with year-long caching; without the file its URL answers 404; a mismatched file fails startup withFontMismatch. The shell styles' pin test is unchanged and now also refusesCabinet.pnpm check: format, lint, typecheck and synth pass. The offline tests' failures locally were onlypackages/patchyCLI andpackages/executionstub tests receiving a strayGET /, this machine's port probe, which CI doesn't have. The core and portal suites pass.jq/sha256sumlogic is the same check run locally above, and the bucket policy JSON was rendered offline.Hit every surface. Applied: served pages (the ui-consistency type notes and the
/~uigallery name the face; the patch shell and the HTML checks are untouched), the dev loop's docs (docs/DEVELOPMENT.md› Titles' typeface: an administrator puts the file in place; everyone else sees Geist; no runner change), operations (docs/OPERATIONS.md: the bucket, the one-time setup, the deploy step, the setup record), reverse states (removing the file returns titles to Geist; rollbacks across this change are covered above). Not applicable: the wire contract, the CLI, migrations, company resources, vocabulary (GLOSSARY-MAP.md's "the app's fonts" still covers it) and the repo layout.Release impact
Only for the production deploy: from this commit on, a deploy stops before recording anything until the bucket holds the file (For Allison, above). Nothing changes for people using Patchy beyond the titles' face, or for anyone running the server by hand.
Built by Claude Opus 5.5 (xhigh) in Claude Code, orchestrated by Fermy.