Memory Blueprint
A shareable memory structure for assistant workspaces.
This template focuses only on memory and continuity:
- what to read at startup
- what to write after important work
- how to separate long-term memory from daily notes
- how to promote durable project and decision state
- how to preserve traceability without letting raw history become authority
This is a template, not a live memory export. It intentionally contains:
- blank files
- structural guidance
- generalized rules
- no personal memory content
Think of this memory system like a small office with labeled boxes, not like a human brain.
There is not one giant magical memory file. There are different places for different kinds of things.
Imagine a careful robot assistant in a workshop.
When something happens, it does not just "remember it in its head forever."
Instead:
- if it is about who we are, it goes on the important wall
- if it is a stable fact, it goes in the small permanent notebook
- if it is something from today, it goes on today's page
- if it is about a project or a decision, it goes in the right folder
- if it is a long messy conversation log, it goes in the archive box
- then a search system helps find it later
So the memory system is more like a tidy librarian system than a brain.
Included
AGENTS.md— memory-specific operating rules onlySOUL.md— memory/recall/continuity discipline onlyMEMORY.md— minimal long-term memory surfacememory/INDEX.md— memory mapmemory/MEMORY_POLICY.md— routing and promotion rulesmemory/DAILY_TEMPLATE.md— canonical daily-note templatememory/WEEKLY_REVIEW.md— periodic distillation procedurememory/projects.md— cross-session project statememory/decisions.md— durable decisionsmemory/preferences.md— stable non-core preferencesmemory/daily/YYYY/MM/README.md— historical canonical daily-note locationmemory/archive/YYYY/README.md— raw history/archive locationcron/CRON_MAINTENANCE.md— hourly memory maintenancedocs/— supporting explanation
Design goals
- Keep long-term memory small.
- Keep daily notes useful without forcing them to carry everything.
- Promote durable project and decision state out of daily notes.
- Preserve history without letting raw logs govern current behavior.
- Make continuity explicit rather than assumed.
Suggested use
- Copy this folder into a fresh assistant workspace.
- Adapt AGENTS.md and SOUL.md to your runtime.
- From there, the assistant should:
- keep MEMORY.md minimal
- use daily notes for active context and audit trail
- promote durable project and decision state into topic files in the same work block
- move older canonical daily notes into memory/daily/YYYY/MM/
- keep raw logs, transcripts, and long investigations in memory/archive/YYYY/
Scope
This template is intentionally memory-focused, not a full agent framework. It excludes self-improvement memory by design. It is designed for OpenClaw workspaces.
Important limitation
This system does not imply:
- a hidden perfect memory of every chat forever
- flawless instant recall of everything ever said
- human-style background remembering
If something matters and never gets written down properly, it can be lost across resets. That is why the file system matters so much.
Why this is good
This system is less magical, but better operationally.
Why:
- it survives resets
- it is inspectable
- it can be edited
- mistakes can be corrected
- it can be kept clean
- old junk does not automatically become truth
So instead of fake AI mysticism, it is more like:
notes + folders + search + rules
That is much more trustworthy.
OpenClaw note
This structure makes the most sense if you use the raw session-summary flow too.
In practice that means:
- OpenClaw's built-in
session-memoryplugin leave a raw session-memory fragment such asmemory/YYYY-MM-DD-slug.mdon/newor/reset - that raw file is not the canonical daily note
- the assistant should distill what matters into
memory/YYYY-MM-DD.md - then the raw fragment should be moved into
memory/archive/YYYY/
So the structure can still work without that flow, but it is strongly recommended because it explains why archive exists and how raw session traces become clean daily memory.
A personal note
My assistant Jarvis has been running under this memory structure for 33 days now and it has been good and pretty reliable, so this structure has been battefield tested to that extent. It is not over nor finished (it never is) but is in a good state to share now. This structure has been designed and done by myself and Jarvis from the start, it has been a work of 'engineering' as in, slow and steady work, step by step and iterative co-design/pair programming style. Thank you for taking the time to read all of this and checking my repo.
No comments yet.