{
  "product": "Baltique OS",
  "release": "2.7.0.1",
  "title": "Upgrade Run Key Schema Compatibility Repair",
  "release_type": "staging-first hotfix overlay",
  "build_date": "2026-07-13",
  "target_issue": "SQLSTATE[42S22]: Unknown column 'run_key' in 'field list'",
  "supported_starting_state": [
    "2.6.2.1 with 2.7.0 files deployed",
    "partially failed 2.7.0 installation"
  ],
  "entry_points": [
    "/upgrade_2_7_0_1.php",
    "/upgrade_2_7_0.php"
  ],
  "migration_key": "245_1_core_2_7_0_1_run_key_schema_repair",
  "safety": {
    "deletes_legacy_run_history": false,
    "drops_tables": false,
    "requires_mysql_alter": true,
    "patient_data_in_package": false,
    "secrets_in_package": false
  },
  "validation": {
    "overlay_static_checks": "50/50 PASS",
    "deterministic_tests": "3/3 PASS",
    "base_270_tests": "3/3 PASS",
    "combined_php_lint": "1064/1064 PASS",
    "combined_javascript_check": "40/40 PASS",
    "live_mysql_execution": false
  },
  "files": [
    "PATCHED_FILES_CORE_2_7_0_1.txt",
    "README_CORE_2_7_0_1.md",
    "README_CORE_2_7_0_1_EN.md",
    "README_UPGRADE_2_7_0_1.md",
    "RELEASE_MANIFEST_CORE_2_7_0_1.json",
    "app/bootstrap.php",
    "app/enterprise_clinical_unification_270.php",
    "app/enterprise_release_270.php",
    "app/enterprise_release_2701.php",
    "app/enterprise_schema_repair_2701.php",
    "app/enterprise_site_consolidation_270.php",
    "app/system_runtime_preflight.php",
    "database/migrations/245_1_core_2_7_0_1_run_key_schema_repair.sql",
    "docs/POST_DEPLOYMENT_ACCEPTANCE_2_7_0_1.md",
    "docs/ROOT_CAUSE_AND_REPAIR_2_7_0_1.md",
    "docs/VALIDATION_REPORT_CORE_2_7_0_1.md",
    "public_html/upgrade_2_7_0.php",
    "public_html/upgrade_2_7_0_1.php",
    "tests/test_legacy_schema_contract_2701.php",
    "tests/test_schema_repair_simulation_2701.php",
    "tests/test_upgrade_recovery_2701.php",
    "tools/validate_core_2_7_0_1_static.php"
  ],
  "artifact_file_count": 23
}
