- SUMMARY.md created: one-line fix, two new tests, full suite green - STATE.md updated: Phase 15 complete, decisions logged - ROADMAP.md: Phase 15 marked 1/1 Complete 2026-04-16 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
76 lines
2.8 KiB
Markdown
76 lines
2.8 KiB
Markdown
---
|
|
phase: 15
|
|
slug: ux-driver-upload-feedback-fix
|
|
status: draft
|
|
nyquist_compliant: false
|
|
wave_0_complete: false
|
|
created: 2026-04-16
|
|
---
|
|
|
|
# Phase 15 — Validation Strategy
|
|
|
|
> Per-phase validation contract for feedback sampling during execution.
|
|
|
|
---
|
|
|
|
## Test Infrastructure
|
|
|
|
| Property | Value |
|
|
|----------|-------|
|
|
| **Framework** | pytest 7.x |
|
|
| **Config file** | `pyproject.toml` |
|
|
| **Quick run command** | `pytest tests/test_printer_form.py tests/test_driver_upload.py -x -q` |
|
|
| **Full suite command** | `pytest tests/ -x -q --ignore=tests/e2e` |
|
|
| **Estimated runtime** | ~10 seconds |
|
|
|
|
---
|
|
|
|
## Sampling Rate
|
|
|
|
- **After every task commit:** Run `pytest tests/test_printer_form.py tests/test_driver_upload.py -x -q`
|
|
- **After every plan wave:** Run `pytest tests/ -x -q --ignore=tests/e2e`
|
|
- **Before `/gsd:verify-work`:** Full suite must be green
|
|
- **Max feedback latency:** 10 seconds
|
|
|
|
---
|
|
|
|
## Per-Task Verification Map
|
|
|
|
| Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status |
|
|
|---------|------|------|-------------|-----------|-------------------|-------------|--------|
|
|
| 15-01-01 | 01 | 1 | UX-01 | integration | `pytest tests/test_printer_form.py::test_printers_new_driver_list_visible -x -q` | ❌ W0 | ⬜ pending |
|
|
| 15-01-02 | 01 | 1 | UX-01 | integration | `pytest tests/test_printer_form.py::test_upload_feedback_visible_on_printers_new -x -q` | ❌ W0 | ⬜ pending |
|
|
| 15-01-03 | 01 | 1 | UX-01 | regression | `pytest tests/test_driver_upload.py::test_upload_returns_oob_when_called_from_form -x -q` | ✅ | ⬜ pending |
|
|
|
|
*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*
|
|
|
|
---
|
|
|
|
## Wave 0 Requirements
|
|
|
|
- [ ] `tests/test_printer_form.py` — add `test_printers_new_driver_list_visible` (asserts no `style="display:none"` on `#driver-list` in GET /printers/new response)
|
|
- [ ] `tests/test_printer_form.py` — add `test_upload_feedback_visible_on_printers_new` (asserts driver name appears in upload response fragment when caller="printer_form")
|
|
|
|
*Existing test infrastructure (pytest, conftest, fixtures) already in place — only these two new assertions are missing.*
|
|
|
|
---
|
|
|
|
## Manual-Only Verifications
|
|
|
|
| Behavior | Requirement | Why Manual | Test Instructions |
|
|
|----------|-------------|------------|-------------------|
|
|
| Upload feedback visually readable on /printers/new in browser | UX-01 | Visual confirmation | 1. Open /printers/new in browser 2. Upload a driver ZIP 3. Confirm driver name + confirmation appears on page |
|
|
|
|
---
|
|
|
|
## 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 < 10s
|
|
- [ ] `nyquist_compliant: true` set in frontmatter
|
|
|
|
**Approval:** pending
|