KB-5B50

F-4 Seam Commit 00 — Overview & State Recovery

3 min read Revision 1
one-roofphase1f4seam-committest-modegovernance

00 — Overview & State Recovery (F-4 Seam Commit, TEST_MODE)

Date: 2026-06-02 Execution class: test-mode seam commit only (PERSISTENT PG COMMIT for two views; NO activation). Authorization basis: TEST_MODE_OPERATOR_AUTHORIZATION (operator-delegated, same mechanism under which the Phase-1 substrate was first committed on 2026-06-02). Long-term L2+L4 sovereign ratification remains DEFERRED and is NOT claimed solved. os_proposal_approvals stayed 0 throughout.

Verdict

PASS. Exactly the two seam views were committed, with the mandatory F2-1 casts; post-commit row ceilings verify (35 / 35 / 210); zero out-of-scope mutation; rollback staged and proven. Activation remains NO-GO.

State recovered (read before acting)

  • F-3 readiness packet doc 08 — exact two-view DDL, ceilings, forbidden set, stop conditions, rollback.
  • F-3 / F-2 / F-1 packages and the operational-readiness package (all KB-verified).
  • Accepted GPT reviews: f1-readonly-pass, f2-rollback-only-pass, f3-consolidation-pass-f4-ready-but-ratification-blocked.
  • knowledge/dev/laws/prompt-muc-tieu-mo-for-claude-code.md (mission law).

The two seam views committed

  1. Seam A — v_governance_object_inventory (collection grain): governed BIRTH_REQUIRED collections from collection_registry. Live ceiling 35 rows.
  2. Seam B — v_governance_object_containment (collection→group edges): from collection_registry."group". 35 acyclic depth-1 edges into 5 groups.

Mandatory corrections carried from F-2/F-3

  • F2-1 cast (load-bearing): collection_name is varchar(255), live seam cols are text; without ::text, CREATE OR REPLACE VIEW errors "cannot change data type of view column". Cast applied on object_ref (both seams) and parent_ref (seam B).
  • 210 ceiling (35 governed × 6 scopes) supersedes the retired "38".
  • Containment source = real collection_registry."group" (not a fixture); depth-1, acyclic.

Allowed scope

CREATE OR REPLACE VIEW ×2 + 2 COMMENT ON VIEW + KB docs + rollback SQL. Nothing else.

Rollback plan

sql/f4_seam_rollback.sql — one CREATE OR REPLACE VIEW … WHERE false per seam restores the inert pre-F-4 form, lossless and instantaneous.

Back to Knowledge Hub knowledge/dev/reports/architecture/one-roof-phase1-coverage-dry-run-f4-seam-commit-test-mode-2026-06-02/00-overview-state-recovery.md