Skip to content

Upgrade an existing store

Star on GitHub
  1. Close applications that write to the old workflow store.
  2. Back up the database and its evidence directory together.
  3. Install Remit and set previous_db to the absolute path of the old database. Choose a destination directory that does not yet exist. Export its path as WORKFLOW_STATE_DIR and keep it set when you run Remit against the imported store.
  4. Preview the import. Review its result before running the import.
Terminal window
export WORKFLOW_STATE_DIR="$HOME/.remit/imported-state"
remit doctor --import-store "$previous_db" --dry-run --json
remit doctor --import-store "$previous_db" --json

Replay a known workflow and export a receipt before you resume work. Keep a copy of the original database, evidence, and executable for rollback. After verification, remove the old executable from your PATH and remove its plugin registration in your coding agent.

See the release notes for version-specific upgrade steps.