Commit 5b3ba39
committed
plan: super-domain RBAC + multi-tenancy v1 (4-level OGIT addressing + Foundry-parity enforcement)
Locks the 4-level addressing hierarchy (meta-anchors → super domain → OGIT
basin → within-basin slot) with explicit byte-sized DTOs. 6 bytes per row
(4-byte TenantId + 2-byte OwlIdentity) with single masked DataFusion
predicate enforcing tenant + super-domain + role + slot in one vector pass.
Promotes holograph::dntree::WellKnown ordinals to first-class business-named
SuperDomain enum (Healthcare/Science/Genetics/QuantumPhysics/TicketTool/
WorkOrderBilling/OSINT) with cross-walks to Foundry ObjectType / OWL upper
class / DOLCE marker / Wikidata QID. Wires nested role groups within super
domains plus per-tenant Chinese walls (cryptographic isolation via per-tenant
DEK as backstop to predicate filter).
Corrects an earlier sketch that proposed label-vs-metadata as sidecar tables
joined at query time — that was Neo4j-shaped. Right architecture is inline
per-family codebook addressed by the same 16-bit OwlIdentity. No join.
Locks 2-consumer ticket-system constraint: hiro-rs absorbs all 4 OSLC-*
namespaces with off-label fit acceptable (provenance lineage in FamilyEntry);
hubspot-rs is fresh basin (CRM codebook has zero overlap with Hiro IT-ops).
Tier A DTOs (D-SDR-1..5), Tier B TTL namespaces (D-SDR-6..7 on OGIT fork),
Tier C consumer crates (D-SDR-8..9), Tier D compliance + audit (D-SDR-10..11),
Tier E cross-tenant federation (D-SDR-12, Phase 2).
Builds on shipped substrate: SchemaPtr packed u32, OgitBridge +
BridgeFromRegistry, NamespaceRegistry::seed_defaults, DnPath compression
chain (ZeckBF17→Base17→CAM-PQ→scent), HhtlDEntry bit-packed-hierarchy
pattern, lance-graph-contract::cam CAM-PQ codec contract.
Foundry parity narrative: Palantir charges $1M+/yr for ObjectType-level
enforcement; we ship it as a single masked predicate at the super-domain
boundary, sub-microsecond hot path.
INTEGRATION_PLANS.md prepended per APPEND-ONLY governance.1 parent 384cbe0 commit 5b3ba39
2 files changed
Lines changed: 592 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
39 | 52 | | |
40 | 53 | | |
41 | 54 | | |
| |||
0 commit comments