From 7fd2e10c87153883f578e3cafc587cd73ddb3ddc Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Fri, 27 Mar 2026 08:47:45 +0100 Subject: [PATCH] docs(phase-8): add validation strategy --- .../08-VALIDATION.md | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .planning/phases/08-test-and-constant-cleanup/08-VALIDATION.md diff --git a/.planning/phases/08-test-and-constant-cleanup/08-VALIDATION.md b/.planning/phases/08-test-and-constant-cleanup/08-VALIDATION.md new file mode 100644 index 0000000..2de57f0 --- /dev/null +++ b/.planning/phases/08-test-and-constant-cleanup/08-VALIDATION.md @@ -0,0 +1,71 @@ +--- +phase: 8 +slug: test-and-constant-cleanup +status: draft +nyquist_compliant: false +wave_0_complete: false +created: 2026-03-27 +--- + +# Phase 8 — Validation Strategy + +> Per-phase validation contract for feedback sampling during execution. + +--- + +## Test Infrastructure + +| Property | Value | +|----------|-------| +| **Framework** | go test (stdlib) | +| **Config file** | none — built-in Go test runner | +| **Quick run command** | `go test ./synth/...` | +| **Full suite command** | `go test ./...` | +| **Estimated runtime** | ~5 seconds | + +--- + +## Sampling Rate + +- **After every task commit:** Run `go test ./synth/...` +- **After every plan wave:** Run `go 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 | +|---------|------|------|-------------|-----------|-------------------|-------------|--------| +| 08-01-01 | 01 | 1 | CLEAN-01 | unit | `go test ./synth/... -run TestFrequenciesInRange` | ✅ | ⬜ pending | +| 08-01-02 | 01 | 1 | CLEAN-01 | compile | `go build ./synth/...` | ✅ | ⬜ pending | +| 08-01-03 | 01 | 1 | CLEAN-01 | unit | `go test ./synth/... -run TestClassFreqConfigs` | ✅ | ⬜ pending | +| 08-01-04 | 01 | 1 | CLEAN-01 | integration | `go test ./...` | ✅ | ⬜ pending | + +*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* + +--- + +## Wave 0 Requirements + +*Existing infrastructure covers all phase requirements.* + +--- + +## 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