| name | spec-verify |
| description | Verify a completed implementation against its spec. Checks all acceptance criteria, runs tests, validates coverage. Use after spec-implement is done. |
Spec Verify Workflow
Verify that a completed implementation satisfies its spec.
Steps
- Read the spec - load requirements.md and design.md
- Run verification checks against each requirement
- Generate a verification report
- Flag any gaps for remediation
Verification Checklist
For each requirement in requirements.md:
Functional Verification
Non-Functional Verification
Code Quality
Documentation
Verification Report
After checking, append a verification section to the spec folder:
<!-- Append to tasks.md -->
## Verification Results
**Date:** YYYY-MM-DD
**Status:** ✅ PASSED | ⚠️ PARTIAL | ❌ FAILED
### Requirements Coverage
| Requirement | Status | Notes |
|-------------|--------|-------|
| REQ-1 | ✅ | All criteria met |
| REQ-2 | ⚠️ | Missing edge case test |
### Gaps Found
- Gap 1: ...
- Gap 2: ...
### Recommendation
Ready for archive / Needs remediation on: ...
Rules
- Be strict - a requirement is only "met" if ALL its acceptance criteria pass
- Check tests exist - don't just trust that code works; verify tests cover it
- Flag scope creep - if implementation added things not in the spec, note it
- Recommend next step - either
spec-archive (if passed) or remediation tasks