Modular Doctor Diagnostics
Replaced the monolithic do_doctor() with an extensible 8-category check system producing structured results.
Check Categories
| Category | What it checks |
|---|---|
| providers | Claude Code, Codex CLI, Gemini CLI — versions, compatibility, paths |
| auth | API keys, OAuth creds, at-least-one-provider gate, enterprise backend |
| config | Feature flags vs CC version consistency, plugin version, install scope |
| state | state.json integrity, stale results, workspace writability, preflight cache |
| hooks | hooks.json validity, all command scripts exist and are executable |
| scheduler | Daemon running, job count, budget gates, kill switches |
| skills | All skill and command files in plugin.json exist on disk |
| conflicts | oh-my-claude-code, claude-flow, wshobson/agents detection |
Usage
orchestrate.sh doctor # all categories, hides passing checks
orchestrate.sh doctor --verbose # shows all checks including passes
orchestrate.sh doctor providers # only provider checks
orchestrate.sh doctor --json # machine-readable JSON output
orchestrate.sh doctor hooks -v # specific category with full detailFull changelog: https://github.com/nyldn/claude-octopus/blob/main/CHANGELOG.md