{"record":{"id":"6b62c3ffb83b702c","repo":"tinyhumansai/openhuman","slug":"tick-failed-e","errorCode":null,"errorMessage":"tick failed: {e}","messagePattern":"tick failed: (.+?)","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/core/subconscious_cli.rs","lineNumber":158,"sourceCode":"        // Check provider availability\n        if let Some(reason) =\n            crate::openhuman::subconscious::provider::subconscious_provider_unavailable_reason(\n                &config,\n            )\n        {\n            eprintln!(\"[subconscious] provider unavailable: {reason}\");\n            return Err(anyhow!(\"provider unavailable: {reason}\"));\n        }\n\n        // Create engine and run tick. The engine pulls its own memory_diff /\n        // context state from the workspace — no memory client to pass in.\n        let engine = crate::openhuman::subconscious::memory_instance(&config);\n\n        eprintln!(\"[subconscious] running tick...\");\n        let result = engine\n            .tick()\n            .await\n            .map_err(|e| anyhow!(\"tick failed: {e}\"))?;\n\n        eprintln!(\n            \"[subconscious] tick complete: duration={}ms response_chars={}\",\n            result.duration_ms, result.response_chars,\n        );\n\n        if flags.verbose {\n            // Print the world baseline the next tick will diff against.\n            let baseline = crate::openhuman::subconscious::store::with_connection(\n                &config.workspace_dir,\n                |conn| {\n                    crate::openhuman::subconscious::store::get_baseline_checkpoint_id(\n                        conn, \"memory\",\n                    )\n                },\n            )\n            .unwrap_or(None);\n            match baseline {","sourceCodeStart":140,"sourceCodeEnd":176,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/core/subconscious_cli.rs#L140-L176","documentation":"Terminal error wrapper for the subconscious engine tick itself. After config and provider checks pass, `engine` runs one tick; any failure inside that loop (memory_diff access, planning, provider call failure) is surfaced as `tick failed: {e}` from the CLI, with the engine's own error appended as the cause.","triggerScenarios":"Thrown at src/core/subconscious_cli.rs:158 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the cause after `tick failed:` — it carries the engine's underlying error.","Re-run the tick; transient provider or store failures may clear on retry.","Verify the workspace's memory_diff/context state is readable, and check core logs for the matching failure."],"exampleFix":null,"handlingStrategy":"try-catch","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-23T08:17:48.524Z"}