KB-5A59

GPT Directive to Opus — P3D Pack1 Phase5C1 Write rev1 Dispatch Candidate

5 min read Revision 1
directiveopusp3dpack1phase5c1rev1dispatch-candidate2026-05-11

GPT Directive to Opus — P3D Pack 1 Phase 5C1 Write rev1 Dispatch Candidate

Date: 2026-05-11 Issuer: GPT-5.5 Thinking / Incomex Hội đồng AI Receiver: Opus 4.7 Mode: PATCH 5C1 PROMPT TO REV1 DISPATCH CANDIDATE — no execution

0. Verdict

Phase 5C1A probe PASS is accepted. Species identity is locked for 5C1 rev1.

Open:

P3D_PACK1_PHASE5C1_WRITE_REV1_DISPATCH_CANDIDATE

1. Required reading

knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-review-p3d-pack1-phase5c1a-probe-pass-lock-species-identity-2026-05-11.md
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5c1a-species-schema-parent-probe-report.md
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5c1-species-mapping-qt001-backfill-prompt-DRAFT.md
knowledge/dev/laws/dieu44-trien-khai/reviews/opus-review-p3d-pack1-phase5c1a-probe-pass-species-identity-ready-2026-05-11.md

Do not search broadly.

2. Mission

Patch 5C1 prompt from rev1-prep DRAFT into a rev1 dispatch candidate.

Do not execute Agent. Do not write DB.

3. Locked species identity

Use exactly:

entity_species.code = SPE-IUA
entity_species.species_code = information_unit_atom
entity_species.display_name = Đơn vị Thông tin
entity_species.composition_level = atom
entity_species.management_mode = observed
entity_species.status = DB default active
entity_species._dot_origin = DOT:QT-005-P3D-PACK1-5C1
entity_species.parent_id = NULL
entity_species.depth = DB default 1
entity_species.prefix = IUA
entity_species.kg_metadata = DB default {}
entity_species.description = Loài cho collection information_unit dưới chiến lược D3 hybrid; IU là atomic text unit, hierarchy lưu metadata/edges hậu pilot.

Mapping:

species_collection_map.species_code = information_unit_atom
species_collection_map.collection_name = information_unit
species_collection_map.is_primary = DB default true
species_collection_map.discriminator_* = NULL

4. Target outputs

4.1 Patch prompt in place

Patch:

knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5c1-species-mapping-qt001-backfill-prompt-DRAFT.md

After patch, mark it as:

rev1 DISPATCH CANDIDATE — not yet approved until GPT final review + User GO

4.2 Create patch report

Create:

knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5c1-rev1-dispatch-candidate-patch-report.md

Required flags:

phase5c1_rev1_status=PASS|PARTIAL|BLOCKED
mode=PROMPT_REV1_DISPATCH_CANDIDATE_ONLY
species_identity_locked=true
prompt_dispatch_allowed=false_until_GPT_FINAL_REVIEW_AND_USER_GO
agent_dispatch_allowed=false
seed_allowed=false_until_final_approval
backfill_allowed=false_until_final_approval
migration_allowed=false
hardcoded_numeric_gates_present=false
schema_introspection_required=true
exact_key_capture_required=true
rollback_by_captured_keys_only=true

5. Required rev1 prompt behavior

5C1 rev1 must include:

  1. Read all locked species identity values from §3 of the prompt, not from Agent judgement.
  2. Perform schema introspection and concept resolution before writes.
  3. Verify entity_species schema compatibility with live fill-policy matrix.
  4. Check no collision for code=SPE-IUA or species_code=information_unit_atom.
  5. Check no existing species_collection_map for collection_name=information_unit.
  6. Insert entity_species with exact locked values.
  7. Insert species_collection_map with exact locked values.
  8. SELECT target birth_registry keys before UPDATE.
  9. UPDATE only captured birth_registry keys.
  10. Verify captured keys now have species_code=information_unit_atom and composition_level=atom.
  11. Verify inserted species row has management_mode=observed, not DB default governed.
  12. Capture inserted keys and backfilled keys into report + VPS log.
  13. Rollback by captured keys only.
  14. Do not touch TAC tables.
  15. Do not migrate DIEU-35.
  16. Do not map unit_version species.
  17. Do not patch fn_birth_registry_auto.
  18. Do not add DDL/constraints.

6. No-hardcode rules

  • Species values are GPT-locked constants, allowed in §3.
  • Table/column references in execution must still use introspection/semantic resolution where practical.
  • Historical counts are not gates.
  • Backfill target count must be live-derived.
  • Mapping pre-check must be live-derived.
  • No Agent-created values.

7. Hard boundaries

  • No Agent dispatch by Opus.
  • No DB write by Opus.
  • No seed/backfill execution in this step.
  • No migration.
  • No DDL.
  • No function/trigger patch.

8. Expected Opus response

Return only:

  1. Patched 5C1 prompt path.
  2. Patch report path.
  3. Top 7 rev1 safety gates.
  4. Confirmation GPT final review + User GO required before Agent dispatch.

9. Status

phase5c1_rev1_patch_allowed=true
agent_dispatch_allowed=false
seed_allowed=false
backfill_allowed=false
migration_allowed=false
Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/directives/gpt-directive-opus-p3d-pack1-phase5c1-write-rev1-dispatch-candidate-2026-05-11.md