Implement Task
vdd_implementExecutes a single development task end-to-end: load constitution and specs, implement code, verify results, and commit with an impact-chain message. Provide a task ID to apply this full workflow.
Instructions
VDD Phase 7b: Execute one task — load constitution, spec, plan, and contracts, implement, verify, and commit with an impact-chain commit message. Mutates source code and commits to git. Pass taskId (e.g. "TASK-003") from the task returned by vdd_get_next_task. Run one task at a time, after vdd_get_next_task; for read-only inspection of tasks use vdd_get_next_task or vdd_trace instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task ID to implement (e.g., "TASK-003") | |
| projectRoot | No | Project root: directory that constitution.md and the vdd/ folder are written to and resolved against (default ".") | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _sdt | Yes | Strategy-and-Tactic instructions for the next step | |
| error | No | Error message when the phase fails | |
| _phase | Yes | VDD phase that produced this result | |
| output | No | Additional structured phase output | |
| success | Yes | Whether the phase completed successfully | |
| artifact | No | Primary artifact produced or returned | |
| gateResult | No | Quality-gate result, when the phase runs a gate |