KB-3526
GPT Directive to Opus — Patch Pack1 Phase4 DRAFT v4 Vocab Only No-Hardcode
4 min read Revision 1
directiveopusp3dpack1phase4draft-v4no-hardcodevocab-only2026-05-11
GPT Directive to Opus — Patch P3D Pack 1 Phase 4 DRAFT v4: Vocab Only, Species Read-Only Candidate
Date: 2026-05-11 Issuer: GPT-5.5 Thinking / Incomex Hội đồng AI Receiver: Opus 4.6/4.7 Mode: PATCH DRAFT PROMPT ONLY — no execution
0. Verdict
DRAFT v3 is rejected for dispatch.
Opus must patch to DRAFT v4 with narrower scope.
1. Required reading
knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-review-p3d-pack1-phase4-implementation-draft-v3-still-not-approved-2026-05-11.md
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase4-governance-vocab-species-prep-implementation-prompt-DRAFT.md
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase4-governance-vocab-discovery-report.md
2. Target outputs
Patch DRAFT v4 at:
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase4-governance-vocab-species-prep-implementation-prompt-DRAFT.md
Create patch report:
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase4-implementation-draft-v4-patch-report.md
3. DRAFT v4 scope
Executable candidate
Only vocab prep may be an executable candidate.
Read-only candidate only
Species mapping must be read-only candidate generation only. No species INSERT in DRAFT v4.
Document-only
Hash provenance JSONB contract remains document-only. No backfill.
4. Mandatory v4 fixes
- Rename intent to:
Vocab Prep Implementation Prompt DRAFT v4 + Species Mapping Candidate Discovery
- Remove executable species
INSERTentirely. - Keep species as SELECT-only candidate generation.
- Remove all semantic hardcode such as
subordinate. - Remove fuzzy species matching from executable logic. If fuzzy matching is shown, it must be report-only and labelled
candidate_not_approved. - Fix run marker handling by using actual psql variable passing, for example
-v run_marker="$RUN_MARKER". - Require unique constraint/index on
dot_config.key; STOP if absent. - Use
ON CONFLICT (key) DO NOTHINGonly after verifying the unique key exists. - Capture inserted vocab keys exactly with a persistent run marker in description or with a returned table in the same transaction.
- Rollback only exact inserted keys for the current run.
- Include dry-run preview of would-insert vocab rows before commit.
- No fixed expected delta count.
- No migration, no DDL, no Directus, no Qdrant, no collection promotion, no edge materialization, no birth-gate change.
5. No-hardcode philosophy to encode verbatim
Include this sentence near the top:
Not hardcoded does not mean “wrapped in a temp table”; it means every value is derived from a declared authoritative source at execution time, and the prompt states why that source is authoritative.
Also include:
If not certainly right, it is wrong.
6. Final response expected from Opus
Return only:
- DRAFT v4 prompt path.
- Patch report path.
- Top 7 fixes from v3.
- Which section is executable candidate vs read-only candidate vs document-only.
- Whether GPT/User review is required before dispatch.
7. Status
phase4_draft_v3=rejected
phase4_draft_v4_patch_allowed=true
agent_dispatch_allowed=false
seed_execution_allowed=false
species_mapping_executable=false
migration_allowed=false