{"record":{"id":"37e15d61f2c21412","repo":"tinyhumansai/openhuman","slug":"config-load-failed-e","errorCode":null,"errorMessage":"config load failed: {e}","messagePattern":"config load failed: (.+?)","errorType":"console","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/core/subconscious_cli.rs","lineNumber":76,"sourceCode":"            }\n            other => return Err(anyhow!(\"unknown flag '{other}'\")),\n        }\n    }\n    Ok(TickFlags {\n        workspace,\n        mode,\n        verbose,\n    })\n}\n\nfn run_tick(args: &[String]) -> Result<()> {\n    let flags = parse_tick_flags(args)?;\n\n    let rt = tokio::runtime::Runtime::new()?;\n    rt.block_on(async {\n        let mut config = crate::openhuman::config::Config::load_or_init()\n            .await\n            .map_err(|e| anyhow!(\"config load failed: {e}\"))?;\n\n        if let Some(ws) = &flags.workspace {\n            config.workspace_dir = ws.clone();\n        }\n\n        if let Some(mode_str) = &flags.mode {\n            config.heartbeat.subconscious_mode = match mode_str.as_str() {\n                \"simple\" => crate::openhuman::config::schema::SubconsciousMode::Simple,\n                \"aggressive\" => crate::openhuman::config::schema::SubconsciousMode::Aggressive,\n                other => {\n                    return Err(anyhow!(\n                        \"unknown mode '{other}', expected simple|aggressive\"\n                    ))\n                }\n            };\n            config.heartbeat.enabled = true;\n            config.heartbeat.inference_enabled = true;\n        }","sourceCodeStart":58,"sourceCodeEnd":94,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/a221052e0df5b1f7598fceba7329fd1af95d6699/src/core/subconscious_cli.rs#L58-L94","documentation":"Error \"config load failed: {e}\" thrown in tinyhumansai/openhuman.","triggerScenarios":"Thrown at src/core/subconscious_cli.rs:76 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a221052e0df5b1f7598fceba7329fd1af95d6699","analyzedAt":"2026-08-16T12:47:06.542Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}