Repository navigation
feat(patchy): onboarding sets up the company look, and the personal default style retires - #598
Merged
Merged
Conversation
…e admins A static page settles its style with `patchy look --json`, but a company with no look got `current: null` and nothing to style by. The read now carries the Patchy look's `look.css` and `LOOK.md` as `patchyLook` while `current` is null, and `admins`, so a member's agent can say who changes the look without attempting a change. The Patchy look moves from the SDK into Companies beside the look it stands in for; `Looks` reads it once and generation uses the same copy. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The company look replaces the personal default style, so nothing reads or writes `style.md` and `status --json` drops `hasDefaultStyle`. Nobody has a setup yet, so there is no migration. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…tand-in and admins Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…yle retires Onboarding's style question becomes the company look: after login, an admin whose company has no look is asked "You're at acme.com. Want your tools to look like Acme?", from their email domain unless it is webmail; the agent captures the site, shows the specimen and publishes revision 1. A member is asked nothing, and someone joining a company with a look is told their tools use it. The portal's setup line runs this step too, since it is the first moment an agent meets a company's creator. Static pages and the welcome page settle their style with `patchy look --json` in the spec's order; the welcome page's own CSS uses only the look's tokens. Changing the look takes an explicit request: a member hears who the admins are and can show a draft's specimen as a page; an admin's change shows the comparison first. `style-file.md` becomes the capture reference, and the old plan-doc style goes now that the Patchy look is reachable. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…rough Path patchyLook's schema is look.css and LOOK.md alone, so the API docs stop offering a logo the Patchy look never has, and Looks locates the shipped folder with Path.fromFileUrl instead of a node:url opt-out. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…s read into a file The welcome page settles its style by the same four-level order as any static page, so a request or the published page's own style wins on a redo. Its badges carry status in text and border on bg or surface, the grounds the look checks verify. Agents write patchy look --json to a file and copy look.css and the logo by script, since embedded fonts can make the read half a megabyte, and the skill says what to do when the read fails. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The Patchy look never carries a logo, so its header recipe and logo section show the company's name instead of Patchy's mark. Its avoid list narrows grids of cards to dashboards tiled with them, as its layout section already says. The Patchy look's glossary entry moves to Companies, which ships it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Oct 7, 2026
allisonmahmood
added a commit
that referenced
this pull request
Oct 7, 2026
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]>
This was referenced Oct 9, 2026
allisonmahmood
added a commit
that referenced
this pull request
Oct 14, 2026
…chine (#672) # What changed The global skill only treated the portal's exact line, `Set up Patchy using <instance>/llms.txt`, as a request to set a machine up, and that path ended by pointing at the portal's guide. A person who asks in their own words ("go to <instance> and get Patchy set up for me") was only arguably covered: an agent could log in and skip the company look step, and it had no closing for someone with no guide on screen. The setup trigger in `SKILL.md` and `references/onboarding.md` is now any request to get this machine ready to use Patchy, with the portal's line as one example. It still logs in, runs step 3 (the company look) and stops without a welcome page, now closing with step 5's one-line sign-off. In the reference, "Redo my Patchy setup" moves above it and the setup bullet reads "Any other request…", so redo keeps precedence and still runs the whole conversation. "Those are the only triggers", "installing or wiring up the skill runs nothing" and the absence of a first-session check are unchanged. `docs/product.md` (the entry point) and the patchy glossary's **Setup prompt** say the same; the glossary entry also still claimed the setup line publishes the welcome patch, which stopped being true in #598. Closes #670 ## How it was verified - [x] `pnpm check`: format, lint, typecheck and synth pass. Tests: 1735 of 1736 passed. The one failure was `packages/patchy/src/devExecution.test.ts` (workerd failed at startup while the shared machine's load average was 16). It passed on rerun together with `skillLock.test.ts`. - [ ] Added or updated tests covering this change. Not applicable: the diff is skill and doc wording plus the lock hash. - `skills-lock.json` has the new `sha256sum skills/patchy/SKILL.md`. - Checked against the portal guide (`packages/portal/src/guide.ts`). Step 1 says the line "installs Patchy and gets this computer ready to publish", which matches the new trigger wording. Step 3, "Ask for your first patch", fits a sign-off that tells the person what to say next. No portal copy changes. - I did not run this with a fresh agent. ## Surface walk (CLAUDE.md › Hit every surface) - **The wire contract**: does not apply. - **The CLI**: applies to the global skill only. `SKILL.md` changed, so the lock hash is refreshed. No command, flag or exit code changed, so the README and ADR-0004 are untouched. - **The dev loop**: does not apply. - **Vocabulary and product shape**: applies. The entry point in `docs/product.md` and **Setup prompt** in `packages/patchy/GLOSSARY.md` are updated. No ADR contradicts the change. - **Migrations, company resources, reverse states, repo layout**: do not apply. - **Served pages**: the portal guide was checked and left unchanged. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — wording in the global skill and docs only; the skill reaches machines with the next release's install or upgrade. Made by Claude Opus 5.5 via Claude Code 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.
Onboarding still captured a personal
style.mdthat only one person's static pages ever read, and a static page in a company with no look had no way to reach the Patchy look. This moves onboarding and the global skill to the company look and retires the personal default style.Onboarding. Right after login, the agent runs
patchy look --jsonandwhoami:patchy look preview, sums the look up in one line and publishes revision 1.Set up Patchy using …/llms.txt) runs this step too, because that login is the first time an agent meets a company's creator.The global skill.
patchy look --jsonto a file and copylook.cssand the logo by script, because embedded fonts can make the read half a megabyte. When the read fails, they fix the login or retry, and write a plain page rather than invent a look.look preview --comparebeforelook publish.style-file.mdbecomeslook-capture.md, built from the prototype's capture draft and its four capture notes.patchy-plan-style.mdgoes, because the Patchy look replaces it.The wire.
GET /api/look(andpatchy look --json) now carriespatchyLook: the Patchy look'slook.cssandLOOK.mdwhilecurrentis null, and null otherwise. It also carriesadmins, so a member's agent can name the admins without attempting a change. The Patchy look moves frompackages/sdk/looks/patchy/topackages/companies/looks/patchy/.Looksreads it once, and both generation and the look API use that one copy. Its brief now heads pages with the company's name, since the stand-in never carries Patchy's logo.Retired.
status --jsondropshasDefaultStyle, and nothing reads or writesstyle.md. There is no migration, since nobody has a setup yet.Tried with fresh agents (Claude Code in
/tmpwith only the rewritten skill, againstpnpm dev up teamplus two companies made through create-or-join):acme/look-draft.look preview --compareand published revision 2 only after approving.llms.txtneeded no change. After the capture, the person said "that's our marketing website, not our product". The agent didn't argue or publish; it found the app behind a login, asked for product material, re-captured from the help centre's app screenshots and the sign-in screen, and published revision 1 once approved. It then handed back to "ask for your first tool" without a welcome page.eng.<domain>was fetched and guessed as the bare domain. A domain that now redirects to another company's site was named as such, and the agent asked for the right site instead of guessing.Closes #569
Built by Claude Opus 5.5 in Claude Code, running in T3 Code.
Replaces #582, whose GitHub record stopped tracking the branch after it was rebased onto
mainfor landing; the commits are identical. Review rounds and the orchestrator's verdicts are on #582.