Skip to content
Castellan
Reeve's icon

Troubleshooting · Reeve

Read as

When Reeve isn't working as it should

What to do when your AI assistant doesn't use Reeve or times out, search falls back to keywords, a job won't run or does nothing, repo-sync can't install a project's packages, a checkout isn't fast-forwarded, a repository is missing, or Reeve's page won't open.

Article
1250
Applies to
Reeve 0.20.4
Last reviewed
For
For developers
Written for Reeve 0.20.4; Reeve 0.21.21 is out now. Some of this may have changed: what's new is in its release notes.

Your assistant doesn't have Reeve's tools#

  • Check the setup against the Connect your AI to Reeve card on Reeve's page, or your assistant's in Connect your AI coding assistant to Reeve: the node and cli.ts paths must be this PC's, and the server's name reeve. Restart the assistant after any change.
  • Ask the assistant. claude mcp list should show reeve with ✓ Connected, and gemini mcp list Connected; codex mcp get reeve and copilot mcp get reeve show the command they start. An editor's MCP settings show whether Reeve is running.
  • Gemini CLI starts MCP servers only in folders you trust. Type /permissions trust in the folder, or say yes when it asks.
  • VS Code waits for Start. Press Start above Reeve's entry in mcp.json. Copilot Chat has the tools in Agent mode, as Cursor's, Continue's and Zed's agents do.
  • Run the command yourself to see whether it starts: node %USERPROFILE%\.reeve\app\src\cli.ts mcp. It waits quietly for an assistant on stdin; an error means Reeve's install needs repairing: run Castellan's setup again, with Install again what's installed already checked. See Install Castellan.
  • Claude Code can load MCP tools only when asked. The reminders, turned on with hooks on, tell it how to load Reeve's.
  • The card says "None connected in the last day". Your assistant last connected to Reeve days ago: open it, and check it still has Reeve. The card counts an assistant as connected while one of its sessions is open, or for a day after it last connected or used Reeve.

Your assistant has the tools but doesn't use them#

Put the line from Connect your AI coding assistant to Reeve in its instructions file (CLAUDE.md, GEMINI.md, AGENTS.md), and in Claude Code turn on the reminders. The ai-use job's alert says which it is: setup (the sessions never had Reeve connected), the assistant (it had Reeve and forgot him: correct it), or a gap in Reeve. It alerts only while no assistant is connected now, as the Connect your AI to Reeve card says; ai-use gives its finding at any time. For a gap, send us the report: node %USERPROFILE%\.reeve\app\src\cli.ts ai-use --report.

A call times out#

The first search in a big repository builds its index, the first upgrades reads every changelog, and lint_docs runs the project's TypeScript: each can take minutes. Raise your assistant's tool timeout to 10 minutes: tool_timeout_sec = 600 in Codex CLI's [mcp_servers.reeve], --timeout 600000 when you add Reeve to Copilot CLI, "timeout": 600 in Cline's entry (the setups in Connect your AI coding assistant to Reeve have them). To build a repository's index ahead of time:

node $HOME\.reeve\app\src\cli.ts index C:\Projects\YourRepo

Search says it ranked by keywords#

No embedding model could be had: the local AI isn't set up on this PC, or every accelerator serving embeddings has failed. Run Castellan's Set up local AI, or the Smith's Set up. A failed accelerator is tried again after 10 minutes. See Where Reeve's work runs.

Model answers are slow#

Model work takes turns with the rest of the staff's, one request at a time on the NPU. A long input is split into chunks, about 10 seconds per 120 lines. reeve status shows who holds each and who's waiting. If a GPU is held back, a game may be using it. Prefer the tools that use no model (outline, refs, changes, history): they answer at once.

Reeve's page says Tools only, and no jobs run#

Rounds is off, as on every new install: Reeve answers your assistant's tools and leaves your repositories alone. Press Turn rounds on on his page, or turn on Rounds in his Settings (reeve rounds on).

A search is slow after a pull#

Reeve brings each index up to date in the background within minutes of a pull, a repository at a time. Right after an update, or many merges at once, the first catch-up takes a while: Castellan shows Reeve settling in, with how far along he is and about how long is left. A search meanwhile answers from the index as it is.

A job says it needs approval#

