REA doctor deep dive (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

rea doctor is REA's read-only readiness tool. In the 6.5.x line it inspects host prerequisites, agent MCP registrations, the bundled skill and optional analysis engines without changing them. Use it before filing issues or after setup/update.

Quick commands

rea doctor --json
rea doctor --provider ghidra --json
rea doctor --client codex --json
rea doctor --skill --json

Scoped reports set scope.mode to "explicit". Upstream says scope_checks decide healthy and the exit status for that run; other findings land in informational_checks, while environment_healthy summarizes the full audit.

Full vs scoped

GoalCommand pattern
Broad host + registrations auditrea doctor --json
One enginerea doctor --provider ghidra --json
One agent clientrea doctor --client <id> --json
Bundled skill copiesrea doctor --skill --json
Static JS without enginesRun rea analyze-javascript-application PATH --json directly (per installation.md table)

How to read a failure

  1. Confirm you are on a supported Node line (22.19+, 24.11+ or 26+ per README — Windows Ghidra P0 docs list tighter floors; follow the guide for your host).
  2. Re-run scoped to the thing you care about so unrelated clients do not drown the signal.
  3. Fix the named prerequisite (JDK path, GHIDRA_INSTALL_DIR, missing ps on Linux, etc.).
  4. Only then re-run setup if registrations need refresh.
doctor reports unhealthy but JS analysis works

Fix: Scoped to what you use. Unscoped audits include optional engines and every detected client.

provider_unavailable after doctor --provider ghidra

Fix: Set absolute GHIDRA_INSTALL_DIR and a matching 64-bit JDK, then re-run the scoped doctor. See the Ghidra setup guide.

RepoRead is independent of the REA maintainers. Authorized targets only.

FAQ

Does doctor change my machine?

No. Upstream documents doctor as a read-only audit of host prerequisites and agent configuration.

Why is healthy false when my workflow works?

An unscoped doctor audits every detected registration, skill and optional engines. Overall healthy can be false while your chosen scoped workflow is fine — use --provider / --client / --skill.

How do I check only Ghidra?

rea doctor --provider ghidra --json (or hopper / ida as documented).

How do I check Codex registration?

rea doctor --client codex --json (see upstream client IDs).

Is this the official doc?

No. RepoRead is unofficial. Prefer docs/installation.md when anything disagrees.

Sources