{"record":{"id":"541e8349c77b82b6","repo":"tinyhumansai/openhuman","slug":"memory-store-raw-search-e","errorCode":null,"errorMessage":"memory_store_raw_search: {e}","messagePattern":"memory_store_raw_search: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/memory/tools/raw_store/raw_search.rs","lineNumber":91,"sourceCode":"        log::debug!(\n            \"[tool][memory_store] raw_search q_len={} kinds={:?} limit={}\",\n            parsed.query.len(),\n            parsed.kinds,\n            parsed.limit\n        );\n        // An empty `kinds` list means \"no filter\", matching the previous\n        // behaviour — it is not forwarded as an empty allowlist, which the\n        // driver would read as \"match no kind at all\".\n        let kinds = parsed\n            .kinds\n            .as_ref()\n            .filter(|kinds| !kinds.is_empty())\n            .map(Vec::as_slice);\n        // Kind validation belongs to the driver now: the vocabulary is open on\n        // the wire. See the note in `memory/query/search_entities.rs`.\n        let guard = active_memory_guard()\n            .await\n            .map_err(|e| anyhow::anyhow!(\"memory_store_raw_search: {e}\"))?;\n        let hits = guard\n            .as_retrieval()\n            .ok_or_else(|| {\n                anyhow::anyhow!(\n                    \"memory_store_raw_search: memory driver does not support the retrieval family\"\n                )\n            })?\n            .search_entities(&parsed.query, kinds, parsed.limit)\n            .await\n            .map_err(|e| anyhow::anyhow!(\"memory_store_raw_search: {e}\"))?;\n        log::debug!(\n            \"[tool][memory_store] raw_search returning hits={}\",\n            hits.len()\n        );\n        let json = serde_json::to_string(&hits)?;\n        Ok(ToolResult::success(json))\n    }\n}","sourceCodeStart":73,"sourceCodeEnd":109,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/memory/tools/raw_store/raw_search.rs#L73-L109","documentation":"Wrapper around active_memory_guard() in raw_search: driver acquisition failed after parsing. Empty kinds lists are normalized to \"no filter\" before this point, so the failure is driver availability only.","triggerScenarios":"Thrown at src/openhuman/memory/tools/raw_store/raw_search.rs:91 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry after the driver binds","Check the underlying binding error","Confirm a retrieval-capable 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"}