diff --git a/.planning/phases/06-new-backends/06-VALIDATION.md b/.planning/phases/06-new-backends/06-VALIDATION.md index 18fff78..bc9f0df 100644 --- a/.planning/phases/06-new-backends/06-VALIDATION.md +++ b/.planning/phases/06-new-backends/06-VALIDATION.md @@ -1,10 +1,11 @@ --- phase: 6 slug: new-backends -status: draft -nyquist_compliant: false -wave_0_complete: false +status: complete +nyquist_compliant: true +wave_0_complete: true created: 2026-03-30 +audited: 2026-03-31 --- # Phase 6 — Validation Strategy @@ -38,14 +39,14 @@ created: 2026-03-30 | Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status | |---------|------|------|-------------|-----------|-------------------|-------------|--------| -| 06-W0-01 | W0 | 0 | BACK-01..04 | unit | `npx vitest run src/schemas/registry.test.ts` | ❌ W0 | ⬜ pending | -| 06-W0-02 | W0 | 0 | BACK-01..04 | unit | `npx vitest run src/generators/rclone-conf.test.ts` | ❌ W0 | ⬜ pending | -| 06-W0-03 | W0 | 0 | BACK-01..04 | unit | `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx` | ❌ W0 | ⬜ pending | -| 06-01-01 | 01 | 1 | BACK-01 | unit | `npx vitest run src/schemas/registry.test.ts src/generators/rclone-conf.test.ts` | ❌ W0 | ⬜ pending | -| 06-01-02 | 01 | 1 | BACK-02 | unit | `npx vitest run src/schemas/registry.test.ts src/generators/rclone-conf.test.ts src/components/wizard/RemoteConfigStep.test.tsx` | ❌ W0 | ⬜ pending | -| 06-01-03 | 01 | 1 | BACK-03 | unit | `npx vitest run src/schemas/registry.test.ts src/generators/rclone-conf.test.ts` | ❌ W0 | ⬜ pending | -| 06-01-04 | 01 | 1 | BACK-04 | unit | `npx vitest run src/schemas/registry.test.ts src/generators/rclone-conf.test.ts` | ❌ W0 | ⬜ pending | -| 06-02-01 | 02 | 2 | BACK-01..04 | unit | `npx vitest run` | ✅ | ⬜ pending | +| 06-W0-01 | W0 | 0 | BACK-01..04 | unit | `npx vitest run src/schemas/registry.test.ts` | ✅ | ✅ green | +| 06-W0-02 | W0 | 0 | BACK-01..04 | unit | `npx vitest run src/generators/rclone-conf.test.ts` | ✅ | ✅ green | +| 06-W0-03 | W0 | 0 | BACK-01..04 | unit | `npx vitest run src/components/wizard/RemoteConfigStep.test.tsx` | ✅ | ✅ green | +| 06-01-01 | 01 | 1 | BACK-01 | unit | `npx vitest run src/schemas/registry.test.ts src/generators/rclone-conf.test.ts` | ✅ | ✅ green | +| 06-01-02 | 01 | 1 | BACK-02 | unit | `npx vitest run src/schemas/registry.test.ts src/generators/rclone-conf.test.ts src/components/wizard/RemoteConfigStep.test.tsx` | ✅ | ✅ green | +| 06-01-03 | 01 | 1 | BACK-03 | unit | `npx vitest run src/schemas/registry.test.ts src/generators/rclone-conf.test.ts` | ✅ | ✅ green | +| 06-01-04 | 01 | 1 | BACK-04 | unit | `npx vitest run src/schemas/registry.test.ts src/generators/rclone-conf.test.ts` | ✅ | ✅ green | +| 06-02-01 | 02 | 2 | BACK-01..04 | unit | `npx vitest run` | ✅ | ✅ green | *Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* @@ -53,9 +54,9 @@ created: 2026-03-30 ## Wave 0 Requirements -- [ ] `src/schemas/registry.test.ts` — update `EXPECTED_BACKENDS` to include all 7 backends; add SFTP assertions (host, user, pass, key_pem); add B2 (account, key); add GCS (project_number, service_account_credentials); add OneDrive (token, drive_id, drive_type) -- [ ] `src/generators/rclone-conf.test.ts` — add fixtures for onedrive, sftp (password), sftp (key), gcs, b2; assert type string and key fields; assert gcs produces `type = google cloud storage` (with spaces) -- [ ] `src/components/wizard/RemoteConfigStep.test.tsx` — add describe blocks for BACK-01 (OneDrive), BACK-02 (SFTP with toggle assertions), BACK-03 (GCS), BACK-04 (B2) using existing `renderWithBackend` helper +- [x] `src/schemas/registry.test.ts` — update `EXPECTED_BACKENDS` to include all 7 backends; add SFTP assertions (host, user, pass, key_pem); add B2 (account, key); add GCS (project_number, service_account_credentials); add OneDrive (token, drive_id, drive_type) +- [x] `src/generators/rclone-conf.test.ts` — add fixtures for onedrive, sftp (password), sftp (key), gcs, b2; assert type string and key fields; assert gcs produces `type = google cloud storage` (with spaces) +- [x] `src/components/wizard/RemoteConfigStep.test.tsx` — add describe blocks for BACK-01 (OneDrive), BACK-02 (SFTP with toggle assertions), BACK-03 (GCS), BACK-04 (B2) using existing `renderWithBackend` helper --- @@ -70,11 +71,23 @@ created: 2026-03-30 ## 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 < 15s -- [ ] `nyquist_compliant: true` set in frontmatter +- [x] All tasks have `` verify or Wave 0 dependencies +- [x] Sampling continuity: no 3 consecutive tasks without automated verify +- [x] Wave 0 covers all MISSING references +- [x] No watch-mode flags +- [x] Feedback latency < 15s +- [x] `nyquist_compliant: true` set in frontmatter -**Approval:** pending +**Approval:** 2026-03-31 — full suite 159/159 green + +--- + +## Validation Audit 2026-03-31 + +| Metric | Count | +|--------|-------| +| Gaps found | 8 | +| Resolved | 8 | +| Escalated | 0 | + +All 8 tasks verified green. 88/88 targeted tests pass. Full suite 159/159 green.