{"record":{"id":"a433ccc696df70dd","repo":"tinyhumansai/openhuman","slug":"load-config-error","errorCode":null,"errorMessage":"load config: {error:#}","messagePattern":"load config: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/skills/runtime/tools.rs","lineNumber":53,"sourceCode":"            \"type\": \"object\",\n            \"properties\": {\n                \"runtime\": {\n                    \"type\": \"string\",\n                    \"enum\": [\"all\", \"node\", \"python\"],\n                    \"description\": \"Runtime to resolve. Defaults to all.\"\n                }\n            }\n        })\n    }\n\n    fn permission_level(&self) -> PermissionLevel {\n        PermissionLevel::ReadOnly\n    }\n\n    async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {\n        let config = Config::load_or_init()\n            .await\n            .map_err(|error| anyhow::anyhow!(\"load config: {error:#}\"))?;\n        let requirement = RuntimeRequirement::from_optional(\n            args.get(\"runtime\").and_then(serde_json::Value::as_str),\n        )\n        .map_err(|error| anyhow::anyhow!(error))?;\n        tracing::debug!(\n            requirement = ?requirement,\n            \"[tool][skill_runtime] resolve_runtimes\"\n        );\n        let outcome = resolve_runtimes(&config, requirement).await;\n        Ok(ToolResult::success(serde_json::to_string(&outcome)?))\n    }\n\n    fn is_concurrency_safe(&self, _args: &serde_json::Value) -> bool {\n        true\n    }\n}\n","sourceCodeStart":35,"sourceCodeEnd":70,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/skills/runtime/tools.rs#L35-L70","documentation":"Loading the core TOML config via `Config::load_or_init()` failed inside the skills runtime-info tool before runtimes could be resolved. The tool needs config to find Node/Python runtime settings; `{e:#}` (alternate chain formatting) carries the full config-load cause — unreadable file, invalid TOML, or workspace resolution failure.","triggerScenarios":"Thrown at src/openhuman/skills/runtime/tools.rs:53 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check `{e:#}` chain for the config failure root","Verify workspace dir and config.toml readability","Retry on transient FS contention","Fix invalid TOML if the chain points at parsing"],"exampleFix":null,"handlingStrategy":"retry","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"}