tinyhumansai/openhuman · error

tick failed

Error message

tick failed: {e}

What it means

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.

Solutions

  1. Inspect the cause after `tick failed:` — it carries the engine's underlying error.
  2. Re-run the tick; transient provider or store failures may clear on retry.
  3. Verify the workspace's memory_diff/context state is readable, and check core logs for the matching failure.
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at src/core/subconscious_cli.rs:158 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/6b62c3ffb83b702c. Report an issue: GitHub.

Appendix: source

Thrown at src/core/subconscious_cli.rs:158

        // Check provider availability
        if let Some(reason) =
            crate::openhuman::subconscious::provider::subconscious_provider_unavailable_reason(
                &config,
            )
        {
            eprintln!("[subconscious] provider unavailable: {reason}");
            return Err(anyhow!("provider unavailable: {reason}"));
        }

        // Create engine and run tick. The engine pulls its own memory_diff /
        // context state from the workspace — no memory client to pass in.
        let engine = crate::openhuman::subconscious::memory_instance(&config);

        eprintln!("[subconscious] running tick...");
        let result = engine
            .tick()
            .await
            .map_err(|e| anyhow!("tick failed: {e}"))?;

        eprintln!(
            "[subconscious] tick complete: duration={}ms response_chars={}",
            result.duration_ms, result.response_chars,
        );

        if flags.verbose {
            // Print the world baseline the next tick will diff against.
            let baseline = crate::openhuman::subconscious::store::with_connection(
                &config.workspace_dir,
                |conn| {
                    crate::openhuman::subconscious::store::get_baseline_checkpoint_id(
                        conn, "memory",
                    )
                },
            )
            .unwrap_or(None);
            match baseline {

View on GitHub (pinned to 7491200858)