Skip to content

LBA REQ 029

github-actions[bot] edited this page Nov 25, 2026 · 3 revisions

LBA-REQ-029: MCP orchestration surface

Status

Proven

Area

Agentic infrastructure (ADR-0020, extends ADR-0012)

Statement

The system shall expose the corroboration grid's operations to agents through the Model Context Protocol tool surface.

Rationale

Agents already consume actor tools through the MCP server (ADR-0012); exposing the grid's operations on the same surface lets an agent orchestrate corroboration directly rather than through bespoke commands.

Acceptance Criteria

  • The ADR-0012 MCP surface gains grid tools: spin_up_witness, run_quorum, get_confidence, verify_attestation, teardown.
  • The surface is designed now and implemented in a later phase.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

Sub-requirement of LBA-REQ-023 (ADR-0020). DELIVERED as experiments/acg-mcp/grid-tools.mjs + server.mjs -- the grid tools (spin_up_witness, run_quorum, get_confidence, verify_attestation, teardown, plus check_independence

  • assemble_witness, and the transparency verify tools verify_inclusion + verify_before_install, ADR-0022) over the same dependency-free JSON-RPC 2.0 MCP contract as the ADR-0012 server, composing the engines; self-test 13/13 incl. a spawned stdio round-trip, gated by acg-mcp-grid-surface. spin_up_witness/teardown return provisioning plans (live execution is the operator step). The surface is now FOLDED into the single extension MCP server binary: scripts/stage-acg-mcp.mjs bundles the grid-tools closure into out/acg-mcp-bundle/ (shipped in the .vsix), and src/mcp/runBenchmarkActorMcpServer.ts dynamically imports it so the one shipped server's tools/list publishes all 15 tools (6 core + 9 grid); the folded stdio surface is asserted by the mcp-server test and docs/mcp-tools.md is gated to 15 tools. Authored under the repo-standards-review singular-requirement directive (one shall).

TestID

T-029

CodeRef

experiments/acg-mcp/grid-tools.mjs; experiments/acg-mcp/grid-tools.selftest.mjs; experiments/acg-mcp/server.mjs; experiments/acg-transparency/transparency-log.mjs; experiments/acg-transparency/verify-release-inclusion.mjs; src/mcp/benchmarkActorMcpServer.ts; src/mcp/runBenchmarkActorMcpServer.ts; scripts/stage-acg-mcp.mjs; docs/mcp-tools.md; experiments/verify-local-gates.mjs; docs/architecture/adr/ADR-0020-mcp-orchestration-surface.md

RTM Status

Proven

Clone this wiki locally