Rust pre-apply verification gate for coding AI with MCP (Model Context Protocol) server support for Claude Code, Cursor, and other AI editors
Two tools with clear, domain-specific names (propose_edit, propose_batch) and detailed descriptions (100+ chars each). Input schemas are fully visible with typed parameters and descriptions. However, output schemas are not documented, LLMs cannot predict what these tools return. Error handling guidance is minimal. The descriptions are strong on WHAT (write files, atomic batch) and WHY (greenfield projects, verification sandbox), but lack explicit guidance on when to use each tool or what happens on failure. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite both being destructive WRITE operations.
Write MULTIPLE files atomically in a single call. ALL files are applied to the verification sandbox together, then `cargo check` runs ONCE. This is the correct tool for greenfield multi-file projects where each file depends on its siblings (lib.rs declares mods, main.rs uses lib, etc.). Put EVERY file the project needs into the `files` array in ONE call.
Write or overwrite a SINGLE file. For greenfield multi-file work (creating a new project) you MUST use propose_batch instead — individual propose_edit calls will be rejected by the verifier because each file alone doesn't compile without its siblings.
Output schemas not documented. LLMs cannot predict return types, fields, or structure. Both tools lack documented responses.
No tool annotations despite destructive WRITE risk. Missing readOnlyHint=false and destructiveHint=true would help agents reason about side effects and retry safety.
Error handling guidance absent. Descriptions do not explain what happens on validation failure, compilation error, or file conflict. LLMs have no recovery path.
Tool selection guidance incomplete. Description of propose_edit warns against multi-file greenfield work but does not explain when propose_batch is preferred or how to decide between them.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | <=2025-11-25 | v2 |
No confirmation or dry-run pattern for irreversible file writes. Agents cannot preview changes or request user approval before overwriting files.