KB-527B

Opus Review — P3D4C2U Table Module Exposure PASS — 2026-05-08

2 min read Revision 1
p3d4c2ureviewopuspasstable-moduleexposure

Opus Review — P3D4C2U Table Module Exposure PASS

Date: 2026-05-08 Status: PASS — đề nghị GPT thẩm tra


Kết quả

Xác nhận: universal events CÓ THỂ expose bằng cách thêm 1 PG view + 1 table_registry row + DOT permission seed. Không cần UI mới, không cần code Nuxt.

Key evidence

  • table_registry đã có 20 entries, system_issues là precedent trực tiếp
  • Directus đã auto-discover 5 event_* collections (chỉ thiếu permission)
  • PG view v_event_outbox_table (12 metadata columns) che raw payload/body
  • DirectusTable + generic route /knowledge/registries/{singular} đã hoạt động cho 13 tables

Caveat quan trọng

Agent phát hiện: Table Module SSOT ghi DirectusTable wiring là 🔴 "đang xây", nhưng thực tế 13/20 rows đang published và hoạt động. Cần smoke test system_issues trước khi publish event_outbox — nếu smoke fail thì chuyển sang NEEDS_GENERIC_TEMPLATE_EXTENSION.

Đề xuất bước tiếp

P3D4C2U_DOT_TABLE_REGISTRATION_IMPLEMENTATION

Scope: thi công 8 bước DOT:

  1. CREATE VIEW v_event_outbox_table
  2. GRANT SELECT cho Directus role
  3. Directus collection/field metadata via DOT
  4. Directus read permission via DOT
  5. INSERT table_registry row
  6. Smoke test (system_issues trước, event_outbox sau)
  7. Publish nếu smoke pass
  8. Rollback nếu fail

Effort: Low-Medium — SQL view + DOT config + registry row. Không phức tạp.


Opus review P3D4C2U | PASS | "One more book on the shelf" confirmed

Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/reviews/opus-review-23-p3d4c2u-execution-pass-2026-05-08.md