KB-56F1
SuperBundle — 03 Master Design Live-Inventory Reconciliation Patch
4 min read Revision 1
master-designrev5reconciliationpatchkgcandidate-registry4mothers2026-05-28
03 — Branch C: Master Design Live Reconciliation Patch
Goal: patch design truth so future agents are not misled. Result: PASS — surgical patch list below. Do NOT rewrite the whole design.
Target design: knowledge/dev/design/v0.6-iu-4mothers-event-foundation-rev2/ (Rev5 line). The design still describes much IU machinery as "paper"/planned; live DB is well ahead. Apply these surgical edits.
| # | Design claim (stale) | Live truth (2026-05-28) | Patch |
|---|---|---|---|
| P1 | b/c/f read paths planned | LIVE: fn_iu_filter_axis_b, fn_iu_filter_axis_c_subtree, fn_iu_subtree, fn_iu_sql_link_validate_all/resolve_all + 5 DOT wrappers committed |
Mark b/c/f-read DONE (live); cite catalog rows. |
| P2 | d/e/f durable tests pending | LIVE: split/merge SECDEF additive (review_decision_id FK-probed), DLQ route+replay, emit_enabled gate — all governed-tested | Mark d/e/f PASS; note split/merge require review_decision_id, not gate. |
| P3 | gate protocol design-only | LIVE: iu_gate_transition + fn_iu_gate_open/close/verify_closed/watchdog, 4+ catalog rows; fail-closed |
Mark bounded gate protocol ENACTED-DORMANT; fn_iu_gate_verify_closed() is canonical health probe. |
| P4 | DLQ replay TBD | LIVE: fn_iu_route_dead_letter_replay gated by routes-master gate (not queue.dlq.replay_enabled) |
Document actual gating. |
| P5 | emit_enabled unspecified | LIVE: piece_event_runtime.emit_enabled governable gate (false) |
Add to gate board. |
| P6 | KG iu_relation lacks provenance | LIVE: iu_relation +5 cols (provenance/confidence/evidence/assertion_mode/valid_time); 60 rows fully backfilled; v_kg_edges_all (security_invoker) UNION=2259; this campaign appended assertion_mode+evidence to the view |
Replace KG section with live shape; note 8-atom vocab is a widen-pending CHECK (13-value dress-rehearsed). |
| P7 | Candidate Registry = "to design" | LIVE: field/input_form/tier_registry ABSENT but DDL + birth-contract dress-rehearsed; reuse map fixed (5/8 reuse). Birth gate = meta_catalog-managed + PREFIX-NNN + Đ32 | Replace with "build-ready, birth dress-rehearsed, blocked on meta_catalog+code+Đ32". |
| P8 | IU pilot readiness unclear | LIVE: LIMITED-PRODUCTION-PILOT READY (a–f pass, durable run committed, DLQ replay proven) | Mark pilot-ready; link doc 10. |
| P9 | 4 Mothers gates vague | LIVE captured: G1 (birth gate exact), G2 (review-ready law), G3 (review_decision 37-col schema), G4 (factory rows insertable, status∈{active,draft,retired}, gov_type/group free) | Replace gate board with doc 00 §3 table. |
| P10 | governance_registry generic | LIVE: 5 rows all council/system, keyed by code, columns gov_type/gov_group/output_target/domain/primary_collection/created_by_law/health_dot/status; no capability columns |
Note capability-matrix needs a new column/table for 4 Mothers can_create/reference/must_not_own. |
Application note
These are doc patches (design truth), not schema changes. The schema is already live-correct. After applying, the design no longer mislabels live machinery as paper. No design content invented — every patch traces to a live query_pg/pg_schema/ssh introspection in this campaign.