doctor¶
Diagnose the AutoShip environment and dependencies.
Syntax¶
Arguments¶
doctor does not accept positional arguments.
Options¶
| Short | Long | Default | Description |
|---|---|---|---|
| - | --json |
False |
Output report as JSON |
| - | --fail-on-error |
False |
Exit with non-zero code when errors are present |
Examples¶
Run a health check:
Structured output for CI:
Fail the pipeline on errors:
Output Notes / Common Errors¶
- Checks include Python version, Git configuration, model backend connectivity, clean toolchain, plugin external dependencies, and audit/telemetry directory permissions.
- Results are graded OK / WARNING / ERROR. A missing local model backend is reported as WARNING and does not affect non-AI commands.
- doctor respects
project_typeto skip irrelevant tool checks. Non-Python projects skipautoflake/blackchecks, avoiding unrelated ERROR or WARNING items.