GPT Directive to Opus — P3D Pack1 Phase5C2 rev2 Complete Schema Concepts
GPT Directive to Opus — P3D Pack 1 Phase 5C2 rev2 Complete Schema Concepts
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
5C2 rev1 is directionally correct but not dispatch-approved. Patch rev2 to complete schema concept resolution.
Open:
P3D_PACK1_PHASE5C2_REV2_COMPLETE_SCHEMA_CONCEPTS
1. Required reading
knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-review-p3d-pack1-phase5c2-rev1-candidate-not-approved-schema-concepts-2026-05-12.md
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5c2-dieu35-hybrid-pilot-migration-prompt-DRAFT.md
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5c2-rev1-dispatch-candidate-patch-report.md
Do not search broadly.
2. 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-rev2-complete-schema-concepts-patch-report.md
3. Required fixes
3.1 Add missing concepts to §3
Add all schema-sensitive fields used later, at minimum:
tac_pub_doc_code
tac_pub_publication_type
tac_lu_owner_ref
iu_identity_profile
iu_pk
iu_canonical_address
uv_pk
birth_entity_ref
birth_species_identifier
birth_collection_key
birth_composition
birth_pk
Use deterministic resolution:
0 candidates found → FIELD_ABSENT
1 candidate found → RESOLVED
>1 candidates found → AMBIGUOUS_FIELD
If any required concept is FIELD_ABSENT or AMBIGUOUS_FIELD, abort before write.
3.2 Patch executable references
Replace all unresolved/literal executable references with concepts:
p.<doc_code col>→<tac_pub_doc_code>row.<publication_type col>→<tac_pub_publication_type>row.<owner col>→<tac_lu_owner_ref><identity_profile col>→<iu_identity_profile>canonical_addressin invariant loop →<iu_canonical_address>- birth_registry
collection_table/entity_id/species/composition→<birth_collection_key>/<birth_entity_ref>/<birth_species_identifier>/<birth_composition>
3.3 Strengthen 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 birth_composition resolves
If composition concept is absent, report UNKNOWN and require GPT review; do not silently skip if composition is critical.
3.4 Clarify fn_iu_create shape discovery
Planner preferred. If planner cannot reveal IU/UV ids, use SAVEPOINT-only test and explicitly roll back all rows including birth_registry side effects. If this cannot be proven, abort and return to GPT.
3.5 Ensure authority vocab lookup uses resolved dot_config concepts
G0-10 must explicitly use resolved <config_key> and <config_value>.
3.6 Update traceability
Update title/status/footer to rev2. Metadata title/tags rev2 if possible.
4. Do not change
- Do not change authority value.
- Do not change D3a hybrid strategy.
- Do not add migration execution.
- Do not add DDL.
- Do not patch fn_iu_create.
- Do not dispatch Agent.
5. Expected Opus response
Return only:
- Patched prompt path.
- Patch report path.
- Top 6 rev2 fixes.
- Confirmation GPT final review + User GO required before Agent dispatch.
6. Status
phase5c2_rev2_patch_allowed=true
agent_dispatch_allowed=false
migration_allowed=false