Troubleshooting
Common issues and how to fix them.
Troubleshooting Coven
Start with:
coven doctordoctor is the fastest way to check store, project, daemon, and harness readiness.
Follow the failing branch. Almost every issue in the rest of this page is one of these branches in detail.
coven command not found
If using npm:
npx @opencoven/cli doctor
pnpm dlx @opencoven/cli doctorIf building from source:
cargo run -p coven-cli -- doctorIf you installed a native binary, make sure its directory is on PATH.
Harness Missing
coven doctor prints install hints for each built-in harness.
Codex:
npm install -g @openai/codex
codex loginClaude Code:
npm install -g @anthropic-ai/claude-code
claude doctorThen retry:
coven doctorDaemon Unavailable
Start or restart it:
coven daemon start
coven daemon status
coven daemon restartIf a client cannot connect, verify it is using the same COVEN_HOME as the CLI.
System Health and Pressure
If sessions feel slow, the daemon is sluggish to start, or coven doctor succeeds but harness work stalls, the underlying machine may be under CPU, memory, or disk pressure.
coven pc surfaces a local system report without launching a harness. All read operations are side-effect free:
coven pc # full report: CPU, memory, disk, top processes
coven pc status # one-line health summary
coven pc top --n 10 # top-N processes by CPU usage
coven pc disk # disk usage breakdownRelief operations mutate system state and require an explicit --confirm gate:
coven pc kill <pid> --confirm # SIGTERM with PID identity re-check
coven pc cache clear --confirm # clear ~/Library/Caches + /Library/Cachescoven pc is currently macOS-first. See Getting Started for the full command reference.
Stale Running Sessions
If a daemon stopped while sessions were running, those records may become orphaned on the next daemon start.
Use:
coven sessions --allThen view logs, archive the record, or sacrifice it if it is no longer useful.
Session Does Not Accept Input
Input only works for live daemon-owned sessions.
If the session is completed, failed, archived, or orphaned, attach works as replay/log viewing rather than live input.
cwd rejected
Coven rejects working directories that resolve outside the project root.
Use a path inside the project:
coven run codex "inspect package" --cwd packages/cliDo not use symlink tricks or parent paths to escape the project boundary.
API Version Rejected
New clients should use /api/v1.
Check daemon compatibility:
GET /api/v1/healthIf the client expects a newer API than the daemon exposes, update Coven or the client so their supported versions overlap.
coven sessions printed a table instead of opening the browser
Coven opens the browser only in an interactive terminal.
Force browser mode:
coven sessions --manageForce table mode:
coven sessions --plainArchive, Summon, and Sacrifice Confusion
- Archive hides a non-running session but keeps events.
- Summon restores an archived session to the active list.
- Sacrifice permanently deletes a non-running session and its events.
Use the interactive browser when possible:
coven sessions --all --manageSecret Scan Failure
Run:
python scripts/check-secrets.pyIf it fails, remove the secret from the working tree. If a secret entered git history, rotate the credential before rewriting history or publishing.
Do not paste matched secret values into issues, logs, docs, or chat.
Contributor Checks Fail After Docs-only Edits
At minimum run:
python scripts/check-secrets.py
git diff --checkFor code changes, run the full gate:
cargo fmt --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace --locked
python scripts/check-secrets.pyLast updated on