Repository navigation
docs: Patchy MCP is built - #972
Conversation
|
Review: GPT-6.1-Sol (xhigh), one round Round 1 on
Round 1 had no blocking findings, so review stops there. Acceptance on |
The product doc, glossaries, README, AGENTS.md and operations notes now describe Patchy MCP as it runs in production since release 17, and correct the spec's details the build settled differently. Production acceptance (#861) has not run, and the docs say so. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
b98ebf9 to
f8099f6
Compare
Acceptance: PASS with notesChecked Done means
Changed claims checked against f8099f6All source links below are pinned to the full checked head.
Rebase-specific checks: current code and main's added prose
Golden journeys
Verification Total: 18 suites, 227 tests passed, including real workerd calls and fleet behavior. The task checkout started clean at the requested head and stayed clean after verification. No PR code, branch, body or labels were changed. Rollback answers: They match the diff. Reverting changes only documentation and leaves no schema, data, mail, infrastructure or new executable contract behind. No Not run
Notes
|
## What changed This adds release 24's What's new entry, written from `9ee90e3`. It covers everything merged since release 23's `through` (`ed80fc7`) and sets the `patchy` release to `0.24.0` in `packages/patchy/package.json` and `CURRENT_RELEASE`. This is the first of three releases for #986. In it, tier 1 stops reaching anything outside its own patch, and the shell stops requiring Patchy's code on a page. | Change | PRs | | --- | --- | | Improved: Company data goes through a patch's own rules. Company connections, other patches' shared data and the member directory are read from server code (tier 2) only. A browser-only patch reaches its own tables and files. One that already read these stops getting that data until it moves to tier 2, and the CLI's refusal names the fix. | #1047 | | Fixed: Plain pages no longer say they could not start. A page that never loads the SDK isn't covered by "This patch could not start" after ten seconds any more. | #1044 | Two merged PRs get no line, because nobody using Patchy would notice them. #972 is the Patchy MCP docs pass and #1051 is live Pidgeon test churn. #1050 is release 23's own entry. ## Look at - **The entry**, at the top of `releases` in `packages/core/src/whatsNew.ts`. - **Rollback safety, from the live commit `0aa8d48` (release 23) to `9ee90e3`:** - No PR in the range is labelled `one-way`, and none adds a migration. - #1047 changes no stored data. A revert puts tier 1's direct connection, shared and member reads back. Repos that moved to tier 2 meanwhile stay valid on release 23. - #1044 is broker-only. Release 23's shell shows a page without the SDK the way it did before. **Rollback line:** If this release misbehaves, roll back to `0aa8d48` (release 23). ## How it was verified - **Tests.** `whatsNew.test.ts`, `WhatsNewPages.test.ts` and `schemas.test.ts` pass (21 tests), and prettier passes on the changed files. - **The range.** #1047 and #1044 each had GPT 6.1 Sol reviews with every finding resolved and an acceptance PASS with notes. They landed with all 12 required checks green on their rebased heads, `rollback-rehearsal` against release 23 included. Their conflict resolutions got a separate Sol review with no findings. - **Deploy state.** The live commit, pinned from `/healthz/deep`, is `0aa8d48` (release 23). The Deploy run updated last (#25) succeeded, and none is unfinished. - **Known effect.** One patch in production is a tier 1 patch that reads the member directory. Its member reads stop until it's republished at tier 2. Its owner has been told. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required Text and version numbers only. The `0.24.0` bump tells CLIs and patch repos installed before this deploy to upgrade, as every release does. - **What does a revert leave behind?** Nothing. - **Does the release before it still work with that?** Yes. Built by Claude Opus 5.5 (`claude-opus-5-5`) in Claude Code, through T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>
What changed
Patchy MCP has been live in production since release 17, but the product doc, the glossary map and the MCP glossary still called it specified or being built. They now describe what runs, and where the build settled a detail differently from the spec, the spec now says what the code does. Production acceptance (#861) hasn't run: the section says so, and claims about particular clients are framed as what the build was designed for.
Part of #862. This is everything in #862's "What to do" except "What remains takes acceptance's findings", which waits for #861.
Look at
Status and pointers. Each of these now reads as built:
docs/product.md: the "Built and live" intro line names Patchy MCP; the Patchy MCP section opens "Built, and live since release 17", links Build Patchy MCP #833 and says Production acceptance: a builder agent adds an agent area and a person's agent uses it from Claude.ai #861 hasn't run.agent/pointer, Companies (admins, deactivation), Who's who and Bounds' admission rule.GLOSSARY-MAP.md: Auth and Patchy MCP.packages/mcp/GLOSSARY.md.README.md: the layout, plus one sentence on tier 2.AGENTS.md's tier 2 line.docs/OPERATIONS.md: request events.Spec details the build settled differently. Each claim was checked against main:
Hostfieldspackages/mcp/src/RequestTrust.ts:7-10Hostgates the OAuth endpoints too/mcpis Host-gated; a dev instance serves every route on127.0.0.1packages/mcp/src/Door.ts:372,packages/auth/src/OAuthEndpoints.ts:19-20404404on 2026-07-28,200on legacy, where 404 means session endedpackages/mcp/src/Door.ts:356-363unknown_outcomealways resolves on retrykey_expiredpackages/mcp/src/ChangeKeys.ts:116-123,Calls.ts:339-347packages/mcp/src/ChangeKeys.ts:60-64,Calls.ts:409-419resourceis bound through exchange and refreshpackages/auth/src/Consents.ts:203-205, 345-348packages/auth/src/OAuthEndpoints.ts:423-436packages/auth/src/OAuthEndpoints.ts:182-185packages/auth/src/OAuthEndpoints.ts:151-162docs/,skills/,packages/sdk/skills<instance>/company<instance>/company/agent-accesspackages/patches/src/PatchesApi.ts:454packages/execution/src/inspection.ts:12-16packages/patchy/src/server.ts:247-262,packages/runtime/src/CallbackGateway.ts:107-111dev.lognames the personusr_dev via patchy dev …packages/patchy/src/devLog.ts:23-27agentpackages/patchy/src/initProject.ts:207agentOnlypackages/analytics/src/WideEvents.ts:228packages/mcp/src/Admission.ts:13-17packages/auth/src/MachinesPage.ts:178How it was verified
patchy dev agent: the code's own comment says the same.pnpm check: format, lint, typecheck and synth passed. Two test files failed under load average 19, a 5 s timeout inPgliteCompanyDatabases.test.tsand a worker SIGKILL indevExecution.test.ts. Both passed when rerun alone. Neither touches docs.packages/sdk/skills/patchy-server/SKILL.md:415andpackages/sdk/src/sdkCapabilities.ts:107say a patch's tools fit in 64 KiB, but the check allows 60 KiB of that answer. Those files belong to another lane, so they're left for a follow-up.Release impact
Docs only.
Built by Claude Opus 5.5 (xhigh) in Claude Code on T3 Code; reviewed and accepted by GPT-6.1-Sol (xhigh).