tinyhumansai/openhuman · error
claude CLI execution failed (binary='{}', status={}). {}
Error message
claude CLI execution failed (binary='{}', status={}). {} What it means
Doctor claude_agent_sdk probe: the configured claude CLI binary was found and executed, but the version invocation exited non-zero. The message shows the binary path, exit status, and a truncated first stderr line. This is distinct from "not found" — the binary exists but errors on invocation, common when the CLI needs auth/login, an update broke it, or the wrong binary shadows the real CLI.
Source
Thrown at src/openhuman/platform/doctor/core.rs:1050
items.push(DiagnosticItem::ok(
"claude_agent_sdk",
format!("claude CLI found (binary='{}'): {version}", sdk.binary),
));
tracing::debug!(
"probe:claude_agent_sdk:exit binary={} result=ok",
sdk.binary
);
}
Ok(output) => {
let stderr = String::from_utf8_lossy(&output.stderr);
let preview = stderr.lines().next().unwrap_or("(no stderr)");
tracing::warn!(
"probe:claude_agent_sdk:warn binary={} status={:?} stderr={}",
sdk.binary,
output.status,
truncate_for_display(preview, COMMAND_VERSION_PREVIEW_CHARS)
);
items.push(DiagnosticItem::warn(
"claude_agent_sdk",
format!(
"claude CLI execution failed (binary='{}', status={}). {}",
sdk.binary,
output.status,
truncate_for_display(preview, COMMAND_VERSION_PREVIEW_CHARS)
),
));
tracing::debug!(
"probe:claude_agent_sdk:exit binary={} result=warn",
sdk.binary
);
}
Err(err) => {
tracing::warn!(
"probe:claude_agent_sdk:warn binary={} err={}",
sdk.binary,
errView on GitHub (pinned to 7491200858)
Solutions
- Run the shown binary with --version manually and read the stderr preview
- Re-run the CLI's login flow if it complains about authentication
- Reinstall the Claude Code CLI or fix claude_agent_sdk.binary in config to point at a working binary
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/openhuman/platform/doctor/core.rs:1050 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17).
Data as JSON: /api/errors/709076bebb611875.
Report an issue: GitHub.