--- name: contract description: Create or update a Sprint Contract for a module/feature via the planner agent. Usage /contract allowed-tools: Read, Write, Edit, Agent, Glob, Grep --- Create a Sprint Contract and PLAN.md entry for: `$ARGUMENTS` Delegate to the **planner** subagent. The planner must: 1. Read `PLAN.md`, `PROGRESS.md`, `CLAUDE.md`, and relevant memory. 2. Write `docs/contracts/.md` with the Sprint Contract template (Goal, DoD, Interfaces, Out of scope, Evaluation plan, Risks). 3. Add or update the corresponding `PLAN.md` entry with priority and dependencies. 4. Return a short briefing with file paths. If `$ARGUMENTS` is empty, ask the user what to plan. Never write code into `src/` — planning only.