Validates cross-artifact consistency and detects breaking changes during feature analysis...
Inputs: spec.md, plan.md, tasks.md Outputs: analysis-report.md
Read spec.md requirements, verify each has corresponding plan component. Flag missing mappings in analysis report.
See references/examples.md for grep commands.
Read plan.md components, verify each broken into tasks in tasks.md.
Validate:
Scan for patterns indicating breaking changes:
Flag with impact level (Low/Medium/High) using reference rubric.
Cross-reference:
Verify all dependencies documented and accounted for.
Create specs/NNN-slug/analysis-report.md:
# Analysis Report
## Consistency Check
- Spec-Plan: [✓/✗] Description
- Plan-Tasks: [✓/✗] Description
## Breaking Changes
- [High/Medium/Low] Description and impact
## Dependency Validation
- [✓/✗] Dependencies documented
## Recommendations
- Action items to fix inconsistencies
Update state.yaml: analysis.status = completed
Why: Breaking changes missed in analysis cause production issues post-deployment
Why: Missing mappings lead to incomplete implementation
Why: Undocumented dependencies cause integration failures
Why: Actionable findings enable quick remediation