KB-7917
Registry Engine Report
3 min read Revision 1
registryenginereport
Registry Engine Report
Date: 2026-03-06 Mission: REGISTRY-ENGINE PR: #451 (merged + deployed)
Assembly Gate
- Nuxt UI? SharedDirectusTable, UIcon, UBadge, NuxtLink. DUNG NGUYEN.
- Codebase? DirectusTable pattern tu cac trang hien co. DUNG NGUYEN.
- DOT tools? dot-schema-* pattern. Khong trung lap (da grep).
- table_registry? 5 entries moi da tao TRUOC khi code page.
- DOT duplicate check? ls dot/bin/dot-schema-registry — none. PASS.
Results
Milestone 1: Schema + Data
- 4 collections moi: dot_tools, ui_pages, collection_registry, agents
- modules collection fixed (permissions + fields)
- 248 items populated: 95 tools, 37 pages, 106 collections, 6 agents, 4 modules
- 11/11 meta_catalog entries co registry_collection + status active
Milestone 2: Auto-ID
- 10 Directus Flows tao thanh cong
- Pattern: event trigger -> read max code -> exec JS -> item-update
- Prefix: CAT, TBL, MOD, WF, WCR, DOT, PG, COL, AGT, TSK
Milestone 3: Drill-down UI
- Layer 1: /knowledge/registries — record_count clickable voi arrow icon
- Layer 2: /knowledge/registries/[entityType] — dynamic DirectusTable
- Layer 3: /knowledge/registries/[entityType]/[id] — detail + breadcrumbs
- 5 table_registry entries cho Layer 2
Milestone 4: Diff Detection
- dot-registry-diff tool hoat dong
- Phat hien MISSING va ORPHAN items
- Auto-upload report to Agent Data
Verify
- 4 collections tao trong Directus PASS
- Permissions: public READ + AI Agent CRUD PASS
- 11/11 meta_catalog co registry_collection PASS
- dot-registry-diff: 8/11 OK, 3 mismatches (expected — new items)
- /knowledge/registries -> 200 PASS
- /knowledge/registries/dot_tool -> 200 PASS
- /knowledge/registries/agent -> 200 PASS
- CI GREEN, PR merged, deployed
Changes
- dot/bin/dot-schema-registry-collections-ensure (new)
- dot/bin/dot-registry-populate (new)
- dot/bin/dot-flow-setup-auto-id (new)
- dot/bin/dot-registry-diff (new)
- web/pages/knowledge/registries/index.vue (updated)
- web/pages/knowledge/registries/[entityType].vue (new)
- web/pages/knowledge/registries/[entityType]/[id].vue (new)