Skip to content

core: expose external compute through CLI, MCP and agent guidance #3107

Closed

Description

@schlessera

Context

Part of #3103. Agents and non-agent callers need a discoverable interface instead of raw vendor credentials. Skills distribution is exported at discoverSkills, packages/core/src/lib/skills/index.ts:7-11, and syncSkills, packages/core/src/lib/skills/index.ts:13-18; follow the rule that deterministic behavior belongs in CLI operations.

Scope

Expose the accepted provider-neutral plan/run/status/cancel/collect/health operations through CLI JSON and explicit MCP definitions. Add a short capability-aware usage skill and docs for local/default versus selected provider behavior. Keep exact command/tool names aligned with the contract design. Review useful upstream Boat skill content for licensing, pinning and current semantics; vendor-specific recipes remain subordinate to host policy.

Out of scope

No implicit migration of all shell commands to cloud, general UI redesign, account secrets in skills, or independent SDK lifecycle implementation.

Acceptance criteria

  • CLI and MCP call the same execution core and expose provider instance, workload/source identity, state, exit status and cost uncertainty consistently.
  • Disabled/unconfigured/unsupported providers produce actionable machine-readable outcomes without allocating resources.
  • Guidance chooses local for cheap work and explains justified isolation/overflow use, data export and cleanup.
  • Skill discovery/emission exposes the interface to supported agents without changing past provider-facing conversation history.
  • Keyless CLI/MCP contract tests exercise success, refusal, cancellation and unavailable-provider cases; docs and integration contract are updated.

Verification

Use the repository's keyless test harness with fake vendor transport and disposable state. Exercise the real implementation, capture a failing-first or mutation receipt for each material boundary, and run the focused tests through the repository test script, typecheck and lint. Live provider proof is a separately authorized operator exercise; no credentials or vendor calls in CI.

Contract impact

Additive public API/CLI/MCP behavior requires contract documentation and a changeset; exact names are settled by the contract task.

Blocked by #3105
Blocked by #3106

2026-10-29 readiness review at main 83252add0357908a00fa4181b8e7b731938c69e7: the scoped implementation brief is complete for the output of its declared prerequisite tasks. Retain every canonical dependency and blocked; add agent-ready only to describe the dependency-gated brief. This is not currently pickable and does not approve provisional terminology/API choices. #3104 must first deliver its contract proposal and record any required maintainer rulings; implement only the accepted resulting contract, reassessing readiness if that output changes this scope. No vendor call, credentials, package change, allocation or release commitment is authorized by this triage. Priority p2 is consistent throughout the open dependency chain.

Classification: the skill distribution code belongs to area: core; remove the non-manifest area: skills label while preserving area: mcp.

Activity

  1. added
    type: feat
    area: core
    area: mcp
    blocked
    contract
    on Oct 28, 2026
  2. added
    priority: p2
    agent-ready
    and removed on Oct 28, 2026
  3. self-assigned this
    on Nov 2, 2026
  4. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Claim claim-3107-637436: layer 4 of the #3103 integration lane. Branch feat/3107-compute-cli-mcp builds on feat/3106-boat-compute (f4006c859), which sits on #3299 (#3105). Neither lower layer is merged yet. This PR opens against epic/3103-external-compute only once they have merged and this branch has been rebased onto the lane tip.

  5. added this to the 0.45.0 milestone on Nov 2, 2026
  6. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Delivered to the integration lane. #3322 was squash-merged into epic/3103-external-compute as 4604eccd53711c7d53bfbf46565d02dd7d1316f4, whose parent is 4549834a9. Its tree is identical to the tested head 8a2d60c37, and all 18 selected checks passed on that head, proof included. The 10 independent-review findings were fixed with failing-first tests or mutation receipts. This issue stays open, with milestone 0.45.0, until the epic branch merges to main.

  7. schlessera commented on Nov 3, 2026

    @schlessera
    OwnerAuthor

    Delivered on main through epic #3103's integration branch.

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

Metadata

Metadata

Assignees

Labels

agent-readyarea: corearea: mcpblockedcontractpriority: p2type: feat

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions