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:
0success,1error,2wrong usage (or an unsupported tracker operation). Runcrewboss --helpto 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 thePATHcaptured duringcrewboss routines install— re-runinstallafter updating yourPATH. - The API says "missing or invalid token": Open the full URL printed by
crewboss serveor passAuthorization: Bearer <token>. A fresh random token is generated on every start unless you setCREWBOSS_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, andchoice.json.logs/crewboss/routines/<routine>/<date>/—prompt.txt,agent.log,answer.md,collect.txt, andstatus.json.reports/— tasks and Markdown/JSON reports (only when using thefiletracker).
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.