TenantAtlas/specs/014-enrollment-autopilot/tasks.md

1.3 KiB

Tasks: Enrollment & Autopilot (014)

Branch: 014-enrollment-autopilot | Date: 2026-01-01 Input: spec.md, plan.md

Phase 1: Contracts Review

  • T001 Verify config/graph_contracts.php entries for:
    • windowsAutopilotDeploymentProfile
    • windowsEnrollmentStatusPage
    • enrollmentRestriction (resource, type_family, create/update methods, assignment paths/payload keys)
  • T002 Verify config/tenantpilot.php entries and restore modes:
    • Autopilot/ESP = enabled
    • Enrollment restrictions = preview-only

Phase 2: UI Normalization

  • T003 Add an EnrollmentAutopilotPolicyNormalizer (or equivalent) that produces readable normalized settings for the three policy types.
  • T004 Register the normalizer in the app container/provider (tag policy-type-normalizers).

Phase 3: Restore Safety

  • T005 Add a feature test verifying enrollmentRestriction restore is preview-only and skipped on execution (no Graph apply calls).

Phase 4: Tests + Verification

  • T006 Add unit tests for normalized output (shape + stability) for the three policy types.
  • T007 Add Filament render tests for “Normalized settings” tab for the three policy types.
  • T008 Run targeted tests.
  • T009 Run Pint (./vendor/bin/pint --dirty).

Open TODOs (Follow-up)

  • None.