Initialize Constitution
vdd_initVDD 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 |
|---|---|---|---|
| taskId | No | Task ID to implement (e.g., 'TASK-003') | |
| feature | No | Feature name / spec directory name | |
| statement | No | Freeform input (required for vision) | |
| description | No | Freeform description input | |
| projectRoot | No | Path to project root directory | . |
| actionItemId | No | Tactical action item ID (e.g., 'A-001') | |
| capabilities | No | Alias for availableTools | |
| artifactFiles | No | Map of artifact path → content for serverless validate/drift detection | |
| availableTools | No | MCP/tool names available to the host agent (e.g., ['brave-search','perplexity','context7','gh_grep','playwright','filesystem']) | |
| researchFindings | No | Consolidated research subagent findings to synthesize into strategy.md |