KB-7BB2
IU Core Runtime Activation — 02 Backup + drift check
2 min read Revision 1
dieu44iu-core-mvpruntime-activationbackupdriftv0.62026-05-21
IU Core Runtime Activation E2E — 02 Backup + drift check
Fresh backup (Gate 3)
Taken before any runtime mutation:
- Path:
/root/backups/iu-core-runtime/directus-pre-iucore-runtime-20260521T105137Z.dump - Command:
docker exec 22540b78de8f pg_dump -U directus -Fc directus - Size: 74,455,340 bytes
- sha256:
fdb8754dbcaeb9339d99e75c7eb0eb102a015f4300b270a1f9bb737c79e84954 - Integrity:
pg_restore -llists 2981 TOC entries (valid custom-format archive).
Prior backup directus-pre-iucore-20260521T103010Z.dump (from the DDL macro)
remains in /root/backups/iu-core-prod-ddl/.
Drift check (Gate 4) — production IU-core state before activation
| Metric | Value | Expected (prior macro) | Match |
|---|---|---|---|
| current_database | directus |
directus | yes |
| information_unit rows | 158 | 158 | yes |
| unit_version rows | 165 | 165 | yes |
| iu-core tables | 7 | 7 | yes |
| iu-core views | 2 | 2 | yes |
iu-core functions (fn_iu_* of the 7) |
7 | 7 | yes |
| iu-core triggers attached | 0 | 0 | yes |
master gate iu_core.routes_master_enabled |
<absent> ⇒ off |
absent | yes |
| iu-core data rows (7 tables) | 0 | 0 | yes |
event_type_registry rows with domain iu |
0 | 0 | yes |
The 7 iu-core functions confirmed present: fn_iu_core_routes_enabled,
fn_iu_emit_event, fn_iu_outbound_on_version, fn_iu_sql_link_inbound_capture,
fn_iu_sql_link_validate, fn_iu_tree_assert_acyclic, fn_iu_tree_is_descendant.
Production state matched the prior macro's record exactly — zero drift.