docs(phase-10): add validation strategy
This commit is contained in:
@@ -0,0 +1,70 @@
|
|||||||
|
---
|
||||||
|
phase: 10
|
||||||
|
slug: classification-layer
|
||||||
|
status: draft
|
||||||
|
nyquist_compliant: false
|
||||||
|
wave_0_complete: false
|
||||||
|
created: 2026-03-27
|
||||||
|
---
|
||||||
|
|
||||||
|
# Phase 10 — 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 ./classify/...` |
|
||||||
|
| **Full suite command** | `go test ./...` |
|
||||||
|
| **Estimated runtime** | ~3 seconds |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Sampling Rate
|
||||||
|
|
||||||
|
- **After every task commit:** Run `go test ./classify/...`
|
||||||
|
- **After every plan wave:** Run `go test ./...`
|
||||||
|
- **Before `/gsd:verify-work`:** Full suite must be green
|
||||||
|
- **Max feedback latency:** 3 seconds
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Per-Task Verification Map
|
||||||
|
|
||||||
|
| Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status |
|
||||||
|
|---------|------|------|-------------|-----------|-------------------|-------------|--------|
|
||||||
|
| 10-01-01 | 01 | 1 | PROTO-01..09 | unit | `go test ./classify/... -run TestClassify` | ✅ | ⬜ pending |
|
||||||
|
| 10-01-02 | 01 | 1 | PROTO-09 | regression | `go test ./classify/... -run TestClassify` | ✅ | ⬜ pending |
|
||||||
|
| 10-01-03 | 01 | 1 | PROTO-01..08 | unit | `go test ./classify/... -run TestAllClassesCount` | ✅ | ⬜ pending |
|
||||||
|
|
||||||
|
*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Wave 0 Requirements
|
||||||
|
|
||||||
|
*Existing infrastructure covers all phase requirements. `classify/classifier_test.go` already has `buildTCPPacket`, `buildUDPPacket`, and `buildICMPPacket` helpers.*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 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 < 3s
|
||||||
|
- [ ] `nyquist_compliant: true` set in frontmatter
|
||||||
|
|
||||||
|
**Approval:** pending
|
||||||
Reference in New Issue
Block a user