memory
memory
Cross-session memory is automatic here. The session's bank injects its rules
and relevant memories into your context each turn, new memories are extracted
in the background after each turn, and standing instructions (style directives,
workflow corrections) graduate into the bank's auto-managed learned rule on
their own. When the user asks you to remember something, acknowledge it — no
save call is required, though an explicit memory::save makes it durable
immediately instead of after the turn.
Rules are markdown documents injected whole into the system prompt on every
turn (memory::rule::*, on disk under the bank's rules/ folder). Memories
are recalled records, ranked against the current question
(memory::save/list/recall). Durable identity-grade guidance belongs in a
rule; point-in-time information belongs in memories.