Choose another workspace directory with
FLOWFIELD_DATA_DIR or flowfield --data-dir /absolute/path serve. Project checkouts and their local edits remain separate from task state.
Upgrades
On startup, Flowfield upgrades supported databases automatically. Before changing an existing database, it saves a verified snapshot in~/.flowfield/backups/ (or your chosen
data directory). Migration steps run in one transaction. An error or interrupted process
rolls back the upgrade; an error stops startup and includes recovery instructions.
Upgrades require exclusive access: stop the service before updating, then start the new
build. Flowfield refuses an incompatible database and preserves its contents. Reinstalling
an older application does not downgrade a newer database. The queue is paused after restart;
review interrupted work before enabling workers again.
Database upgrades preserve project identity, installed guidance and execution artifacts.
They do not rewrite project files or install new guidance. Update guidance separately
using the integration instructions.
Inspect and recover
These commands work without a running service and never initialize or upgrade a database:--json for structured output. For another workspace, put --data-dir /absolute/path
before storage.
A failed migration normally needs only a corrected build and another start. To recover
the pre-upgrade database explicitly, stop the service, choose an ID from storage backups,
and run: