FIX7 P0 Final Pre-Real-Data — production-shaped-surrogate-spec.json
{ "closes": "the ENGINEERING rehearsal gap of FIX7-P0-DRYRUN-PROD-ROLLBACK-1 (production-shaped surrogate leg)", "date": "2026-06-12", "derived_from_governed_sources": [ "knowledge/dev/reports/architecture/fix7-p0-production-readiness-surface-scoping-packet-2026-06-12/production-surface-inventory.json (Table B)", "knowledge/dev/reports/architecture/fix7-p0-production-shaped-clone-rehearsal-ci-gate-packet-2026-06-12/schema-compatibility.json (Table B requirements)" ], "deterministic_db_sha256": "5a6ad4634d3db3c8899cc66cd279880a9c2a7841e3e714a4d7fb7008dfbcf598", "doc": "fix7-p0-production-shaped-surrogate-spec", "does_not_close": "the real-data leg: an operator-provided production-shaped, secret-free, isolated DB dump remains required where real production data is required", "generator": "generate_production_shaped_surrogate.py (in this packet)", "generator_sha256": "fce4de7f97652c681de08c25c63636c32c4b7640fee9b8b4da3baebe504aa3f7", "macro": "FIX7_P0_FINAL_PRE_REAL_DATA_READINESS_LANE_MACRO_2026_06_12", "marker": "GENERATED_SURROGATE_NOT_REAL_PRODUCTION_DUMP", "no_pii": true, "no_secrets": true, "production_contact": false, "table_C_surrogate": [ { "generated": true, "limitation": "synthetic SHAPE from governed inventory, not a real schema dump; column-level fidelity to production is UNKNOWN until the operator clone arrives", "modeled_as": "birth_registry table: object_id/object_kind/status/content_sha256/content_bytes/created_at/updated_at/born_by/approval_id; 5 seed rows + gated rehearsal birth row", "real_dump_needed": "NOT_FOR_ENGINEERING_REHEARSAL (modeled); YES for real-data validation", "safe_surrogate_possible": true, "surface": "birth_registry shape" }, { "generated": true, "limitation": "synthetic SHAPE from governed inventory, not a real schema dump; column-level fidelity to production is UNKNOWN until the operator clone arrives", "modeled_as": "object_id + status fields in birth_registry; uniqueness enforced", "real_dump_needed": "NOT_FOR_ENGINEERING_REHEARSAL (modeled); YES for real-data validation", "safe_surrogate_possible": true, "surface": "registry row expectations" }, { "generated": true, "limitation": "synthetic SHAPE from governed inventory, not a real schema dump; column-level fidelity to production is UNKNOWN until the operator clone arrives", "modeled_as": "os_proposal_approvals table; Tier-0 gate modeled and ENFORCED in the rehearsal: db_target=directus AND approvals>=1; unapproved and wrong-db proposals seeded for fail-closed probes", "real_dump_needed": "NOT_FOR_ENGINEERING_REHEARSAL (modeled); YES for real-data validation", "safe_surrogate_possible": true, "surface": "approval fields" }, { "generated": true, "limitation": "synthetic SHAPE from governed inventory, not a real schema dump; column-level fidelity to production is UNKNOWN until the operator clone arrives", "modeled_as": "directus_objects table (collection/item_pk/payload_sha256/created_at); birth writes a row", "real_dump_needed": "NOT_FOR_ENGINEERING_REHEARSAL (modeled); YES for real-data validation", "safe_surrogate_possible": true, "surface": "Directus-related expected fields" }, { "generated": true, "limitation": "synthetic SHAPE from governed inventory, not a real schema dump; column-level fidelity to production is UNKNOWN until the operator clone arrives", "modeled_as": "system_issues table (issue_code/severity/object_id/opened_at/status); birth writes a note row", "real_dump_needed": "NOT_FOR_ENGINEERING_REHEARSAL (modeled); YES for real-data validation", "safe_surrogate_possible": true, "surface": "system_issues-related expected fields" }, { "generated": true, "limitation": "synthetic SHAPE from governed inventory, not a real schema dump; column-level fidelity to production is UNKNOWN until the operator clone arrives", "modeled_as": "synthetic deterministic object ids, sha256 content hashes, fixed ISO timestamps", "real_dump_needed": "NOT_FOR_ENGINEERING_REHEARSAL (modeled); YES for real-data validation", "safe_surrogate_possible": true, "surface": "required IDs / hashes / timestamps" }, { "generated": true, "limitation": "synthetic SHAPE from governed inventory, not a real schema dump; column-level fidelity to production is UNKNOWN until the operator clone arrives", "modeled_as": "rollback_anchors table + file-snapshot restore anchor used by the rehearsal", "real_dump_needed": "NOT_FOR_ENGINEERING_REHEARSAL (modeled); YES for real-data validation", "safe_surrogate_possible": true, "surface": "rollback fields / snapshot anchor" } ] }