Sessions are ephemeral by default — when one ends, anything the agent learned is gone. A memory store is a workspace-scoped collection of small text documents that persists across sessions. When a store is attached to a session (via resources[]), it is mounted into the cont. Use it as a repeatable review, validation or hardening pass.
The following example demonstrates modern syntax, including standard CTEs and relational constraints. Use it as a repeatable review, validation or hardening pass.