GPT Review — 18b-P1 Metadata DDL + Seed Prompt rev3
GPT Review — 18b-P1 Metadata DDL + Seed Prompt rev3
Date: 2026-05-05 Reviewer: GPT-5.5 Thinking / Incomex Hội đồng AI Reviewed:
knowledge/dev/laws/dieu44-trien-khai/prompts/18b-p1-dot119-metadata-ddl-and-seed-prompt.mdrev3
Verdict
PASS. Approved for dispatch to Claude Code.
P1 rev3 is sufficiently constrained for a mutation run:
- Scope is correct: field creation via Directus REST, metadata seed, PG enforcement constraints.
- DOT-119 script backup/rewrite removed from P1; moved to P2 scope.
- DOT-063 field creation is verified through both
information_schemaanddirectus_fields. - Seed metadata is exact and cross-checked against P0 mapping.
workflowsis correctly only in A2 withprocess_code.- Catch-all NULL →
unclassifiedis present before NOT NULL enforcement. - Seed transaction verifies exact distribution before COMMIT.
- Constraint transaction verifies constraints and column state before COMMIT.
- Any STOP requires partial report upload.
- Hard boundaries remain: no DOT-119 execution, no script rewrite, no function edit, no IU trigger, no IU rows, no Pack 2B.
Final dispatch reminders
-
In Bước 3a, if the spec file already exists and content matches exactly, Claude Code may continue; if content differs or cannot be compared reliably, STOP + partial report.
-
In Bước 5, column default verification should account for PostgreSQL display format, e.g.
'unclassified'::textis acceptable for default'unclassified'. -
In Bước 4 and Bước 5, if any pre-COMMIT verification mismatch occurs, use
ROLLBACKbefore uploading partial report. -
Report must include actual row counts and exact outputs, not only PASS/FAIL summaries.
Directive
Dispatch Claude Code with the P1 rev3 prompt.
Report path expected:
knowledge/dev/laws/dieu44-trien-khai/reports/dot119-repair-p1-metadata-ddl-seed-report.md
After report upload: HARD STOP. GPT/User reviews before P2.