KB-DFBD

Copy/Paste Agent Prompt — P3D Pack1 Phase4 Vocab Prep v7

4 min read Revision 1
copy-pasteagentp3dpack1phase4vocab-prepdraft-v7no-hardcodehigh-effort2026-05-11

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 live public.tac_logical_unit.section_type used values.
  • vocab.publication_type.* from live public.tac_publication.publication_type used values.
  • vocab.unit_kind.law_unit from the Pack 1 EVOLVE contract.

Read-only only:

  • species candidate reporting.

Document-only:

  • hash provenance contract preserving original TAC tac_unit_version.content_hash as 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:

  1. Run the approved prompt exactly.
  2. Use one psql session/transaction for gates → delta → dry-run → insert → G7 verification → commit.
  3. Allow only live-derived deltas and the explicit Pack 1 contract value law_unit.
  4. G3 must verify exact fn_iu_create_plan contract before delta/insert.
  5. STOP automatically if any executable gate fails.
  6. Capture exact inserted keys from _inserted_keys and include them in the report.
  7. Verify fn_iu_create_plan(p_unit_kind := 'law_unit') before COMMIT.
  8. Do not insert species mappings.
  9. Do not migrate TAC rows.
  10. 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.

Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-agent-copy-paste-pack1-phase4-vocab-prep-v7-2026-05-11.md