KB-3F54

25000x · 01 — Baseline + Execution Channel Pack (HEAD 38b954d, 11/11 gates inert, pre-dump f8f8c802…)

4 min read Revision 1
iu-corev0.625000xbaselineexecution-channellive-discovery

25000x · 01 — Baseline + Execution Channel Pack

Repo + host

  • Repo: /Users/nmhuyen/iu-cutter-build/repo/iu-cutter branch main clean HEAD 38b954d (IU_CORE_18000X_PASS)
  • Host: MacBook (darwin 25.5.0) with ssh contabo + docker exec postgres psql -U workflow_admin -d directus socket trust
  • DB identity: directus @ workflow_admin
  • Backup dir: contabo:/root/backups/

Live baseline (vs 18000x stated state)

Surface Stated Live Match
HEAD 38b954d 38b954d
iu_count (not stated; 18000x +1) 174
iu_piece_collection (10 carried) 10
iu_piece_membership 43 43
iu_collection_template_registry 3 3
iu_collection_template_version 2 2
iu_collection_template_instance_lineage 4 4
iu_vector_sync_point 152 152
Qdrant iu_core_iu_chunks 149 149 (vsp sync_status='indexed')
Qdrant production_documents 9456 n/a (PG-side absent — correct, Qdrant-only)
D9 conformance 174 PASS 7/7 174 PASS 7/7
Write gates inert 10/10 11/11 with new auto_instantiate (after mig 033)
Retention false false
piece_event_runtime.emit_enabled false false
piece_event_runtime.dry_run_only true true

Live discovery — diffs from memory

  1. vsp=152 total with sync_status mix 149 indexed + 3 dryrun. Drift view v_iu_three_axis_envelope_drift shows 173 in_sync + 1 missing_in_table (18000x-added piece IU lacked envelope refresh; not blocking for 25000x).
  2. fn_iu_collection_record_template_instance returns instance_collection_id, not lineage_id — lineage table PK is instance_collection_id (no id column). Mig 033 sidecar FK was redesigned accordingly during apply.
  3. event_type_registry schema has columns (event_domain, event_type, event_stream, delivery_lane, default_severity, description, active, created_at) — there is no registered_by column. Mig 033 INSERT was corrected during apply.
  4. section_type vocab enforced via fn_iu_create RAISE. Available: appendix, article, changelog, checklist, definition, governance_process, heading, instruction_block, paragraph, principle, process, section, technical_spec. 'summary' rejected. Used section_type='section'.
  5. piece_role CHECK allows only: title, intro, body, step, clause, appendix, reference. Custom roles like 'executive_summary' rejected. v2 file template's new piece uses role='intro'.

Execution channel pack — all green

Channel Verified Notes
SSH exec via ssh contabo (root) Channel proven 8000x+
docker exec postgres psql -U workflow_admin -d directus (socket trust) DDL + DML + EXECUTE all available
pg_dump -Fc to /tmp then docker cp to /root/backups/ Pre-mutation backup 79M sha256 f8f8c802… taken
File transfer via scp to contabo:/tmp then docker cp to postgres:/tmp Required pattern when applying SQL files
Qdrant write ✗ (gap) Not exercised — production_documents untouched per macro
GitHub PR (PR #669) not exercised macro forbids merge; no comment posted
Nuxt deploy not exercised macro forbids restart

Pre-mutation backup

Path : /root/backups/directus-pre-iucore-25000x-20260525T044033Z.dump
Size : 79M
SHA256: f8f8c80222bf56d2aca5daa715cee154c61c4f93dc5ee74d12081b6e0ed96f8f
Tag  : TS=20260525T044033Z

Carry-forward gates not exercised

  • iu_core.delivery_live_routes empty — no external delivery configured (constitutional).
  • hc_* gates: hc_auto_close_enabled=true, hc_heal_description_basic_autofix_enabled=true, hc_auto_attach_trigger_autofix_enabled=false — healthcheck heal/auto-close remained operational throughout the macro.
Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/v0.6-iu-core-25000x-event-automation-real-product-scaleout-ui-ops-open-goal/01-baseline-channel-pack.md