docs(phase-19): add validation strategy

This commit is contained in:
2026-04-05 20:12:53 +02:00
parent bead640ab4
commit a93d9a66ec

View File

@@ -0,0 +1,73 @@
---
phase: 19
slug: reference-item-model-tags-schema
status: draft
nyquist_compliant: false
wave_0_complete: false
created: 2026-04-05
---
# Phase 19 — Validation Strategy
> Per-phase validation contract for feedback sampling during execution.
---
## Test Infrastructure
| Property | Value |
|----------|-------|
| **Framework** | bun test |
| **Config file** | none — built-in to Bun |
| **Quick run command** | `bun test` |
| **Full suite command** | `bun test` |
| **Estimated runtime** | ~5 seconds |
---
## Sampling Rate
- **After every task commit:** Run `bun test`
- **After every plan wave:** Run `bun test`
- **Before `/gsd:verify-work`:** Full suite must be green
- **Max feedback latency:** 5 seconds
---
## Per-Task Verification Map
| Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status |
|---------|------|------|-------------|-----------|-------------------|-------------|--------|
| TBD | TBD | TBD | CATFLOW-03 | unit+integration | `bun test` | ✅ | ⬜ pending |
| TBD | TBD | TBD | CATFLOW-04 | unit+integration | `bun test` | ✅ | ⬜ pending |
| TBD | TBD | TBD | CATFLOW-05 | unit+integration | `bun test` | ✅ | ⬜ pending |
| TBD | TBD | TBD | CATFLOW-06 | unit+integration | `bun test` | <20><> | ⬜ pending |
| TBD | TBD | TBD | TAG-01 | unit | `bun test` | ✅ | ⬜ pending |
| TBD | TBD | TBD | TAG-02 | unit+integration | `bun test` | ✅ | ⬜ pending |
*Status: ⬜ pending · ✅ green · ❌ red · ⚠<><E29AA0><EFBFBD> flaky*
---
## Wave 0 Requirements
*Existing infrastructure covers all phase requirements — test helper `createTestDb()` needs schema updates for new tables.*
---
## Manual-Only Verifications
*All phase behaviors have automated verification.*
---
## Validation Sign-Off
- [ ] All tasks have `<automated>` verify or Wave 0 dependencies
- [ ] Sampling continuity: no 3 consecutive tasks without automated verify
- [ ] Wave 0 covers all MISSING references
- [ ] No watch-mode flags
- [ ] Feedback latency < 5s
- [ ] `nyquist_compliant: true` set in frontmatter
**Approval:** pending