Skip to content

docs: Patchy MCP docs take production acceptance's findings - #1094

Merged
allisonmahmood merged 2 commits into
mainfrom
docs/mcp-acceptance-findings
Oct 30, 2026
Merged

allisonmahmood merged 2 commits into
mainfrom
docs/mcp-acceptance-findings

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

What changed

Production acceptance (#861) passed, but the Patchy MCP docs still said it hadn't run and framed every client claim as what the build was designed for. They now say what production showed. The SDK skill also stops telling builder agents a patch's tools fit in 64 KiB, when the check allows 60 KiB.

Closes #862
Closes #833

Look at

What acceptance found, and where it now lives in docs/product.md › Patchy MCP. Each finding comes from production's wide.request and wide.process events; the per-client record is #861's comment.

Finding Where
Acceptance passed on 30 Oct 2026; the intro stops hedging Intro, Acceptance
Claude.ai, Claude Code and ChatGPT speak 2026-07-28, Codex 2025-06-18; only an older Claude Code build spoke 2025-11-25 (last 26 Oct); nobody speaks 2025-03-26, so it stays unserved The door › Revisions
Codex opens with a GET and asks for resources and resource templates, carrying on after the 405 and -32601s The door › Revisions
No client sends Origin The door › Request trust
Claude.ai, Claude Code, Codex and ChatGPT connect in production, ChatGPT with write tools Connecting an agent
Removing Patchy from a client tells Patchy nothing: no client calls a revocation endpoint, so the connection waits on Your agents like one left by a reconnect One consent, one connection
Every checked client reconnects on its own, so the "reconnect by hand isn't written" note goes Lifetimes
clientInfo changes within one Claude.ai connection (Anthropic/ClaudeAI, then claude-code), so the client name is what tells clients apart in events Bounds › Events
No agent call was refused by a limit or ran out of time; over 30 days a fresh server's first process started in a median 1.77 s (max 2.02 s), leaving a cold query about 1 s of its 3 s; the slowest cold agent call used 2.8 s Acceptance

The 60 KiB fix is two lines: packages/sdk/skills/patchy-server/SKILL.md and the "Agent tools" entry in packages/sdk/src/sdkCapabilities.ts, matching agentToolsBytes in packages/api/src/agentTools.ts:254. docs/product.md's list of what the skills say moves to 60 KiB too.

How it was verified

  • Every number was queried from production's PostHog events (read-only) on 30 Oct 2026, over the 14 days since release 17 for MCP requests and 30 days for process starts.
  • prettier --check on the three files; vitest run for packages/sdk/src/SdkApi.test.ts, packages/limits/src/limits-md.test.ts and packages/api: all pass. No test pins the skill text.
  • Not changed: the line saying Claude Desktop's Code tab can't connect, because no event shows it either way.

Release impact

  • Breaking — requires action from anyone already running this
  • Not breaking — no action required

Docs and skill text only.

  • What does a revert leave behind? Nothing: text only.
  • Does the release before it still work with that? Yes.

Written by Claude Opus 5.5 in Claude Code (T3 Code).

Production acceptance (#861) passed, so the Patchy MCP section stops
framing client behaviour as what the build was designed for. It now
records which revision each client speaks, that no client sends Origin
or calls a revocation endpoint, Codex's GET and resources probes,
clientInfo changing within one Claude.ai connection, and the cold-start
margin against a query's 3 s. The SDK skill and capability catalogue
now say a patch's tools fit in 60 KiB, the limit the check enforces.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added area:server Touches the server area area:docs Touches the docs area size:s Under 100 changed lines labels Oct 30, 2026
Name the four clients that connected rather than "all of them", and give
first-process start as a 30-day median and maximum, not a bound.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@allisonmahmood
allisonmahmood merged commit 54a5581 into main Oct 30, 2026
23 checks passed
@allisonmahmood
allisonmahmood deleted the docs/mcp-acceptance-findings branch October 30, 2026 18:10
allisonmahmood added a commit that referenced this pull request Oct 30, 2026
## What changed

This adds release 28's What's new entry, written from `ebbc215`. It
covers everything merged since release 27's `through` (`d285816`), and
sets the `patchy` release to `0.28.0` in `packages/patchy/package.json`
and `CURRENT_RELEASE`. It's the first of two releases for repo snapshots
(#229): the server learns to keep a version's repo before any CLI sends
one.

| Change | PRs |
| --- | --- |
| Behind the scenes: Patchy can now keep the files of the repo each
version was published from, the groundwork for pulling a patch back down
to work on it | #996 |

There's no announced change. No released CLI sends a repo yet, and
`patchy pull` arrives in the next release. #1094 corrects documentation
and a skill's size figure (60 KiB, not 64), so it gets no line. #1075 is
release 27's own entry.

## Look at

- **The entry**, at the top of `releases` in
`packages/core/src/whatsNew.ts`.
- **Rollback safety, from the live commit `2449055` (release 27) to
`ebbc215`:**
  - #1094 is docs and skill text only.
- #996 adds migration `0030_version_repo_snapshots`: four nullable
`patch_versions` columns, a CHECK and a unique partial index. Release 27
ignores them and serves and publishes as before. CI's
`rollback-rehearsal` passed against release 27.
- #996 is labelled `one-way` only for retention: once snapshots exist,
release 27's purge would delete version rows without reclaiming their
stored repo. No snapshot can exist under this release, because no
released CLI sends one, so rolling back to release 27 leaves nothing
behind. That's why #996 ships alone, before the CLI that sends
snapshots.

**Rollback line:** If this release misbehaves, roll back to `2449055`
(release 27).

## 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.** #996 was reviewed by GPT 6.1 Sol with every finding
resolved, and acceptance gave PASS with notes. It landed with all 12
required checks green, including `rollback-rehearsal` against release
27.
- **Deploy state.** The live commit, pinned from `/healthz/deep`, is
`2449055` (release 27). The Deploy run updated last succeeded, and none
is unfinished.

## Release impact

- [ ] **Breaking** — requires action from anyone already running this
- [x] **Not breaking** — no action required

Text and version numbers only. The `0.28.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.

🤖 Generated with [Claude Code](https://claude.com/claude-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:docs Touches the docs area area:server Touches the server area size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs pass: Patchy MCP is built Build Patchy MCP

1 participant