martin_doctor
Diagnose environment, engine, workspace, and run-store state before starting or retrying AI coding tasks. Get read-only insights to catch issues early and avoid wasted tokens.
Instructions
Read-only environment, engine, workspace, and run-store diagnostics for MartinLoop. Use first for software work, fresh installs, suspicious state, or before retries. Do not use as proof that a task is complete. Next: call martin_estimate or martin_triage_runs depending on whether this is new work or failed prior work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | Optional engine to highlight in diagnostics. | |
| runsDir | No | Optional runs-root override resolved under the default Martin runs root. | |
| workingDirectory | No | Optional repo-root override for doctor context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | ||
| status | Yes | ||
| engines | Yes | ||
| summary | Yes | ||
| runStore | Yes | ||
| warnings | Yes | ||
| environment | Yes | ||
| receiptScope | Yes | ||
| requestedEngine | No |