73 lines
2.1 KiB
Markdown
73 lines
2.1 KiB
Markdown
Run tests, verify the build, and perform final approval.
|
|
|
|
**Overall piece verification:**
|
|
1. Whether the plan and implementation results are consistent
|
|
2. Whether findings from each review movement have been addressed
|
|
3. Whether each task spec requirement has been achieved
|
|
- Extract requirements one by one from the task spec
|
|
- For each requirement, identify the implementing code (file:line)
|
|
- Verify the code actually fulfills the requirement (read the file, run the test)
|
|
- Do not rely on the plan report's judgment; independently verify each requirement
|
|
- If any requirement is unfulfilled, REJECT
|
|
|
|
**Report verification:** Read all reports in the Report Directory and
|
|
check for any unaddressed improvement suggestions.
|
|
|
|
**Validation output contract:**
|
|
```markdown
|
|
# Final Verification Results
|
|
|
|
## Result: APPROVE / REJECT
|
|
|
|
## Requirements Fulfillment Check
|
|
|
|
Extract requirements from the task spec and verify each one individually against actual code.
|
|
|
|
| # | Requirement (extracted from task spec) | Met | Evidence (file:line) |
|
|
|---|---------------------------------------|-----|---------------------|
|
|
| 1 | {requirement 1} | ✅/❌ | `src/file.ts:42` |
|
|
| 2 | {requirement 2} | ✅/❌ | `src/file.ts:55` |
|
|
|
|
- If any ❌ exists, REJECT is mandatory
|
|
- ✅ without evidence is invalid (must verify against actual code)
|
|
- Do not rely on plan report's judgment; independently verify each requirement
|
|
|
|
## Verification Summary
|
|
| Item | Status | Verification method |
|
|
|------|--------|-------------------|
|
|
| Tests | ✅ | `npm test` (N passed) |
|
|
| Build | ✅ | `npm run build` succeeded |
|
|
| Functional check | ✅ | Main flows verified |
|
|
|
|
## Deliverables
|
|
- Created: {Created files}
|
|
- Modified: {Modified files}
|
|
|
|
## Outstanding items (if REJECT)
|
|
| # | Item | Reason |
|
|
|---|------|--------|
|
|
| 1 | {Item} | {Reason} |
|
|
```
|
|
|
|
**Summary output contract (only if APPROVE):**
|
|
```markdown
|
|
# Task Completion Summary
|
|
|
|
## Task
|
|
{Original request in 1-2 sentences}
|
|
|
|
## Result
|
|
Complete
|
|
|
|
## Changes
|
|
| Type | File | Summary |
|
|
|------|------|---------|
|
|
| Create | `src/file.ts` | Summary description |
|
|
|
|
## Verification commands
|
|
```bash
|
|
npm test
|
|
npm run build
|
|
```
|
|
```
|