Skip to content

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
  1. When a session drives a workflow and the session's owner is a real user, the user identity passed into the execution context MUST be the session's own owner.
  2. A session with no owner, or owned by no real user, MUST pass no user identity.
  3. It MUST NOT fall back to the identity of the caller driving the turn, because doing so would hand one caller's memory bucket to the next.
  4. The identity passed this way is what the user memory scope resolves.

Why

Recorded under OPEN-25.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · MEM-8 · changed in spec 1.0