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

SI
3d ago
+2225-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

Release brief edit

Keep the two direct MCP tools. Pass authored text in execute.params or use an authorized reference to staged content. The model sends the text separately from the JavaScript. Edit only the lyrics section of a saved release brief seeded with the same excerpt elsewhere. Include multiline lyrics, quotes, backticks, backslashes and a link. Save through the owning API using the draft revision, then independently reopen the saved draft and verify the whole file byte for byte. Compare with the host’s direct editor when available. A separate edit tool requires a reproducible failure on a required installed client after fixes to the two-tool flow and a passing comparison under the same API permissions. Exact release brief fixture · Installed-host acceptance

Small and large model benchmark

The 200-trial synthetic comparison used GPT-5.4 Nano and GPT-5.4. Both read 10/10 through direct tools and 10/10 through code mode with worked examples. Direct edits were 20/20, inline code edits with examples 18/20, and staged-text code edits 19/20. For catalog checks, Nano with code examples saved the exact cases in 9/10 versus GPT-5.4 direct calls at 10/10. Model cost per verified catalog result was about $0.00244 versus $0.01816. Installed-host and current-account qualification remain open.

Keep search and execute. Use the host's reader or a scoped resource for simple reads. Prefer an authorized staged-text reference for exact draft edits and qualify native direct editing as the comparison. Reconsider a standalone MCP tool only for a required installed-client gap. Include runnable code examples in discovery and qualify model choice per workflow. Benchmark and reproduction

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.

AudienceUpfront skillsPrevious skill tokensConcise skill tokensConcise skills and two action tools
Customer474,9661,3102,420
Staff only8510,1053,244Dedicated skills-only connection
Combined staff13215,0694,5525,662

These are compact JSON reference counts. The action-capable totals are 92.4% and 82.2% below the eager 31,820-token tools-only baseline. The Skills description PR updates the canonical copy. The App shows every authorized name and description up front and fetches skill files on demand. Claude Code’s documented 100-skill cap still applies. Claude Code limits

The 30-prompt model pilot scored 30/30 with the original descriptions and 30/30 with the concise prototype. The final branch refines that prototype. Automatic review blocked the external full-catalog evaluation for staff-data egress. The release gate requires a paired run on the final catalog through an approved route and installed-host proof of all authorized entries, correct selection and deferred reads. Benchmark · Installed acceptance

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.