Acceptance Criteria
validate resolves each comma-separated ID in source against the entity index and reports broken references as errorsvalidate checks that milestone values match an existing milestone entityvalidate checks complexity values against the valid set (trivial, simple, moderate, complex, unknown)- Broken source references report the referencing entity ID and the missing target ID
- Tests for source validation, milestone validation, and complexity validation
Dependencies
- WORK-127 — schema bug fixes should land first (especially the severity/complexity alignment)
References
- SPEC-037 — Plan Package Hardening (Part 2: Validation Gaps)
Resolution
Completed: 2026-04-12
Branch: claude/spec-037-breakdown-docs-Whj40
What was done
- Added checkSourceRefs(): validates comma-separated source IDs against entity index
- Added checkMilestoneRefs(): validates milestone values against existing milestones
- Complexity validation already handled by WORK-127
- 5 new tests for source/milestone validation