Troubleshoot Reasonry
This guide lists the problems that people meet when they install Reasonry, migrate a knowledge base, and run the skills. Each section gives the cause and the fix.
The Reasonry Keeper server doesn't start
Your AI coding tool shows the reasonry-keeper server as failed, or the agent has no
reasonry-keeper tools. To see the reason, open a terminal in the folder where you start the tool,
and run this command. It prints the configuration, or the error that stops the server:
npx -y @push-based/reasonry@2 compile
Find your error among these:
-
No configuration file. The engine reads the knowledge base in the folder where your AI coding tool starts, or in the
reasonryfolder in it. Neither has areasonry.config.jsonfile:reasonry: No reasonry.config.json in /path/to/team-knowledge/source. A workspace starts as a copy of the preset in @push-based/reasonry-core/examples/default.Start the tool in the knowledge base's root folder, or in the folder that holds the knowledge base's
reasonryfolder, not in a subfolder of the knowledge base. If the folder isn't a knowledge base yet, runnpx -y @push-based/reasonry@2 init. -
A later configuration version. The engine is older than the knowledge base's configuration:
reasonry: /path/to/team-knowledge/reasonry.config.json: the workspace uses configuration version 3, and this engine reads version 2. Upgrade reasonry.Update the engine: see Update Reasonry.
-
An unknown or missing field. The error names each field and what is wrong with it:
reasonry: /path/to/team-knowledge/reasonry.config.json is invalid:roots.wiki: Invalid input: expected string, received undefinedextra: Unrecognized key: "extra"Fix the fields in the
reasonry.config.jsonfile. The engine has no default values, so a missing field is an error. If the file isn't valid JSON, the error saysnot valid JSON.
After the fix, restart the server in your AI coding tool.
A mistake in an initiative's initiative.json file doesn't stop the server. The check reports it:
see Check a knowledge base and work as a team.
The skills don't appear
If /reasonry: offers no skills in Claude Code, the plugin isn't turned on for the folder. Install
the plugin with project scope in the folder where you start Claude Code, and start Claude Code
again: see
Install the plugin in Claude Code.
In another AI coding tool, run the install command again for that tool, and check that the tool
reads the skills folder that the command wrote: see
Install Reasonry in another AI coding tool.
Another skill runs in place of the Reasonry skill
The agent follows a procedure that names tools and statuses that the engine doesn't have. The cause
is another skill that has the same name as a Reasonry skill, such as maintain-source. Such a
skill can be in the knowledge base's .claude/skills/ folder, in your user-level skills folder, or
among the skills synced from your Claude account.
Delete or rename the other skill, and run the Reasonry skill by its full name, such as
/reasonry:maintain-source.
The check fails because the graph is stale
Git tracks the graph.json file, and the file no longer matches the documents. The check ends
with FAILED, and its output lists the files that changed:
[FAIL] graph tracked, stale: 1 file(s) changed since it was built
graph errors:
- graph.json is tracked by git but no longer matches the corpus — run `reasonry graph build` and commit the result
- changed: wiki/test-initiative/fares.md
Rebuild the graph and commit the result, or stop tracking the file: see Keep the graph current.
The check warns about stale wiki pages
The check counts these warnings in its xrefs line, and doesn't list them:
[warn] xrefs 0 error(s), 3 warning(s)
To list the warnings, validate that area:
npx -y @push-based/reasonry@2 validate --target=xrefs
The report names each page and the reason. The following lines come from a report on a test knowledge base. The excerpt is shortened:
- **wiki/test-initiative/fares.md**: ⚠️ DEC-VT-0002 changed after this page was generated (2026-11-16T14:40:07.000Z) — refresh the page
- **wiki/test-initiative/fares.md**: ⚠️ sources cites superseded DEC-VT-0004 (superseded by DEC-VT-0005) — refresh or re-source this wiki page
The first line means that a source changed after the agent wrote the page. The second line means
that the page cites a source that was superseded or rejected. The reference calls these warnings
wiki_page_stale and wiki_source_drift. Both are expected after any change to a source. To
update the pages, see Refresh stale pages.
If the first warning names every page after a migration, with the time of the migration commit,
that commit's hash is missing from the .git-blame-ignore-revs file. Add the hash on a line of
its own, and commit the file.
A skill asks for permission to read files outside the knowledge base
Approve the read. A skill starts read-only agents, and it keeps their instructions in the plugin's folder, which is outside the knowledge base.
A headless run can't ask. Give the run access to the plugin's folder with the --add-dir flag:
see Run the pass on a schedule with Claude Code.
The agent doesn't follow the knowledge base's rules
The rules for agents are in the knowledge base's AGENTS.md file, and some AI coding tools load
that file only with a setting:
- Claude Code reads
CLAUDE.md. TheCLAUDE.mdfile thatreasonry initwrites importsAGENTS.md, so keep both files. - Gemini CLI reads
AGENTS.mdonly when itscontext.fileNamesetting lists the file. - GitHub Copilot in VS Code reads
AGENTS.mdonly with thechat.useAgentsMdFilesetting turned on.
A consumer's agent connects and finds nothing
An agent in another repository connects to the knowledge base's Reader server and finds no
documents. The Reader server reads the knowledge base in the folder where the server starts, or
in the reasonry folder in it. A registration that starts the server in the other repository's
folder and passes --config serves an empty knowledge base, with no error. Change the
registration so that it starts the server in the knowledge base's folder: see
Register the Reader server.