KB-2D73

Copy/Paste Agent Prompt — P3D Pack1 Phase5C2B Authority Vocab Seed rev2

3 min read Revision 1
copy-pasteagentp3dpack1phase5c2bauthority-vocabseedrev2low-effort2026-05-12

Copy/Paste Agent Prompt — P3D Pack 1 Phase 5C2B Authority Vocab Seed rev2

Date: 2026-05-12 Recommended effort: low Mode: production write pack, one-row dot_config seed only

Prompt

Run the approved P3D Pack 1 Phase 5C2B publication authority vocab seed prompt rev2.

Recommended effort: low.

This is a production write pack, but scope is exactly one dot_config vocab row.

Read first:

knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-final-review-p3d-pack1-phase5c2b-prompt-rev2-approved-dispatch-2026-05-12.md
knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5c2b-publication-authority-vocab-seed-prompt-DRAFT.md
knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5c2b-prompt-rev2-transaction-log-conflict-patch-report.md

Then execute exactly:

knowledge/dev/laws/dieu44-trien-khai/prompts/p3d-pack1-phase5c2b-publication-authority-vocab-seed-prompt-DRAFT.md

Goal:

Seed the missing publication authority vocab so Phase 5C2 DIEU-35 pilot migration can use:

publication_authority_ref_value = incomex_council

Hard boundaries:

  • No TAC mutation.
  • No IU mutation.
  • No DIEU-35 migration.
  • No DDL.
  • No function/trigger patch.
  • No Directus/Nuxt/Qdrant changes.
  • No overwrite of existing dot_config row.
  • No nested/secondary Agent dispatch.
  • If an existing row conflicts, stop and report BLOCKED_EXISTING_CONFLICT.

Required behavior:

  • Open VPS execution log before DB action.
  • Introspect dot_config.
  • Resolve key/value/description/updated_at columns before use.
  • Check existing row.
  • Use one transaction.
  • Use pg_try_advisory_xact_lock.
  • Verify before COMMIT.
  • If already exists with exact values, report ALREADY_EXISTS_OK and do not insert.
  • If existing value conflicts, do not overwrite.
  • Save KB execution report.

Expected report path:

knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5c2b-publication-authority-vocab-seed-execution-report.md

Final response format:

phase5c2b_status=PASS|ALREADY_EXISTS_OK|BLOCKED_EXISTING_CONFLICT|BLOCKED|LOCK_BUSY|VERIFY_FAIL|INSERT_FAILED|POST_COMMIT_MISSING
report_path=knowledge/dev/laws/dieu44-trien-khai/reports/p3d-pack1-phase5c2b-publication-authority-vocab-seed-execution-report.md
log_path=/opt/incomex/logs/p3d-pack1-phase5c2b-<timestamp>.log
no_tac_mutation=true
no_iu_mutation=true
no_ddl=true
no_function_patch=true
no_overwrite=true
rows_inserted=1|0
vocab_key_seeded=vocab.publication_authority.incomex_council
vocab_value_seeded=incomex_council
post_insert_verified=true|false
verify_before_commit=true
publication_vocab_landscape_count=<N>
rollback_key_column=<resolved config_key column name>
rollback_key_value=vocab.publication_authority.incomex_council
next_recommended_action=GPT_REVIEW_THEN_PHASE5C2_DIEU35_PILOT

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-phase5c2b-authority-vocab-seed-rev2-2026-05-12.md