Expand description
Scope resolution logic for the agent memory system.
Determines which MemoryScope to use when writing a new memory and
which scopes are visible for a given user context during searches.
Functions§
- resolve_
scope - Scope is a classification within the verified owner’s namespace. There is no anonymous-to-global downgrade; MemoryService rejects missing authority.
- scope_
requires_ auth - user_
id_ for_ query - A missing identity is an error, never an unrestricted storage filter.