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

3.7 KiB

phase, slug, status, nyquist_compliant, wave_0_complete, created
phase slug status nyquist_compliant wave_0_complete created
1 foundation-and-collection draft false false 2026-03-14

Phase 1 — Validation Strategy

Per-phase validation contract for feedback sampling during execution.


Test Infrastructure

Property Value
Framework Bun test runner (built-in, Jest-compatible API)
Config file None — Bun detects test files automatically
Quick run command bun test --bail
Full suite command bun test
Estimated runtime ~3 seconds

Sampling Rate

  • After every task commit: Run bun test --bail
  • 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
01-01-01 01 1 COLL-01 unit bun test tests/services/item.service.test.ts -t "create" W0 pending
01-01-02 01 1 COLL-01 integration bun test tests/routes/items.test.ts -t "create" W0 pending
01-01-03 01 1 COLL-02 unit bun test tests/services/item.service.test.ts -t "update" W0 pending
01-01-04 01 1 COLL-02 unit bun test tests/services/item.service.test.ts -t "delete" W0 pending
01-01-05 01 1 COLL-03 unit bun test tests/services/category.service.test.ts W0 pending
01-01-06 01 1 COLL-03 unit bun test tests/services/category.service.test.ts -t "reassign" W0 pending
01-01-07 01 1 COLL-04 unit bun test tests/services/totals.test.ts -t "category" W0 pending
01-01-08 01 1 COLL-04 unit bun test tests/services/totals.test.ts -t "global" W0 pending

Status: pending · green · red · ⚠️ flaky


Wave 0 Requirements

  • tests/services/item.service.test.ts — stubs for COLL-01, COLL-02
  • tests/services/category.service.test.ts — stubs for COLL-03
  • tests/services/totals.test.ts — stubs for COLL-04
  • tests/routes/items.test.ts — integration tests for item API endpoints
  • tests/routes/categories.test.ts — integration tests for category API endpoints
  • tests/helpers/db.ts — shared test helper: in-memory SQLite instance with migrations applied

Manual-Only Verifications

Behavior Requirement Why Manual Test Instructions
Card grid layout renders correctly COLL-01 Visual layout verification Open collection page, verify cards display in grid with name, weight, price chips, and image
Slide-out panel opens/closes COLL-02 UI interaction Click add/edit, verify panel slides from right, collection visible behind
Onboarding wizard flow N/A First-run UX Clear DB, reload app, verify wizard guides through category + item creation
Sticky totals bar visibility COLL-04 Visual layout Add 20+ items, scroll, verify totals bar remains visible at top
Category emoji display COLL-03 Visual rendering Create category with emoji, verify it displays on category headers and item cards

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