Specify Recoup MCP code mode for the signed-in account and the Directory cutover

SI
21h ago
+1912-0

What changes for the user

Sign in with an existing Recoup account and ask the agent to do work. On a compatible direct connection, the host automatically lists skills via the MCP Skills extension and supplies the name and short description of every authorized skill to the agent before its first task decision. The agent can recognize the right skill from the user’s request and load its instructions only when needed. Supporting files are read individually as needed. The direct MCP has exactly two tools, search and execute. search finds guides and operations together and can open a guide or file on hosts that need the fallback. Inside execute it calls the Recoup API, changes the selected resource and can independently verify the result. The API applies the account’s existing organization, artist and resource permissions and the scope of the connection. It owns business rules and approvals for all clients.

Label user stories and tool decisions · Technical specification · Account access and first label job · Delivery epic and 18 tickets

  • The first-party App owns what reaches the model on the first turn. An installed-host test starts with “Check whether this release is ready for Friday” and observes the agent choose the relevant guide without prior search. Verify all authorized pages, zero file reads at startup, and correct visibility after access changes. Record any third-party host limit and demonstrate its fallback. Native listing and file reads · First-party App · Installed-host proof
  • The first write after normal OAuth sign-in records a release-metadata review on a disposable account and independently reopens it. The cutover removes separate company-agent setup. One-off work can proceed without a standing instruction or additional per-effect confirmation whenever the API permits it. Account connection · First business action
  • An API-owned job can continue after chat closes. It retains the initiating account, selected resource and recorded progress, and rechecks access before dispatch. A handbook is optional task context. Verify its exact source and version when the job uses one. Durable jobs · Installed label acceptance
  • If the API requires approval, MCP returns its pending action and trusted decision flow. After approval, execute({runId,resume:true}) can finish the exact saved step once and continue the job. If the API already applied it, the agent uses the receipt and skips the completed step. execute({runId}) always checks status without doing more work. Direct actions, saved instructions, App migration and the named public Directory package have distinct release paths. Approval integration · Protocol and OpenAI review
  • Compare two optional discovery improvements on the same label job: looking up multiple exact operation descriptions together and letting the program search again during execution. Both experiments use the two existing tools. Failure modes, Executor and November MCP research · Benchmark

Measurements and verification

Model-visible tool descriptions onlyToolsReference tokens
Current measured full OAuth connection9431,820
Proposed read-only2937
Proposed signed-in account with access to act21,110

The two account-action tools use 96.5% fewer reference tokens than the measured full baseline. The previous three-tool draft used 1,077 reference tokens. The listed token counts cover tool descriptions. Measure the actual skill names and descriptions given to the model, server instructions, full manifest traffic to the host, total first-turn model input and subsequent file reads separately. Verify the result on cold and warm connections. Real host prompt size, first-turn visibility and completed business outcomes are implementation gates. On the pinned Recoup bundle, names and descriptions alone measured 4,966 reference tokens for 47 customer skills and 15,069 for the combined 132-skill staff catalog, using compact JSON. Claude Code documents a 100-skill limit per server. Require a second-page check on the first-party host and label third-party coverage by audience. Claude Code limits

The design verifier passed 325 cases covering skill and operation inputs, account and approval overrides, guest calls, errors and recovery. These include 21 new simulated first-turn skill checks, 15 simulated approval-continuation checks and 20 scoped search and guide-result examples. API lint passed and all 90 local references resolved. The epic has 18 child issues and 28 verified blocking relationships.

This is a specification PR. The first installed sign-in and write, production rollout, and Directory submission are tracked in the epic.