{
    "schema_version":  "1.0",
    "project":  "Hospital Executive Dashboard",
    "patch_id":  "H10.13.1",
    "action":  "APPLY_TEST",
    "status":  "PASS",
    "run_id":  "20260711_000602_APPLY_TEST",
    "generated_at":  "2026-07-10T21:08:42Z",
    "source_root":  "C:\\xampp\\htdocs\\ddb-new",
    "error":  "",
    "steps":  [
                  {
                      "status":  "PASS",
                      "phase":  "H10.13.1",
                      "target_version":  "10.13.1",
                      "generated_at":  "2026-07-10T21:06:03Z",
                      "already_target":  false,
                      "backup_root":  "C:\\xampp\\htdocs\\ddb-new\\_ddb_patch_center_private\\backups\\H10_13_1_20260711_000602",
                      "payload_files":  2,
                      "guard_policy":  "release_capability_guard_v6",
                      "checks":  [
                                     {
                                         "name":  "baseline_release_version",
                                         "status":  "PASS",
                                         "detail":  "10.13.0 allowed=10.13.0"
                                     },
                                     {
                                         "name":  "baseline_exists_DDB_VERSION.json",
                                         "status":  "PASS",
                                         "detail":  "DDB_VERSION.json"
                                     },
                                     {
                                         "name":  "baseline_exists_public_phase10-13-doctors-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "public/phase10-13-doctors-parity-qa.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Repositories_DoctorsRepository.php",
                                         "status":  "PASS",
                                         "detail":  "app/Repositories/DoctorsRepository.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Repositories_LegacyDoctorsRepository.php",
                                         "status":  "PASS",
                                         "detail":  "app/Repositories/LegacyDoctorsRepository.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Services_DoctorsParityService.php",
                                         "status":  "PASS",
                                         "detail":  "app/Services/DoctorsParityService.php"
                                     },
                                     {
                                         "name":  "baseline_exists_public_assets_js_charts.js",
                                         "status":  "PASS",
                                         "detail":  "public/assets/js/charts.js"
                                     },
                                     {
                                         "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_phase10-11-operations-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "public/phase10-11-operations-parity-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-9-revenue-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "public/phase10-9-revenue-parity-qa.php"
                                     },
                                     {
                                         "name":  "baseline_capability_public_phase10-13-doctors-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "DoctorsParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Repositories_DoctorsRepository.php",
                                         "status":  "PASS",
                                         "detail":  "class DoctorsRepository"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Repositories_LegacyDoctorsRepository.php",
                                         "status":  "PASS",
                                         "detail":  "class LegacyDoctorsRepository"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Services_DoctorsParityService.php",
                                         "status":  "PASS",
                                         "detail":  "class DoctorsParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_public_assets_js_charts.js",
                                         "status":  "PASS",
                                         "detail":  "renderBarCompareChart"
                                     },
                                     {
                                         "name":  "baseline_capability_public_phase10-12-lab-radiology-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "DiagnosticsParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_public_phase10-11-operations-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "OperationsParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_public_phase10-10-patient-activity-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "PatientActivityParityService"
                                     },
                                     {
                                         "name":  "baseline_capability_public_phase10-9-revenue-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "RevenueParityService"
                                     }
                                 ],
                      "diagnostic_checks":  [
                                                {
                                                    "name":  "baseline_diagnostic_public_phase10-13-doctors-parity-qa.php",
                                                    "status":  "PASS",
                                                    "detail":  "six_runtime_parity_checks"
                                                }
                                            ],
                      "post_apply_checks":  [
                                                {
                                                    "name":  "post_apply_target_version",
                                                    "status":  "PASS",
                                                    "detail":  "10.13.1"
                                                },
                                                {
                                                    "name":  "post_apply_payload_DDB_VERSION.json",
                                                    "status":  "PASS",
                                                    "detail":  "e16cdeceb6719aa7397b47d44eb39125ef84ca52d1bdf5075e9bd30edb9793b3"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_phase10_13_1_doctors_parity_gate_optional_property_root_fix.md",
                                                    "status":  "PASS",
                                                    "detail":  "34445a1446120ce6f56d438a9308d15a08ab680c54c782f582c362c7c604ed0e"
                                                }
                                            ]
                  },
                  {
                      "status":  "PASS",
                      "phase":  "H10.13.1",
                      "generated_at":  "2026-07-10T21:08:42Z",
                      "checks":  [
                                     {
                                         "name":  "target_version_installed",
                                         "status":  "PASS",
                                         "detail":  "10.13.1"
                                     },
                                     {
                                         "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":  "PASS",
                                         "detail":  "functions=6; failures=0; identity_mismatches=0; max_diff=0"
                                     },
                                     {
                                         "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":  "PASS",
                      "doctors_functions_checked":  6,
                      "doctors_max_difference":  0,
                      "doctors_ranking_identity_mismatches":  0,
                      "doctors_browser_gate":  "PASS",
                      "doctors_browser_rendered":  2,
                      "doctors_browser_empty":  0,
                      "doctors_browser_failed":  0,
                      "write_operations":  "NONE"
                  }
              ]
}