--- phase: 06 slug: config-package-and-sound-overrides status: draft nyquist_compliant: false wave_0_complete: false created: 2026-03-26 --- # Phase 06 — Validation Strategy > Per-phase validation contract for feedback sampling during execution. --- ## Test Infrastructure | Property | Value | |----------|-------| | **Framework** | go test (stdlib) | | **Config file** | none — tests use in-memory TOML strings | | **Quick run command** | `go test ./config/... -count=1` | | **Full suite command** | `go test ./... -count=1` | | **Estimated runtime** | ~2 seconds | --- ## Sampling Rate - **After every task commit:** Run `go test ./config/... -count=1` - **After every plan wave:** Run `go test ./... -count=1` - **Before `/gsd:verify-work`:** Full suite must be green - **Max feedback latency:** 2 seconds --- ## Per-Task Verification Map | Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status | |---------|------|------|-------------|-----------|-------------------|-------------|--------| | 06-01-01 | 01 | 1 | CFG-01, CFG-04 | unit | `go test ./config/... -run TestParse` | ❌ W0 | ⬜ pending | | 06-01-02 | 01 | 1 | CFG-02, CFG-03 | unit | `go test ./config/... -run TestDiscover` | ❌ W0 | ⬜ pending | | 06-01-03 | 01 | 1 | CFG-05 | unit | `go test ./config/... -run TestUnknown` | ❌ W0 | ⬜ pending | | 06-02-01 | 02 | 2 | CFG-01, CFG-04 | integration | `go test ./... -run TestRunSynthesis` | ❌ W0 | ⬜ pending | | 06-02-02 | 02 | 2 | CFG-03 | integration | `go test ./cmd/... -run TestConfig` | ❌ W0 | ⬜ pending | *Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* --- ## Wave 0 Requirements - [ ] `config/config_test.go` — stubs for parse, discover, validate, merge tests - [ ] Existing `go test` infrastructure covers all phase requirements *Existing test infrastructure (go test) covers all phase requirements. New test files created alongside implementation.* --- ## Manual-Only Verifications | Behavior | Requirement | Why Manual | Test Instructions | |----------|-------------|------------|-------------------| | Auto-discover from `~/.config/netsynth/config.toml` | CFG-02 | Requires real home directory | Create config in `~/.config/netsynth/`, run netsynth, verify it loads | | Ctrl+C after config load | CFG-01 | End-to-end with capture | Load config, start capture, Ctrl+C, verify MP3 uses overridden frequency | *Most behaviors have automated verification via unit tests with in-memory TOML.* --- ## 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 < 2s - [ ] `nyquist_compliant: true` set in frontmatter **Approval:** pending