2.8 KiB
2.8 KiB
phase, slug, status, nyquist_compliant, wave_0_complete, created
| phase | slug | status | nyquist_compliant | wave_0_complete | created |
|---|---|---|---|---|---|
| 9 | frequency-design-and-group-architecture | draft | false | false | 2026-03-27 |
Phase 9 — 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 | ~5 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: 5 seconds
Per-Task Verification Map
| Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status |
|---|---|---|---|---|---|---|---|
| 09-01-01 | 01 | 1 | FREQ-01 | unit | go test ./synth/... -run TestFreqConfig |
✅ | ⬜ pending |
| 09-01-02 | 01 | 1 | FREQ-02 | unit | go test ./synth/... -run TestInterval |
❌ W0 | ⬜ pending |
| 09-01-03 | 01 | 1 | GRP-01 | unit | go test ./synth/... -run TestGroupField |
❌ W0 | ⬜ pending |
| 09-01-04 | 01 | 1 | FREQ-03 | unit | go test ./config/... -run TestAutoAssign |
✅ | ⬜ pending |
| 09-01-05 | 01 | 1 | FREQ-04 | unit | go test ./synth/... -run TestFrequencies |
✅ | ⬜ pending |
| 09-01-06 | 01 | 1 | GRP-04 | unit | go test ./synth/... -run TestGroupPopulated |
❌ W0 | ⬜ pending |
Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky
Wave 0 Requirements
synth/bank_test.go— TestIntervalConstraint: verify all within-family pairs have ratio >= 1.122synth/bank_test.go— TestGroupFieldPopulated: verify all ClassFreqConfigs entries have non-empty Group- Update
TestHarmonicsNonEmptyto accept >= 1 harmonic (for WaveformSine entries)
Existing infrastructure covers most phase requirements. Wave 0 adds targeted assertions for new constraints.
Manual-Only Verifications
| Behavior | Requirement | Why Manual | Test Instructions |
|---|---|---|---|
| Frequency table documented in planning doc | FREQ-01 | Documentation artifact | Inspect 09-RESEARCH.md or code comment for complete Hz/waveform/group table |
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: trueset in frontmatter
Approval: pending