TenantAtlas/specs/332-restore-run-preview-productization/tasks.md

1.1 KiB

Tasks: Spec 332 - Restore Run Preview Productization (Wizard Safety Gates)

Input: specs/332-restore-run-preview-productization/spec.md, specs/332-restore-run-preview-productization/plan.md

Phase 1: Restore parked WIP

  • Base work on updated platform-dev (done by branching from platform-dev).
  • Restore parked 332 WIP changes (applied from stash).

Phase 2: Implement wizard gating + preview productization

  • Add Preview-step afterValidation gate to block navigation when checks/preview are not current or execution is technically blocked.
  • Improve preview generated toast copy (no scope / no changes / changes).
  • Ensure preview surface stays decision-first and safety gates are collapsed by default.
  • Add next-action copy for review_and_confirm.

Phase 3: Tests + formatting

  • Add feature regression test: apps/platform/tests/Feature/Filament/RestoreRunPreviewProductizationTest.php.
  • Add browser smoke: apps/platform/tests/Browser/Spec332RestoreRunWizardPreviewSmokeTest.php.
  • Run targeted restore tests.
  • Run browser smoke test.
  • Run pint and git diff --check.