Skip to main content

Module scopes

Module scopes 

Source
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.