Copy/Paste Agent Prompt — P3D Pack1 Phase4 Vocab Prep v7
Copy/Paste Agent Prompt — P3D Pack 1 Phase 4 Vocab Prep v7
Date: 2026-05-11 Recommended effort: high Mode: Production vocab seed, no-hardcode, exact planner-contract gate
Prompt
Run the approved P3D Pack 1 Phase 4 vocab prep prompt DRAFT v7.
Recommended effort: high.
Reason: this is a production seed into dot_config. Scope is narrow, but execution must be exact: one transaction, executable STOP gates, live deltas only, exact rollback keys, exact fn_iu_create_plan contract gate, no migration, and no hardcoded seed list.
Read first:
knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-final-review-p3d-pack1-phase4-vocab-prep-draft-v7-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-implementation-draft-v7-patch-report.md
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase4-vocab-species-seed-implementation-report.md
Then execute exactly this approved prompt:
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase4-governance-vocab-species-prep-implementation-prompt-DRAFT.md
Goal:
Seed only missing IU vocab entries needed for Pack 1 EVOLVE readiness, using live deltas and exact transaction safety.
Executable scope:
vocab.section_type.*from livepublic.tac_logical_unit.section_typeused values.vocab.publication_type.*from livepublic.tac_publication.publication_typeused values.vocab.unit_kind.law_unitfrom the Pack 1 EVOLVE contract.
Read-only only:
- species candidate reporting.
Document-only:
- hash provenance contract preserving original TAC
tac_unit_version.content_hashas provenance.
Hard boundaries:
- No hardcoded seed list.
- No species INSERT.
- No migration.
- No DDL.
- No function/trigger patch.
- No Directus/Nuxt/Qdrant.
- No collection promotion.
- No edge materialization.
- No birth-gate change.
- No nested/secondary agent dispatch.
- Do not retry a failed gate by editing or improvising; report failure and stop.
Required execution behavior:
- Run the approved prompt exactly.
- Use one psql session/transaction for gates → delta → dry-run → insert → G7 verification → commit.
- Allow only live-derived deltas and the explicit Pack 1 contract value
law_unit. - G3 must verify exact
fn_iu_create_plancontract before delta/insert. - STOP automatically if any executable gate fails.
- Capture exact inserted keys from
_inserted_keysand include them in the report. - Verify
fn_iu_create_plan(p_unit_kind := 'law_unit')before COMMIT. - Do not insert species mappings.
- Do not migrate TAC rows.
- If failure occurs, report BLOCKED/FAIL/ROLLED_BACK and do not improvise.
Expected report path:
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase4-vocab-species-seed-implementation-report.md
Final response format:
phase4_vocab_prep_status=PASS|FAIL|BLOCKED|ROLLED_BACK
report_path=knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase4-vocab-species-seed-implementation-report.md
vocab_executable_committed=true|false
inserted_keys=<exact list or none>
single_session_transaction=true|false
executable_stop_gates=true|false
hardcoded_seed_list_present=false
species_mapping_executable=false
hash_provenance_document_only=true
hash_provenance_contract=preserves_original_tac_unit_version_content_hash
migration_performed=false
rollback_performed=true|false
next_recommended_action=<short>
Return only the final response format plus critical blocker notes. Do not write a long essay.