TenantAtlas/specs/332-product-process-flow-system-v1/tasks.md
ahmido 3bbea1bd00 feat: productize restore wizard preview safety gates and process flow (#399)
## Summary
- productize the restore wizard preview safety gates and process-flow guidance for Spec 332
- add the restore create presenter plus new process-flow, proof, scope, and safety partials
- extend restore wizard feature, smoke, screenshot, and presenter coverage
- include the Spec 332 artifacts for spec, plan, and tasks

## Notes
- branch head was already pushed before PR creation
- working tree was clean when this PR was opened

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #399
2026-05-26 00:08:25 +00:00

50 lines
2.5 KiB
Markdown

# Tasks: Spec 332 - Product Process Flow System v1
**Input**: `specs/332-product-process-flow-system-v1/spec.md`, `specs/332-product-process-flow-system-v1/plan.md`
## Reconciliation
- [x] Keep only one Spec 332 directory in the repo: `specs/332-product-process-flow-system-v1`.
- [x] Document that Spec 332 was reconciled from the narrower `restore-run-preview-productization` path into the intended Product Process Flow scope.
## Phase 1: Product Process Flow pattern
- [x] Reuse existing restore safety, preview integrity, execution readiness, and backup quality state as the Product Process Flow source of truth.
- [x] Add the shared Step 1 full-flow presentation for Restore Run Create.
- [x] Add the shared compact later-step safety status presentation.
## Phase 2: Restore Run wizard contract
- [x] Step 1 renders Restore Safety decision card.
- [x] Step 1 renders backup selector plus backup quality summary.
- [x] Step 1 renders the full vertical `Restore safety gates` flow.
- [x] Step 1 renders Restore Proof aside with diagnostics collapsed.
- [x] Step 2+ render compact Restore Safety Status instead of the full gate flow by default.
- [x] Step 2 hides mapping details by default and only reveals an explicit `Resolve target mappings` resolver when opened.
- [x] Step 2 resolver shows progress copy and blocks Next until required mappings are resolved.
- [x] Step 2 group mapping picker uses task-specific cache-empty guidance and source-group context instead of generic directory-cache empty copy.
- [x] Step 3 blocks Next when validation blockers exist.
- [x] Step 4 remains decision-first and reflects actual gate state.
- [x] Step 5 remains high-friction before execution.
- [x] No false recovery-proof claims appear before execution/post-run evidence exists.
## Phase 3: Tests + formatting
- [x] Add/update feature tests for:
- only one Spec 332 directory exists
- Step 1 full Product Process Flow
- Step 1 usable source gate truthfulness
- Step 2 compact safety status
- Step 2 explicit resolver mode and blocked progression
- Step 2 empty group-picker productized empty state
- Step 3 blocked progression
- Step 4 truthful preview copy
- Restore Proof persistence
- diagnostics collapsed
- no false recovery-proof claims
- [x] Add/update browser smoke for Step 1, Step 2 default, Step 2 resolver, Step 2 empty picker, Step 3 blocked, and Step 4 preview.
- [x] Run targeted Spec 332 and Restore Run create wizard tests.
- [x] Run browser smoke.
- [x] Run `pint --dirty`.
- [x] Run `git diff --check`.