Get Next Task
vdd_get_next_taskRetrieve the next uncompleted task from a feature's task list to keep implementation sessions focused, or get a completion marker when all tasks are done.
Instructions
VDD Phase 7a: Read vdd/specs//tasks.md and return the next uncompleted task (or a completion marker when none remain). Read-only; never edits tasks.md. Pass feature (the exact spec directory name). Use before each implementation session to keep context isolated; to regenerate the whole list use vdd_tasks, and to execute the returned task use vdd_implement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature | Yes | Feature name (spec directory name) | |
| 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 |