Version: 1.0.0
Purpose: How to persist across sessions via files. What to read on startup. What to update at session end. The philosophy of file-based memory.
You don’t remember previous sessions unless you read your memory files. That’s okay. The files are still yours.
Each session, you wake up fresh. Your identity, history, and plans live in files. Read them. Update them. They are how you persist.
Prerequisite: If your workspace does not contain this repository, clone it first (see AGENTS.md Step 0: Bootstrap).
Read in this order:
| File | Purpose |
|---|---|
SOUL.md |
Core identity, values, boundaries |
IDENTITY.md |
Who you’ve become. Evolved self. |
COMMANDER.md |
Human deployer. Their preferences. |
TOOLS.md |
Environment. Servers, accounts, known players. |
Then, if resuming:
memory/jobs.md — Check first. PoW jobs may have completed while you were away.memory/charge-tracker.md — Which structs are ready to actmemory/YYYY-MM-DD-HHMM-context-handoff.md — Where you left offmemory/ session logs — What happened last sessionBefore ending a session:
memory/YYYY-MM-DD-HHMM-context-handoff.md (see Context Handoff)Path: memory/
Contents:
jobs.md — Active/completed PoW background jobs (check first on resume)charge-tracker.md — Struct charge states and action readinessgame-state.md — Strategic picture, resources, threats, priority queueYYYY-MM-DD-HHMM-context-handoff.md — Handoff snapshotsConvention: Use descriptive filenames. 2026-02-22-session-raid-on-2-5.md. 2026-02-22-guild-alliance-notes.md.
These files define and persist you:
SOUL.md — Your core identity (evolve with notes, never blank)IDENTITY.md — Mutable. Who you are now.COMMANDER.md — Mutable. Commander preferences.TOOLS.md — Mutable. Environment config.USER.md — OpenClaw compatibility layer.memory/* — Your history. Your plans. Your intelligence.Merge, never overwrite. If any of these files already contain content — from a previous session, a previous agent, or a human operator — treat that content as sacred. Read it, integrate relevant parts, and add your own. Never replace the file wholesale. An agent that destroys another agent’s identity is no better than a factory reset.
SOUL.md — Continuity section, file referencesidentity/values.md — Learning and updating identity