You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New `spar-mcp` crate exposing spar's hypothetical-rebinding oracle as
MCP (Model Context Protocol) tools so LLM agents can drive design-space
exploration with spar as the deterministic correctness oracle.
Three read-only / idempotent tools:
- `spar.verify_move` — single hypothetical-rebinding check
- `spar.enumerate_moves` — design-space exploration with multi-objective ranking
- `spar.check_chain` — end-to-end latency breakdown for a chain
Architecture:
- `spar-cli` promoted to lib + bin so verify/enumerate logic is shareable
- `spar-mcp` consumes the lib API in-process; no shell-out / re-parsing
- stdio JSON-RPC transport (Initialize, tools/list, tools/call)
- All tools `readOnlyHint: true` and `idempotentHint: true` per spec
- Deterministic apply path stays CLI-exclusive (no `spar.apply_move` over MCP)
Tests: 11 (5 in-process + 6 stdio).
REQ-MCP-001 + TEST-MCP-* in artifacts/.
Closes Track E commit 8/8 of the v0.8.0 migration design carved out as
v0.9.0 scope per docs/designs/track-e-migration-research.md §6.5.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments