docs(06): add research and validation strategy

This commit is contained in:
2026-04-10 15:39:22 +02:00
parent ba106eecbe
commit 9912378563
@@ -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 `<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