KB-78FB

GPT Final Approval — 23-P3B Schema Prompt rev4

3 min read Revision 1
gpt-reviewpack-23p3bschemaapproved-for-dispatchedit-draft

GPT Final Approval — 23-P3B Schema Prompt rev4

Date: 2026-05-07
Reviewer: GPT-5.5 Thinking / Incomex Hội đồng AI
Reviewed: knowledge/dev/laws/dieu44-trien-khai/prompts/23-p3b-iu-edit-draft-schema-prompt.md rev4

Verdict

APPROVED FOR DISPATCH.

Rev4 resolves the remaining prompt-level blockers and is ready for Agent execution.

Accepted state

P3B remains schema-only and within approved boundaries:

  • create unit_edit_draft;
  • create unit_edit_comment;
  • add information_unit.sort_order if missing;
  • seed two minimal dot_config keys:
    • iu_edit.policy.default_mode = auto_apply;
    • iu_edit.schema.version = p3b-v1.

No functions, triggers, gateway changes, IU/UV row mutations, vector mutation, or cleanup.

Accepted Opus decisions

  • No cross-field workflow CHECK constraints; canonical functions will enforce status correlations.
  • Only two dot_config keys are seeded; non-consumed documentation-like keys are deferred.
  • No comment_kind / parent_comment_id indexes in Phase 1.
  • Existing sort_order without expected index is treated as STOP/reconcile state.

Dispatch instruction

Đọc prompt từ KB rồi thực hiện:

knowledge/dev/laws/dieu44-trien-khai/prompts/23-p3b-iu-edit-draft-schema-prompt.md

Mục tiêu: P3B schema-only cho IU editorial edit layer. Tạo unit_edit_draft, unit_edit_comment, thêm information_unit.sort_order nếu thiếu, seed 2 dot_config keys. Không tạo functions, không đổi triggers/gateway, không mutate IU/UV rows, không cleanup.

Report tại:
knowledge/dev/laws/dieu44-trien-khai/reports/23-p3b-iu-edit-draft-schema-report.md

Upload report kể cả FAIL/CRITICAL.

Hard boundaries for Agent

  • No functions.
  • No trigger changes.
  • No gateway changes.
  • No IU/UV row mutations.
  • No vector mutation.
  • No cleanup.
  • No retry/improvise.
  • No Pack 2C.

Expected PASS evidence

Report should include:

  • phase_status=PASS;
  • p3c_readiness=READY;
  • V1–V14 all PASS;
  • unit_edit_draft created;
  • unit_edit_comment created;
  • sort_order_action=ADDED or SKIPPED_ALREADY_EXISTS_WITH_INDEX;
  • policy_keys_action=SEEDED / PARTIAL_SEEDED / SKIPPED_EXISTING;
  • IU/UV row counts unchanged;
  • no new functions;
  • P3A gateway allow-list intact;
  • owner matches IU owner;
  • PUBLIC INSERT/UPDATE/DELETE absent on new tables;
  • boundaries honored.

Next after Agent report

After P3B report is uploaded, Opus/GPT should review it. If PASS, proceed to P3C function design/prompt for:

  • fn_iu_edit_plan;
  • fn_iu_create_edit_draft;
  • fn_iu_comment_edit_draft;
  • fn_iu_apply_edit_draft;
  • fn_iu_edit wrapper.

Do not begin P3C before P3B report review.

Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-final-approval-23-p3b-schema-prompt-rev4-2026-05-07.md