# Tasks: Apps (Mobile Apps) Metadata-Only + Assignments (008) **Branch**: `feat/008-apps-app-management` | **Date**: 2025-12-29 **Input**: [spec.md](./spec.md), [plan.md](./plan.md) ## Phase 1: Contracts and Safety Gates - [ ] T001 Expand `mobileApp` Graph contract in `config/graph_contracts.php` (assignments endpoints + payload key + type family). ## Phase 2: Snapshot Capture (Metadata-Only) - [ ] T002 Enforce metadata-only snapshot capture for apps in `app/Services/Intune/PolicySnapshotService.php`. ## Phase 3: Tests and Verification - [ ] T003 Add contract coverage tests in `tests/Unit/GraphContractRegistryActualDataTest.php`. - [ ] T004 Add snapshot filtering tests in `tests/Unit/PolicySnapshotServiceTest.php`. - [ ] T005 Run tests: `./vendor/bin/sail artisan test tests/Unit/GraphContractRegistryActualDataTest.php tests/Unit/PolicySnapshotServiceTest.php` - [ ] T006 Run Pint: `./vendor/bin/pint --dirty`