symfonic.memory.backends.postgres_lease_identity¶
postgres_lease_identity ¶
Bounded native lease comparison without changing persisted capability keys.
This remains a transitional private adapter, not scalable native admission.
Native paths begin with [; validated v0 paths cannot. Existing JSON rows
remain authoritative through a canonical-root expression index.
native_overlap
async
¶
Compare at most 256 live identities under the complete kind-aware root.
Both queries use the digest/expiry index; equality rechecks the complete root before LIMIT. Unclassified live paths refuse globally, including old direct writes. Index assistance is not an absolute I/O bound under crafted digest collisions or dead tuples; the timeout remains the execution bound. The one-second budget covers both checks, after the tenant lock.
Source code in src/symfonic/memory/backends/postgres_lease_identity.py
validated_lease ¶
Validate authority before acquiring any database connection.