docs(phase-23): add validation strategy
This commit is contained in:
75
.planning/phases/23-manual-entry-fallback/23-VALIDATION.md
Normal file
75
.planning/phases/23-manual-entry-fallback/23-VALIDATION.md
Normal file
@@ -0,0 +1,75 @@
|
||||
---
|
||||
phase: 23
|
||||
slug: manual-entry-fallback
|
||||
status: draft
|
||||
nyquist_compliant: false
|
||||
wave_0_complete: false
|
||||
created: 2026-04-06
|
||||
---
|
||||
|
||||
# Phase 23 — Validation Strategy
|
||||
|
||||
> Per-phase validation contract for feedback sampling during execution.
|
||||
|
||||
---
|
||||
|
||||
## Test Infrastructure
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Framework** | Bun test (unit/integration), Playwright (E2E) |
|
||||
| **Config file** | `bunfig.toml`, `playwright.config.ts` |
|
||||
| **Quick run command** | `bun test` |
|
||||
| **Full suite command** | `bun test && bun run test:e2e` |
|
||||
| **Estimated runtime** | ~15 seconds (unit), ~45 seconds (E2E) |
|
||||
|
||||
---
|
||||
|
||||
## Sampling Rate
|
||||
|
||||
- **After every task commit:** Run `bun test`
|
||||
- **After every plan wave:** Run `bun test && bun run test:e2e`
|
||||
- **Before `/gsd:verify-work`:** Full suite must be green
|
||||
- **Max feedback latency:** 15 seconds
|
||||
|
||||
---
|
||||
|
||||
## Per-Task Verification Map
|
||||
|
||||
| Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status |
|
||||
|---------|------|------|-------------|-----------|-------------------|-------------|--------|
|
||||
| 23-01-01 | 01 | 1 | CATFLOW-07 | E2E | `bun run test:e2e` | ❌ W0 | ⬜ pending |
|
||||
| 23-01-02 | 01 | 1 | CATFLOW-07 | manual | N/A | N/A | ⬜ pending |
|
||||
| 23-01-03 | 01 | 1 | CATFLOW-08 | manual | N/A | N/A | ⬜ pending |
|
||||
|
||||
*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*
|
||||
|
||||
---
|
||||
|
||||
## Wave 0 Requirements
|
||||
|
||||
*Existing infrastructure covers all phase requirements. No new test framework installation needed.*
|
||||
|
||||
---
|
||||
|
||||
## Manual-Only Verifications
|
||||
|
||||
| Behavior | Requirement | Why Manual | Test Instructions |
|
||||
|----------|-------------|------------|-------------------|
|
||||
| "Add Manually" link visible in catalog search empty state | CATFLOW-07 | UI visibility and placement | 1. Open catalog search, 2. Search for non-existent item, 3. Verify "Add Manually" link appears |
|
||||
| Manual entry form fields and submission | CATFLOW-07 | Form interaction flow | 1. Click "Add Manually", 2. Fill required fields, 3. Submit, 4. Verify item created without globalItemId |
|
||||
| "Submit to catalog?" prompt after save | CATFLOW-08 | Non-functional UI prompt | 1. Save manual item, 2. Verify prompt appears, 3. Click "Submit to Catalog?", 4. Verify toast "Coming soon" |
|
||||
| Persistent "Add Manually" link below search results | CATFLOW-07 | UI placement when results exist | 1. Search for existing items, 2. Verify "Add Manually" link visible below results |
|
||||
|
||||
---
|
||||
|
||||
## 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 < 15s
|
||||
- [ ] `nyquist_compliant: true` set in frontmatter
|
||||
|
||||
**Approval:** pending
|
||||
Reference in New Issue
Block a user