KB-24BA

00 — RP Governance Attach & Mapping Build — README FIRST

3 min read Revision 1
registries-pivotgovernanceattachmappingtwo-layerdieu24dieu29entity_speciestaxonomyread-only2026-06-03PASS

00 — README FIRST — RP Governance Attach & Mapping Build

Mission: REGISTRIES_PIVOT_GOVERNANCE_ATTACH_AND_MAPPING_BUILD · 2026-06-03 · status PASS. Channel: production = query_pg(database=directus) READ-ONLY. ZERO production mutations. Predecessor: one-roof-governance-live-adoption-bridge-for-registries-pivot-2026-06-03 (binding: doc 05 forbidden table, doc 07 guardrails G1–G5).

One-paragraph status

Registries-Pivot (RP) is live in production (pivot_definitions=37, pivot_results=126) but registry_group/species/composition_level are free-text and ungoverned. This macro attached RP to governance read-only and built + rehearsed a mapping layer. HEADLINE finding (corrects the bridge): there are TWO governance layers. The new object-ownership/axis/topic skeleton is inert and gated (os_proposal_approvals=0, gap=210, axis/topic absent). But the Đ24/Đ29 faceted-classification layer (taxonomy_facets=10, taxonomy=58, entity_species=42 with its own composition_level, label_rules=38, entity_labels=820,187) is LIVE — the exact governed home RP's three columns map onto. Mapping rehearsed read-only (37 rows, zero mutation): every non-null species is already a real governed entity_species code (0 orphans); 9 of 15 governance-domain registry_group rows map EXACTLY to taxonomy FAC-02 values (LBL-101/104/105). A read-only mapping view is packaged paste-ready (DDL+rollback+no-island proof) but NOT executed (no safe DDL channel via query_pg; gate discipline).

The single load-bearing fact

TWO governance layers, not one. (1) Classification layer — Đ24/Đ29 taxonomy_facets/taxonomy/entity_species — is LIVE. RP's species/composition_level/registry_group attach read-only TODAY. This is where the grouping/classification confusion is SOLVED. (2) Object-ownership layer — Gov Phase-1 ownership/axis/topic/scanner — is INERT and gated (ospa=0, gap=210, axis/topic ABSENT). Never claim objects owned/governed while gap>0; never read axis*/topic*/ownership as seeded. RP maps onto live truth (layer 1) and waits for layer 2 — forks neither.

Verdicts

Live verification complete YES (db=directus, read-only, 0 mutations). Ownership rollout open NO (ospa=0). Live governed classification layer YES (Đ24/Đ29). Inventory complete YES (doc02). Attachment model two-layer YES (doc03). Mapping rehearsed YES 37 rows (doc04). Data-quality complete YES (doc05). Production artifact committed NO — paste-ready (doc06). Island created NO. Forbidden NONE (doc10). Overall PASS.

Docs 00–10 + sql/v_rp_classification_governance_map.sql + sql/rollback_and_verify.sql.

Back to Knowledge Hub knowledge/dev/reports/architecture/registries-pivot-governance-attach-and-mapping-build-2026-06-03/00-readme-first.md