TL;DR (the memory rules that prevent 80% of drift)
Treat memory as a system of record. If you cannot review it, you cannot trust it.
Most “OpenClaw forgot” complaints are really: memory was never committed to disk, memory was polluted with transient text, or compaction summarized away key constraints.
- Store durable decisions and preferences, not raw conversations
- Keep long-term memory small and curated (edit it like code)
- Separate “daily log” from “stable rules”
- Use a commit + verify loop whenever memory changes
- When compaction happens, preserve the constraints explicitly