From 974a2728c1eed6d09b8f7bcb3da23c74c9f98347 Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Fri, 27 Mar 2026 15:42:35 +0100 Subject: [PATCH] docs(phase-10): add validation strategy --- .../10-classification-layer/10-VALIDATION.md | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .planning/phases/10-classification-layer/10-VALIDATION.md diff --git a/.planning/phases/10-classification-layer/10-VALIDATION.md b/.planning/phases/10-classification-layer/10-VALIDATION.md new file mode 100644 index 0000000..df62f52 --- /dev/null +++ b/.planning/phases/10-classification-layer/10-VALIDATION.md @@ -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 `` 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