P3D — Multidimensional Entity DB Design v2 Patch Report
P3D — Multidimensional Entity DB Design v2 Operational Contract Patch Report
Date: 2026-05-12 Author: Opus (Claude) Patched: v1 → v2
Top 9 v2 fixes
-
Species count corrected — Glossary historical = 33, live runtime probes = 40. v1 said "33 hiện tại" = stale. v2 distinguishes both with live as current truth.
-
Terminology tightened — "meta-layer" clarified as glossary term, not UI Layer. "meta-class" preferred. All Tầng/Lớp/Layer/Loài usage verified.
-
Entity Living DB = operational contract — Each of 6 headings now has: runtime sources, min birth/migration requirement, enrichment path, not-cache/not-hardcode rule, 5C2 impact. Not just prose.
-
Relation-pair matrix with 8 quy tắc from Điều 21 — Exact text recovered from Điều 21 v3.0. 8 rules in 4 groups (Identity, Structural, Dependencies, Implicit). Mapped to IU pilot status per rule.
-
Matrix dimension registry contract — 10-field design contract (dimension_id → owner_law). Future dimensions = metadata rows, not code branches. Design-only, no DB implementation yet.
-
Runtime gap matrix expanded — Added columns: TAC UI dependency, preserve_during_pilot, cutover_allowed_now, required_cutover_evidence. Default: preserve=true, cutover=false. Status distinguished: VERIFIED_LIVE / DESIGNED_ONLY / MISSING / DEFERRED.
-
unit_version reframed — "Current P3D IU policy: subordinate artifact" instead of universal law claim.
-
5C2 resume claim downgraded — "may resume as parallel pilot after v2 review" + "targeted preflight allowed if GPT identifies assumptions". Not "can resume, no inventory needed".
-
TAC→UI preservation section added (§O) — 7 subsections: current path (P10D-2B), tables feeding UI, behavior to preserve, redirect rules, forbidden changes, runtime evidence, UNKNOWN items needing inventory. Plus addendum §6 with 4 classification tags (NO_TOUCH / PARALLEL / FORBIDDEN / CANONICAL).
TAC→UI preservation findings
- P10D-2B (commit
5ce3437) deployed Laws Page code reading from tac_* tables via Directus SDK - 4 tables feed UI: tac_publication, tac_publication_member, tac_logical_unit, tac_unit_version
- Generic renderer with no doc_code branching (verified: grep = 0)
- 2 UNKNOWN items: (1) CI deploy status of 5ce3437, (2) visual rendering verification — both marked NEEDS_TARGETED_AGENT_READONLY_SEARCH
Targeted inventory recommendation
No broad inventory needed. 2 targeted checks recommended (TAC→UI baseline verification, not IU prerequisites):
- Verify P10D-2B commit deployed to production Nuxt bundle
- Laws Page visual rendering curl/screenshot check
These confirm the baseline 5C2 must preserve, not prerequisites for IU migration itself.
Confirmation
phase5c2_migration_allowed=false
ui_cutover_allowed=false
agent_dispatch_allowed=false
Artifacts
| Artifact | Path | Rev |
|---|---|---|
| Design v2 | knowledge/dev/laws/dieu44-trien-khai/design/p3d-multidimensional-entity-db-architecture-design.md |
2 |
| Addendum v2 | knowledge/dev/laws/dieu44-trien-khai/design/p3d-phase5c2-impact-addendum-after-multidimensional-design.md |
2 |
| This report | knowledge/dev/laws/dieu44-trien-khai/reports/p3d-multidimensional-entity-db-design-v2-operational-contract-patch-report.md |
1 |
v2 Patch Report | 2026-05-12