# Tasks: Scripts Management (013) **Branch**: `013-scripts-management` | **Date**: 2026-01-01 **Input**: [spec.md](./spec.md), [plan.md](./plan.md) ## Phase 1: Contracts Review - [ ] T001 Verify `config/graph_contracts.php` entries for `deviceManagementScript`, `deviceShellScript`, `deviceHealthScript` (resource, type_family, assignment payload key). ## Phase 2: UI Normalization - [ ] T002 Add a `ScriptsPolicyNormalizer` (or equivalent) to produce readable normalized settings for the three script policy types. - [ ] T003 Register the normalizer in `AppServiceProvider`. ## Phase 3: Tests + Verification - [ ] T004 Add tests for normalized output (shape + stability) for each script policy type. - [ ] T005 Add Filament render tests for “Normalized settings” tab for each script policy type. - [ ] T006 Run targeted tests. - [ ] T007 Run Pint (`./vendor/bin/pint --dirty`). ## Open TODOs (Follow-up) - None yet.