Inspect Project
vdd_inspectInspect project or feature scope in one call: read-only traceability matrix or per-feature spec metrics without modifying files.
Instructions
VDD Cross-phase: Read-only inspection of the current project in one call — scope selects the view. scope="project" (default) returns the bidirectional V→S→T→SP→PL→TK traceability matrix across all vdd/ artifacts; scope="feature" returns per-feature spec metrics (acceptance-criteria count, unresolved [NEEDS CLARIFICATION] markers, [e.g.] placeholder density, and whether plan.md/tasks.md exist). Never modifies files. Pass feature for the feature scope; for release-readiness validation with gates use vdd_validate, and to author a spec use vdd_specify. Output is a structured matrix/metrics object, not prose. Parameter relationships: scope="feature" requires feature, while scope="project" (the default) ignores it; projectRoot must match the root used by earlier phases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Inspect scope: "project" (default) returns the traceability matrix; "feature" returns per-feature spec metrics (requires feature) | |
| feature | No | 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 |