# Baltique OS Core 0.78.4 — Enterprise Version Guard + Case Spine

Release 0.78.4 is the next Enterprise Integration step after 0.78.3.

It fixes two reported production issues:

1. Runtime Preflight treated a newer 0.78.3/0.78.4 deployment as invalid because the 0.78.2 preflight checks expected exactly `0.78.2`.
2. Enterprise Shell showed `core_version_0783 = BRAK` when the database version marker was not updated after shell consolidation.

It also adds the next integration layer: **Enterprise Case Spine**, a database-backed backbone for one patient case across patient record, consultation, operative case, booking, documentation, payments, communication, OR and aftercare.

## New files

- `app/enterprise_version_guard.php`
- `app/enterprise_case_spine.php`
- `public_html/upgrade_0_78_4.php`
- `public_html/system_case_spine.php`
- `public_html/assets/enterprise_case_spine.css`
- `database/migrations/089_core_0_78_4_enterprise_case_spine_version_guard.sql`
- `tools/validate_core_0_78_4_static.php`

## Updated files

- `app/bootstrap.php`
- `app/ui.php`
- `app/enterprise_integration.php`
- `app/system_runtime_preflight.php`
- `app/enterprise_shell.php`
- `public_html/system_enterprise_078.php`
- `public_html/system_runtime_preflight.php`
- `public_html/system_acceptance_tests.php`
- `public_html/system_enterprise_shell.php`
- `public_html/system_navigation_registry.php`

## Runtime behavior

- `BALT_VERSION` becomes `0.78.4`.
- `app_settings.core_version` and `app_settings.schema_version` are set to `0.78.4`.
- Older helper refreshes no longer downgrade `core_version` to `0.78.0`, `0.78.2` or `0.78.3`.
- Runtime Preflight checks the current release line instead of hardcoding exactly `0.78.2`.
- Enterprise Shell keeps `core_version_0783` compatible by accepting any version `>= 0.78.3`.
- Case Spine tables are created and can be synchronized from current empty/test data safely.

## Important

Release 0.78.4 does not delete legacy modules and does not rewrite clinical documents. It creates a shared integration spine that future releases can use as the central patient-case context.
