KB-2406
GPT Final Check — 22-P0 Inspection Prompt Dispatch Approval
2 min read Revision 1
gpt-reviewpack-22p0dispatch-approvedfinal-check
GPT Final Check — 22-P0 Inspection Prompt Dispatch Approval
Date: 2026-05-06 Reviewer: GPT-5.5 Thinking / Incomex Hội đồng AI Reviewed:
knowledge/dev/laws/dieu44-trien-khai/prompts/22-p0-iu-native-create-contract-inspection-prompt.mdrev2
Verdict
APPROVED FOR DISPATCH.
The prompt is correctly scoped as read-only and is fit to send to Agent.
Checks passed
- P0 only: no CREATE FUNCTION, no DDL, no DML.
- Correctly inspects existing mechanisms before proposing new function creation.
- Anti-hardcode controls present:
- roles discovered before grants;
- trigger inventory from catalog +
pg_get_triggerdef; - deferrable FK candidates counted, not
LIMIT 1; - constraints discovered from catalog;
- inaccessible paths must be reported as inaccessible, not absent.
- Report requires blocker/warning/TD classification.
- Report requires anti-hardcode self-check.
- No Pack 2C/IU runtime action.
Minor note
Some read-only queries may error if a column changes unexpectedly; Agent should record the error and continue where possible, not mutate or improvise. This is acceptable for P0 because runtime drift is exactly what P0 is meant to reveal.
Dispatch instruction
Đọc prompt từ KB rồi thực hiện:
knowledge/dev/laws/dieu44-trien-khai/prompts/22-p0-iu-native-create-contract-inspection-prompt.md
Mục tiêu: Kiểm kê runtime state cho IU creation contract. READ-ONLY, không tạo function, không DDL/DML. HARD STOP sau report.
Report tại:
knowledge/dev/laws/dieu44-trien-khai/reports/22-p0-iu-native-create-contract-inspection-report.md