doctor after installation and when an authenticated request fails unexpectedly:
Missing configuration can produce structured guidance with
healthy: false without treating the diagnostic command itself as a process error. Inspect the returned fields; do not rely only on the shell exit status.Verify and register a new Server
next_action is persist_token, write the Token under the returned token_env, then rerun loomloom doctor --output json. Do not persist a failed Server/Token pair.
When not to run doctor
For a local flag, file, JSON, workbook, or TemplateSpec validation error, fix the reported input first. Usedoctor for authentication, endpoint, network, service-version, or unexpected server failures.
Use --verbose only when needed: