GPT Directive to Opus — Phase5C2 rev3 Parallel IU Pilot
GPT Directive to Opus — P3D Pack 1 Phase 5C2 rev3 Parallel IU Pilot After TAC→UI Baseline
Date: 2026-05-12 Issuer: GPT-5.5 Thinking / Incomex Hội đồng AI Receiver: Opus 4.6/4.7 Mode: PATCH 5C2 PROMPT ONLY — no execution
0. Verdict
TAC→UI baseline PASS is accepted. 5C2 prompt patching may resume, but migration remains disallowed until GPT final review + User GO.
Open:
P3D_PACK1_PHASE5C2_REV3_PARALLEL_IU_PILOT_AFTER_TAC_UI_BASELINE
1. Required reading
knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-review-p3d-tac-ui-baseline-pass-accepted-next-5c2-rev3-2026-05-12.md
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-tac-ui-baseline-readonly-check-report.md
knowledge/dev/laws/dieu44-trien-khai/reviews/opus-review-tac-ui-baseline-pass-5c2-prerequisite-satisfied-2026-05-12.md
knowledge/dev/laws/dieu44-trien-khai/design/p3d-multidimensional-entity-db-architecture-design.md
knowledge/dev/laws/dieu44-trien-khai/design/p3d-phase5c2-impact-addendum-after-multidimensional-design.md
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5c2-dieu35-hybrid-pilot-migration-prompt-DRAFT.md
knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-review-p3d-pack1-phase5c2-rev2-candidate-not-approved-runtime-hardening-2026-05-12.md
Do not search broadly.
2. Mission
Patch the Phase 5C2 DRAFT into rev3 dispatch candidate for DIEU-35 parallel IU pilot migration.
Do not execute Agent. Do not write DB.
3. Locked inputs
pilot_publication_code = DIEU-35
strategy = D3a hybrid
mode = PARALLEL_IU_PILOT_ONLY
current_UI_source = TAC
ui_cutover_allowed = false
parent_or_container_ref = NULL
hierarchy_carrier = identity_profile JSON
species = information_unit_atom
composition/lớp = atom
publication_authority_ref_value = incomex_council
publication_authority_vocab_key = vocab.publication_authority.incomex_council
TAC baseline: 36 ordered members, 12 section types, render_order 0–35, live source must be rechecked at runtime
4. Required rev3 patches
4.1 TAC→UI preservation block
Add explicit hard boundary:
NO_TOUCH_CURRENT_TAC_UI
PARALLEL_IU_PILOT_ONLY
UI_REDIRECT_FORBIDDEN_UNTIL_VERIFIED
TAC_SOURCE_REMAINS_CANONICAL_FOR_UI_DURING_PILOT
No Nuxt change. No route change. No UI cutover. No TAC mutation.
4.2 Baseline comparison, not hardcoded count gates
Use baseline report values as expected comparison evidence, but runtime gates must compare against live source counts collected in the migration run.
Example:
baseline_member_count=36 is reference.
source_count_live must be discovered at runtime.
inserted_iu_count must equal source_count_live, not hardcoded 36.
4.3 Complete runtime concept resolution
No hardcoded or cached schema fields. Re-resolve all schema-sensitive concepts live before write. This includes source TAC, target IU/UV, birth_registry, dot_config, and function result shape.
Any FIELD_ABSENT / AMBIGUOUS_FIELD / UNKNOWN on required concept = abort before write.
4.4 fn_iu_create result and birth timing hardening
Resolve function output keys explicitly:
resolved_fn_result_iu_key
resolved_fn_result_uv_key
Preflight whether fn_iu_create can proceed before publication_authority_ref is patched. If live runtime is blocking or uncertain, abort and return to GPT.
If SAVEPOINT shape discovery is used, prove zero residual rows including birth_registry side effects.
4.5 Entity Living DB metadata preservation
Each migrated IU must preserve hooks for:
Identity
Relations
Dependencies
History
Labels
Metrics
Minimum pilot metadata to preserve:
source TAC publication/id/code
source TAC logical_unit id/address/section_type
source TAC unit_version id/hash/provenance
publication context
render_order
TAC parent/hierarchy metadata
publication_authority_ref=incomex_council
unit_kind / section_type / publication_type
Do not implement full relations/edges/metrics now. Preserve hooks for future enrichment.
4.6 Multidimensionality guard
Add required text:
This migration writes one coordinate in the multidimensional metadata matrix: species=information_unit_atom and lớp=atom.
It does not implement global 6-lớp logic.
It does not hardcode branching by loài/lớp/Layer.
Hierarchy/provenance/render metadata is preserved for later edge, Pivot, UI, vector, and Entity Living DB enrichment.
4.7 Birth registry verification
Inside transaction verify for captured IU ids:
birth_row_count_for_captured_ids = inserted_iu_count
birth_null_species_count = 0
birth_species_value = information_unit_atom
birth_composition_value = atom if concept resolves
Do not assume birth_registry stores publication_authority_ref.
4.8 Owner resolution failure policy
If TAC owner concept needed for owner_lookup_ref is FIELD_ABSENT, AMBIGUOUS_FIELD, or NULL for any source row, abort unless GPT/User locked fallback exists. No fallback is currently locked.
4.9 Rollback verification
Add exact rollback and post-rollback verification:
0 residual IU rows by captured ids
0 residual UV rows by captured ids
0 residual birth rows by captured IU ids
source TAC counts unchanged
If delete order fails, stop and report. No pattern matching.
4.10 Final report fields
Ensure final Agent response includes:
phase5c2_status=PASS|PARTIAL|ROLLED_BACK|BLOCKED|LOCK_BUSY
source_count_live=<N>
baseline_member_count_reference=36
inserted_iu_count=<N>
inserted_uv_count=<N>
publication_authority_ref_verified=true|false
species_auto_assigned=true|false
render_fidelity_drift=<N>
tac_ui_untouched=true|false
no_tac_rows_modified=true|false
ui_cutover_performed=false
rollback_reference_available=both|kb|vps_log|none
phase5d_unblocked=true|false
5. Do not change
- Do not dispatch Agent.
- Do not execute migration.
- Do not write DB.
- Do not add DDL.
- Do not patch functions/triggers.
- Do not create universal_edges.
- Do not create IU publication_member table.
- Do not migrate DIEU-28/DIEU-32.
- Do not touch TAC rows.
- Do not touch UI/Nuxt.
6. Target outputs
Patch prompt in place:
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5c2-dieu35-hybrid-pilot-migration-prompt-DRAFT.md
Create patch report:
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5c2-rev3-parallel-iu-pilot-patch-report.md
7. Expected Opus response
Return only:
- Patched 5C2 prompt path.
- Patch report path.
- Top 10 rev3 changes/safety gates.
- Confirmation GPT final review + User GO required before Agent dispatch.
8. Status
phase5c2_rev3_patch_allowed=true
phase5c2_migration_allowed=false
agent_dispatch_allowed=false
ui_cutover_allowed=false