TenantAtlas/specs/016-backup-version-reuse/tasks.md
Ahmed Darrazi 1145e45fb9 feat: always capture policy when adding to backup
Admin-first: always run orchestrated capture when adding policies to a backup set so backups reflect current Intune state. Still avoids redundant PolicyVersion growth via orchestrator snapshot-hash reuse. Adds feature tests and updates spec/plan/tasks.
2026-01-02 15:32:00 +01:00

591 B

Tasks: Backup Version Reuse (016)

Branch: 016-backup-version-reuse | Date: 2026-01-02 Input: spec.md, plan.md

Phase 1: Setup

  • T001 Create spec/plan/tasks and checklist.

Phase 2: Tests (TDD)

  • T002 Add tests for reusing an existing suitable PolicyVersion.
  • T003 Add tests for capturing a new PolicyVersion when reuse is not possible.

Phase 3: Core

  • T004 Implement reuse decision + reuse path in BackupService.

Phase 4: Verification

  • T005 Run targeted tests.
  • T006 Run Pint (./vendor/bin/pint --dirty).