From 99123785630d2c94afb3213e3b894fd53f54fb8e Mon Sep 17 00:00:00 2001 From: Kawa Date: Fri, 10 Apr 2026 15:39:22 +0200 Subject: [PATCH] docs(06): add research and validation strategy --- .../06-wire-icon-intunewin/06-VALIDATION.md | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .planning/phases/06-wire-icon-intunewin/06-VALIDATION.md diff --git a/.planning/phases/06-wire-icon-intunewin/06-VALIDATION.md b/.planning/phases/06-wire-icon-intunewin/06-VALIDATION.md new file mode 100644 index 0000000..cd4df24 --- /dev/null +++ b/.planning/phases/06-wire-icon-intunewin/06-VALIDATION.md @@ -0,0 +1,72 @@ +--- +phase: 6 +slug: wire-icon-intunewin +status: draft +nyquist_compliant: false +wave_0_complete: false +created: 2026-04-10 +--- + +# Phase 6 — Validation Strategy + +> Per-phase validation contract for feedback sampling during execution. + +--- + +## Test Infrastructure + +| Property | Value | +|----------|-------| +| **Framework** | pytest | +| **Config file** | none — runs via `python -m pytest` | +| **Quick run command** | `python -m pytest tests/test_packages.py -x -q` | +| **Full suite command** | `python -m pytest tests/ -q` | +| **Estimated runtime** | ~5 seconds | + +--- + +## Sampling Rate + +- **After every task commit:** Run `python -m pytest tests/test_packages.py -x -q` +- **After every plan wave:** Run `python -m pytest tests/ -q` +- **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 | +|---------|------|------|-------------|-----------|-------------------|-------------|--------| +| 06-01-01 | 01 | 1 | PKG-04 | integration | `python -m pytest tests/test_packages.py::test_intunewin_includes_icon -x -q` | ❌ W0 | ⬜ pending | +| 06-01-02 | 01 | 1 | PKG-04 | integration | `python -m pytest tests/test_packages.py::test_intunewin_without_icon_succeeds -x -q` | ❌ W0 | ⬜ pending | + +*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* + +--- + +## Wave 0 Requirements + +- [ ] `tests/test_packages.py` — add `test_intunewin_includes_icon` (monkeypatch `build_intunewin` to capture staging dir contents) +- [ ] `tests/test_packages.py` — add `test_intunewin_without_icon_succeeds` (baseline: export without icon) + +*Existing test infrastructure covers the rest — no new files or fixtures needed.* + +--- + +## 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 < 5s +- [ ] `nyquist_compliant: true` set in frontmatter + +**Approval:** pending