IU Core Worker Live — 01 Precheck (host, target identity, 8 gates, backup)
IU Core Worker Live — 01 Precheck, target identity, 8 gates, backup
Macro: IU_CORE_WORKER_LIVE_DRYRUN_STRUCTURE_AUTOCUT_DELIVERY_PREP_OPEN_GOAL Date: 2026-05-21
Host
- MacBook/dev host. Repo
/Users/nmhuyen/iu-cutter-build/repo/iu-cutter, branchmain, HEAD4e86c64(clean tree). Baseline586 passed. - VPS reached over SSH
contabo→vmi3080463(root). Production postgres container22540b78de8f(postgres:16); DBdirectus, userdirectus, PostgreSQL 16.13.query_pgMCP is read-only; durable writes go throughdocker exec -i 22540b78de8f psqlover SSH.
Target identity — positively production directus
current_database()='directus'; IU domain information_unit=158,
unit_version=165, iu_tree_path=158; event_outbox=93,686 rows; the
incomex-directus (directus 11.5) app's DB. This is production, not the
pg-restore-test-… sandbox container.
Drift survey — matches the event-worker macro close-out exactly
| Item | Value |
|---|---|
master gate iu_core.routes_master_enabled |
true |
worker gate iu_core.route_worker_enabled |
false (pre-macro) |
route iu.version_applied.workflow |
enabled=true, dry_run=true |
iu_route_attempt / iu_route_dead_letter |
0 / 0 |
cursor iu_outbound_default |
fresh — keyset NULL, seen 0, written 0 |
event_outbox total |
93,686 — 100% event_domain='system' |
event_outbox event_domain='iu' |
0 — no organic IU events |
Route is (iu, version_applied, update) → target_kind='workflow',
target_ref='event_outbox'. The governed emitter is fn_iu_emit_event
(registry-validated); the production trigger trg_iu_out_version emits only
version_seq>1.
8 mandatory gates — all PASS
- Host — MacBook repo OK + VPS SSH OK.
- Target identity — production directus DB confirmed (above).
- Backup — fresh
pg_dump -Fctaken (below). - Drift — worker/route/event state fully understood, matches record.
- Disable boundary — worker gate key updatable;
runtime/080runbook; master gate + route independently disablable. - Delivery safety —
fn_iu_route_deliverRAISESfeature_not_supported; route CHECKiu_outbound_route_safe_chk (enabled=false OR dry_run=true)makesenabled+dry_run=falsestructurally impossible. - Scope safety — worker cursor
event_domain='iu'; the worker claim query is scopedeo.event_domain = v_cursor.event_domain. - Backlog safety —
event_outboxis 100%systemdomain; the worker'siufilter means the 93,686-row shared backlog is never claimed.
Backup
/root/backups/iu-core-runtime/directus-pre-iucore-worker-live-20260521T142925Z.dump
· 74,706,868 B · sha256
5d14dbdca0f88ab09e124ecba529b5714521bb3236d19ba2197be674ed59c38b
· taken before any durable mutation.