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:
- CREATE VIEW v_event_outbox_table
- GRANT SELECT cho Directus role
- Directus collection/field metadata via DOT
- Directus read permission via DOT
- INSERT table_registry row
- Smoke test (system_issues trước, event_outbox sau)
- Publish nếu smoke pass
- 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