KB-4B35
IU Core Event Worker — 01 Precheck (host, repo, target identity, 8 gates)
3 min read Revision 1
dieu44iu-core-mvpevent-workerprecheckgatesv0.62026-05-21
IU Core Event Worker — 01 Precheck
Macro: IU_CORE_EVENT_WORKER_STRUCTURE_OPS_AUTOCUT_INTEGRATION_OPEN_GOAL Date: 2026-05-21
Host + repo
- Execution host: MacBook/dev host, repo
/Users/nmhuyen/iu-cutter-build/repo/iu-cutter— present, safe. - Branch
main, HEAD0ad425aat start, tree clean. NoWRONG_EXECUTION_ENVIRONMENT.
Target identity — positively confirmed
- Production DB
directus@172.19.0.3(docker network), containerpostgres(postgres:16), roledirectus, VPS hostvmi3080463(contabo,38.242.240.89). iu158 /unit_version165 /iu_tree_path158 — matches the v0.6 controlled-route SSOT exactly. Master gateiu_core.routes_master_enabled=true.
Channels
- Read-only survey: VPS MCP
query_pg(read-only role, 5 s timeout). - Write channel (backup, gated DDL, probes):
ssh contabo→docker exec -i postgres psql -U directus -d directus. Discovered from~/.ssh/config; not asked of the user. No secret value logged.
Discover-first
No pre-existing worker artifacts on production — iu_route%/%worker%/
%dead_letter% search returned only iu_route_attempt (from migration 002)
and views v_iu_sql_link_resolved / v_iu_tree. Greenfield for the worker;
every new artifact is genuinely new.
8 mandatory gates — all PASS
| # | Gate | Result |
|---|---|---|
| 1 | Correct host | PASS — Mac repo present, clean |
| 2 | Target identity | PASS — directus DB confirmed (counts match SSOT) |
| 3 | Fresh backup | PASS — directus-pre-iucore-event-worker-20260521T141243Z.dump (doc 02) |
| 4 | Drift check | PASS — route/event/worker state surveyed (doc 02) |
| 5 | Package integrity | PASS — forward 008/009/060 + rollback 008/009/060 + verify 070 + disable 080 authored before mutation |
| 6 | Disable boundary | PASS — worker gate seeded false; 080 disable runbook; rollbacks with REFUSED guards |
| 7 | Delivery safety | PASS — dry-run logs only; delivery seam RAISES; route stays dry_run=true (doc 04) |
| 8 | Backlog safety | PASS — worker scoped event_domain='iu' only |