osproxy-tenancy 1.0.0

High-level tenancy SPI; implements the low-level RoutingSpi from tenancy rules.
Documentation

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's placement_for lookup (M1; fleet store in M7).
  • [TenancyRouter], adapts a TenancySpi into a RoutingSpi, resolving the partition, looking up placement, and assembling the body transform.