KB-2063

IU Technical Gap Fix — P0 Autowire / DOT / Vector Reconcile — Overview & Control (2026-05-29)

5 min read Revision 1
iubugfixp0autowiredotvector-reconcilelive-apply2026-05-29

IU Technical Gap Fix — P0 Autowire / DOT / Vector Reconcile

Doc 00 — Overview, Control & Verdicts (2026-05-29)

Mission IU_TECHNICAL_GAP_FIX_P0_AUTOWIRE_DOT_VECTOR_RECONCILE. Scope = IU technical gaps only. Workflow-design registry / MOWD / 4 Mothers / UI explicitly deferred. Two safe live commits made; all reversible.

1. Hard Gate 0 (PASS)

contabo VPS · container postgres (postgres:16, healthy) · DB directus (PG 16.13) · read role context_pack_readonly · apply channel confirmed: ssh contabodocker exec -i postgres psql -U workflow_admin -d directus (SELECT-verified, statement_timeout set server-side per session, no client-timeout-kill). Entry gate: all_safe=true, never_flip_intact=true, idle-in-tx 0.

Entry snapshot: iu 219 · iu_relation 60 · v_kg_edges_all 2259 · iu_sql_link 3 · split 1 · merge 0 · event_type_registry 40 · event_outbox 157249 · iu_outbound_route 15 · iu_route_attempt 68 · iu_route_dead_letter 0 · dot_iu_command_catalog 53 · dot_iu_command_run 55 · dot_tools 309 · iu_vector_sync_point 152.

2. Headline verdicts

Branch Verdict One-line
A — P0 post-cut autowire ✅ FIXED (committed, live, reversible) fn_cut_complete now calls fn_iu_post_cut_axis_materialize(source_ref, actor) — gated on existing governable three_axis_auto_refresh_enabled (default off → behaviour preserved), best-effort, idempotent. Full-wire canary proven.
B — IU DOT completeness ✅ ADVANCED (1 live + 7 packs) Registered read-only dot_iu_reconstruct_source live (catalog 53→54). 7 mutating wrappers specified as exact packs.
C — Đ35 / dot_tools SSOT PLAN (no mutation) dot_tools holds only the DOT-IU-CUTTER/-VERIFY pair; 52 IU ops live only in dot_iu_command_catalog. Bridge plan produced; dot_tools not mutated (paired-enforce trigger).
D — Vector PG↔Qdrant ✅ GREEN (drift resolved) Qdrant iu_core_iu_chunks = 149 points (green) == PG ledger 149 indexed. Prior "0 points" note was stale. No drift, no cross-IU pollution, sync frozen.
E — A–F regression ✅ PILOT-GREEN reconstruct 16 · axis-B consistent · SQL-link view==direct · gate all_safe · vector frozen. No breakage.
F — Gap board Updated Doc 06: fixed-now / still-technical / design-human / deferred-workflow.

3. Live changes this session (2 commits, both additive & reversible)

  1. fn_cut_complete CREATE OR REPLACE — adds gated/best-effort/idempotent post-cut axis-B materialization. Default gate off ⇒ runtime behaviour unchanged until a human opens iu_core.three_axis_auto_refresh_enabled. Rollback = restore original def (Doc 07).
  2. dot_iu_command_catalog +1 rowdot_iu_reconstruct_source (read, non-mutating → fn_iu_reconstruct_source). Rollback = DELETE WHERE command_name='dot_iu_reconstruct_source'.

dot_iu_command_run unchanged at 55 (rehearsals/canaries all ROLLBACK; no command-log rows committed).

4. Exit snapshot (== entry except intended +1 catalog)

iu 219 · rel 60 · iu_metadata_tag 536 · split 1 · merge 0 · sql_link 3 · dot_iu_command_catalog 54 (+1 intended) · dot_run 55 · vsp 152 · cuts_pending 0 · idle-in-tx 0 · gate all_safe=true, never_flip_intact=true · vector_sync_enabled=false.

5. Package contents

00 overview · 01 P0 autowire fix · 02 DOT wrapper completeness · 03 Đ35/dot_tools integration · 04 vector PG↔Qdrant reconcile · 05 A–F regression · 06 IU technical gap board · 07 rollback & SQL appendix · 08 law/forbidden/self-review.

6. Forbidden compliance

No workflow-design registry · no MOWD · no 4 Mothers runtime · no UI/Nuxt · no Directus mutation · no Qdrant/vector write (read-only GET only) · vector_sync_enabled stayed false · allow_no_review_decision stayed false · no production-law IU mutation · no law enactment · no hidden second SoT · no gate opened/left open (canary gate-flip was in-tx, ROLLBACK) · no event delivery/job execution · no self-approval · no idle transaction left behind (idle-tx 0).

Back to Knowledge Hub knowledge/dev/reports/architecture/iu-technical-gap-fix-p0-autowire-dot-vector-reconcile-2026-05-29/00-overview-and-control.md