Its script is new, or an update changed it. Reeve runs only scripts you've approved, by their exact fingerprint. On the Jobs tab of Reeve's page, marked while a job waits for you, the job's own card: View the script, then Approve (or Approve all read-only jobs).

A job that changes repositories does nothing#

  • It's off. fast-forward, repo-sync, worktree-tidy and project-branches are off on a new install: Turn on beside it on the Jobs tab.
  • Its first run after turning on is a dry run. Its result starts "Dry run", and says what it would do. It acts from the next run.
  • It's paused, or Reeve is off duty: Resume, or Start on Reeve's card in Castellan.

repo-sync says "cannot install"#

repo-sync installs each project's packages in Reeve's own checkout, with the npm (or corepack's pnpm or yarn) of a Node.js on this PC.

  • "cannot install: …npm-cli.js does not exist", for every checkout, each round: Reeve is older than 0.19.9, and looked for npm only beside the Node that runs it, which has none when Castellan runs Reeve. Update on Reeve's card in Castellan. From 0.19.9 it also looks beside a Node on PATH, and in %ProgramFiles%\nodejs.
  • "cannot install: no npm beside this Node …, on PATH or in Node.js's folder": Node.js isn't installed on this PC. Install it, and the next round installs the packages.

A checkout wasn't fast-forwarded#

fast-forward names each checkout it left alone, and why: it has local commits, uncommitted changes, a merge or rebase under way, another git command running there, or a file marked assume-unchanged or skip-worktree. Only main, master, release branches and origin's default branch are ever moved, and never a detached HEAD. Commit or push what's there, and the next round moves it.

A clone left on a work branch goes back to the default branch only once everything on that branch is in origin's default branch and the clone hasn't been touched for a day. One with commits of its own stays where it is.

A worktree wasn't removed#

worktree-tidy keeps a worktree with anything changed or untracked, a commit only on this PC, a git-ignored file that isn't build output (a .env, a local database), or one an AI session or a program is working in. One whose work is merged goes at the first round once all its commits are in; one only pushed waits 3 days untouched (7 at the human developers' pace, in Reeve's Settings). Its result names each one kept, and why. See Reeve's rounds.

A repository is missing, or shouldn't be there#

See Your repositories in Reeve: add a folder to Search folders or the repository to Other repositories, or Leave alone one you don't want touched. Scan again looks now, rather than after the 10 minutes the list is kept.

pr or ci says it can't read a GitLab, Azure DevOps or Gitea repository#

Reeve reads these hosts from 0.19.10; an older one reads GitHub only: Update on Reeve's card in Castellan. From 0.19.10, they read the host through its own command line, signed in as you: glab for GitLab, az with its azure-devops extension for Azure DevOps, tea for Gitea, Forgejo and Codeberg. The sentence they answer with names the command that installs or signs it in. A self-hosted server whose name doesn't say its kind needs git config reeve.host gitlab (or azure, gitea, forgejo) in the clone. Bitbucket has no such command line, so its pull requests are a link. See Reeve with GitLab, Azure DevOps, Gitea, Forgejo, Codeberg and Bitbucket.

Pull requests, checks or security alerts are missing#

They come from GitHub through gh. Install it and sign in (gh auth login); without it, ci and pr say so and pull requests aren't shown. Security alerts don't need it: without GitHub's, dependency health asks npm's advisory database (the one npm audit reads) about the packages the lockfile installs, and its report says where its alerts came from.

Reeve's page won't open#

Reeve's page is http://reeve.localhost:18383/. Open on its card in Castellan starts it if it's down. It starts at sign-in from the scheduled task \Reeve (<account>)\Home page, and every round starts it again if it has stopped. If its port is taken, Castellan says so in Needs you.

Your assistant's tools keep working meanwhile: a session started while the page is down runs Reeve on its own, and moves to the page once it's up.

Still stuck?#

Write to us at support@castellan-software.com with Reeve's version (on its card in Castellan), what you asked, and what it said. A job's log is linked from its card on the Jobs tab: look it over before you send it, as it holds paths on your PC.

Is this page right?

If something on it is wrong or out of date, tell us and we'll fix the page.

Still stuck? Write to support@castellan-software.com and mention article 1250. Every version of Reeve, and what changed in it, is in its release notes.