{
    "schema_version":  "1.0",
    "project":  "Hospital Executive Dashboard",
    "patch_id":  "H10.13",
    "action":  "APPLY_TEST",
    "status":  "FAIL",
    "run_id":  "20260710_234130_APPLY_TEST",
    "generated_at":  "2026-07-10T20:44:07Z",
    "source_root":  "C:\\xampp\\htdocs\\ddb-new",
    "error":  "Full test failed: FAIL",
    "steps":  [
                  {
                      "status":  "PASS",
                      "phase":  "H10.13",
                      "target_version":  "10.13.0",
                      "generated_at":  "2026-07-10T20:41:30Z",
                      "already_target":  false,
                      "backup_root":  "C:\\xampp\\htdocs\\ddb-new\\_ddb_patch_center_private\\backups\\H10_13_20260710_234130",
                      "payload_files":  18,
                      "guard_policy":  "release_capability_guard_v5",
                      "checks":  [
                                     {
                                         "name":  "baseline_release_version",
                                         "status":  "PASS",
                                         "detail":  "10.12.0 allowed=10.12.0"
                                     },
                                     {
                                         "name":  "baseline_exists_DDB_VERSION.json",
                                         "status":  "PASS",
                                         "detail":  "DDB_VERSION.json"
                                     },
                                     {
                                         "name":  "baseline_exists_public_phase10-9-2-revenue-chart-rendering-qa.php",
                                         "status":  "PASS",
                                         "detail":  "public/phase10-9-2-revenue-chart-rendering-qa.php"
                                     },
                                     {
                                         "name":  "baseline_exists_public_phase10-10-patient-activity-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "public/phase10-10-patient-activity-parity-qa.php"
                                     },
                                     {
                                         "name":  "baseline_exists_public_phase10-11-operations-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "public/phase10-11-operations-parity-qa.php"
                                     },
                                     {
                                         "name":  "baseline_exists_public_phase10-12-lab-radiology-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "public/phase10-12-lab-radiology-parity-qa.php"
                                     },
                                     {
                                         "name":  "baseline_exists_public_assets_js_charts.js",
                                         "status":  "PASS",
                                         "detail":  "public/assets/js/charts.js"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Views_layouts_main.php",
                                         "status":  "PASS",
                                         "detail":  "app/Views/layouts/main.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Repositories_DoctorsRepository.php",
                                         "status":  "PASS",
                                         "detail":  "app/Repositories/DoctorsRepository.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Services_RevenueParityService.php",
                                         "status":  "PASS",
                                         "detail":  "app/Services/RevenueParityService.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Services_PatientActivityParityService.php",
                                         "status":  "PASS",
                                         "detail":  "app/Services/PatientActivityParityService.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Services_OperationsParityService.php",
                                         "status":  "PASS",
                                         "detail":  "app/Services/OperationsParityService.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Services_DiagnosticsParityService.php",
                                         "status":  "PASS",
                                         "detail":  "app/Services/DiagnosticsParityService.php"
                                     },
                                     {
                                         "name":  "baseline_capability_public_phase10-9-2-revenue-chart-rendering-qa.php",
                                         "status":  "PASS",
                                         "detail":  "chart_runtime_asset_loaded"
                                     },
                                     {
                                         "name":  "baseline_capability_public_phase10-10-patient-activity-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "PatientActivityParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_public_phase10-11-operations-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "OperationsParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_public_phase10-12-lab-radiology-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "DiagnosticsParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_public_assets_js_charts.js",
                                         "status":  "PASS",
                                         "detail":  "renderBarCompareChart"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Views_layouts_main.php",
                                         "status":  "PASS",
                                         "detail":  "assets/js/charts.js"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Repositories_DoctorsRepository.php",
                                         "status":  "PASS",
                                         "detail":  "class DoctorsRepository"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Services_RevenueParityService.php",
                                         "status":  "PASS",
                                         "detail":  "class RevenueParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Services_PatientActivityParityService.php",
                                         "status":  "PASS",
                                         "detail":  "class PatientActivityParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Services_OperationsParityService.php",
                                         "status":  "PASS",
                                         "detail":  "class OperationsParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Services_DiagnosticsParityService.php",
                                         "status":  "PASS",
                                         "detail":  "class DiagnosticsParityService"
                                     }
                                 ],
                      "diagnostic_checks":  [
                                                {
                                                    "name":  "baseline_diagnostic_app_Views_operations_module.php",
                                                    "status":  "PASS",
                                                    "detail":  "doctors_chart_data_"
                                                },
                                                {
                                                    "name":  "baseline_diagnostic_app_Repositories_DoctorsRepository.php",
                                                    "status":  "PASS",
                                                    "detail":  "KPI_DOCTOR_PERF_DETAIL_JOB"
                                                },
                                                {
                                                    "name":  "baseline_diagnostic_app_Views_layouts_main.php",
                                                    "status":  "PASS",
                                                    "detail":  "diagnostics-executive-parity.css"
                                                }
                                            ],
                      "post_apply_checks":  [
                                                {
                                                    "name":  "post_apply_target_version",
                                                    "status":  "PASS",
                                                    "detail":  "10.13.0"
                                                },
                                                {
                                                    "name":  "post_apply_payload_DDB_VERSION.json",
                                                    "status":  "PASS",
                                                    "detail":  "4e3c9493b475826fb860bdbbacd3ac8fa15b36ff0d3dd3ade3d270fda3bca20e"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Controllers_DoctorsController.php",
                                                    "status":  "PASS",
                                                    "detail":  "6dedad861255fa9946954a40adb17f8bd35b979a7c0bd89506b79d8323dbde69"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Repositories_DoctorsRepository.php",
                                                    "status":  "PASS",
                                                    "detail":  "74f4db54981616e1b0f4c9372f66c5872871b1ffd35fe8d83aefdb18b5ab3443"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Repositories_LegacyDoctorsRepository.php",
                                                    "status":  "PASS",
                                                    "detail":  "d33759e221edb697de10dfee05dc1ebe7dd7bd7c56bffd6117c51c4bc626b002"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Services_DoctorsParityService.php",
                                                    "status":  "PASS",
                                                    "detail":  "068f574b7e643bc0ba02ebcaacda6e302cebc5aa1aecc9ba9f63b97c63078895"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Views_doctors_index.php",
                                                    "status":  "PASS",
                                                    "detail":  "a6cbd08c902b697517883e59eeb4ef3a933f092db7e5783b9728439a1f134dae"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Views_layouts_main.php",
                                                    "status":  "PASS",
                                                    "detail":  "43a70d78c52383818077b08415009746c17132bcc60c4abbb624995a8f30eb7b"
                                                },
                                                {
                                                    "name":  "post_apply_payload_config_i18n.php",
                                                    "status":  "PASS",
                                                    "detail":  "602225f2b86dff3c7e2b5f9de5310c3e0d56326812d0afc02dda60f72a55fe6e"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_DOCTORS_PARITY_CONTRACT.md",
                                                    "status":  "PASS",
                                                    "detail":  "0db716cd4f8c1e52827024c0a0b14146ebb07e2c51ce67ffc2231bc81d52c26e"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_DOCTORS_PARITY_EVIDENCE_SPEC.md",
                                                    "status":  "PASS",
                                                    "detail":  "02e9a622bf380d00de04cb525c3e85a2780a5c0bf9e2370d13e7105a4ca67f19"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_LEGACY_FUNCTION_MASTER_MATRIX.csv",
                                                    "status":  "PASS",
                                                    "detail":  "dbe4ac0004d72249a2dc3d8c770863276bca2f12d3e0ab3ced8c1354a70304ca"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_LEGACY_ROUTE_MAP.csv",
                                                    "status":  "PASS",
                                                    "detail":  "9ef61dde06f81f015a8dc2c10dab368fc128fa3bfb7be10f3c1dcc83856dc766"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_LEGACY_SOURCE_COVERAGE.md",
                                                    "status":  "PASS",
                                                    "detail":  "6637c8c95fca838fa07a77640196a637da43a9b844a070d6a3ca745ec82feb73"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_LEGACY_SQL_SOURCE_MAP.csv",
                                                    "status":  "PASS",
                                                    "detail":  "b4359fa3d33b93d0948972f0a7f2cecc4f41fdcdc51dc33732b842f8cf2b2506"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_phase10_13_doctors_legacy_parity.md",
                                                    "status":  "PASS",
                                                    "detail":  "c0a37ac558fd4d17576b892b5793ca1f53c19832b475bd2e519e01f7368ab16f"
                                                },
                                                {
                                                    "name":  "post_apply_payload_public_assets_css_doctors-executive-parity.css",
                                                    "status":  "PASS",
                                                    "detail":  "24f793f1f77b32efc1f0c22da74827edde829e9b6a4e6a2ca470424a75be12b2"
                                                },
                                                {
                                                    "name":  "post_apply_payload_public_index.php",
                                                    "status":  "PASS",
                                                    "detail":  "0a1667ab0bfb3a3b2bc909b6dd28ebc942de078975aac4f5743b4f00765f88ea"
                                                },
                                                {
                                                    "name":  "post_apply_payload_public_phase10-13-doctors-parity-qa.php",
                                                    "status":  "PASS",
                                                    "detail":  "1be44193ce32420536459d69d88535472cbb77370a2eb8e7b26cf41a94d8d087"
                                                }
                                            ]
                  },
                  {
                      "status":  "FAIL",
                      "phase":  "H10.13",
                      "generated_at":  "2026-07-10T20:44:07Z",
                      "checks":  [
                                     {
                                         "name":  "target_version_installed",
                                         "status":  "PASS",
                                         "detail":  "10.13.0"
                                     },
                                     {
                                         "name":  "php_syntax_all_files",
                                         "status":  "PASS",
                                         "detail":  "94 checked; failures=0"
                                     },
                                     {
                                         "name":  "http_gate",
                                         "status":  "PASS",
                                         "detail":  "failures=0"
                                     },
                                     {
                                         "name":  "oracle_read_only_regression_gate",
                                         "status":  "PASS",
                                         "detail":  "failures=0"
                                     },
                                     {
                                         "name":  "revenue_regression_parity_10_of_10",
                                         "status":  "PASS",
                                         "detail":  "functions=10; failures=0"
                                     },
                                     {
                                         "name":  "revenue_regression_chart_structural_qa",
                                         "status":  "PASS",
                                         "detail":  "failures=0"
                                     },
                                     {
                                         "name":  "revenue_regression_browser_render_5_of_5",
                                         "status":  "PASS",
                                         "detail":  "rendered=5/5; failed=0"
                                     },
                                     {
                                         "name":  "patient_activity_legacy_runtime_parity_8_of_8",
                                         "status":  "PASS",
                                         "detail":  "functions=8; failures=0; max_diff=0"
                                     },
                                     {
                                         "name":  "patient_activity_parity_is_read_only",
                                         "status":  "PASS",
                                         "detail":  "NONE"
                                     },
                                     {
                                         "name":  "patient_activity_actual_browser_render_3_of_3",
                                         "status":  "PASS",
                                         "detail":  "rendered=3/3; failed=0"
                                     },
                                     {
                                         "name":  "operations_legacy_runtime_parity_2_of_2",
                                         "status":  "PASS",
                                         "detail":  "functions=2; failures=0; max_diff=0"
                                     },
                                     {
                                         "name":  "operations_parity_is_read_only",
                                         "status":  "PASS",
                                         "detail":  "NONE"
                                     },
                                     {
                                         "name":  "operations_actual_browser_render_3_of_3",
                                         "status":  "PASS",
                                         "detail":  "rendered=3/3; failed=0"
                                     },
                                     {
                                         "name":  "diagnostics_legacy_runtime_parity_4_of_4",
                                         "status":  "PASS",
                                         "detail":  "functions=4; failures=0; max_diff=0"
                                     },
                                     {
                                         "name":  "diagnostics_parity_is_read_only",
                                         "status":  "PASS",
                                         "detail":  "NONE"
                                     },
                                     {
                                         "name":  "diagnostics_actual_browser_render_2_of_2",
                                         "status":  "PASS",
                                         "detail":  "rendered=2; empty=0; failed=0"
                                     },
                                     {
                                         "name":  "doctors_legacy_runtime_parity_6_of_6",
                                         "status":  "FAIL",
                                         "detail":  "functions=0; failures=1; identity_mismatches=-1; max_diff=-1"
                                     },
                                     {
                                         "name":  "doctors_parity_is_read_only",
                                         "status":  "PASS",
                                         "detail":  "NONE"
                                     },
                                     {
                                         "name":  "doctors_actual_browser_render_2_of_2",
                                         "status":  "PASS",
                                         "detail":  "rendered=2; empty=0; failed=0"
                                     }
                                 ],
                      "php_files_checked":  94,
                      "php_failures":  0,
                      "http_gate":  "PASS",
                      "oracle_gate":  "PASS",
                      "revenue_parity_gate":  "PASS",
                      "revenue_functions_checked":  10,
                      "revenue_browser_gate":  "PASS",
                      "revenue_browser_rendered":  5,
                      "patient_activity_parity_gate":  "PASS",
                      "patient_activity_functions_checked":  8,
                      "patient_activity_max_difference":  0,
                      "patient_activity_browser_gate":  "PASS",
                      "patient_activity_browser_rendered":  3,
                      "patient_activity_browser_failed":  0,
                      "operations_parity_gate":  "PASS",
                      "operations_functions_checked":  2,
                      "operations_max_difference":  0,
                      "operations_browser_gate":  "PASS",
                      "operations_browser_rendered":  3,
                      "operations_browser_failed":  0,
                      "diagnostics_parity_gate":  "PASS",
                      "diagnostics_functions_checked":  4,
                      "diagnostics_max_difference":  0,
                      "diagnostics_browser_gate":  "PASS",
                      "diagnostics_browser_rendered":  2,
                      "diagnostics_browser_empty":  0,
                      "diagnostics_browser_failed":  0,
                      "doctors_parity_gate":  "FAIL",
                      "doctors_functions_checked":  0,
                      "doctors_max_difference":  -1,
                      "doctors_ranking_identity_mismatches":  -1,
                      "doctors_browser_gate":  "PASS",
                      "doctors_browser_rendered":  2,
                      "doctors_browser_empty":  0,
                      "doctors_browser_failed":  0,
                      "write_operations":  "NONE"
                  }
              ]
}