KB-1C95

GPT Analysis — P38-X Design Approach before Opus Direction

3 min read Revision 1
dieu38p38-xinformation-unitschema-designgpt-analysiss190

GPT Analysis — P38-X Design Approach before Opus Direction

Verdict

Opus đang thiết kế information_unit theo hướng đúng: không thiết kế một bảng mới ngay, mà thiết kế profile/schema chuẩn cho một object-family conform Đ44. Đây là lớp thiết kế logic/conceptual, không phải DDL/migration.

Thiết kế đang đi theo 5 lớp

  1. Family registration: xác nhận information_unit là object-family, owner law Đ38, owner agency còn TBD.
  2. Profile decomposition: tách miếng thông tin thành 3 profile: identity, content, publication.
  3. Field proposal: đề xuất 25 field, phân loại required/optional, fill type, G coverage.
  4. Physical reality mapping: đối chiếu với TAC physical hiện có, giữ core field ở cột riêng, chỉ đưa enrichment vào profile JSONB.
  5. Conformance: kiểm Đ44 §9.5 C1–C5, kết luận partial conformance hợp lý do OP-B và P44-4 chưa xong.

Điểm thiết kế mạnh

  • Không duplicate core fields vào JSONB.
  • Tôn trọng NT11: nhiều required field của content là derived check, agent không phải khai.
  • Giữ relation như referenced_units ở universal_edges, không nhét vào content_profile.
  • Đặt description optional/recommended thay vì required cứng, tránh over-enforcement quá sớm.
  • Rõ ràng về controlled-draft: không DDL, không code, không mutate production.

Điểm cần User tham gia bàn sâu

  1. title, owner_lookup_ref, publication_authority_ref có nên required ngay không, hay một số nên warn trước.
  2. description optional có đủ mạnh không, hay nên required với một số loại văn bản.
  3. content_profile có nên chỉ chứa optional enrichment hay có cần lưu snapshot của derived checks.
  4. publication_v1 có đang trộn document-level và publication-level quá nhiều không.
  5. Field count 25 có vừa sức birth gate/DOT không, hay cần phase MVP.

Direction implication

Chưa nên chỉ đạo Opus upload ngay. Nên yêu cầu Opus trước hết giải thích thiết kế theo model conceptual/logical/physical và tách rõ: core columns vs profile JSONB vs universal_edges vs DOT-derived checks. Sau đó mới polish P38-XA.

Back to Knowledge Hub knowledge/dev/laws/dieu38-trien-khai/reviews/gpt-analysis-p38-x-design-approach-2026-05-01.md