High-level tenancy layer.
Translates declarative tenancy rules (partition key, doc-id construction,
injected/sensitive fields, placement lookup) into low-level routing
decisions, so most implementers never touch RouteDecision plumbing
(docs/02, docs/03).
Two pieces:
- [
PlacementTable], the in-memory, epoch-versioned partition→placement map that backs an implementer'splacement_forlookup (M1; fleet store in M7). - [
TenancyRouter], adapts aTenancySpiinto aRoutingSpi, resolving the partition, looking up placement, and assembling the body transform.