diff --git a/.planning/phases/11-synthesis-and-config-layer/11-VALIDATION.md b/.planning/phases/11-synthesis-and-config-layer/11-VALIDATION.md new file mode 100644 index 0000000..877aa14 --- /dev/null +++ b/.planning/phases/11-synthesis-and-config-layer/11-VALIDATION.md @@ -0,0 +1,73 @@ +--- +phase: 11 +slug: synthesis-and-config-layer +status: draft +nyquist_compliant: false +wave_0_complete: false +created: 2026-03-27 +--- + +# Phase 11 — Validation Strategy + +> Per-phase validation contract for feedback sampling during execution. + +--- + +## Test Infrastructure + +| Property | Value | +|----------|-------| +| **Framework** | go test | +| **Config file** | none — standard Go test runner | +| **Quick run command** | `go test ./synth/... ./config/...` | +| **Full suite command** | `go test ./...` | +| **Estimated runtime** | ~10 seconds | + +--- + +## Sampling Rate + +- **After every task commit:** Run `go test ./synth/... ./config/...` +- **After every plan wave:** Run `go test ./...` +- **Before `/gsd:verify-work`:** Full suite must be green +- **Max feedback latency:** 10 seconds + +--- + +## Per-Task Verification Map + +| Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status | +|---------|------|------|-------------|-----------|-------------------|-------------|--------| +| 11-01-01 | 01 | 1 | GRP-02 | unit | `go test ./synth/... -run TestAllClassesHaveConfig` | ✅ | ⬜ pending | +| 11-01-02 | 01 | 1 | GRP-02 | unit | `go test ./synth/... -run TestFrequenciesUnique` | ✅ | ⬜ pending | +| 11-02-01 | 02 | 2 | GRP-02 | unit | `go test ./config/... -run TestPrintConfig` | ✅ | ⬜ pending | +| 11-02-02 | 02 | 2 | GRP-03 | unit | `go test ./config/... -run TestLoad` | ✅ | ⬜ pending | + +*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* + +--- + +## Wave 0 Requirements + +*Existing infrastructure covers all phase requirements. Test helpers already exist in synth and config packages.* + +--- + +## Manual-Only Verifications + +| Behavior | Requirement | Why Manual | Test Instructions | +|----------|-------------|------------|-------------------| +| Family-coherent sound output | Success criteria 2 | Perceptual audio quality | Generate MP3 from representative pcap, listen for family grouping | + +--- + +## 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 < 10s +- [ ] `nyquist_compliant: true` set in frontmatter + +**Approval:** pending