Skip to content

[MCP code mode] Publish versioned direct, Directory and legacy migration guides #44

Backlog

Description

@sidneyswift

Part of recoupable/mono#751. Technical specification · Spec PR.

Proposed owner — Docs and API developer experience

Depends on — recoupable/api#1304 · recoupable/api#1305

Deliverable

Publish current contracts from the owning Docs repository. Cover ordinary Recoup account sign-in for the direct connection, individually reviewed Directory actions and existing named connections. Document authentication, effect handling, workflow mapping, versioning and recovery in the established Docs-before-runtime and API pin/publication order.

Acceptance and evidence

  • Document connection startup from the host’s point of view. Eligible hosts negotiate Skills, automatically page through skills/list and expose the authorized names/descriptions to the model before the first prompt. Show an unprompted example of choosing a listed guide, fetching its instructions only when relevant and retrieving one supporting file later. Distinguish host activation from server support, include verified host/version, listing limits and audience coverage, and document search({}), mixed search and exact guide/file reads for hosts without automatic startup. Keep the public Directory setup separate.
  • Show the two standard direct tools, search and execute. Show a single task query through search that returns a compact API-operation hit and a workflow-guide hit. Distinguish the operation’s id and effect from the guide’s skill name. Show search({}) for guide previews and search({cursor}) for pagination. Open the guide by passing its exact returned name to search({skill}) and fetch a declared supporting file with search({skill,file}). Startup and text search load no full guidance. Demonstrate execute, recoup.read and an immediate write with recoup.act(id,args,{requestKey}) and independent readback. Use an ordinary signed-in Recoup account with existing access. Explain separate run and effect keys, role and workspace denials, host/transport scope limits and downstream API requirements. Existing handbook or task instructions are optional and convey no additional authority.
  • Document a real operation whose owning API already requires a confirmation or quote. Show execute({runId}) reading status without dispatch and execute({runId,resume:true}) continuing from the saved checkpoint. Resume forwards an exact approved effect only if the owning API still requires completion and skips an already-applied effect. Show pending, denied, revoked and uncertain outcomes. Cover API-owned continuation, durable jobs under the initiating account, status, revocation, cancellation, expired authorization and uncertain outcomes. Label correction-case access by actual availability.
  • Include direct and Directory setup, issuer/audience and scope differences, typed examples checked against the fixtures, invalid inputs, migration/deprecation mapping and supported legacy fallback. Compare direct guide discovery and reads with native Skills discovery and the legacy recoup_skills fallback. Show current public/staff/selected-context boundaries. Keep Docs MCP search/read independent.
  • Run docs:build, docs:check, contract inventory, site tests/build and preview checks. Verify generated OpenAPI, LLM-readable text, Skills, support and privacy links. Publish availability and dates only against qualified builds and owner-approved retirement decisions. Validate Directory setup and reviewer instructions against its own production candidate before submission.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions