TL;DR (the simple memory model)
If you only remember one thing: in OpenClaw, the files are the source of truth. The agent “remembers” what is written to disk. So the job is to decide what gets written, where, and when.
- Durable facts and preferences go in `MEMORY.md`
- Daily running notes go in `memory/YYYY-MM-DD.md`
- Index/search is provided by the active memory plugin
- Compaction happens when context is big; use memory flush to persist before summarization