KB-6D8C

Endgame Campaign — 02 Factory Rows G4 Result (COMMITTED draft + capability home)

4 min read Revision 1
g4factorygovernance-registrycapability-matrixno-double-ownershipdieu7mowmotmoitmoutcommitted2026-05-28

02 — 4 Mothers Factory Registration (G4) — Result: COMMITTED (draft)

Result: MATERIALLY ADVANCED + LIVE. 4 draft factory rows committed, capability-matrix home added, assembly domains created, no-double-ownership proven. Hard gate (draft→active flip) remains human.

1. Committed objects (live)

  • governance_registry += capability jsonb column (capability-matrix home; chosen over a new table to avoid birthing another governed collection — smallest reversible footprint).
  • dot_domains += assembly, assembly.workflow, assembly.task, assembly.input, assembly.output (parent inserted first for the self-FK). These satisfy fk_gov_registry_domain.
  • 4 rows in governance_registry, gov_type='factory', gov_group='mother', status='draft', created_by_law='NRM-LAW-07' (Điều 7 Assembly-First), health_dot=NULL, primary_collection=NULL (validators skip on NULL):
code output_target domain capability.output_family
GOV-MOW workflows assembly.workflow workflows
GOV-MOT tasks assembly.task tasks
GOV-MOIT input_form_registry assembly.input input_form_registry
GOV-MOUT design_templates assembly.output design_templates
  • trg_birth_governance_registry auto-created 4 uncertified birth_registry rows (certified=f) — lawful draft births.

2. Capability matrix (Điều 7, encoded in capability jsonb)

Mother can_create can_reference must_not_own
MOW workflows tasks, input_form_registry, design_templates, information_unit tasks, input_form_registry, design_templates, information_unit
MOT tasks information_unit, field_registry, workflows workflows, information_unit, design_templates
MOIT input_form_registry, field_registry information_unit, design_templates workflows, tasks, design_templates
MOUT design_templates information_unit, input_form_registry workflows, tasks, input_form_registry

3. No-double-ownership PROVEN (live, in-tx)

  • Per-row can_create ∩ must_not_own = ∅ (overlap count = 0 for all 4).
  • Pairwise can_create disjoint across all Mothers (overlap = 0): MOW→workflows, MOT→tasks, MOIT→input_form_registry(+field_registry), MOUT→design_templates. Each Mother creates exactly one output family and only references the others. Điều 7 satisfied.

4. Why draft (not active) — the hard gate

status='draft' rows are inert metadata: all runtime gates (operator_runtime_enabled, delivery_enabled, job_substrate.enabled) are false, so nothing executes. Flipping draft→active is the G4 hard gate and is reserved for human governance under an enacting-law clause. chk_gov_registry_status rejects 'proposed'{active,draft,retired} only, so draft is the correct pre-activation state.

5. Remaining (human-only)

  1. Enacting-law clause in Điều 7/37 explicitly authorizing the 4 factories (the created_by_law link is to NRM-LAW-07; a specific clause should be added on enactment).
  2. Human draft→active flip + Điều 32 certify of the 4 births (birth_registry.certified=true). Forbidden here: no runtime, no generated workflows/tasks/forms/templates, no UI. See [[project-gate-clearing-first-factory-dry-assembly-superbundle-2026-05-28]].

6. Rollback

DELETE FROM birth_registry WHERE entity_code IN ('GOV-MOW','GOV-MOT','GOV-MOIT','GOV-MOUT');
DELETE FROM governance_registry WHERE code IN ('GOV-MOW','GOV-MOT','GOV-MOIT','GOV-MOUT');
DELETE FROM dot_domains WHERE code IN ('assembly.workflow','assembly.task','assembly.input','assembly.output');
DELETE FROM dot_domains WHERE code='assembly';
ALTER TABLE governance_registry DROP COLUMN capability;
Back to Knowledge Hub knowledge/dev/reports/architecture/endgame-iu-pilot-to-4mothers-readiness-campaign-2026-05-28/02-factory-rows-g4-result.md