--- phase: 04 slug: marketplace-portal-navigation status: draft nyquist_compliant: false wave_0_complete: false created: 2026-06-22 --- # Phase 04 — Validation Strategy > Per-phase validation contract for feedback sampling during execution. --- ## Test Infrastructure | Property | Value | |----------|-------| | **Framework** | vitest | | **Config file** | apps/web/vitest.config.ts, apps/api/vitest.config.ts | | **Quick run command** | `pnpm --filter @tessera/api test -- --run` | | **Full suite command** | `pnpm test` | | **Estimated runtime** | ~30 seconds | --- ## Sampling Rate - **After every task commit:** Run `pnpm --filter @tessera/api test -- --run` - **After every plan wave:** Run `pnpm test` - **Before `/gsd-verify-work`:** Full suite must be green - **Max feedback latency:** 30 seconds --- ## Per-Task Verification Map | Task ID | Plan | Wave | Requirement | Threat Ref | Secure Behavior | Test Type | Automated Command | File Exists | Status | |---------|------|------|-------------|------------|-----------------|-----------|-------------------|-------------|--------| | 04-01-01 | 01 | 1 | MRKT-01 | — | N/A | integration | `pnpm --filter @tessera/api test` | ❌ W0 | ⬜ pending | | 04-01-02 | 01 | 1 | MRKT-02 | T-04-01 | Admin-only activation | integration | `pnpm --filter @tessera/api test` | ❌ W0 | ⬜ pending | | 04-02-01 | 02 | 1 | PRTAL-02 | — | N/A | e2e | browser check | ❌ W0 | ⬜ pending | | 04-02-02 | 02 | 1 | PRTAL-03 | — | N/A | e2e | browser check | ❌ W0 | ⬜ pending | | 04-02-03 | 02 | 1 | PRTAL-05 | — | N/A | e2e | browser check | ❌ W0 | ⬜ pending | | 04-03-01 | 03 | 2 | MRKT-03 | — | N/A | integration | `pnpm --filter @tessera/api test` | ❌ W0 | ⬜ pending | | 04-03-02 | 03 | 2 | MRKT-04 | — | N/A | e2e | browser check | ❌ W0 | ⬜ pending | *Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* --- ## Wave 0 Requirements - [ ] Test stubs for marketplace API endpoints - [ ] Test stubs for sidebar navigation behavior *Existing infrastructure covers framework setup — only test files needed.* --- ## Manual-Only Verifications | Behavior | Requirement | Why Manual | Test Instructions | |----------|-------------|------------|-------------------| | Marketplace grid layout responsive | MRKT-01 | Visual layout check | Open marketplace at 320px, 768px, 1024px widths | | Sidebar module grouping by category | PRTAL-02 | Visual grouping check | Activate modules from different categories, verify sidebar groups | | Module opens in main content area | PRTAL-03 | Navigation flow | Click module in sidebar, verify content renders in main area | --- ## 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 < 30s - [ ] `nyquist_compliant: true` set in frontmatter **Approval:** pending