Files
Jean-Luc Makiola 261c1f9d02 chore: complete v1.0 MVP milestone
Archive roadmap, requirements, and phase directories to milestones/.
Evolve PROJECT.md with validated requirements and key decisions.
Reorganize ROADMAP.md with milestone grouping.
Delete REQUIREMENTS.md (fresh for next milestone).
2026-03-15 15:49:45 +01:00

80 lines
3.0 KiB
Markdown

---
phase: 3
slug: setups-and-dashboard
status: draft
nyquist_compliant: false
wave_0_complete: false
created: 2026-03-15
---
# Phase 3 — Validation Strategy
> Per-phase validation contract for feedback sampling during execution.
---
## Test Infrastructure
| Property | Value |
|----------|-------|
| **Framework** | bun:test (built into Bun) |
| **Config file** | None (Bun built-in, runs from `package.json` `"test": "bun test"`) |
| **Quick run command** | `bun test tests/services/setup.service.test.ts` |
| **Full suite command** | `bun test` |
| **Estimated runtime** | ~5 seconds |
---
## Sampling Rate
- **After every task commit:** Run `bun test tests/services/setup.service.test.ts && bun test tests/routes/setups.test.ts`
- **After every plan wave:** Run `bun test`
- **Before `/gsd:verify-work`:** Full suite must be green
- **Max feedback latency:** 5 seconds
---
## Per-Task Verification Map
| Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status |
|---------|------|------|-------------|-----------|-------------------|-------------|--------|
| 03-01-01 | 01 | 1 | SETP-01 | unit + integration | `bun test tests/services/setup.service.test.ts` | No - W0 | ⬜ pending |
| 03-01-02 | 01 | 1 | SETP-02 | unit | `bun test tests/services/setup.service.test.ts` | No - W0 | ⬜ pending |
| 03-01-03 | 01 | 1 | SETP-03 | unit | `bun test tests/services/setup.service.test.ts` | No - W0 | ⬜ pending |
| 03-01-04 | 01 | 1 | SETP-01, SETP-02 | integration | `bun test tests/routes/setups.test.ts` | No - W0 | ⬜ pending |
| 03-02-01 | 02 | 2 | DASH-01 | manual-only | Manual browser verification | N/A | ⬜ pending |
*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*
---
## Wave 0 Requirements
- [ ] `tests/services/setup.service.test.ts` — stubs for SETP-01, SETP-02, SETP-03
- [ ] `tests/routes/setups.test.ts` — stubs for SETP-01, SETP-02 API layer
- [ ] `tests/helpers/db.ts` — needs `setups` and `setup_items` CREATE TABLE statements added
---
## Manual-Only Verifications
| Behavior | Requirement | Why Manual | Test Instructions |
|----------|-------------|------------|-------------------|
| Dashboard shows cards with stats | DASH-01 | UI-only, data from existing endpoints | Navigate to `/`, verify 3 cards with correct stats, click each to navigate |
| Checklist picker grouped by category | SETP-02 | UI interaction pattern | Open setup, click add items, verify grouped checkboxes |
| Setup detail card grid with remove | SETP-02 | UI interaction pattern | View setup detail, verify cards with x buttons, remove an item |
| Sticky totals bar on setup detail | SETP-03 | Visual verification | Scroll setup detail, verify totals bar stays visible |
---
## 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 < 5s
- [ ] `nyquist_compliant: true` set in frontmatter
**Approval:** pending