A session's memory principal is its owner or nobody
Memory follows the conversation, not whoever happens to be driving it this turn. An unowned conversation therefore has no user memory at all.
The rule
Normative: this is the rule
- When a session drives a workflow, the user identity passed into the execution context is the session's own owner, and only when that owner is a real user.
- A session with no owner, or owned by no real user, passes no user identity, and must not fall back to the identity of the caller driving the turn; doing so would hand one caller's memory bucket to the next.
- The identity passed this way is what the
usermemory scope resolves.
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0-draft · MEM-8 · changed in spec 1.0