Unified setup diagnose
diagnose_setupCheck Mushi setup health and get the single best next action. Runs preflight checks for SDK ingestion and fix dispatch readiness.
Instructions
Diagnose Mushi setup health and return the single best next action. mode=full (default) runs both SDK-ingest and fix-dispatch preflight checks; mode=ingest runs ingest checks only (project exists, active API key, SDK heartbeat, at least one report); mode=dispatch runs dispatch readiness only (GitHub connected, codebase indexed, LLM key present, autofix enabled). Returns { ready, steps: [{ label, complete, required, hint }], nextAction }. Read-only. The one setup-diagnosis entry point — use this instead of separate connection/ingest checks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | full (default) = ingest + dispatch; ingest = SDK pipeline only; dispatch = fix preflight only. | |
| projectId | No | Alias for project_id. | |
| project_id | No | Project UUID for dispatch checks (defaults to configured project). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| ready | Yes | ||
| ingest | No | ||
| summary | Yes | ||
| dispatch | No | ||
| connection | No | ||
| nextAction | No |