{"record":{"id":"905141aae3fd97b4","repo":"tinyhumansai/openhuman","slug":"memory-tree-walk-e","errorCode":null,"errorMessage":"memory_tree walk: {e}","messagePattern":"memory_tree walk: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/memory/query/fast_walk.rs","lineNumber":52,"sourceCode":"        .get(\"max_hops\")\n        .and_then(|v| v.as_u64())\n        .map(|n| n as u32)\n        .unwrap_or(2);\n\n    log::debug!(\n        \"[tool][memory_tree] walk (deterministic) query_len={} limit={} max_hops={} window={:?}\",\n        query.len(),\n        limit,\n        max_hops,\n        time_window_days\n    );\n\n    // Routed through the bound driver. `None` for the scope is not\n    // \"unrestricted\": the guard intersects it with the ambient per-turn\n    // allowlist, so the source gate still applies.\n    let guard = active_memory_guard()\n        .await\n        .map_err(|e| anyhow::anyhow!(\"memory_tree walk: {e}\"))?;\n    let opts = FastRetrieveQuery {\n        limit,\n        max_hops,\n        time_window_days,\n    };\n    let resp = guard\n        .as_retrieval()\n        .ok_or_else(|| {\n            anyhow::anyhow!(\"memory_tree walk: memory driver does not support the retrieval family\")\n        })?\n        .fast_retrieve(&query, opts, None)\n        .await?;\n    log::debug!(\n        \"[tool][memory_tree] walk returning hits={} total={}\",\n        resp.hits.len(),\n        resp.total\n    );\n    let json = serde_json::to_string(&resp)?;","sourceCodeStart":34,"sourceCodeEnd":70,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/memory/query/fast_walk.rs#L34-L70","documentation":"Wrapper around active_memory_guard() in the walk path: the bound driver could not be acquired. The scope is deliberately None (the guard intersects it with the per-turn allowlist), so this error is purely about driver availability.","triggerScenarios":"Thrown at src/openhuman/memory/query/fast_walk.rs:52 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry after the memory driver binds at startup","Check the core log for the underlying binding error","Verify a retrieval-capable memory backend is configured"],"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"}