Portable memory: what Arcane remembers between sessions

How journals, DECISIONS.md, TODO.md and the session handoff keep a project's memory in your repository, where any AI client can read it.

Documented for v1.24.1 · Checked

Written against v1.14.0; current release is v1.24.1.

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, named YYYY-MM-DD-topic-slug.md: what was done, what was decided, what was learned.
  • DECISIONS.md records decisions as numbered entries, so a later session can cite a decision instead of re-arguing it.
  • TODO.md holds the open work, as checklist items.
  • ai-context/system-prompt-context.md carries 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.md and project.md describe 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.

Was this page helpful?

Your answer

Please don't include personal information.