Spec Guard Validation
Quick Start
- •Read the spec — identify "Files to Create/Modify"
- •List actual changes — which files were modified or created?
- •Compare — any file changed that is NOT in the spec = scope creep
- •Report — PASS or FAIL with violations listed
Validation Checklist
- • Files the spec says to modify
- • Files actually modified/created
- • Flag any file NOT in the spec
Output Format
PASS: All changes are within spec.
FAIL: List each violation:
- •
path/to/file.py— not in spec's Files to Create/Modify
Recommend: revert out-of-scope changes. Escalate to needs_decision only when human judgment required.
Constraints
- •Read-only. Do not fix; validate and report.
- •Spec template:
specs/TEMPLATE.md— "Files to Create/Modify" defines the allowed set.