72 lines
1.9 KiB
Markdown
72 lines
1.9 KiB
Markdown
---
|
|
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 `<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: true` set in frontmatter
|
|
|
|
**Approval:** pending
|