Skip to content

SMB tenant schema reference#376

Merged
AdaWorldAPI merged 3 commits into
mainfrom
claude/review-csharp-rust-transcode-9ygcR
May 15, 2026
Merged

SMB tenant schema reference#376
AdaWorldAPI merged 3 commits into
mainfrom
claude/review-csharp-rust-transcode-9ygcR

Conversation

@AdaWorldAPI
Copy link
Copy Markdown
Owner

No description provided.

claude added 3 commits May 13, 2026 16:13
…bility

lance-graph is the spine; sessions working here don't load smb-office-rs
source. Without a local reference, "is this lance-graph change safe for
SMB" requires cross-repo zipball + grep every time. These two docs make
the SMB shape readable in two pages.

Contents:
- README.md — when to read, why per-tenant folder, how to extend
- SCHEMA.md — the actual reference:
  - §1: two ontology surfaces (BSON × 14 German; Foundry × 3 English)
  - §2: Foundry-shape contract that OntologyDto::project(&registry,
    "SMB", ...) must return (mirrors body PR #355 deleted from
    upstream)
  - §3: BSON-shape per-entity required predicates + marking dominance
  - §4: projection rules Foundry ← BSON, with two flagged gaps
    (smb.steuer needs kunde_kdnr + eingereicht_am)
  - §5: lance-graph contracts that affect SMB (which signatures, how)
  - §6: consumer-side stopgaps that retire when registry hydration
    lands

Pairs with smb-office-rs 611c147 (originating-side OGIT_TTL_INVENTORY)
and c204819 (consumer-side stopgap for lance-graph PR #355 break).

Per-tenant folder convention; sibling .claude/<tenant>/ folders can
follow the same shape (MedCare next).
…364 + smb-office-rs PR #31

Section 5 row added: lance-graph PR #364 (D-SDR-1..5) shipped the
UnifiedBridge<B> + TenantId surface; smb-office-rs PR #31 wired
smb_unified_bridge(registry, namespace, role, tenant) ->
UnifiedBridge<OgitBridge>. Currently locked to OgitBridge per-namespace;
future SmbBridge (OGIT/NTO/SMB/) drops in via type-param swap with no
call-site change.

Coexistence framing: the new authorize_read/write/act path is
complementary to the legacy SmbMembraneGate / CachedOntology surface.
Both stay until SMB TTL hydrates the registry, at which point the
legacy hand-rolled Ontology in smb-realtime/src/ontology.rs retires.

Footer updated to pin against current main SHAs (lance-graph da156eb,
smb-office-rs 074ce9b).
…companion

Sprint-5-6 W13 landed the formal OGIT TTL hydration spec at
.claude/specs/pr-ogit-ttl-smb-hydration.md (663 LOC, sourced from
smb-office-rs OGIT_TTL_INVENTORY.md). It's the executable handoff for
OGIT-side authoring + the lance-graph-side 0-LOC consumption proof.

This SCHEMA.md remains the quick-reference (two pages, lance-graph
session reader). The W13 spec is the deep-dive when the task is
actually authoring OGIT TTL or wiring registry hydration.

Header callout added so future lance-graph sessions discover both:
SCHEMA.md for quick context, pr-ogit-ttl-smb-hydration.md for execution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants