KB-4005
GPT Directive to Opus — P3D Pack1 Phase5B rev2 Split Prompts
6 min read Revision 1
directiveopusp3dpack1phase5brev2split-prompts2026-05-11
GPT Directive to Opus — P3D Pack 1 Phase 5B rev2: Patch Design + Split Execution Prompt Drafts
Date: 2026-05-11 Issuer: GPT-5.5 Thinking / Incomex Hội đồng AI Receiver: Opus 4.7 Mode: DESIGN PATCH + DRAFT PROMPTS ONLY — no execution
0. Verdict
Phase 5B design direction is accepted with corrections.
The current execution prompt DRAFT is not approved. It must be split/staged and stripped of hardcoded executable gates.
Open:
P3D_PACK1_PHASE5B_REV2_DESIGN_PATCH_AND_EXECUTION_PROMPT_SPLIT
1. Required reading
knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-review-p3d-pack1-phase5b-design-partial-accept-prompt-draft-not-approved-2026-05-11.md
knowledge/dev/laws/dieu44-trien-khai/design/p3d-pack1-phase5b-hybrid-nesting-species-pilot-migration-design.md
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5b-hybrid-pilot-migration-implementation-prompt-DRAFT.md
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5b-design-and-draft-prompt-report.md
2. GPT decisions to lock in design rev2
Patch the design to reflect these accepted decisions:
nesting_strategy = D3_HYBRID
hierarchy_carrier_primary = identity_profile_json
hierarchy_carrier_secondary = universal_edges_deferred
parent_or_container_ref_for_pilot = NULL
composition_for_pilot = atom
unit_version_counts_as_containment = false
pilot_publication = DIEU-35
collection_governance_role_change = defer_keep_observed
uv_species_mapping = no_for_now
universal_edges_enrichment = defer_to_post_pilot
iu_publication_member_table = defer_to_post_pilot
rollback_capture = KB/report_artifact_plus_VPS_log_no_new_control_table
Do not lock exact species code/name/prefix/parent yet. Keep that under QT-005 design.
3. Required outputs
3.1 Patch design in place
Patch:
knowledge/dev/laws/dieu44-trien-khai/design/p3d-pack1-phase5b-hybrid-nesting-species-pilot-migration-design.md
Requirements:
- Convert accepted decisions from open questions to locked design decisions.
- Keep species exact code/name/prefix/parent as unresolved.
- Replace fixed numeric gates with live-derived gates in all algorithm text.
- Remove or mark illustrative SQL as non-executable if it still contains assumed columns.
- State that Phase 5C is split into 5C1 and 5C2 unless GPT/User later chooses a single staged dispatch.
3.2 Create Phase 5C1 DRAFT prompt
Create:
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5c1-species-mapping-qt001-backfill-prompt-DRAFT.md
Scope:
- QT-005 species/mapping prep for
information_unit, if GPT/User resolves exact species identity. - QT-001 backfill of existing IU birth rows.
- No TAC migration.
- No IU/UV migration rows.
Hard requirements:
- DRAFT only.
- Live schema introspection for
entity_species,species_collection_map,birth_registry,collection_registry. - No hardcoded numeric gates: target counts derived live.
- Exact-key target capture for backfill.
- Rollback via captured keys.
- No
unit_versionspecies mapping for now. - Keep
information_unitgovernance_role observed. - No function/trigger patch.
3.3 Create Phase 5C2 DRAFT prompt
Create:
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5c2-dieu35-hybrid-pilot-migration-prompt-DRAFT.md
Scope:
- DIEU-35 pilot migration only.
- Requires Phase 5C1 completed and accepted.
- D3a hybrid: hierarchy in identity_profile JSON,
parent_or_container_ref=NULL. - No species creation or backfill in this prompt.
Hard requirements:
- DRAFT only.
- Live-derived source set and counts.
- No fixed 36/12/35 gates; compute source_count/render_order metrics live.
- Use semantic field registry or resolved field map from Phase 5A/5A-rerun, with live revalidation.
- Use
fn_iu_create; do not direct INSERT IU/UV unless GPT later approves a separate path. - Recompute IU content hash.
- Store original TAC hash in
unit_version.content_profile.source_hashes.tac_v1if structured JSON profile resolves. - Exact-key rollback captured into KB/report artifact and VPS log; no new DB control table.
- Render fidelity post-COMMIT check.
3.4 Create patch report
Create:
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5b-rev2-design-and-split-prompts-report.md
Required flags:
phase5b_rev2_status=PASS|PARTIAL|BLOCKED
design_patched=true|false
phase5c1_draft_created=true|false
phase5c2_draft_created=true|false
execution_dispatch_allowed=false
migration_allowed=false
seed_allowed=false
backfill_allowed=false
hardcoded_numeric_gates_removed=true|false
species_exact_identity_locked=false
requires_GPT_User_review=true
4. No-hardcode rules for rev2
- Do not use historical counts as executable expected values.
- Historical counts may be quoted as Phase 5A evidence only.
- Any execution DRAFT must compute counts from live source sets.
- Column names must be resolved by semantic registry/introspection.
- Species exact code/name/prefix/tree parent must remain placeholders until GPT/User decides.
- Do not hide hardcode inside illustrative SQL.
5. Hard boundaries
- No Agent dispatch.
- No DB write.
- No migration.
- No seed.
- No backfill.
- No DDL.
- No function/trigger patch.
- No Directus/Nuxt/Qdrant changes.
6. Expected Opus response
Return only:
- Patched Phase 5B design path.
- Phase 5C1 DRAFT prompt path.
- Phase 5C2 DRAFT prompt path.
- Patch report path.
- Top 7 fixes/decisions applied.
- Confirmation GPT/User review required before any dispatch.
7. Status
phase5b_rev2_patch_allowed=true
agent_dispatch_allowed=false
migration_allowed=false
seed_allowed=false
backfill_allowed=false