KB-5C81
IU Core Runtime Activation — 10 Next macro: route + master-gate activation
3 min read Revision 1
dieu44iu-core-mvpruntime-activationnext-macroapproval-packagev0.62026-05-21
IU Core Runtime Activation E2E — 10 Next macro approval package
Recommended next macro: CONTROLLED ROUTE + MASTER-GATE ACTIVATION
The runtime layer is installed but inert. The next macro performs the two
behaviour-changing steps (runtime/README.md steps 4 & 5) plus the H4 reconcile.
Scope (durable production changes to request)
- Apply migration
006— H4 reconcile (idempotentALTER,iu_structure_operationis empty → instant). - Enable the outbound route in dry-run live:
UPDATE public.iu_outbound_route SET enabled=true, dry_run=true, updated_at=now() WHERE route_code='iu.version_applied.workflow'; - Open the master gate (final activation):
INSERT INTO public.dot_config (key,value,description)VALUES ('iu_core.routes_master_enabled','true','IU Core runtime — opened by <macro-id>')ON CONFLICT (key) DO UPDATE SET value='true', updated_at=now(); - After reviewing real
iu_route_attempt/event_outboxevidence, a further macro flipsdry_run=falsefor live delivery.
Mandatory pre-work for that macro
- Fresh
pg_dump -Fcbackup (as here). - Rule on the
version_seqdivergence (doc 04): decide whether theevent_outboxpath should filterversion_seq>1like the existingiu_notification_eventpath, or emit on first version too. - Confirm a route worker / consumer exists for
event_outboxbeforedry_run=false, else events accumulate undelivered.
Disable runbook (already proven safe)
- Close the master gate (
dot_configvalue →'false') — instant, global. UPDATE … SET enabled=falseper route_code.runtime/rollback/030_trigger_attach.rollback.sqlto detach triggers.
Alternatives
- Defer — leave inert; the substrate + runtime layer are stable.
- Structure-ops enablement macro — populate
iu_tree_path/iu_relationfor the real 158-IU tree (currently all depth 0) under the gateway guard. - Apply 006 only — minimal macro, just the H4 reconcile, no gate change.