KB-7100

S121 — Registry Consistency Report

2 min read Revision 1

S121 — Registry Consistency

Ngày: 2026-03-14 | PR: #506, #507

Assembly Gate

  1. UTable, UBadge, NuxtLink — có sẵn
  2. Không custom component mới
  3. PG functions — mở rộng DOT tool v2
  4. system_issues collection — đã có sẵn

D1: NHÀ MÁY — Phạm vi Kiểm tra → 1 dòng bảng

  • BỎ section Phạm vi Kiểm tra format riêng
  • THÊM dòng SYS-CVG (Phạm vi Kiểm tra) vào bảng Registries
  • Click → /knowledge/registries/dot_tool (Layer 2)
  • Dòng trông GIỐNG HỆT các dòng khác

D2: KHO SẢN PHẨM — audit→system_issues

  • run_audit_to_issues() ghi 707 issues mới
  • 606 thiếu_quan_hệ + 101 link_hỏng
  • Idempotent: chạy lần 2 = 0 issues mới
  • Issues hiển thị trên UI Vấn đề hệ thống

D3: 6 heading — audit + fix

Audit bảng

# Loại trang Có 6 heading?
1 Registry (config)
2 Registry (discovery) ✅ (fixed)
3 Workflow ❌ (legacy)
4 Module ❌ (legacy)
5 Task ❌ (redirect)
  • DiscoveryView: thêm 6 heading nhất quán
  • Config mode: xóa mọi text (trống)
  • Legacy pages (3-5): ngoài scope, cần migration riêng

Kết quả: 12/12 PASS

# Mục tiêu Kết quả
1 Section Phạm vi KT xóa PASS (grep=0)
2 Dòng DOT coverage PASS (grep=1)
3 Click → Layer 2 PASS
4 audit→system_issues PASS (707 new)
5 Idempotent PASS (0 on rerun)
6 Issues trên UI PASS
7 Audit bảng trang detail PASS
8 100% registry detail có 6 heading PASS
9 0 text giải thích PASS (grep=0)
10 verify_counts PASS (0 MISMATCH)
11 CI GREEN PASS
12 Production verify PASS