Exact native tenant-root owner for Agent-only DEEP composition.
The tenant ID must come from verified tenant authority, never a raw request
header. This value checks identity; it does not authenticate the caller or
mint an erasure admission. Bind it before scheduling work or opening storage.
DeepTenantOwner
dataclass
DeepTenantOwner(scope: MemoryScope, tenant_id: str)
One verified tenant ID bound to its exact v1 root and storage key.
from_scope
classmethod
from_scope(scope: MemoryScope, *, tenant_id: str) -> DeepTenantOwner
Bind an explicit v1 root to the independently verified tenant ID.
Source code in src/symfonic/capabilities/memory/deep_owner_scope.py
| @classmethod
def from_scope(cls, scope: MemoryScope, *, tenant_id: str) -> DeepTenantOwner:
"""Bind an explicit v1 root to the independently verified tenant ID."""
return cls(scope, tenant_id)
|