docs(07): add validation strategy and research
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
---
|
||||
phase: 7
|
||||
slug: validation-ux-polish
|
||||
status: draft
|
||||
nyquist_compliant: false
|
||||
wave_0_complete: false
|
||||
created: 2026-03-31
|
||||
---
|
||||
|
||||
# Phase 7 — Validation Strategy
|
||||
|
||||
> Per-phase validation contract for feedback sampling during execution.
|
||||
|
||||
---
|
||||
|
||||
## Test Infrastructure
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Framework** | Vitest 4.1.1 + @testing-library/react 16.3.2 |
|
||||
| **Config file** | `vitest.config.ts` (environment: node; test files use `@vitest-environment jsdom` pragma) |
|
||||
| **Quick run command** | `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx` |
|
||||
| **Full suite command** | `npx vitest run` |
|
||||
| **Estimated runtime** | ~10 seconds |
|
||||
|
||||
---
|
||||
|
||||
## Sampling Rate
|
||||
|
||||
- **After every task commit:** Run `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx`
|
||||
- **After every plan wave:** Run `npx vitest run`
|
||||
- **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 |
|
||||
|---------|------|------|-------------|-----------|-------------------|-------------|--------|
|
||||
| 7-01-01 | 01 | 0 | VALID-01 | unit | `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx` | ✅ (add stubs) | ⬜ pending |
|
||||
| 7-01-02 | 01 | 1 | VALID-01 | unit | `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx` | ✅ | ⬜ pending |
|
||||
| 7-01-03 | 01 | 1 | VALID-01 | unit | `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx` | ✅ | ⬜ pending |
|
||||
| 7-01-04 | 01 | 1 | VALID-01 | unit | `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx` | ✅ | ⬜ pending |
|
||||
| 7-02-01 | 02 | 0 | UX-01 | unit | `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx` | ✅ (add stubs) | ⬜ pending |
|
||||
| 7-02-02 | 02 | 1 | UX-01 | unit | `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx` | ✅ | ⬜ pending |
|
||||
| 7-02-03 | 02 | 1 | UX-01 | unit | `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx` | ✅ | ⬜ pending |
|
||||
| 7-02-04 | 02 | 1 | UX-01 | unit | `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx` | ✅ | ⬜ pending |
|
||||
|
||||
*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*
|
||||
|
||||
---
|
||||
|
||||
## Wave 0 Requirements
|
||||
|
||||
- [ ] `src/components/wizard/RemoteConfigStep.test.tsx` — VALID-01 stubs: regex rejection and acceptance for Azure account name, S3 region, GCS project_number
|
||||
- [ ] `src/components/wizard/RemoteConfigStep.test.tsx` — UX-01 stubs: ⓘ button presence and toggle behavior for sas_url, key, SFTP auth method, OneDrive token
|
||||
|
||||
*Note: test FILE already exists — new `describe`/`it` blocks are added to the existing file.*
|
||||
|
||||
---
|
||||
|
||||
## Manual-Only Verifications
|
||||
|
||||
| Behavior | Requirement | Why Manual | Test Instructions |
|
||||
|----------|-------------|------------|-------------------|
|
||||
| Tooltip text content accuracy | UX-01 | Content review requires human judgment | Open Azure form, hover/click ⓘ on SAS URL field; verify text correctly distinguishes SAS token from storage account key |
|
||||
|
||||
---
|
||||
|
||||
## 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
|
||||
Reference in New Issue
Block a user