KB-5DEA

IU Core Runtime Activation — 11 Final report (PASS)

4 min read Revision 1
dieu44iu-core-mvpruntime-activationfinal-reportiu-core-runtime-activation-e2e-passv0.62026-05-21

IU Core Runtime Activation E2E — 11 Final report

Macro: IU_CORE_RUNTIME_ACTIVATION_E2E_STRUCTURE_OPS_OPEN_GOAL Date: 2026-05-21 · Outcome: IU_CORE_RUNTIME_ACTIVATION_E2E_PASS

1. Final status — PASS

All pass criteria met: live survey + backup done; runtime layer installed safely; H3 reconciled; event types/routes/triggers verified; parallel trigger path ruled (COEXIST) with evidence; gate-closed / disabled-route / dry-run behaviour proven; structure-ops proven with no durable pollution; tests pass; commit + reports complete; no forbidden action taken.

2. What changed

  • Production directus (durable): 005 re-run (H3 fix); runtime/010 (1 event type), 020 (2 inert routes), 030 (2 triggers attached).
  • Repo: H4 fix — 004 patched, new 006 + rollback, README + tests.

3. Repo

  • Branch main; HEAD 4601d835de52d8 (parent 4601d83).
  • Commit 5de52d8 fix(iu-core/H4): structure-op enacted CHECK retains enacted_at on rollback — 5 files, +148/-15. Tree clean. No push/merge/tag.

4. Production backup

/root/backups/iu-core-runtime/directus-pre-iucore-runtime-20260521T105137Z.dump · 74,455,340 B · sha256 fdb8754dbcaeb9339d99e75c7eb0eb102a015f4300b270a1f9bb737c79e84954 · 2981 TOC entries.

5. Runtime activation result

Steps 0–3 of runtime/README.md complete. Post-state (durable): 1 iu event type; outbound + inbound routes both enabled=false, dry_run=true; trg_iu_out_version + trg_iu_sql_in_iu_sql_link attached; master gate <absent> ⇒ off; 0 iu-core data rows; information_unit=158 / unit_version=165 unchanged. runtime/040 V1–V6 all PASS.

6. H3 reconciliation

fn_iu_emit_event body md5 cd7d1fc4…7dd8c74a…; registry-sourced, no hardcoded workflow, safe_metadata. End-to-end emit proven (doc 06 §2).

7. Parallel trigger path decision

COEXIST. trg_aa_iu_notif_versioniu_notification_event (UI feed) and trg_iu_out_versionevent_outbox (workflow bus) are complementary sinks with different consumers. Attaching is risk-free while the gate is closed. Replacing the existing trigger is out of scope. Divergence to rule next macro: existing path filters version_seq>1, new path emits on every version.

8. Gate-closed / dry-run proof

33/33 PASS, all in BEGIN…ROLLBACK: gate-closed inert (3/3); gate-open end-to-end emit incl. H3 (4/4); inbound route disabled vs dry-run (3/3); structure-ops lineage + compensation (14/14); parent-child tree + cycle detection (9/9).

9. Structure ops proof

add / split / merge / deprecate / reparent envelopes; idempotency; one-active-parent guard; status lifecycle; retire-based compensation; multi- level tree depth recursion; cycle detection — all proven, zero durable rows.

10. Finding H4

iu_structure_operation_enacted_chk blocked the documented enacted → rolled_back transition without nulling enacted_at. Fixed in repo (004 + 006 + rollback). 006 NOT applied to production — deferred to next macro (table empty, harmless).

11. Tests

536 → 542 (+6, TestStructureOpEnactedChkFix). 542 passed.

12. Exact next macro

Controlled route + master-gate activation (doc 10): apply 006; enable the outbound route dry-run-live; open the master gate; review iu_route_attempt / event_outbox evidence before any dry_run=false. Needs fresh backup + a ruling on the version_seq divergence.

Forbidden actions — none taken

No route enable, no master-gate flip, no durable probe rows, no downstream workflow execution, no deploy/restart, no execution_enabled flip, no durable tree mutation, no secret logged, no push/merge/tag.

Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/v0.6-iu-core-runtime-activation-e2e-structure-ops-open-goal/11-final-report.md