Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Upgrades

  1. Back up
    The database and the secret key. See Backups.
  2. Pull the new image and restart
    Migrations run at startup. On PostgreSQL they take an advisory lock, so replicas starting at once are safe: one migrates, the others wait.
    To migrate as a separate step, for example in a CI job or a Kubernetes Job before the rollout, run qubit-server migrate with the same environment.
  3. Check readiness
    /readyz answers 200 when the database is reachable and the secret key matches it.
Tags are the full git commit SHA of each build of main, plus latest. Pin a SHA, and move it on purpose.

Rolling back

Migrations only go forward. To go back to an older image after a schema change, restore the backup you took first.

SQLite

Use the Recreate strategy, as the Helm chart does: two processes must never write to the same SQLite file, least of all over a network volume.