Updates and backups

Anagraphe updates when you ask it to. With a Pro plan it also backs up your store once a day without you doing anything.

Update:

anagraphe update

This checks for a newer release, installs it, then runs anagraphe up. If the new release changes how your data is stored, anagraphe up asks you first and saves a copy of your database before it changes anything. anagraphe update --check only tells you whether a newer release exists.

Backups (Pro): once a day, Anagraphe backs up your whole store. The backup stays on this computer. It protects you from mistakes, not from losing the computer. To send copies to a server of your own, see Backups. After the first backup, a successful anagraphe up, start or update shows a line starting ACTION REQUIRED: save your backup password, until you run anagraphe backup password once. Run it and keep what it shows somewhere off this computer: without that password no backup can be read. Check on backups with anagraphe backup status.

Restore from a backup:

anagraphe restore list                       # shows the backups you have
anagraphe restore restore --yes latest       # replaces the store with the newest one

The restore replaces everything in the store with the backup. Anagraphe stops while it runs and starts again when it is done. If the backup was made by an older version of Anagraphe, it stays stopped instead: run anagraphe up --yes to update the database and start it. To restore an older backup, use its ID from anagraphe restore list in place of latest.

Keep these off this computer, so you can restore after losing it. This needs Pro: without it there are no backups.

  • your backup password (anagraphe backup password shows it);
  • a copy of ~/.anagraphe/bundle/.env, which holds your project's name and your backup server;
  • your own copies of the three ssh files (only if you set up a backup server);
  • your backups themselves: point them at a server of your own (see Backups).

Details

Without a Pro plan, anagraphe backup status says backups are paused because your plan does not include them (--json shows "status": "idle: not entitled") and no backups run. Backups and Restoring cover the backup password, an off-site server, a lost .state folder and restoring onto a new computer.

Remove Anagraphe

To take Anagraphe off this computer, do these in order.

  1. Run anagraphe up first, so Anagraphe is running.
  1. Pro only: run anagraphe backup password and copy the password somewhere off this computer.
  2. Delete the stored data, including backups on this computer and the MCP access tokens:
anagraphe down -v
  1. Delete the generated passwords (a plain rm is refused on this folder):
docker run --rm --entrypoint sh -v ~/.anagraphe/bundle:/bundle "$(cat ~/.anagraphe/engine-image)" -c 'rm -rf /bundle/.state'
  1. Remove the downloaded programs:
docker image rm "$(cat ~/.anagraphe/engine-image)" "$(cat ~/.anagraphe/migrate-image)"
  1. Remove Anagraphe's own files and the anagraphe command:
rm -rf ~/.anagraphe ~/.local/bin/anagraphe
  1. Disconnect Claude Code from Anagraphe:
claude mcp remove --scope user anagraphe

Then, in each project folder, remove the anagraphe entry from .mcp.json (delete the file if nothing else is in it). A project set up by an older release may still have its old connection; run this there too:

claude mcp remove --scope local anagraphe
  1. Delete the lines under # added by the anagraphe installer in ~/.profile, and in ~/.bashrc and ~/.zshrc if they have them.
  2. In each project folder, delete what Anagraphe added:
    • vocab.yaml and anagraphe-answers.yaml;
    • claude/skills/<your project>-planning.md (and the claude/ folder if nothing else is in it);
    • in .claude/: skills/planning-system/, skills/<your project>-planning/, skills/anagraphe-setup/ (only if you ran the interview), and agents/planning-bootstrap-interviewer.md, agents/planning-event-author.md, agents/planning-explorer.md, agents/planning-migrator.md;
    • .claude/rules/anagraphe.md, and .claude/anagraphe-legacy-claude-md-block.md if it is there. If you onboarded with an older release, your CLAUDE.md may still hold a block from the line <!-- planning-system:start --> through the line <!-- planning-system:end -->; delete it too.