build command assigns one builder subagent to implement the task against the frozen spec.md. After implementation, the same subagent session is the preferred place to pack evidence — this is the same-session evidence packing pattern. Only run a separate evidence-only session if the original builder session is unavailable.
BUILD prompt
Copy this prompt verbatim when delegating to the builder subagent. Replace<TASK_ID> with the actual task identifier.
What the builder reads and implements
What the builder reads
What the builder reads
.agent/tasks/<TASK_ID>/spec.md— the frozen acceptance criteria and verification planAGENTS.mdif presentCLAUDE.mdif present.claude/CLAUDE.mdif present- Relevant
.claude/rules/**/*.mdfiles if present
What the builder implements
What the builder implements
The smallest safe change set in production code that satisfies every acceptance criterion in
spec.md. Unrelated files must remain untouched.What the builder returns
What the builder returns
- List of files changed
- Checks run during implementation
- Open risks or remaining uncertainties
Same-session evidence packing
After the builder finishes implementation, continue in the same subagent session with the EVIDENCE follow-up prompt below. This is the default path in Claude Code.Only use the EVIDENCE-ONLY fallback when the original builder session is unavailable or you intentionally want a fresh evidence-only run.
EVIDENCE follow-up prompt
Send this as a follow-up message to the same builder session immediately after BUILD completes.EVIDENCE-ONLY fallback prompt
Use this prompt only when the original builder session is unavailable.Hard boundaries
BUILD mode
Implement against the spec. Must not write
verdict.json or problems.md.EVIDENCE mode
Do not change production code. Pack artifacts only.