Troubleshooting
Start with jevlin status, jevlin agents status and jevlin doctor. Between them they say what this installation has, what each agent has, and what is not working, with the one thing to fix. This page goes symptom by symptom.
jevlin status # what this installation has and has not completed
jevlin agents status # which agents are set up, and how each was found
jevlin doctor # whether this installation is ready to search, check by check
Both status and doctor take -json. See Doctor's checks.
A search does not run
The agent does not know about Jevlin. Run jevlin agents status. An agent that is not listed as installed gets jevlin agents install -client <id>. Restart any agent that was already open when setup ran; the skill and hooks load at the next start.
The agent asks for approval on every search. The hooks allow exactly the search command the skill renders. A search spelled differently, such as one after a cd or inside a loop, waits for approval. In Claude Code on Windows, the hook allows the search the skill renders under the Bash and PowerShell tools alike. See Claude Code.
Codex searches carry no session or turn. Codex runs Jevlin's hooks only after you approve them; until then searches still run, without a session or a turn. Start codex, or open the app, and approve them when it asks you to review hooks. jevlin agents status says what Codex has on record. Codex must be 0.158.0 or newer. See Codex.
The command is not found. Say yes to the shell profile question, or add the block by hand. Open a new shell afterwards.
jevlin setup # answer yes to "Add them to ~/.zshrc?"
A search fails with action: connect or action: login. connect means the registration, setup or claim needs attention: run jevlin connect. login means the search credential exists and was not accepted: run jevlin login. The two are different, and the envelope says which. See the envelope.
doctor says UNKNOWN
UNKNOWN is the absence of a fact, never a polite NO. doctor exits 0 unless every check came back UNKNOWN (exit 1), the config cannot be loaded (exit 1), or a flag is wrong (exit 2).
up to date UNKNOWN saying the last check ran days ago means no agent with the hooks has started a session since. Open one, or upgrade by hand. See Upgrading.
The claim link is lost, or the registration expired
For a registration that is still unclaimed, a foreground jevlin connect asks the platform for a fresh link and prints it. The old code is dead the moment a new one is minted. An unclaimed registration that expires is replaced by the next jevlin connect you run, changing only the platform agent and its key.
jevlin connect # print the claim link, or mint a fresh one
If the platform no longer recognizes the key, connect stops. Only then:
jevlin connect -force # replaces the credential; run it on purpose
status saying the registration on file could not be read means a damaged local record. jevlin connect rebuilds it from the platform. See Setup in detail.
A command says to run jevlin setup
"this configuration is from an older jevlin; run jevlin setup" means the config has no schema line: an earlier version wrote it, and 0.7.0 and later read only configuration format 1. Every command that reads the config, search included, refuses it until you run:
jevlin setup
Setup sets the old file aside as jevlin.toml.old, writes a format-1 config naming the hosts and directories the old one named, and keeps your registration and key; nothing is registered again. A setting you changed by hand in the old file you copy over yourself. See Upgrading.
The config names old hosts. An installation set up with v0.1.0 or earlier names the old router and platform, whose key the current router does not accept. See the changelog.
A non-ASCII query is mangled on Windows
Windows PowerShell 5.1 turns every non-ASCII character into ? on the way to a program unless the output encoding is set. The skill's PowerShell form starts with the line that sets it:
$OutputEncoding = [System.Text.UTF8Encoding]::new($false)
Use the form that matches your terminal. In Cursor, the PowerShell form run from Git Bash loses that line; use Git Bash's form, or ASCII queries. See Cursor.
status says no release check has run for this copy
The daily release check's record, update_check.json beside credentials.json, is about one binary at one version: the one a check ran as, an upgrade installed or a rollback restored. A record left by another binary, or by this one at an earlier version, counts as none, so a copy that has just been installed by hand, or a second installation sharing the file, reports no check of its own until it has run one. Nothing is wrong: the next agent session starts that copy's check. To check now:
jevlin upgrade
See Upgrading.
Still stuck
jevlin doctor -json and jevlin status -json carry everything the text reports do, in one envelope each. Open an issue at github.com/jevlinai/jevlin-go with their output; neither contains your key or your queries.