Skip to content

fix(patchy): onboarding runs for any request to set Patchy up on a machine - #672

Merged
allisonmahmood merged 1 commit into
mainfrom
fix/670-onboarding-setup-trigger
Oct 14, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
fix/670-onboarding-setup-trigger

Conversation

@allisonmahmood

Copy link
Copy Markdown
Owner

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 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

  • 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
  • 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

…chine

The skill's machine-setup trigger was the portal's exact line, and its
closing pointed at the portal's guide. A person who asks in their own
words, with no guide on screen, was only arguably covered.

The setup trigger 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 the
company look step and closes with step 5's sign-off. "Redo my Patchy
setup" is listed first and still runs the whole conversation. The product
doc and the setup prompt's glossary entry say the same.

Closes #670

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added area:ci CI, shared testing infrastructure, development scripts and tooling area:cli Touches the cli area area:docs Touches the docs area size:s Under 100 changed lines labels Oct 14, 2026
@allisonmahmood

Copy link
Copy Markdown
Owner Author

GPT 6.1 Sol review (xhigh), round 1

No blocker, should-fix, or nit findings in the reviewed diff.

  • Correctness: Broader setup trigger, redo precedence, installation-only exclusion, company look, and step 5 sign-off satisfy fix(patchy): onboarding runs for any request to set Patchy up on a machine #670. Setup skips the welcome page. Existing Windows, identity, login-error and retry guidance still applies.
  • Completeness: Product docs, glossary and lock hash agree. Portal guide, README, ADR-0004, /llms.txt, bundled skills and e2e scripts require no further changes.
  • Standards: Scope is minimal. No Effect code or rendered HTML changed; those review specs do not apply.
  • Tests: Hash matches. Existing tests do not detect natural-language trigger regressions; fresh-agent behavior remains untested. I did not run suites during this read-only review.
  • Public hygiene: Diff and PR body contain no personal local paths, emails or IDs.

NOT READY — review is clean, but CI on the latest commit is still running.

@allisonmahmood
allisonmahmood merged commit b06bc0e into main Oct 14, 2026
13 checks passed
@allisonmahmood
allisonmahmood deleted the fix/670-onboarding-setup-trigger branch October 14, 2026 13:04
allisonmahmood added a commit that referenced this pull request Oct 14, 2026
… Patchy is smoother (#679)

Release 12's What's new entry, written from `b58b899`, ahead of
deploying it. `patchy` and `CURRENT_RELEASE` move to `0.12.0`, so CLIs
and patch repos installed before this deploy are told to upgrade.

| Change | PRs |
| --- | --- |
| Fixed: Links within a page jump to their section | #677 |
| Improved: Set up Patchy however you ask | #672, #674 |
| Improved: Claude Code can know Patchy is your company's own | #676 |
| Fixed: Your agent remembers Patchy after a Node.js update | #673 |
| Fixed: Sign-in codes say how many minutes they have left | #675 |
| Behind the scenes: uploaded pages and logos are checked within strict
limits | #678 |

Made by Claude Opus 5.5 via Claude Code in T3 Code

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, shared testing infrastructure, development scripts and tooling area:cli Touches the cli area area:docs Touches the docs area size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(patchy): onboarding runs for any request to set Patchy up on a machine

1 participant