---
phase: 15
slug: sqlite-foundation-deprecated-field-cleanup-and-ui-polish-gap-closure
status: draft
nyquist_compliant: false
wave_0_complete: false
created: 2026-03-22
---

# Phase 15 — 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 --workspace` |
| **Full suite command** | `cargo test --workspace` |
| **Estimated runtime** | ~30 seconds |

---

## Sampling Rate

- **After every task commit:** Run `cargo test --workspace`
- **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 |
|---------|------|------|-------------|-----------|-------------------|-------------|--------|
| 15-01-01 | 01 | 1 | PERSIST-01 | integration | `cargo test --workspace` | ❌ W0 | ⬜ pending |
| 15-02-01 | 02 | 1 | CLEAN-01 | unit | `cargo test --workspace` | ✅ | ⬜ pending |
| 15-03-01 | 03 | 2 | PERSIST-02 | integration | `cargo test --workspace` | ❌ W0 | ⬜ pending |

*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*

---

## Wave 0 Requirements

- [ ] SQLite `:memory:` test fixtures for integration tests
- [ ] Existing `cargo test` infrastructure covers unit test needs

*Existing infrastructure covers unit tests. Integration tests need SQLite fixtures added in Wave 0/1.*

---

## Manual-Only Verifications

| Behavior | Requirement | Why Manual | Test Instructions |
|----------|-------------|------------|-------------------|
| Cards persist across app restart | PERSIST-03 | Requires app restart cycle | Launch app, sync data, close, relaunch — cards should appear immediately |
| Toast warning color | POLISH-01 | Visual verification | Trigger a warning toast — should show amber background |
| Card layout spacing | POLISH-01 | Visual verification | Check card items have consistent 8px spacing |

---

## 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
