KB-6CFB

Endgame Campaign — 07 Master Design Truth Patch (live reconciliation)

4 min read Revision 1
master-designrev5truth-patchreconciliationg1g4kgmother-events2026-05-28

07 — Master Design Truth Patch (live reconciliation)

Purpose: stop future agents reading stale design. This patch states the live truth as of 2026-05-28 post-campaign, to be folded into v0.6-iu-4mothers-event-foundation-rev2. Where this patch and Rev5 disagree, this patch (live DB) wins.

1. Gate status (authoritative)

Gate Live truth
G1 Candidate Registry field/input_form/tier registries still ABSENT; full birth proven executable live (fn_pre_birth_check 5/5 PASS in rehearsal); awaiting enacting-law + human Đ32.
G2 human-org-role DRAFT → review-ready framework (doc 04). governance_registry has 0 human/role rows; Điều 37 has no human-org roles.
G3 prod review_decision review_decision/manifest_envelope live in cutter_governance schema (privilege-walled; invisible to context_pack_readonly). Proposal-only builder spec ready (doc 03).
G4 factory rows 4 draft factory rows LIVE (GOV-MOW/MOT/MOIT/MOUT) + capability jsonb + assembly domains. Was "0 rows."

2. Substrate deltas vs Rev5

  • event_type_registry: now 40 rows incl. 9 dormant mother.* (domain mother now exists; was {iu,piece,staging,system}).
  • governance_registry: 9 rows (was 5) — now includes a factory/mother class + capability jsonb column.
  • dot_domains: 46 (added assembly.* family).
  • birth_registry: 4 new uncertified factory births.
  • KG: iu_relation enriched (provenance/confidence/evidence/assertion_mode/valid_time), v_kg_edges_all (17 cols) read-only projection live; universal_edges stays a separate SoT.

3. Corrections to design docs (live-verified bugs)

  1. Factory domain: design used assembly.workflow etc. without creating dot_domains rows → fk_gov_registry_domain FK fails. Domains must be created first (now done).
  2. Mother-event severity: design used 'warn'; live CHECK requires 'warning'.
  3. Species management_mode: birth DDL used 'managed'; live entity_species.management_mode ∈ {observed,governed,excluded} → use 'governed'.
  4. review_decision location: design implies a public table; it is in the walled cutter_governance schema. Agents/readonly cannot see or mint it.
  5. Relation vocab: design lists 8 conceptual KG edge types; live CHECK enforces only 6 (contains is the sole populated type).

4. Invariants that MUST stay in design

  • iu_enact.allow_no_review_decision and iu_core.vector_sync_enabled are never-flip; verified intact.
  • meta_catalog INSERT cascades (auto-measurement, registry-count) + DELETE/UPDATE guards — births are not trivially reversible once committed; treat collection birth as a human-certified, one-shot operation.
  • All 8 governable runtime gates closed; Mother runtime is gated off by construction.

Add a "Live Status 2026-05-28" banner to Rev5 §gates; replace the 3 buggy DDL snippets; add the capability jsonb capability-matrix to the factory model; document cutter_governance walling for review_decision; mark mother.* events as registered-dormant.

Back to Knowledge Hub knowledge/dev/reports/architecture/endgame-iu-pilot-to-4mothers-readiness-campaign-2026-05-28/07-master-design-truth-patch.md