{"record":{"id":"f08e42c4938cec6c","repo":"tinyhumansai/openhuman","slug":"claude-cli-not-found-or-not-executable-configured","errorCode":null,"errorMessage":"claude CLI not found or not executable (configured binary='{}'): {}. Install from https://claude.ai/code or set claude_agent_sdk.binary in config.","messagePattern":"claude CLI not found or not executable \\(configured binary='(.+?)'\\): (.+?)\\. Install from https://claude\\.ai/code or set claude_agent_sdk\\.binary in config\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/platform/doctor/core.rs","lineNumber":1070,"sourceCode":"                format!(\n                    \"claude CLI execution failed (binary='{}', status={}). {}\",\n                    sdk.binary,\n                    output.status,\n                    truncate_for_display(preview, COMMAND_VERSION_PREVIEW_CHARS)\n                ),\n            ));\n            tracing::debug!(\n                \"probe:claude_agent_sdk:exit binary={} result=warn\",\n                sdk.binary\n            );\n        }\n        Err(err) => {\n            tracing::warn!(\n                \"probe:claude_agent_sdk:warn binary={} err={}\",\n                sdk.binary,\n                err\n            );\n            items.push(DiagnosticItem::warn(\n                \"claude_agent_sdk\",\n                format!(\n                    \"claude CLI not found or not executable (configured binary='{}'): {}. \\\n                     Install from https://claude.ai/code or set claude_agent_sdk.binary in config.\",\n                    sdk.binary, err\n                ),\n            ));\n            tracing::debug!(\n                \"probe:claude_agent_sdk:exit binary={} result=warn\",\n                sdk.binary\n            );\n        }\n    }\n}\n\n// ── Helpers ──────────────────────────────────────────────────────\n\nfn parse_rfc3339(input: &str) -> Option<DateTime<Utc>> {","sourceCodeStart":1052,"sourceCodeEnd":1088,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/platform/doctor/core.rs#L1052-L1088","documentation":"Doctor claude_agent_sdk probe: spawning the claude CLI failed at the process level (io error — not found or not executable), for the binary named in claude_agent_sdk.binary (or the default lookup). Delegation to a claude CLI agent cannot work until a working CLI is installed or the config path is corrected. The message embeds the corrective actions: install from the docs or fix the config key.","triggerScenarios":"Thrown at src/openhuman/platform/doctor/core.rs:1070 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install the Claude Code CLI from https://claude.ai/code","Or set claude_agent_sdk.binary in config.toml to the absolute path of an existing binary","Ensure the binary has execute permission and matches the host architecture"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}