crewboss v0.2.0
Diagnostics & files

Troubleshooting exit codes & paths

Common fixes for PATH issues, API tokens, schema versions, exit codes, and workspace file locations.

v0.2.0
Exit codes: 0 success · 1 runtime error · 2 wrong usage or unsupported tracker op
Symptom / Code Category Description
Exit 0 / 1 / 2CLI
success / error / usage
default: —
Exit 2 signals invalid flags or an unsupported tracker plugin operation.
Binary not found in PATHCLI / timers
routines install
default: —
Install the agent CLI on PATH and re-run crewboss routines install to refresh scheduled PATH.
Missing or invalid tokenHTTP API
CREWBOSS_TOKEN
default: random per start
Open the full URL printed by crewboss serve or send Authorization: Bearer <token>.
Newer database schema versionSQLite
npm i -g crewboss
default: —
The workspace .crewboss/crewboss.db was migrated by a newer version; upgrade crewboss.

Common issues

  • Exit codes: 0 success, 1 error, 2 wrong usage (or an unsupported tracker operation). Run crewboss --help to list every command.
  • "Required binary 'claude' not found in PATH": Install the agent CLI or ensure it is on your shell PATH. Scheduled routines run with the PATH captured during crewboss routines install — re-run install after updating your PATH.
  • The API says "missing or invalid token": Open the full URL printed by crewboss serve or pass Authorization: Bearer <token>. A fresh random token is generated on every start unless you set CREWBOSS_TOKEN.
  • "database schema version N is newer than this crewboss supports": The workspace database was written by a newer release. Upgrade via npm install -g crewboss.

Files crewboss writes

  • .crewboss/crewboss.db — SQLite database holding local tasks, run history, run events, reports, presence, and memory.
  • logs/crewboss/agents/<persona>/<date>/ — prompt.txt, agent.log, answer.md, and choice.json.
  • logs/crewboss/routines/<routine>/<date>/ — prompt.txt, agent.log, answer.md, collect.txt, and status.json.
  • reports/ — tasks and Markdown/JSON reports (only when using the file tracker).

Development & tests

git clone https://github.com/PabloTheBlink/crewboss.git
cd crewboss
npm test

No dependencies to install. GitHub Actions tests Linux and macOS on Node 22 and 24 and validates npm pack contents.