---
phase: 12.1.1
slug: shopify-first-card-source-pipeline
status: draft
nyquist_compliant: false
wave_0_complete: false
created: 2026-03-22
---

# Phase 12.1.1 — Validation Strategy

> Per-phase validation contract for feedback sampling during execution.

---

## Test Infrastructure

| Property | Value |
|----------|-------|
| **Framework** | cargo test (Rust built-in) |
| **Config file** | Cargo.toml (workspace) |
| **Quick run command** | `cargo test -p integrations --lib shopify && cargo test -p app --lib` |
| **Full suite command** | `cargo test --workspace` |
| **Estimated runtime** | ~30 seconds |

---

## Sampling Rate

- **After every task commit:** Run `cargo test -p integrations --lib shopify && cargo test -p app --lib`
- **After every plan wave:** Run `cargo test --workspace`
- **Before `/gsd:verify-work`:** Full suite must be green
- **Max feedback latency:** 30 seconds

---

## Per-Task Verification Map

| Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status |
|---------|------|------|-------------|-----------|-------------------|-------------|--------|
| TBD | TBD | TBD | Order fetching | unit | `cargo test -p integrations --lib shopify` | TBD | ⬜ pending |
| TBD | TBD | TBD | Recipient matching | unit | `cargo test -p app --lib` | TBD | ⬜ pending |
| TBD | TBD | TBD | Unassigned card UX | manual | Visual verification | N/A | ⬜ pending |
| TBD | TBD | TBD | Assignment flow | manual | Modal interaction | N/A | ⬜ pending |
| TBD | TBD | TBD | GH write-back | unit | `cargo test -p integrations --lib github` | TBD | ⬜ pending |

*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*

---

## Wave 0 Requirements

*Existing infrastructure covers all phase requirements.*

---

## Manual-Only Verifications

| Behavior | Requirement | Why Manual | Test Instructions |
|----------|-------------|------------|-------------------|
| Unassigned card italic/warning name | UX | Slint visual rendering | Open app, verify unassigned cards show italic warning-color name |
| Pick Recipient modal | UX | UI interaction flow | Click Pick Recipient in ellipsis, verify searchable list, assign, verify card updates |
| Create New Recipient | UX | End-to-end GH API | Click Create New, verify GH Project row created, card assigned |
| Connection status during Shopify sync | UX | Visual verification | Observe connection indicator during sync cycles |

---

## 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 < 30s
- [ ] `nyquist_compliant: true` set in frontmatter

**Approval:** pending
