docs(phase-11): add research and validation strategy
This commit is contained in:
@@ -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 `<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 < 10s
|
||||||
|
- [ ] `nyquist_compliant: true` set in frontmatter
|
||||||
|
|
||||||
|
**Approval:** pending
|
||||||
Reference in New Issue
Block a user