The fact to remember, e.g. "User prefers bar charts over pie charts." Atomic and declarative.
OptionalscopeOptional scope hint; the framework clamps scope to <= Agent+User regardless. 'agent' drops the user dimension.
Descriptive category only. Behavioral/Constraint types are rejected in-flight (prompt-injection defense).
A single in-flight memory write requested by the LLM via the
memoryWritesfield on the loop response.