Memory is stored data with an access boundary. A conversation identifier may repeat in another tenant, and one user can have several unrelated conversations. Match the full scope before loading a note. A helpful remembered fact is still a leak when it belongs to someone else.
Return the memory entries whose tenant and conversation both match the request, in original order. Never select by user ID alone.
The notebook executes your Python against an original local mock. Use the supplied case rather than copying visible values. The hidden checks change identities, revisions and boundary inputs; no provider endpoint or external tool is contacted.
An example implementation of the function contract.