S163 Jurisdiction & Enforcement Report
S163 Report: Jurisdiction & Enforcement
Date: 2026-04-04 | Session: S163 Status: ALL PASS — 5 tầng Đ37 hoàn thành
Phase A: Khảo sát
law_jurisdiction schema
id, law_code (FK normative_registry), domain (FK dot_domains), coverage_type (CHECK: primary/secondary/reference), description, status. UNIQUE(law_code, domain). Trigger: 1 primary per domain.
law_dot_enforcement schema
id, law_code (FK normative_registry), dot_code, enforcement_role, status. UNIQUE(law_code, dot_code). Trigger validates dot_code exists.
normative_relations schema
id, source_code (FK), target_code (FK), relation_type (CHECK: implements/amends/supersedes/references/depends_on/conflicts_with), status. UNIQUE(source, target, type).
binding_registry schema
code (PK), name, binding_type (CHECK: field/view/query/enum/taxonomy), source_table, source_column, source_view, output_format, description, status. Purpose: data bindings, NOT law relations → no fill needed.
Data sources
- normative_registry: 38 enacted
- dot_tools: 252
- dot_domains: 14 parent + 17 sub = 31 total
- All 4 target tables: 0 rows before fill
Phase B: Mapping Logic
Law → Domain (primary, 1 per domain)
| Domain | Law | Coverage |
|---|---|---|
| birth | NRM-LAW-00G (Khai Sinh) | primary |
| classification | NRM-LAW-24 (Nhãn) | primary |
| collection | NRM-LAW-36 (Collection Protocol) | primary |
| data_quality | NRM-LAW-14 (Chống Trùng lặp) | primary |
| governance | NRM-LAW-37 (Bộ máy Quản trị) | primary |
| infrastructure | NRM-LAW-05 (5 Tầng) | primary |
| kg | NRM-LAW-39 (Knowledge Graph) | primary |
| lifecycle | NRM-LAW-12 (Vòng đời) | primary |
| monitoring | NRM-LAW-31 (Toàn Vẹn) | primary |
| normative | NRM-LAW-38 (Văn bản Quy phạm) | primary |
| pivot | NRM-LAW-26 (Pivot) | primary |
| sync | NRM-LAW-06 (Đồng bộ) | primary |
| workflow | NRM-LAW-15 (State Machine) | primary |
Unmapped domain: unclassified — no governing law (by design).
DOT→Law derivation
DOT domain → parent domain → primary law. Enforcement role: tier B=executor, tier A=auditor.
Phase C: Fill Results
- law_jurisdiction: 38 rows (13 primary + 10 secondary + 15 reference)
- law_dot_enforcement: 252 rows (all DOTs mapped, 0 unmapped)
- normative_relations: 13 rows (12 Đ39 depends_on + 1 Đ38 implements Đ37)
- binding_registry: 0 rows — data bindings, not law relations. No fill needed.
Phase D: Verify — 5 Tầng Đ37
| Tier | Table | Count | Status |
|---|---|---|---|
| T1 | normative_registry (enacted) | 38 | LIVE |
| T2 | law_jurisdiction | 38 | LIVE (NEW) |
| T3 | governance_registry | 5 | LIVE |
| T4 | governance_relations | 8 | LIVE |
| T5 | dot_tools | 252 | LIVE |
- UNMAPPED DOTs: 0
- Directus: tables already registered (from Đ37 schema creation)
Issues & Recommendations
unclassifieddomain has no primary law — expected (catch-all for unclassified DOTs)- Đ27, Đ34 listed as Đ39 dependencies but Đ27 doesn't exist and Đ34 is draft → skipped in normative_relations
- binding_registry remains 0 rows — purpose is data bindings not law relations
- Future: add normative_relations for other inter-law dependencies beyond Đ39