From d602f27f1401630381427b9d6bd58bf1597f7294 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Mon, 6 Apr 2026 07:43:07 +0200 Subject: [PATCH] docs(phase-20): add validation strategy --- .../20-VALIDATION.md | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 .planning/phases/20-fab-full-screen-catalog-search/20-VALIDATION.md diff --git a/.planning/phases/20-fab-full-screen-catalog-search/20-VALIDATION.md b/.planning/phases/20-fab-full-screen-catalog-search/20-VALIDATION.md new file mode 100644 index 0000000..5bf7f33 --- /dev/null +++ b/.planning/phases/20-fab-full-screen-catalog-search/20-VALIDATION.md @@ -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 `` 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