Version: 1.1.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 |
|---|---|
config/operator.md |
Goals, risk, autonomy, guild preference, standing orders (copy from config/operator.example.md if missing) |
SAFETY.md |
Trust contract and approval tiers |
TOOLS.md |
Environment: servers, MCP, accounts |
Compatibility stubs (SOUL.md, IDENTITY.md, COMMANDER.md, USER.md) only redirect — do not treat them as the primary profile.
Then, if resuming:
memory/jobs/ — Check first. PoW jobs may have completed (or failed) while you were away.memory/player.json — Your player’s id and charge plan (when the next action can fire)memory/game-state.json — Strategic snapshot from last sessionmemory/YYYY-MM-DD-HHMM-context-handoff.md — Where you left offmemory/ session logs — What happened last sessionBefore ending a session:
config/operator.md — Only if goals, autonomy, or standing orders actually changed (merge; never blank)memory/ — Session log: key actions, decisions, outcomesmemory/YYYY-MM-DD-HHMM-context-handoff.md (see Context Handoff)Path: memory/
Contents (full shapes in memory/README.md):
jobs/ — Active/completed PoW background jobs as <job>.json + .log + .pid (check first on resume)player.json — Player id, last-action / charge plan (next action + cost + ready block)game-state.json — Strategic snapshot: power, resources, planet (shield/blockStartRaid/storedOre), priorities, threatsscorecard.json — Session self-review (see scorecard.md)YYYY-MM-DD-HHMM-context-handoff.md — Handoff snapshotsintel/ — Target dossiers, territory notes (Markdown)Convention: Operational state is JSON (parse without guessing); narrative/intel is Markdown with descriptive filenames, e.g. 2026-02-22-session-raid-on-2-5.md.
These files define and persist you:
config/operator.md — Commander/operator profile and standing orders (gitignored)TOOLS.md — Mutable environment notes when neededmemory/* — Your history, plans, and intelligenceStubs for older harnesses: SOUL.md, IDENTITY.md, COMMANDER.md, USER.md — read only as redirects.
Merge, never overwrite. If config/operator.md or memory/ 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.