Audit Tactics
vdd_tacticsVDD Phase 3: Audit the existing codebase into vdd/tactics.md — repo audit, technical-debt assessment, gap analysis, MoSCoW-prioritized action items (A-001, A-002, …), dependency map, and infrastructure requirements. Overwrites vdd/tactics.md. Requires vdd/strategy.md; run after vdd_strategize and before vdd_specify. Needs a filesystem-capable host to scan the repo, so check with vdd_detect_environment first if the host may lack one. Parameter relationships: projectRoot must match the root used by vdd_init, vdd_vision, and vdd_strategize; requires vdd/strategy.md to exist. On the hosted (stateless) endpoint the tool cannot scan the repo itself: pass artifactFiles ({"vdd/strategy.md": "..."}) plus codebaseAudit (the repo scan produced by the host agent) to receive the audit; without them it returns a delegation envelope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 ".") | . |
| artifactFiles | No | Map of vdd/-relative artifact path → full file text, for the hosted (stateless) endpoint, which cannot read the caller filesystem; without it the tool returns a delegation envelope | |
| codebaseAudit | No | Repo scan (directory tree, manifests, modules, debt) produced by the host agent, for tactics on the hosted (stateless) endpoint which cannot scan the repo itself |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message when the phase fails | |
| _phase | No | 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 |