Clarify Spec
vdd_clarifyScan a spec file to list every [NEEDS CLARIFICATION] marker, [e.g.] placeholder, and happy-path acceptance criterion missing an edge-case match. Read-only; host applies the resolutions.
Instructions
VDD Phase 4b: Clarify an existing spec — scans vdd/specs//spec.md and returns the items to resolve: every [NEEDS CLARIFICATION] marker, [e.g.] placeholder, and happy-path acceptance criterion (AC) still needing an edge-case counterpart (AC-E*). Read-only; returns the list without editing the file (the host agent then applies the resolutions). Pass feature (spec directory name). Run after vdd_specify when a spec has unresolved markers; to author a brand-new spec use vdd_specify instead. Parameter relationships: feature must be the exact spec directory name created by vdd_specify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature | Yes | Feature name: the vdd/specs/<feature>/ directory, kebab-case (e.g., "user-auth"); must reference a directory created earlier by vdd_specify | |
| projectRoot | No | Project root: directory that constitution.md and the vdd/ folder are written to and resolved against. Relative paths resolve from the current working directory; keep the same value across every phase (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 |