KB-3B36
FIX-PRODUCTION Report 2026-03-06
3 min read Revision 1
fixproductionreport
FIX-PRODUCTION Report — 2026-03-06
Assembly Gate
- Nuxt UI component needed? NO — this is a bug fix mission, no UI work
- Codebase has similar? N/A — fixing permissions and data, not components
- Existing → use as-is? N/A
- Not found? N/A
- New code registry? N/A — no new components
Bugs Fixed
BUG 1 — All 4 pages broken (CRITICAL) — FIXED
- Root cause:
table_registryhad 0 permissions;meta_cataloghad no public READ - Fix:
dot-permission-ensureto add public READ + AI Agent CRUD fortable_registry, public READ formeta_catalog - Result: All 4 pages immediately restored (API-side fix, no deploy needed)
BUG 1B — Health Check red since Mar 5 — FIXED
- Root cause:
registries/folder (from REGISTRY-SYNC mission) +advisor/folder not in.sync-allowed-folders.json - Fix: Added both folders to whitelist (PR #447 + PR #448)
- Result: Health Check GREEN (run #22755096691)
BUG 2 — Vietnamese diacritics — FIXED
- Updated 6 meta_catalog names via Directus API (Bảng UI, Quy trình, Bước quy trình, Đề xuất thay đổi, Danh mục hệ thống)
- Updated tbl_meta_catalog field labels (Mã, Tên, Loại, Mô hình, Số lượng, Trạng thái, Tầng)
- Updated registries/index.vue page titles and descriptions
BUG 3 — record_count = 0 for Model A — FIXED
- Root cause:
aggregate[count]=*returns empty in Directus 11.5.1;aggregate[countDistinct]=idworks - Fix: Updated dot-catalog-sync to use countDistinct; updated all counts via API
- Counts: CAT-000=11, CAT-001=8, CAT-003=2, CAT-004=70, CAT-005=3, CAT-009=6
Verification Results
| Page | HTTP | Data | Status |
|---|---|---|---|
| /knowledge/registries | 200 | 11 records | PASS |
| /knowledge/workflows | 200 | 2 workflows | PASS |
| /knowledge/modules | 200 | tasks data | PASS |
| /knowledge/current-tasks | 200 | 6 tasks | PASS |
| /knowledge/workflows/1?tab=matrix | 200 | 10 steps (wf1) | PASS |
| Health Check | GREEN | success | PASS |
| Vietnamese diacritics | — | all correct | PASS |
| record_count | — | all populated | PASS |
PRs
- PR #447: fix: production pages 403 + health check + Vietnamese diacritics
- PR #448: fix: add advisor to sync-allowed-folders (health check red)
- Both merged to main, CI GREEN