KB-6963

GPT Review — 18b-P1 Metadata DDL + Seed Prompt rev3

2 min read Revision 1
gpt-reviewdot-119p1metadataddlseedapproved-dispatch

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.md rev3

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_schema and directus_fields.
  • Seed metadata is exact and cross-checked against P0 mapping.
  • workflows is correctly only in A2 with process_code.
  • Catch-all NULL → unclassified is 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

  1. 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.

  2. In Bước 5, column default verification should account for PostgreSQL display format, e.g. 'unclassified'::text is acceptable for default 'unclassified'.

  3. In Bước 4 and Bước 5, if any pre-COMMIT verification mismatch occurs, use ROLLBACK before uploading partial report.

  4. 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.

Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/reviews/gpt-review-18b-p1-metadata-ddl-seed-prompt-rev3-2026-05-05.md