TenantAtlas/specs/027-enrollment-config-subtypes/tasks.md
2026-01-04 12:40:39 +01:00

1.1 KiB

Tasks: Enrollment Configuration Subtypes (027)

Branch: feat/027-enrollment-config-subtypes
Date: 2026-01-04
Input: spec.md, plan.md

Phase 1: Setup

  • T001 Create spec/plan/tasks and checklist.

Phase 2: Research & Design

  • T002 Confirm @odata.type for each subtype and whether Graph supports assignments.
  • T003 Decide restore modes and risk levels.

Phase 3: Tests (TDD)

  • T004 Add sync tests ensuring each subtype is classified correctly.
  • T005 Add snapshot capture test for at least one subtype.
  • T006 Add restore preview test ensuring preview-only behavior.

Phase 4: Implementation

  • T007 Add new types to config/tenantpilot.php.
  • T008 Add contracts in config/graph_contracts.php (resource + type families).
  • T009 Update PolicySyncService enrollment classification logic.
  • T010 Add normalizer for readable UI output (key fields per subtype).
  • T013 Hydrate notification templates for enrollment notifications.

Phase 5: Verification

  • T011 Run targeted tests.
  • T012 Run Pint (./vendor/bin/pint --dirty).