P3D Phase 5C2-R2 — DIEU-28 Pilot Migration Execution Report (PASS)
P3D Phase 5C2-R2 — DIEU-28 Pilot Migration Execution Report
Date (UTC): 2026-05-14T14:08:35Z Author: Claude Opus 4.7 (1M, xhigh) Authorization: Same overlay as R1 retry (
CONDITIONAL_R2_AUTHORIZED=YES). Triggered conditionally after R1 retry PASS for DIEU-35. Outcome: PASS — 27/27 IU + 27/27 UV + 27/27 birth rows committed; all patched gates V-1..V-7 + V-8..V-10 PASS; TAC source unchanged; pre-existing 48 IU (12 original pilot/test + 36 just-migrated DIEU-35) untouched.
0. Hard boundaries — all honored
Same set as R1 retry (no DDL, no schema/trigger/fn changes, no birth-system changes, no direct INSERT, no TAC writes, no UI cutover, no vector, no event_outbox, no auto-repair, no pattern-matching DELETE, no documents beyond DIEU-35/28/32 in this run).
1. Stage A — Preflight (PASS)
doc_code=DIEU-28
publication_id=ba6c2b95-cb6d-4f56-acd9-d27b39e6bf18 (live)
publication_version=v2.0
publication_lifecycle=proposed
publication_type=law
member_count=27 (live source is source of truth; historical 27 matches)
render_order: min=0 max=26 distinct=27 count=27 contiguous=true
owner_null_count=0
body_null_count=0
collision_count=0
section_types_distinct=8 (all seeded in vocab.section_type.*)
section_types_missing_vocab=<none>
pre_iu_count=48 / pre_uv_count=55 / pre_br_iu=48
pre_tac counts: pub=3 lu=86 uv=86 pm=86
soft_flag_short_body=<none>
2. Stage B — Bounded transaction (27 fn_iu_create + patches)
Same per-row pattern as R1 retry, with p_actor='agent:p3d-phase5c2-r1-r2', p_unit_kind='law_unit', p_publication_type='law', p_parent_ref=NULL (D3a hybrid; hierarchy in identity_profile.tac_hierarchy).
Captured canonical address span: D38-DIEU28-ROOT … D38-DIEU28-S11 (1 root + 26 children; depth max=2). All 27 captured IU/UV UUIDs preserved in the rollback-keys KB doc.
3. Stage C — Rollback-key dual-write BEFORE COMMIT (PASS)
| Target | Path | Result |
|---|---|---|
| VPS log | /opt/incomex/logs/p3d-phase5c2-dieu-28-20260514T140835Z.log |
OK |
| KB | knowledge/dev/laws/dieu44-trien-khai/reports/p3d-phase5c2-dieu-28-rollback-keys-20260514T140835Z.md |
HTTP 200, revision 1 |
4. Stage D — Patched V-1..V-7 (all PASS)
| Gate | Result | Verdict |
|---|---|---|
| V-1 captured_iu=captured_uv=source_count=27 | 27 / 27 / 27 |
PASS |
| V-2 render_order multiset = source multiset = {0..26} | 0,1,…,26 distinct=27 |
PASS |
| V-3a IU-side hash consistency | 27 / 27 | PASS |
| V-3b Body preservation (byte-equality vs TAC) | 27 / 27 | PASS |
| V-3c TAC hash provenance | 27 / 27 | PASS |
| V-3d cross-system hash equality (REPORT ONLY) | 0 / 27 | NOT A GATE — expected divergence |
V-4 authority = incomex_council |
27 / 27 | PASS |
| V-5 birth coverage / species / composition | 27 / 0 / 27 / 27 | PASS |
| V-6 TAC counts unchanged | 3/86/86/86 | PASS |
V-7 fn_iu_verify_invariants per address |
27 / 27 | PASS |
→ COMMIT.
5. Stage E — Post-COMMIT V-8..V-10 + final counts (all PASS)
| Probe | Result | Verdict |
|---|---|---|
| V-8 gateway triggers attached + marker clean | true / true / true | PASS |
| V-9 pre-existing 48 IU IDs still present | 48 / 48 | PASS |
| V-10 KB rollback doc fetchable + VPS log present | true / true | PASS |
Final information_unit count |
75 (= 48 pre + 27 new) | OK |
Final unit_version count |
82 (= 55 pre + 27 new) | OK |
Final birth_registry[information_unit] count |
75 (= 48 pre + 27 new) | OK |
| TAC counts unchanged | pub=3 lu=86 uv=86 pm=86 | OK |
| UI cutover / vector / bulk | false / false / false | OK |
6. Cross-system hash divergence
Same as DIEU-35: V-3d cross-system match = 0/27, report only. Body bytes preserved verbatim. No content corruption.
7. Required final response fields (DIEU-28)
r2_dieu28_status=PASS
source_count_live=27
historical_count_reference=27
created_iu_count=27
created_uv_count=27
created_birth_count=27
pre_existing_iu_untouched=true (48 pre-rows: 12 original pilot/test + 36 DIEU-35 from this session)
tac_source_untouched=true
v3_patched_semantics_used=true
cross_system_hash_equality_used_as_gate=false
rollback_keys_report_path=knowledge/dev/laws/dieu44-trien-khai/reports/p3d-phase5c2-dieu-28-rollback-keys-20260514T140835Z.md
execution_report_path=knowledge/dev/laws/dieu44-trien-khai/reports/p3d-phase5c2-r2-dieu28-pilot-migration-execution-report.md
P3D Phase 5C2-R2 | DIEU-28 | 2026-05-14T14:08:35Z | PASS | Patched V-3 | 27/27 committed