{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ClassNotify P2.5 Canonical GA Gate Manifest",
  "version": "2.5.0",
  "totalGates": 92,
  "passedGates": 92,
  "failedGates": 0,
  "reconciliationTimestampUtc": "2026-09-25T17:50:00Z",
  "summary": {
    "RC1-1": { "range": "FV1-FV10", "count": 10, "passed": 10, "suite": "ClassNotify.FleetTests.Program" },
    "RC1-2": { "range": "SCB1-SCB15", "count": 15, "passed": 15, "suite": "SelfCheckBatchTests" },
    "RC1-3_Phase1": { "range": "P1-1-P1-10", "count": 10, "passed": 10, "suite": "SupportBundlePhase1Tests" },
    "RC1-3_Phase2": { "range": "P2-1-P2-14+P2-10B", "count": 15, "passed": 15, "suite": "SupportBundlePhase2Tests" },
    "RC1-3_Phase3": { "range": "P3-1-P3-12", "count": 12, "passed": 12, "suite": "SupportBundlePhase3Tests" },
    "RC1-4_Phase1": { "range": "U1-U10", "count": 10, "passed": 10, "suite": "DeviceUpdatePhase1Tests" },
    "RC1-4_Phase2": { "range": "U11-U20", "count": 10, "passed": 10, "suite": "DeviceUpdatePhase2Tests" },
    "RC1-4_Phase3": { "range": "U21-U30", "count": 10, "passed": 10, "suite": "DeviceUpdatePhase3Tests" }
  },
  "gates": [
    { "gateId": "FV1", "milestone": "RC1-1", "requirement": "Current Evaluation (2.5.0 / 2.5.0 / Proto 2 -> Current)", "method": "Test_FV1_Current", "source": "tests/ClassNotify.FleetTests/Program.cs", "status": "PASS" },
    { "gateId": "FV2", "milestone": "RC1-1", "requirement": "Outdated Evaluation (2.4.0 / 2.4.0 / Proto 2 -> Outdated)", "method": "Test_FV2_Outdated", "source": "tests/ClassNotify.FleetTests/Program.cs", "status": "PASS" },
    { "gateId": "FV3", "milestone": "RC1-1", "requirement": "Unsupported Evaluation (2.1.0 / 2.5.0 / Proto 2 -> Unsupported)", "method": "Test_FV3_Unsupported", "source": "tests/ClassNotify.FleetTests/Program.cs", "status": "PASS" },
    { "gateId": "FV4", "milestone": "RC1-1", "requirement": "Unknown Evaluation (ServiceVersion = NULL -> Unknown)", "method": "Test_FV4_Unknown", "source": "tests/ClassNotify.FleetTests/Program.cs", "status": "PASS" },
    { "gateId": "FV5", "milestone": "RC1-1", "requirement": "Protocol Check (Proto 1 < Minimum 2 -> Unsupported)", "method": "Test_FV5_Protocol", "source": "tests/ClassNotify.FleetTests/Program.cs", "status": "PASS" },
    { "gateId": "FV6", "milestone": "RC1-1", "requirement": "Fleet Summary Invariant (Current + Outdated + Unsupported + Unknown == Total)", "method": "Test_FV6_SummaryInvariant", "source": "tests/ClassNotify.FleetTests/Program.cs", "status": "PASS" },
    { "gateId": "FV7", "milestone": "RC1-1", "requirement": "RBAC Access Control (Anon 401, Teacher 403, SchoolAdmin 403, SuperAdmin 200)", "method": "Test_FV7_RbacSecurity", "source": "tests/ClassNotify.FleetTests/Program.cs", "status": "PASS" },
    { "gateId": "FV8", "milestone": "RC1-1", "requirement": "Observe-Only Execution Invariant (Unsupported device remains unblocked)", "method": "Test_FV8_ObserveOnlyInvariant", "source": "tests/ClassNotify.FleetTests/Program.cs", "status": "PASS" },
    { "gateId": "FV9", "milestone": "RC1-1", "requirement": "Fleet Device Query Filtering (?status=Unsupported, tenantId, online)", "method": "Test_FV9_QueryFiltering", "source": "tests/ClassNotify.FleetTests/Program.cs", "status": "PASS" },
    { "gateId": "FV10", "milestone": "RC1-1", "requirement": "Zero Mutation Invariant (Read-only endpoints produce 0 audits and 0 mutations)", "method": "Test_FV10_ZeroMutation", "source": "tests/ClassNotify.FleetTests/Program.cs", "status": "PASS" },

    { "gateId": "SCB1", "milestone": "RC1-2", "requirement": "Batch Creation (20 devices -> 1 batch, 20 unique runs, target=20)", "method": "Test_SCB1_BatchCreation", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB2", "milestone": "RC1-2", "requirement": "Idempotency (same ClientRequestId returns existing batch, 0 duplicate)", "method": "Test_SCB2_Idempotency", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB3", "milestone": "RC1-2", "requirement": "RBAC Access Control (Anon 401, Teacher 403, SchoolAdmin 403, SuperAdmin 200)", "method": "Test_SCB3_RBAC", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB4", "milestone": "RC1-2", "requirement": "Audit Transaction (Atomic audit insertion & rollback guarantee)", "method": "Test_SCB4_AuditTransaction", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB5", "milestone": "RC1-2", "requirement": "Tenant-Qualified Isolation (Runs preserve tenant boundary across schools)", "method": "Test_SCB5_TenantQualifiedIsolation", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB6", "milestone": "RC1-2", "requirement": "Bounded Concurrency (Bounded parallel dispatch queue)", "method": "Test_SCB6_BoundedConcurrency", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB7", "milestone": "RC1-2", "requirement": "Server Restart Recovery (PendingDispatch picked up after restart)", "method": "Test_SCB7_ServerRestartRecovery", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB8", "milestone": "RC1-2", "requirement": "Offline Truthfulness (Offline device -> Unreachable, null OverallStatus)", "method": "Test_SCB8_OfflineTruthfulness", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB9", "milestone": "RC1-2", "requirement": "Result Authorization (Device A posting Device B run -> 403 Forbidden)", "method": "Test_SCB9_ResultAuthorization", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB10", "milestone": "RC1-2", "requirement": "Result Idempotency (First-wins & duplicate idempotent rejection)", "method": "Test_SCB10_ResultIdempotency", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB11", "milestone": "RC1-2", "requirement": "Timeout Terminal State (Late result rejected with RunExpired)", "method": "Test_SCB11_TimeoutTerminalState", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB12", "milestone": "RC1-2", "requirement": "Aggregation Conservation (Pending + Healthy + Warn + Fail + Unreach + Timeout == Target)", "method": "Test_SCB12_AggregationConservation", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB13", "milestone": "RC1-2", "requirement": "Probe Drill-down (probe=ipc_pipe&health=Failed returns exact matching subset)", "method": "Test_SCB13_ProbeDrillDown", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB14", "milestone": "RC1-2", "requirement": "Partial Failure (Mixed health states accurately aggregated in summary & probes)", "method": "Test_SCB14_PartialFailure", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },
    { "gateId": "SCB15", "milestone": "RC1-2", "requirement": "No Control Side Effects (Observe-only self check, zero destructive commands)", "method": "Test_SCB15_NoControlSideEffects", "source": "tests/ClassNotify.FleetTests/SelfCheckBatchTests.cs", "status": "PASS" },

    { "gateId": "P1-1", "milestone": "RC1-3_Phase1", "requirement": "Migration & Schema (Table, FKs, Indexes, Status CHECK, Active Partial Unique)", "method": "Test_P1_1_Migration", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase1Tests.cs", "status": "PASS" },
    { "gateId": "P1-2", "milestone": "RC1-3_Phase1", "requirement": "Authorization (Anon 401, Teacher 403, SchoolAdmin Cross-Tenant 403, Same-Tenant 202, SuperAdmin 202)", "method": "Test_P1_2_Authorization", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase1Tests.cs", "status": "PASS" },
    { "gateId": "P1-3", "milestone": "RC1-3_Phase1", "requirement": "Transaction Audit (Atomic audit insert & rollback guarantee on audit failure)", "method": "Test_P1_3_TransactionAudit", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase1Tests.cs", "status": "PASS" },
    { "gateId": "P1-4", "milestone": "RC1-3_Phase1", "requirement": "Sequential Idempotency (Same ClientRequestId returns same Bundle, 1 DB row, 1 audit)", "method": "Test_P1_4_SequentialIdempotency", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase1Tests.cs", "status": "PASS" },
    { "gateId": "P1-5", "milestone": "RC1-3_Phase1", "requirement": "Concurrent Idempotency (Parallel WhenAll double-click -> same Bundle, 1 DB row, 0 HTTP 500)", "method": "Test_P1_5_ConcurrentIdempotency", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase1Tests.cs", "status": "PASS" },
    { "gateId": "P1-6", "milestone": "RC1-3_Phase1", "requirement": "One Active Bundle (Same device concurrent/duplicate -> 1x 202, 1x 409 SupportBundleAlreadyRunning)", "method": "Test_P1_6_OneActiveBundle", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase1Tests.cs", "status": "PASS" },
    { "gateId": "P1-7", "milestone": "RC1-3_Phase1", "requirement": "Tenant Isolation (Only t:{tenantId}:d:{deviceId} receives command; cross-tenant 0)", "method": "Test_P1_7_TenantIsolation", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase1Tests.cs", "status": "PASS" },
    { "gateId": "P1-8", "milestone": "RC1-3_Phase1", "requirement": "Offline Truthfulness (Offline stays PendingDispatch, backoff retry, past deadline -> TimedOut, no fake state)", "method": "Test_P1_8_OfflineTruthfulness", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase1Tests.cs", "status": "PASS" },
    { "gateId": "P1-9", "milestone": "RC1-3_Phase1", "requirement": "Restart Recovery (PendingDispatch survives server restart and resumes dispatch to Collecting)", "method": "Test_P1_9_RestartRecovery", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase1Tests.cs", "status": "PASS" },
    { "gateId": "P1-10", "milestone": "RC1-3_Phase1", "requirement": "No Premature Storage (StoragePath/Sha256/SizeBytes/ExpiresAtUtc == null, 0 ZIP files generated)", "method": "Test_P1_10_NoPrematureStorage", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase1Tests.cs", "status": "PASS" },

    { "gateId": "P2-1", "milestone": "RC1-3_Phase2", "requirement": "Collection Schema (4 strict allowlisted files: manifest, runtime, selfcheck, events)", "method": "Test_P2_1_CollectionSchema", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-2", "milestone": "RC1-3_Phase2", "requirement": "Max Size Cap (Client collector rejects bundle exceeding size cap)", "method": "Test_P2_2_MaxSizeCap", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-3", "milestone": "RC1-3_Phase2", "requirement": "Upload Authorization (SB4: Anon 401, Invalid 401, Cross-Device 403, Cross-Tenant 403, Matching 200)", "method": "Test_P2_3_UploadAuthorization", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-4", "milestone": "RC1-3_Phase2", "requirement": "Content Allowlist (SB5: 5th unexpected entry, invalid files, or corrupt zip rejected with 400)", "method": "Test_P2_4_ContentAllowlist", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-5", "milestone": "RC1-3_Phase2", "requirement": "Secret Injection Guard (SB6: Zero occurrences of canary secrets in generated zip)", "method": "Test_P2_5_SecretInjectionGuard", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-6", "milestone": "RC1-3_Phase2", "requirement": "Server Streaming Size Limit (SB7: Reject stream > 5 MiB with HTTP 413 Payload Too Large)", "method": "Test_P2_6_ServerStreamingSizeLimit", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-7", "milestone": "RC1-3_Phase2", "requirement": "Malicious Traversal Guard (SB8: Reject ../evil.exe, subfolders, colons with 400 InvalidZip)", "method": "Test_P2_7_MaliciousTraversalGuard", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-8", "milestone": "RC1-3_Phase2", "requirement": "Compression Bomb Guard (Reject uncompressed size > 10 MiB with 400 ExpandedSizeExceeded)", "method": "Test_P2_8_CompressionBombGuard", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-9", "milestone": "RC1-3_Phase2", "requirement": "Manifest Binding (Route ID, Authenticated Device, FormatVersion=1 mismatch rejected with 400)", "method": "Test_P2_9_ManifestBinding", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-10", "milestone": "RC1-3_Phase2", "requirement": "Concurrent Upload First-Wins (SB9: Simultaneous uploads produce 1 DB winner, loser gets 409)", "method": "Test_P2_10_ConcurrentUploadFirstWins", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-10B", "milestone": "RC1-3_Phase2", "requirement": "Same-Content Concurrent Upload (Identical uploads both succeed and preserve canonical file)", "method": "Test_P2_10B_SameContentConcurrentUpload", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-11", "milestone": "RC1-3_Phase2", "requirement": "TimedOut Terminal (Late upload cannot turn TimedOut or Failed into Available -> 409 Conflict)", "method": "Test_P2_11_TimedOutTerminal", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-12", "milestone": "RC1-3_Phase2", "requirement": "Collection Failure (Device reports failure -> Collecting to Failed, cannot revive)", "method": "Test_P2_12_CollectionFailure", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-13", "milestone": "RC1-3_Phase2", "requirement": "Private Storage (Stored in private non-wwwroot directory, static URL returns 404)", "method": "Test_P2_13_PrivateStorage", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },
    { "gateId": "P2-14", "milestone": "RC1-3_Phase2", "requirement": "Zero Notification Impact (Core notification & heartbeat flows completely unharmed)", "method": "Test_P2_14_ZeroNotificationImpact", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase2Tests.cs", "status": "PASS" },

    { "gateId": "P3-1", "milestone": "RC1-3_Phase3", "requirement": "Status RBAC (Anon 401, Teacher 403, SchoolAdmin Cross 403, SchoolAdmin Same 200, SuperAdmin 200, No Physical Path in DTO)", "method": "Test_P3_1_StatusRbac", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },
    { "gateId": "P3-2", "milestone": "RC1-3_Phase3", "requirement": "Download RBAC (Anon 401, Teacher 403, SchoolAdmin Cross 403, SchoolAdmin Same 200, SuperAdmin 200)", "method": "Test_P3_2_DownloadRbac", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },
    { "gateId": "P3-3", "milestone": "RC1-3_Phase3", "requirement": "Valid Download (Available & unexpired returns 200, application/zip, matches DB SHA256 and content)", "method": "Test_P3_3_ValidDownload", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },
    { "gateId": "P3-4", "milestone": "RC1-3_Phase3", "requirement": "Non-ready States (PendingDispatch -> 409, Collecting -> 409, Failed -> 409)", "method": "Test_P3_4_NonReadyStates", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },
    { "gateId": "P3-5", "milestone": "RC1-3_Phase3", "requirement": "Expiration Enforcement (ExpiresAtUtc <= now returns 410 Gone even if file on disk)", "method": "Test_P3_5_ExpirationEnforcement", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },
    { "gateId": "P3-6", "milestone": "RC1-3_Phase3", "requirement": "Cleanup Success (Available + expired -> worker deletes file, verifies missing, updates DB Available -> Expired, StoragePath = null)", "method": "Test_P3_6_CleanupSuccess", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },
    { "gateId": "P3-7", "milestone": "RC1-3_Phase3", "requirement": "Cleanup Failure Retry (Delete failure -> DB remains Available, StoragePath preserved, download 410, next worker cycle retries)", "method": "Test_P3_7_CleanupFailureRetry", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },
    { "gateId": "P3-8", "milestone": "RC1-3_Phase3", "requirement": "Path Confinement (DB StoragePath with ../../etc/passwd, absolute paths, or outside root -> download rejected with 400/403)", "method": "Test_P3_8_PathConfinement", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },
    { "gateId": "P3-9", "milestone": "RC1-3_Phase3", "requirement": "Download Audit (Successful download records 1 SUPPORT_BUNDLE_DOWNLOADED in AdminAuditEvents; cross-tenant/failed does not)", "method": "Test_P3_9_DownloadAudit", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },
    { "gateId": "P3-10", "milestone": "RC1-3_Phase3", "requirement": "Conservative Orphan Cleanup (Only system-named sb_*.zip aged >24h with 0 DB refs deleted; unknown files and tmp/ preserved)", "method": "Test_P3_10_ConservativeOrphanCleanup", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },
    { "gateId": "P3-11", "milestone": "RC1-3_Phase3", "requirement": "UI State Recovery (GET /api/admin/devices/{deviceId}/support-bundles?take=1 restores Collecting / Available state)", "method": "Test_P3_11_UiStateRecovery", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },
    { "gateId": "P3-12", "milestone": "RC1-3_Phase3", "requirement": "Zero Regression (All 50 prior tests FV1-10, SCB1-15, P1-1-10, P2-1-14 + P2-10B continue to PASS)", "method": "Test_P3_12_ZeroRegression", "source": "tests/ClassNotify.FleetTests/SupportBundlePhase3Tests.cs", "status": "PASS" },

    { "gateId": "U1", "milestone": "RC1-4_Phase1", "requirement": "Release Integrity (Corrupted byte / signature / hash mismatch rejected)", "method": "Test_U1_ReleaseIntegrity", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase1Tests.cs", "status": "PASS" },
    { "gateId": "U2", "milestone": "RC1-4_Phase1", "requirement": "Wrong Architecture (Mismatched architecture rejected fail-closed)", "method": "Test_U2_WrongArchitecture", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase1Tests.cs", "status": "PASS" },
    { "gateId": "U3", "milestone": "RC1-4_Phase1", "requirement": "RBAC Access Control (Anon 401, Teacher 403, SchoolAdmin 403, SuperAdmin 202)", "method": "Test_U3_RbacAccessControl", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase1Tests.cs", "status": "PASS" },
    { "gateId": "U4", "milestone": "RC1-4_Phase1", "requirement": "Tenant-qualified Dispatch (Strict device and tenant isolation)", "method": "Test_U4_TenantQualifiedDispatch", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase1Tests.cs", "status": "PASS" },
    { "gateId": "U5", "milestone": "RC1-4_Phase1", "requirement": "One Active Update (Concurrency Protection & 409 Conflict & Idempotency)", "method": "Test_U5_OneActiveUpdate", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase1Tests.cs", "status": "PASS" },
    { "gateId": "U6", "milestone": "RC1-4_Phase1", "requirement": "Restart Recovery & Offline Scheduling (Pending runs resume dispatch)", "method": "Test_U6_RestartRecovery", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase1Tests.cs", "status": "PASS" },
    { "gateId": "U7", "milestone": "RC1-4_Phase1", "requirement": "Identity Preservation (ProgramData credentials untouched across binary update)", "method": "Test_U7_IdentityPreservation", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase1Tests.cs", "status": "PASS" },
    { "gateId": "U8", "milestone": "RC1-4_Phase1", "requirement": "Version Transition (Heartbeat 2.6.0 transitions Outdated -> Current)", "method": "Test_U8_VersionTransition", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase1Tests.cs", "status": "PASS" },
    { "gateId": "U9", "milestone": "RC1-4_Phase1", "requirement": "Post-Update Health Verification (Comprehensive self-check reports Healthy)", "method": "Test_U9_HealthVerification", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase1Tests.cs", "status": "PASS" },
    { "gateId": "U10", "milestone": "RC1-4_Phase1", "requirement": "Notification Regression (Core broadcast & ACK verified post-update)", "method": "Test_U10_NotificationRegression", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase1Tests.cs", "status": "PASS" },

    { "gateId": "U11", "milestone": "RC1-4_Phase2", "requirement": "Backup Integrity (SHA256 manifest; corrupted backup fails closed without touching target)", "method": "Test_U11_BackupIntegrity", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase2Tests.cs", "status": "PASS" },
    { "gateId": "U12", "milestone": "RC1-4_Phase2", "requirement": "Exact Restore (Rollback deletes unmanifested bad files like BadOnly.dll and matches manifest 100%)", "method": "Test_U12_ExactRestore", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase2Tests.cs", "status": "PASS" },
    { "gateId": "U13", "milestone": "RC1-4_Phase2", "requirement": "Service Start Failure Rollback (Scenario A: Bad service failing to start triggers rollback to old version)", "method": "Test_U13_ServiceStartFailureRollback", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase2Tests.cs", "status": "PASS" },
    { "gateId": "U14", "milestone": "RC1-4_Phase2", "requirement": "Post-update Critical Health Failure (Scenario B: Silent bad version with dead IPC/WPF triggers rollback)", "method": "Test_U14_PostUpdateHealthFailureRollback", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase2Tests.cs", "status": "PASS" },
    { "gateId": "U15", "milestone": "RC1-4_Phase2", "requirement": "Crash Loop Rollback (Scenario A: >=3 crashes in 60s triggers crash loop detection and rollback)", "method": "Test_U15_CrashLoopRollback", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase2Tests.cs", "status": "PASS" },
    { "gateId": "U16", "milestone": "RC1-4_Phase2", "requirement": "Identity Preservation Through Rollback (DeviceId, Token, TenantId, ClassroomId untouched)", "method": "Test_U16_IdentityPreservation", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase2Tests.cs", "status": "PASS" },
    { "gateId": "U17", "milestone": "RC1-4_Phase2", "requirement": "Rollback Health Verification (Heartbeat, Service, and Notification+TTS+ACK loop succeed)", "method": "Test_U17_RollbackHealthVerification", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase2Tests.cs", "status": "PASS" },
    { "gateId": "U18", "milestone": "RC1-4_Phase2", "requirement": "RollbackFailed Truthfulness (Corrupted backup triggers RollbackFailed, fail-stop, no infinite loop)", "method": "Test_U18_RollbackFailedTruthfulness", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase2Tests.cs", "status": "PASS" },
    { "gateId": "U19", "milestone": "RC1-4_Phase2", "requirement": "Agent / Power Interruption Recovery (Durable journal detects interrupted state and auto-recovers)", "method": "Test_U19_InterruptionRecovery", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase2Tests.cs", "status": "PASS" },
    { "gateId": "U20", "milestone": "RC1-4_Phase2", "requirement": "Network-only Failure Discrimination (Temporary cloud outage does not cause premature rollback)", "method": "Test_U20_NetworkFailureDiscrimination", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase2Tests.cs", "status": "PASS" },

    { "gateId": "U21", "milestone": "RC1-4_Phase3", "requirement": "Batch RBAC Security (Anon 401, Teacher 403, SchoolAdmin 403, SuperAdmin 202)", "method": "Test_U21_BatchRbacSecurity", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase3Tests.cs", "status": "PASS" },
    { "gateId": "U22", "milestone": "RC1-4_Phase3", "requirement": "Batch Scope & Boundary Enforcement (1~5 devices, single tenant, canary required)", "method": "Test_U22_BatchScopeEnforcement", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase3Tests.cs", "status": "PASS" },
    { "gateId": "U23", "milestone": "RC1-4_Phase3", "requirement": "Batch Idempotency & Repeat Protection (Same ClientRequestId returns existing batch)", "method": "Test_U23_BatchIdempotency", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase3Tests.cs", "status": "PASS" },
    { "gateId": "U24", "milestone": "RC1-4_Phase3", "requirement": "Canary Isolation & Dispatch Gate (Only Canary released, others Held with 0 commands)", "method": "Test_U24_CanaryIsolation", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase3Tests.cs", "status": "PASS" },
    { "gateId": "U25", "milestone": "RC1-4_Phase3", "requirement": "Canary Failure Automatic Batch Stop (Canary RolledBack/Failed stops batch immediately)", "method": "Test_U25_CanaryFailureStop", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase3Tests.cs", "status": "PASS" },
    { "gateId": "U26", "milestone": "RC1-4_Phase3", "requirement": "Canary Succeeded & Manual Continue (Only SuperAdmin can continue, releasing held devices)", "method": "Test_U26_ManualContinue", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase3Tests.cs", "status": "PASS" },
    { "gateId": "U27", "milestone": "RC1-4_Phase3", "requirement": "Stop Safety & In-Flight Protection (Stopped batch prevents new runs, in-flight safe)", "method": "Test_U27_StopSafety", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase3Tests.cs", "status": "PASS" },
    { "gateId": "U28", "milestone": "RC1-4_Phase3", "requirement": "Mixed Outcome Truthfulness & Dynamic Summary Invariant (RolledBack != Succeeded)", "method": "Test_U28_DynamicSummaryInvariant", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase3Tests.cs", "status": "PASS" },
    { "gateId": "U29", "milestone": "RC1-4_Phase3", "requirement": "Server Restart & State Durability (DB durability, seamless continue across restart)", "method": "Test_U29_RestartDurability", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase3Tests.cs", "status": "PASS" },
    { "gateId": "U30", "milestone": "RC1-4_Phase3", "requirement": "Full End-to-End Regression & Dual Scenarios (Scenario 1 Good Rollout + Scenario 2 Bad Canary Stop)", "method": "Test_U30_FullDualScenarios", "source": "tests/ClassNotify.FleetTests/DeviceUpdatePhase3Tests.cs", "status": "PASS" }
  ]
}
