{
    "schema_version":  "1.0",
    "project":  "Hospital Executive Dashboard",
    "patch_id":  "H10.10",
    "action":  "APPLY_TEST",
    "status":  "FAIL",
    "run_id":  "20260710_202732_APPLY_TEST",
    "generated_at":  "2026-07-10T17:29:31Z",
    "source_root":  "C:\\xampp\\htdocs\\ddb-new",
    "error":  "Full test failed: FAIL",
    "steps":  [
                  {
                      "status":  "PASS",
                      "phase":  "H10.10",
                      "target_version":  "10.10.0",
                      "generated_at":  "2026-07-10T17:27:33Z",
                      "already_target":  false,
                      "backup_root":  "C:\\xampp\\htdocs\\ddb-new\\_ddb_patch_center_private\\backups\\H10_10_20260710_202732",
                      "payload_files":  17,
                      "guard_policy":  "release_capability_guard_v3",
                      "checks":  [
                                     {
                                         "name":  "baseline_release_version",
                                         "status":  "PASS",
                                         "detail":  "10.9.2.2 allowed=10.9.2.2"
                                     },
                                     {
                                         "name":  "baseline_exists_DDB_VERSION.json",
                                         "status":  "PASS",
                                         "detail":  "DDB_VERSION.json"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Repositories_VisitsRepository.php",
                                         "status":  "PASS",
                                         "detail":  "app/Repositories/VisitsRepository.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Controllers_OperationsController.php",
                                         "status":  "PASS",
                                         "detail":  "app/Controllers/OperationsController.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Views_operations_module.php",
                                         "status":  "PASS",
                                         "detail":  "app/Views/operations/module.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Views_revenue_index.php",
                                         "status":  "PASS",
                                         "detail":  "app/Views/revenue/index.php"
                                     },
                                     {
                                         "name":  "baseline_exists_public_assets_js_charts.js",
                                         "status":  "PASS",
                                         "detail":  "public/assets/js/charts.js"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Services_RevenueParityService.php",
                                         "status":  "PASS",
                                         "detail":  "app/Services/RevenueParityService.php"
                                     },
                                     {
                                         "name":  "baseline_exists_public_phase10-9-revenue-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "public/phase10-9-revenue-parity-qa.php"
                                     },
                                     {
                                         "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_capability_app_Repositories_VisitsRepository.php",
                                         "status":  "PASS",
                                         "detail":  "class VisitsRepository"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Controllers_OperationsController.php",
                                         "status":  "PASS",
                                         "detail":  "class OperationsController"
                                     },
                                     {
                                         "name":  "baseline_capability_public_assets_js_charts.js",
                                         "status":  "PASS",
                                         "detail":  "renderBarCompareChart"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Services_RevenueParityService.php",
                                         "status":  "PASS",
                                         "detail":  "class RevenueParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Views_revenue_index.php",
                                         "status":  "PASS",
                                         "detail":  "__DDB_REVENUE_CHART_GATE__"
                                     }
                                 ],
                      "diagnostic_checks":  [
                                                {
                                                    "name":  "baseline_diagnostic_public_phase10-9-revenue-parity-qa.php",
                                                    "status":  "PASS",
                                                    "detail":  "release_version_compatible"
                                                },
                                                {
                                                    "name":  "baseline_diagnostic_public_phase10-9-2-revenue-chart-rendering-qa.php",
                                                    "status":  "PASS",
                                                    "detail":  "release_version_compatible"
                                                },
                                                {
                                                    "name":  "baseline_diagnostic_app_Views_operations_module.php",
                                                    "status":  "PASS",
                                                    "detail":  "visits"
                                                }
                                            ],
                      "post_apply_checks":  [
                                                {
                                                    "name":  "post_apply_target_version",
                                                    "status":  "PASS",
                                                    "detail":  "10.10.0"
                                                },
                                                {
                                                    "name":  "post_apply_payload_DDB_VERSION.json",
                                                    "status":  "PASS",
                                                    "detail":  "973d3ad72106761614636fecd9f5f106807004811ce1c15bd44936c9408fac00"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Controllers_OperationsController.php",
                                                    "status":  "PASS",
                                                    "detail":  "53604c2ba80856c5eda9ece40fccd218de4e24ef4e796c29eafcacc9b18aa0a2"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Repositories_LegacyPatientActivityRepository.php",
                                                    "status":  "PASS",
                                                    "detail":  "f7a63cc945584835ff99d1c2048343740235582e9aeadc0970a4bae63d8f092d"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Repositories_VisitsRepository.php",
                                                    "status":  "PASS",
                                                    "detail":  "07f120dd7f83fd87b99552f5c5eac1176837cb5b5a40479a5b9a3429c01b77c3"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Services_ChartDataService.php",
                                                    "status":  "PASS",
                                                    "detail":  "9d245512839ea5532bcd0ad0a9b295dd63208189ef66261ea6fb8568dcf0c900"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Services_PatientActivityParityService.php",
                                                    "status":  "PASS",
                                                    "detail":  "44339d990121451d8e3d9f534bf86438e6c66ff809ac22ae7b190dc002a055fc"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Views_layouts_main.php",
                                                    "status":  "PASS",
                                                    "detail":  "655be1e00a5801c6f4f890b8e461291841eb1048a76776ccc2663083d65c82a6"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Views_operations_module.php",
                                                    "status":  "PASS",
                                                    "detail":  "6e6073d80fa4fd615e05da7582a32574f1ae3a5514466eb3b495fea776f8474d"
                                                },
                                                {
                                                    "name":  "post_apply_payload_config_i18n.php",
                                                    "status":  "PASS",
                                                    "detail":  "89c27ccf51e05433fa134d5ac230bf1fc6a00c9206e1636a7d8097744333e58d"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_LEGACY_FUNCTION_MASTER_MATRIX.csv",
                                                    "status":  "PASS",
                                                    "detail":  "e7c90a9395111d0fbdf0c4f992e96951a9de70293b30db81dbf330082b432d46"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_LEGACY_ROUTE_MAP.csv",
                                                    "status":  "PASS",
                                                    "detail":  "10b64b58b5550d50f6bf9ea0218e696563e0a6a252d69c162134d7e8a9bb42f0"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_LEGACY_SQL_SOURCE_MAP.csv",
                                                    "status":  "PASS",
                                                    "detail":  "1022d7157dc2f24d15f096e29f832d92b14ba40678672dd9ebbf4c7caab9a3eb"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_PATIENT_ACTIVITY_PARITY_CONTRACT.md",
                                                    "status":  "PASS",
                                                    "detail":  "414658b458fc6c8524e3cc950cd98f8589e246b99789b149392855276db396c3"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_PATIENT_ACTIVITY_PARITY_EVIDENCE_SPEC.md",
                                                    "status":  "PASS",
                                                    "detail":  "4c4e9fbdba56acc577068d6c28e4ad1dade5359b8726a958066ea02e85a10fc2"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_phase10_10_patient_activity_legacy_functional_parity.md",
                                                    "status":  "PASS",
                                                    "detail":  "63d5cf7a50d44ba32c92ea2711f9b63696893c2a9faf1ce0bc086b6132fc1221"
                                                },
                                                {
                                                    "name":  "post_apply_payload_public_assets_css_patient-activity-executive-parity.css",
                                                    "status":  "PASS",
                                                    "detail":  "a856f52479e5802de03f82637421fa24f0bb542bafeb1962af5d26ca2a2b9a17"
                                                },
                                                {
                                                    "name":  "post_apply_payload_public_phase10-10-patient-activity-parity-qa.php",
                                                    "status":  "PASS",
                                                    "detail":  "6c63bea2b2b3fa047fa064071eb72ec6a7698ced0bf701d22d00142b8b7f3104"
                                                }
                                            ]
                  },
                  {
                      "status":  "FAIL",
                      "phase":  "H10.10",
                      "generated_at":  "2026-07-10T17:29:31Z",
                      "checks":  [
                                     {
                                         "name":  "target_version_installed",
                                         "status":  "PASS",
                                         "detail":  "10.10.0"
                                     },
                                     {
                                         "name":  "php_syntax_all_files",
                                         "status":  "PASS",
                                         "detail":  "79 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":  "FAIL",
                                         "detail":  "failures=1"
                                     },
                                     {
                                         "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"
                                     }
                                 ],
                      "php_files_checked":  79,
                      "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,
                      "write_operations":  "NONE"
                  }
              ]
}