Skip to content

Patchy MCP map — people's worker agents using their company's patches #730

Closed
10 of 10 issues completed
Closed

Description

@allisonmahmood

Destination

A spec for the Patchy MCP, written into docs/product.md, the glossaries and ADRs, sharp enough to file as build tickets with no further design conversation. Through one MCP connection per person, their worker agent (any client that follows the latest MCP spec) finds, reads and changes their company's tier 2 patches as them, through each patch's opt-in agent area, while the company's agent access is on. It is proven by the prototype (#727) and the tickets below. The acceptance journey runs in production after the build: a builder agent adds an agent area from the skills alone, and a person's worker agent in Claude.ai uses it, with ChatGPT tried where it can be (best effort, as decided on #736). The map ends with the spec and its build tickets, not the build, and both land before tier 3.

Notes

  • Settled; do not re-decide. The prototype's decisions (2026-10-16) and both charting rounds (2026-10-17) are on the first closed ticket below. Later tickets sharpen them; none reopens them.
  • Two pipelines are how we talk about it. The builder pipeline is the CLI: builder agents with build tokens. The worker pipeline is the MCP: worker agents with work tokens. Always say "worker agent" or "builder agent", never a bare "worker", which is workerd's word.
  • Not prescriptive. Patchy offers the agent area and enforces whatever rules the patch writes; the person and their builder agent decide what agents may do. No skill or platform feature steers patch design (drafts first, approvals human-only, agent areas by default), and confirmation before a change is the client's business.
  • Latest MCP spec. Target the newest revision; serve older ones only while the clients we check still need them. The door is Patchy's server, so every worker agent gets the newest door on each deploy with nothing to install.
  • Before tier 3. This map and its build land on tier 2, before tier 3. The tier 3 map (Tier 3 map — patches that run without a viewer present #623) treats Patchy MCP as a seam; when tier 3 resumes, its authority and run work build on this door, never a second one.
  • The prototype is prototype: people's own agents use patches through Patchy's MCP #727 (prototype/agent-mcp, never merged): what it built, what Allison's testing showed, and what it leaves out. Its code is a reference for the build tickets, not a branch to merge.
  • Research runs on two model families. Each research ticket gets two T3 Code subagents in parallel, Opus 5.5 and GPT 6.1 Sol (xhigh); the session merges both. Subagents run as T3 Code tasks, not external CLIs, unless T3 delegation is broken. Findings land in the ticket's resolution comment, never on a branch or in the tree (this overrides the wayfinder skill's branch step).
  • UI starts as static mocks, several distinct versions published with patchpage and picked before any component is touched. First-party pages compose the shell's shared components.
  • Every grilling question carries product context, consequences and a recommendation, so it can be answered from the ticket alone.
  • Skills every session consults: grilling and domain-modeling on grilling tickets; research on research tickets; prototype on prototype tickets; effect-service-conventions and node_modules/effect/AGENTS.md before Effect code; Hit every surface in CLAUDE.md before calling anything done. The spec and its build tickets get a GPT 6.1 Sol xhigh review before they are filed.

Decisions so far

Not yet specified

  • A per-patch admin control over agent access, beyond the company switch and the owner's choice to add an agent area. Waits until an admin needs one.
  • Limits tuned from real use. The bounds ticket set starting values; tuning follows launch data in PostHog. Known levers: folding quiet agent reads into per-minute events once MCP events weigh on the PostHog budget, reserving a spare task for people if agents empty the pool, and the agent idle window if pollers sit on its edge.
  • Replay for actions that write. Change keys cover mutations; storing a finished action's reply under its key waits until agents need it.
  • A local MCP endpoint on the dev daemon, so someone's own client can use unpublished agent tools. patchy dev agent covers builder agents; this waits until someone wants their own client on unpublished code.

Out of scope

  • Tier 3 for agents: pushing changes to agents, or agents starting unattended work. On tier 2, agents loop and poll.
  • Files across MCP: uploads and file handles. Builder agents learn the limit and design around it; upload methods may come later as their own effort.
  • Tier 0 and tier 1 patches for agents. Agents reach only a tier 2 (or later) agent area.
  • A connection per patch. Rejected: one connection per person.
  • Patchy as an MCP client, connecting other MCP servers to patches. docs/product.md rules out bring-your-own sources.
  • Billing for agent use, and tier 4 sandboxes for agents.
  • Signing out other browsers after a lost device: Disconnect everything ends credentials, not browser sessions. Filed separately as A lost laptop stays signed in to Patchy in its browser after Revoke all.
  • Dev environments and parallel page publishes, found while deciding the builder pipeline: filed separately as A dev environment's agent makes new patches in your real ~/Patchy and Two agents publishing pages at once can put up the wrong page.

Sub-issues

Sub-issues

10 of 10 Issues completed
Loading 10 sub-issues

Activity

  1. added
    wayfinder:map
    on Oct 17, 2026
  2. allisonmahmood commented on Oct 22, 2026

    @allisonmahmood
    OwnerAuthor

    The map has reached its destination. The spec is merged as #831, and the build is Build Patchy MCP, with 29 sub-issues in landing order. Mid-build decisions go to Allison on #833.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wayfinder:map

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions