docs(phase-20): add validation strategy

This commit is contained in:
2026-04-06 07:43:07 +02:00
parent 4b7bcd92ac
commit d602f27f14

View File

@@ -0,0 +1,74 @@
---
phase: 20
slug: fab-full-screen-catalog-search
status: draft
nyquist_compliant: false
wave_0_complete: false
created: 2026-04-06
---
# Phase 20 — Validation Strategy
> Per-phase validation contract for feedback sampling during execution.
---
## Test Infrastructure
| Property | Value |
|----------|-------|
| **Framework** | bun test |
| **Config file** | none — built-in to Bun |
| **Quick run command** | `bun test` |
| **Full suite command** | `bun test` |
| **Estimated runtime** | ~10 seconds (service tests only, no E2E) |
---
## Sampling Rate
- **After every task commit:** Run `bun test`
- **After every plan wave:** Run `bun test`
- **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 |
|---------|------|------|-------------|-----------|-------------------|-------------|--------|
| TBD | TBD | TBD | CATFLOW-01 | grep/visual | `grep -r "fabMenuOpen" src/client/` | ❌ W0 | ⬜ pending |
| TBD | TBD | TBD | CATFLOW-02 | grep/visual | `grep -r "catalogSearchOpen" src/client/` | ❌ W0 | ⬜ pending |
*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*
---
## Wave 0 Requirements
*Frontend phase — primary verification is visual + grep-based. No new test files needed for UI components (existing test infrastructure covers service layer).*
---
## Manual-Only Verifications
| Behavior | Requirement | Why Manual | Test Instructions |
|----------|-------------|------------|-------------------|
| FAB mini menu opens/closes with animation | CATFLOW-01 | Visual/animation behavior | Click FAB, verify menu fans out, click backdrop to close |
| Full-screen search overlay opens from FAB menu | CATFLOW-02 | Visual overlay behavior | Click "Add to Collection" in FAB menu, verify overlay appears |
| Tag chips filter search results | CATFLOW-02 | UI interaction | Type query, tap tag chips, verify results filter |
| Search results display with correct data | CATFLOW-02 | Visual data display | Search for known item, verify card shows name/weight/price |
---
## 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