From a93d9a66ecb6f6872a600aadba35494838ef79d2 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Sun, 5 Apr 2026 20:12:53 +0200 Subject: [PATCH] docs(phase-19): add validation strategy --- .../19-VALIDATION.md | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .planning/phases/19-reference-item-model-tags-schema/19-VALIDATION.md diff --git a/.planning/phases/19-reference-item-model-tags-schema/19-VALIDATION.md b/.planning/phases/19-reference-item-model-tags-schema/19-VALIDATION.md new file mode 100644 index 0000000..5582fca --- /dev/null +++ b/.planning/phases/19-reference-item-model-tags-schema/19-VALIDATION.md @@ -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` | �� | ⬜ pending | +| TBD | TBD | TBD | TAG-01 | unit | `bun test` | ✅ | ⬜ pending | +| TBD | TBD | TBD | TAG-02 | unit+integration | `bun test` | ✅ | ⬜ pending | + +*Status: ⬜ pending · ✅ green · ❌ red · ⚠��� 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 `` 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