Explanation
Portable memory: what Arcane remembers between sessions
An AI client forgets everything when a session ends. Arcane does not try to give the client a memory of its own. It keeps the project's memory in the repository, as Markdown files that the session spells read at the start of a session and write at the end, so whichever client you open next starts from the same place.
The files that carry memory
spell init installs a small set of files that the session spells keep current:
journal/holds one dated entry per session, namedYYYY-MM-DD-topic-slug.md: what was done, what was decided, what was learned.DECISIONS.mdrecords decisions as numbered entries, so a later session can cite a decision instead of re-arguing it.TODO.mdholds the open work, as checklist items.ai-context/system-prompt-context.mdcarries the Next Session Handoff: the active task, the last completed step, the next concrete action, blockers, anything still waiting on verification, and anything that needs you.README.mdandproject.mddescribe the project itself.
None of these is a database or a hidden cache. They are files you can read, diff, review in a pull request and edit by hand.
How a session uses them
A session opens with spell-open-session. It reads the repository's own documents first: the README, project.md, TODO.md, DECISIONS.md, the agent policies and naming conventions, the handoff and the most recent journal entries. If an unconsumed handoff is waiting, it surfaces it at the top, re-checks anything the last session left pending instead of trusting the old status, and only then marks the handoff consumed. From there it proposes what to work on next.
A session closes with spell-close-session. It writes or updates the day's journal entry, updates TODO.md and DECISIONS.md, and replaces the handoff block with a fresh one generated from the conversation and the current git state. Background work is classified succeeded, failed, pending, dispatched or unverifiable on the way out, and only work that succeeded may be called done, so the next session inherits an honest picture rather than an optimistic one.
Why it travels between tools
The memory is in the repository, and so are the spells that read and write it. Each spell has one source file in .arcane/spells/, and spell init writes a thin pointer to it in the place each client looks: .claude/commands/ for Claude Code, .github/prompts/ for GitHub Copilot, .agents/skills/ for Codex. A session opened in one client and closed in another reads and writes the same journal, decisions and handoff.
That also means the memory goes wherever the repository goes. Clone it on another machine, hand it to a teammate, or switch models, and the history comes along, because it was never anywhere else.
Old records stay where they are
Memory that is only appended to eventually contradicts itself. Arcane's records conventions handle that without breaking links: a superseded document stays at its path and gains a tombstone header naming what replaced it, so a reader who follows an old link finds the replacement named at the top. Deletion is a separate, explicit decision, and some records may not be deleted at all.
Related
- Run your first sessions in Your first Spell Loop, and see which of these files
spell updateleaves untouched in Update Arcane. - See exactly what each bookend does in
spell-open-sessionandspell-close-session, and the supersession rules in Records conventions. - See how the rules around this memory hold in Why governance.