Skip to content

docs: specify Patchy MCP, where people's agents use their company's patches - #831

Merged
allisonmahmood merged 2 commits into
mainfrom
t3/wayfinder-issue-740
Oct 22, 2026
Merged

allisonmahmood merged 2 commits into
mainfrom
t3/wayfinder-issue-740

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

What changed

People will connect their own agent, such as Claude or Codex, to Patchy and use their company's tier 2 patches through each patch's agent area. The decisions sit on the Patchy MCP map, but nothing in the repo describes the product yet. This PR adds the spec to docs/product.md and the vocabulary to the glossaries, so the build tickets can point at one source. Nothing that runs changes.

Part of #740.

Look at

  • docs/product.md › Patchy MCP, a new section marked Specified, not built:
    • what a worker agent reaches;
    • the agent area (agent/, read-only actions, descriptions, client schemas, checks, patchy dev agent, what publish and the skills say);
    • the door and its four tools;
    • connecting an agent;
    • bounds;
    • pages;
    • dev instances;
    • acceptance;
    • what remains.
  • Pointers where agents enter existing contracts:
    • Tier 2's admission rule: "while a viewer has the patch open or their agent is calling it";
    • the admin's agent access switch;
    • machines and tokens;
    • Who's who, which now tells builder agents from worker agents.
  • Glossaries:
    • a new Patchy MCP context in packages/mcp/GLOSSARY.md, written before its package as docs/agents/domain.md allows;
    • entries in Auth, Companies, Runtime, Publishing and Patches;
    • the context map.
  • packages/mcp gets the area:server label, because the labeler test wants an area for every folder under packages/.

How it was verified

  • GPT 6.1 Sol reviewed it three times at xhigh against the map's resolutions, the code and the repo's rules. Each finding was fixed in this text or in the build tickets.
  • Prettier passes.
  • No code changes, so no tests or evidence apply.
  • Not covered here. ADR-0008's amendment and the new door ADR come with the PRs that build them, per docs/agents/domain.md.

Release impact

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

Docs only.

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

Made by Claude Opus 5.5 in Claude Code, running in T3 Code.

…atches

docs/product.md gains the Patchy MCP section, marked specified and not
built: the agent area, the one door and its four tools, connecting an
agent, bounds, pages, dev instances and acceptance. Tier 2's admission
rule, Companies, Identity and access and Who's who point at it.

The glossaries gain the vocabulary, with a new Patchy MCP context
glossary at packages/mcp, written before its package.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added area:server Touches the server area area:cli Touches the cli area area:docs Touches the docs area size:m 100-500 changed lines labels Oct 22, 2026
The Patchy MCP glossary sits at packages/mcp before its package, and every
directory under packages/ needs an area label.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added the area:ci CI, shared testing infrastructure, development scripts and tooling label Oct 22, 2026
@allisonmahmood
allisonmahmood merged commit e838227 into main Oct 22, 2026
14 checks passed
@allisonmahmood
allisonmahmood deleted the t3/wayfinder-issue-740 branch October 22, 2026 06:48
allisonmahmood added a commit that referenced this pull request Oct 22, 2026
…874)

## What changed

Release 16's What's new entry, written from `dd3f41f`. It covers
everything merged since release 15's `through` (`9e4b0df`), and sets the
`patchy` release to `0.16.0` (`packages/patchy/package.json` and
`CURRENT_RELEASE`).

| Change | PRs |
| --- | --- |
| Fixed: Revoke all machines stops logins still on their way | #867 |
| Behind the scenes: `mcp` and `oauth` kept off company addresses | #863
|
| Behind the scenes: read-only actions and agent tools understood and
enforced before anything writes them | #868 |
| Behind the scenes: logs record how long a tool's server takes to start
| #865 |

#814 is release 15's own entry, so it's left out. #818 and #831 are docs
(Patchy is live; the Patchy MCP spec) and #864 is dev tooling, so none
of them gets a line.

## Look at

- **The entry**, at the top of `releases` in
`packages/core/src/whatsNew.ts`. #867 is the only change a person could
notice. The page's button is still labelled "Revoke all machines"
(Disconnect everything is the spec's future name), so the entry uses
that label.
- **Rollback safety, from the live commit `d77baaf` to `dd3f41f`.** No
PR in the range is labelled `one-way`, and every PR answers both Release
impact questions with "Yes".
- #867 is the only migration: `0019_credentials_ended` adds two nullable
columns, `users.credentials_ended_at` and `device_logins.confirmed_at`.
At `d77baaf`, every insert into `users` and `device_logins` lists its
columns, and nothing reads either table with `SELECT *`.
- `rollback-rehearsal` passed on #863, #865, #867 and #868. #868's run
covered #867's migration already on main: `Exercised rollback paths
passed: d77baaf → ffe9988 → d77baaf`.
- A rollback would reopen what #867 closes: an approved login that
hasn't finished could again get past Revoke all machines. It would also
let new companies take the `mcp` and `oauth` addresses (#863). No
release that writes read-only actions or agent tools has shipped, so
going back past #868 leaves nothing behind.

## How it was verified

- `vitest run packages/core/src/whatsNew.test.ts
packages/api/src/schemas.test.ts`: 14 passed.
- `pnpm typecheck`: 23 of 23 tasks pass. Prettier and eslint are clean
on the changed files.
- The live commit was pinned from `/healthz/deep` (`d77baaf`, release
15). 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

The changelog text plus the `patchy` version bump. A CLI installed
before this deploy is told to upgrade, as with every release.

- **What does a revert leave behind?** Nothing. People whose seen marker
reached 16 would just see no new release.
- **Does the release before it still work with that?** Yes.

If this release misbehaves, roll back to
`d77baafcf10c7cdf28c71bd65ea1a0009aa99ced` (release 15).

Built by Claude Opus 5.5 (xhigh) in Claude Code on 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 area:server Touches the server area size:m 100-500 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant