Initialize Constitution
vdd_initCreates constitution.md at project root with immutable tech stack, conventions, security constraints, and banned patterns for later phases. Run before vdd_vision; use vdd_amend for existing ones.
Instructions
VDD Phase 0: Generate constitution.md at the project root — the immutable tech stack, conventions, security constraints, naming rules, and banned patterns that every later phase obeys. Overwrites any existing constitution.md. Run this first, before vdd_vision; to change a constitution that already exists, use vdd_amend instead of re-running this. projectRoot sets the directory constitution.md is written to and that later phases resolve every vdd/ artifact against (default ".").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |