Repository navigation
feat(sdk): new patch repos start in their company's look - #579
Conversation
|
Review round 1 (stack orchestration for #547): one Claude Opus 5.5 reviewer and three GPT-6.1 Sol reviewers (generation correctness, the skill as a fresh agent reads it, YAGNI + tests), read-only against Agreed sound: both write paths carry the three managed files; a revision without a logo removes the stale Sent to the builder: fill the skill template's markers in one pass (a note containing a marker string currently confuses sequential replacement); the Patchy brief still carries two "no success/warning token" literals from the 13-token prototype plus repo paths in its provenance line; the Carried to #568: when a revision drops its logo, the change notice should say so and name the fix, since a page importing Posted by Claude Fable 5.1 (orchestrator) in Claude Code, running in T3 Code. |
|
Review round 2: the orchestrator read the fix commits ( Verdict from the orchestrator: ready to merge after #578. Posted by Claude Fable 5.1 (orchestrator) in Claude Code, running in T3 Code. |
57eb7ca to
7149e8e
Compare
Generation writes it for a company with no look, so it has to be in the server image; core's fixtures folder is not. The fixture helper reads it from its new home. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…sion Every generation now carries patchy/_generated/look.css, the logo when the current revision has one, and the patchy-look project skill: the style order plus the revision's brief. With no company look it writes the Patchy look as Patchy's default, with no logo and a null stamp. index.json records the revision as `look`, in the shape `patchy look --json` uses. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Tier 1 and 2 starters import patchy/_generated/look.css from src/main.tsx; the tier 0 starter links it from index.html, and the single-file build inlines it, embedded fonts included. AGENTS.md points at the patchy-look skill. Tests cover the starter page building in a look with an embedded font at tiers 0 and 1, and refresh swapping look files while page source stays untouched. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The CLI README, product doc, generate route, Publishing glossary (Managed files, Project skill, Patchy look), skill distribution and context map say how a repo gets the company look and what index.json's look records. patchy-loop points agents at the patchy-look skill before styling, which also reaches repos made before the scaffold imported the look. The image build checks the Patchy look ships. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sequential replaces let a note containing <!-- look-brief --> take the brief and leave the real marker unfilled. One pass over the template never searches filled text. The generated README no longer calls the Patchy look the company's. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The success and warning badges and the selected tab hard-coded colours left from the 13-token prototype, so a page lifting them kept Patchy's colours after the company published its own look. They now tint --look-success, --look-warning and --look-accent. The provenance line no longer names paths a patch repo doesn't have. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The patchy-look skill now forbids look publish and restore as a side effect of building a patch, and says what a too_large tier 0 page means when the look's fonts fill it. With no company look it says to leave out every logo the brief shows, recipes included. patchy-loop's pointer to the skill moves out of the vanilla tier 1 bullet so every repo gets it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
49a2856 to
df2429c
Compare
Release 8 of What's new, written for the deploy of the company look stack (#547, first build). It covers everything merged after release 7's `through`. - **New: Your tools can look like your company** — #577, #579 - **New: Preview a look before you publish it** — #578 - **New: Setting up Patchy sets up your look** — #598 (the rebased replacement for #582) - **Improved: Patches hear when the look changes** — #581 - **Improved: Static pages can use embedded fonts** — #576 - Behind the scenes: the personal style file retires (#598) Written by Claude Fable 5.1 in Claude Code, running in T3 Code. Co-authored-by: Claude Fable 5.1 <[email protected]>
New patch repos start unstyled: the company look (#565) exists, but nothing carries it into a repo, so every agent invents a style or rebuilds Patchy's by hand.
Generation now carries the look as managed files, so init, refresh and dev start all write it:
patchy/_generated/look.css, pluspatchy/_generated/logo.svgwhen the current revision has one.patchy-lookproject skill: a release-bound template (packages/sdk/skills/patchy-look/SKILL.md) with the style order, the token meanings and how to use the logo, filled with which look this is and the revision'sLOOK.md.index.jsongainslook: the revision the files came from, in the shapepatchy look --jsonuses ({ revision, author: { id, name }, createdAt, note }), ornull. feat(patchy): repos hear about look changes, and publish warns when behind #568 builds its notices on this.With no company look, generation writes the Patchy look as Patchy's default: no logo, a
nullstamp, and the skill says the company has none yet. The Patchy look's files moved from core's fixtures topackages/sdk/looks/patchy/so they ship in the server image; the image build checks they're there, and the logo stays behind. (Later in the stack, #582 moves them again topackages/companies/looks/patchy/, so the look API can hand the same files to static pages.)The starters use it: tier 1 and 2
src/main.tsximportlook.css, and tier 0'sindex.htmllinks it. The single-file build inlines it, embedded fonts included, so the firstpatchy devpage is in the company's look at every tier.AGENTS.mdgets one line pointing at the skill, andpatchy-looppoints there too, which reaches repos made before this change.Closes #567
Built by Claude Opus 5.5 in Claude Code, running in T3 Code.