Skip to content

Operations · troubleshooting

Troubleshooting ​

This page maps devkit symptoms to safe fixes. Start with devkit status and devkit doctor.

bash
bash
devkit status     # version, source/channel, sync age, missing tools
devkit doctor     # deep check: symlinks, personal config, tools
devkit version    # installed versions

Symptom, cause and fix ​

SymptomCauseFixVerify
Signature or checksum errorArtifact incomplete, changed, or from the wrong sourceCheck devkit config show, then devkit sync. If it still stops, do not bypass it.devkit status shows the expected version
Skills or agents missingSync incompletedevkit sync, then devkit doctor.devkit list skills shows entries
Personal skill seems overwrittenName collision; the guard kept your file and left the shared one inactiveRename one of the two.devkit doctor reports no collision
Config is staleBackground fetch not applied yetdevkit sync.Sync age is fresh in devkit status
Tool missing, such as gitleaksNot installeddevkit tools --install <name> or devkit sync.No missing tools in devkit status
Wrong tool versionOlder binary first in PATHCheck which -a <tool> before removing a foreign copy; then devkit sync.Compare with the pin; pen uses pen version, pi-mcp-adapter has no version flag
Regression after updateNew version is unwanteddevkit rollback or devkit rollback <version>.devkit status shows the target
Hooks do not fireHooks not wireddevkit sync; devkit hook-install wires only the hooks.Expected hook output appears
Need to switch the setup offDebugging, foreign machine or foreign repositorydevkit off removes links and hooks but keeps version and config; devkit on restores them.devkit status says off
Doctor says a default MCP server is disabled/mcp wrote it to disabledMcpServers; claude mcp remove does not clear thatRe-enable it in /mcp.devkit doctor no longer names it
Startup warns about Write(...) permissionsLegacy Write(path) ruledevkit init removes it where Edit(path) exists.No warning at startup
git push stops with sandbox proxy refused SSH auth to github.comThe Claude Code sandbox proxy passes only HTTP(S), never SSHOnce per machine: git config --global url."https://github.com/".insteadOf "git@github.com:", then gh auth setup-git.git push --dry-run passes
SPOTLIGHT_INDEXED; Mac slow during buildsSpotlight indexes build/dependency pathsAdd the code folder to System Settings › Spotlight privacy. New devkit builds use target.noindex.Doctor no longer prints SPOTLIGHT_INDEXED
fseventsd load without a build; doctor warns about removed-worktree daemonsCodegraph daemon outlived its worktreedevkit worktree-gc --apply stops daemons whose roots are gone.Doctor no longer warns about removed-worktree daemons
A build waits with DEVKIT_BUILD_WAIT (macOS)Two heavy devkit builds already runWait until a slot frees; DEVKIT_BUILD_SLOTS=<n> raises the cap.The build starts
Context is nearly fullThe session is approaching its native context windowUse native compaction. If you open a new coordinator chat, verify custody and bind the existing Run.orca orchestration run-current shows the same Run
review-quick reports waiting-for-review-lockAnother review owns this worktree's lockWait rather than restart: the queue waits up to 2 hours.Review starts
review-prep reports review_package_write step=… on an umask 002 hostA storage path cannot be proven privateCheck the named path and its ancestors for foreign write access or ACLs; do not broadly relax permissions.review-prep creates the package
Auto mode keeps prompting for a read-only commandCommand not on the default allowlist/fewer-permission-prompts writes an allowlist into .claude/settings.json.The command runs without a prompt

The macOS menu bar switch has its own page with its symptom table.

Retained delegate worktrees ​

Refused, pending and failed delegate candidates are kept as Git refs before their checkouts expire. The session-start sweep removes owner-free delegate checkouts after 24 idle hours, on configured offload hosts too; live supervisors, terminals and processes are protected, and ignored personal data needs owner reconciliation, not forced deletion.

bash
bash
devkit worktree-gc --owned          # inspect
devkit worktree-gc --owned --apply  # apply from the primary checkout

Result records live under devkit-retained/ in git rev-parse --git-common-dir; each names the checkout, reason, retained ref and a complete recovery command . List refs with git for-each-ref refs/devkit/retained/. Review a recovered candidate before devkit delegate-return. Retained refs do not expire.

Set up or update a project ​

devkit init sets up a project checkout for devkit — new, or from an older devkit version — one Git checkout per call. Git is required because Git is the undo.

bash
bash
devkit init --dry-run   # shows the plan
devkit init             # applies it
devkit init --dry-run   # verifies: "Nothing to do"

devkit init cleans up stale hooks, model pins and permissions, updates project context and carries CLAUDE.md instructions into AGENTS.md. Differing managed blocks and external links stop the migration; inspect them before retrying.

Closing stateMeaning
cleanNothing to do; the project is set up.
pendingThe dry-run found changes; run devkit init without --dry-run.
appliedChanges were written.
attentionNothing was written; a phase stopped short of your decision.

Full reset ​

bash
bash
devkit unlink  # remove runtime and state; keep MCP client entries
curl -fsSL https://devkit.one-dot.io/install.sh | sh

Internal docs — onedot-devkit · devkit

devkitdevkit syncdevkit statusdevkit doctordevkit helpInternal docs · ONEDOT digital crew