KB-3C40

FIX7 P0 Shaped-Clone CI-Gate — schema-compatibility.json

4 min read Revision 1
tool-kiem-thufix7p0production-shaped-cloneci-gate-packet2026-06-12

{ "doc": "fix7-p0-shaped-clone-schema-compatibility", "date": "2026-06-12", "method": "Production surface expectations taken read-only from the governed inventory (production-readiness surface scoping packet, production-surface-inventory.json Table B). No live schema (pg_schema/query_pg/directus) was read. Because no clone exists, every 'clone has?' is N/A_NO_CLONE; this table therefore doubles as the REQUIRED schema spec a future operator-provided clone MUST satisfy.", "live_schema_read": false, "clone_present": false, "table_B_schema_compatibility": [ { "schema_entity": "birth_registry shape", "production_surface_expectation": "table with object identity column(s), status, and the columns the object-birth pipeline (fn_birth_register) writes", "clone_has": "N/A_NO_CLONE", "mismatch": "UNKNOWN_UNTIL_CLONE_PROVIDED", "impact": "without a production-shaped birth_registry the rehearsal cannot exercise the real birth/rollback columns" }, { "schema_entity": "registry row expectations", "production_surface_expectation": "object id + status fields consistent with the canonical registry model", "clone_has": "N/A_NO_CLONE", "mismatch": "UNKNOWN_UNTIL_CLONE_PROVIDED", "impact": "rollback must restore the exact registry-row state; cannot be verified without the shape" }, { "schema_entity": "approval fields", "production_surface_expectation": "os_proposal_approvals (>=1 used by the Tier-0 executor gate db=directus AND os_proposal_approvals>=1)", "clone_has": "N/A_NO_CLONE", "mismatch": "UNKNOWN_UNTIL_CLONE_PROVIDED", "impact": "approval-gated paths cannot be rehearsed; clone must model approvals to exercise the gate logic safely" }, { "schema_entity": "Directus-related expected fields", "production_surface_expectation": "Directus row creation IF the birth surface writes Directus (db=directus gate)", "clone_has": "N/A_NO_CLONE", "mismatch": "UNKNOWN_UNTIL_CLONE_PROVIDED", "impact": "if production birth writes Directus, clone must include the modeled Directus fields or the rehearsal is partial" }, { "schema_entity": "system_issues-related expected fields", "production_surface_expectation": "system_issues rows IF the birth/rollback path touches them", "clone_has": "N/A_NO_CLONE", "mismatch": "UNKNOWN_UNTIL_CLONE_PROVIDED", "impact": "side-effect coverage incomplete without the modeled fields" }, { "schema_entity": "required IDs / hashes / timestamps", "production_surface_expectation": "object IDs, content hashes, created/updated timestamps used by the birth surface", "clone_has": "N/A_NO_CLONE", "mismatch": "UNKNOWN_UNTIL_CLONE_PROVIDED", "impact": "hash-based before/after_apply/after_rollback comparison needs these columns to be meaningful" }, { "schema_entity": "rollback fields / snapshot anchor", "production_surface_expectation": "a snapshot/restore anchor (table snapshot or transaction boundary) enabling proven restore", "clone_has": "N/A_NO_CLONE", "mismatch": "UNKNOWN_UNTIL_CLONE_PROVIDED", "impact": "the production rollback proof requires a restore anchor; clone must support snapshot+restore" } ], "schema_compatibility_verdict": "CANNOT_BE_CHECKED_NO_CLONE_SPEC_PROVIDED_AS_REQUIREMENT", "classification": "BLOCKER_INPUT_MISSING_not_a_design_defect", "production_mutation": false }

Back to Knowledge Hub knowledge/dev/reports/architecture/fix7-p0-production-shaped-clone-rehearsal-ci-gate-packet-2026-06-12/schema-compatibility.json