P3D Pack 1 Phase 5C2 — rev4 Self-Contained Patch Report
P3D Pack 1 Phase 5C2 — rev4 Self-Contained Operational Prompt Patch Report
Date: 2026-05-12 Patched: rev3 → rev4
Top 8 rev4 fixes
-
Full concept registry inlined — 28 concepts across 3 groups (19 source TAC + 8 target IU/UV + 9 governance), each with concept_id, table, semantic_hint, required_for, on_unresolved. Zero "same as rev2" references.
-
Table-family registry — 9 table families declared with existence check before any query. Missing table → ABORT.
-
fn_iu_create shape discovery — Explicit: inspect signature → if JSONB discover keys → if ROW map columns → if UNKNOWN ABORT. SAVEPOINT test requires 0 residual (IU + UV + birth).
function_shape_resolvedin final response. -
Logging path policy —
/opt/incomex/logsdeclared as convention from 5C1/5C2B. If absent at runtime, discover from project root. Not left ambiguous. -
Compiled SQL preview — New §8: Agent must log 5 compiled templates (source query, fn_iu_create call, identity_profile patch, provenance patch, verification queries) after concept resolution, before any write.
compiled_sql_logged=truein final response. -
Render fidelity source of truth — §10B clarified: live TAC query during migration = source of truth. Baseline 36 = reference snapshot, drift reported separately.
-
Self-contained — Prompt readable and executable with zero knowledge of rev1/2/3. No cross-references to previous revisions. Agent reads ONLY this document.
-
Final response expanded — Added
execution_log_path,rollback_keys_path,compiled_sql_logged,function_shape_resolved. Total 20 status fields.
Confirmation
phase5c2_prompt_rev=4
self_contained=true
gpt_final_review_required=true
user_go_required=true
agent_dispatch_allowed=false
phase5c2_migration_allowed=false
ui_cutover_allowed=false
rev4 Self-Contained Patch Report | 2026-05-12