{"record":{"id":"56a8cc012eb2857e","repo":"tinyhumansai/openhuman","slug":"memory-store-kinds-memory-driver-does-not-support","errorCode":null,"errorMessage":"memory_store_kinds: memory driver does not support the chunk family","messagePattern":"memory_store_kinds: memory driver does not support the chunk family","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/memory/tools/raw_store/kinds.rs","lineNumber":42,"sourceCode":"    fn description(&self) -> &str {\n        \"Return the catalog of memory_store storage kinds the active memory \\\n         driver persists. No arguments. Use when planning a multi-kind \\\n         retrieval fan-out.\"\n    }\n\n    fn parameters_schema(&self) -> serde_json::Value {\n        json!({ \"type\": \"object\", \"properties\": {} })\n    }\n\n    async fn execute(&self, _args: Value) -> anyhow::Result<ToolResult> {\n        log::debug!(\"[tool][memory_store] kinds start\");\n        let guard = active_memory_guard()\n            .await\n            .map_err(|e| anyhow::anyhow!(\"memory_store_kinds: {e}\"))?;\n        let kinds = guard\n            .as_chunks()\n            .ok_or_else(|| {\n                anyhow::anyhow!(\n                    \"memory_store_kinds: memory driver does not support the chunk family\"\n                )\n            })?\n            .storage_kinds()\n            .await\n            .map_err(|e| anyhow::anyhow!(\"memory_store_kinds: {e}\"))?;\n        log::debug!(\"[tool][memory_store] kinds success count={}\", kinds.len());\n        Ok(ToolResult::success(serde_json::to_string(\n            &json!({ \"kinds\": kinds }),\n        )?))\n    }\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n    #[test]","sourceCodeStart":24,"sourceCodeEnd":60,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/memory/tools/raw_store/kinds.rs#L24-L60","documentation":"The bound driver's chunk family accessor is None, so the storage-kind catalog cannot be queried. memory_store_kinds routes through MemoryChunks; a driver without it cannot answer the catalog question.","triggerScenarios":"Thrown at src/openhuman/memory/tools/raw_store/kinds.rs:42 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a chunk-capable memory driver","Diagnose why the bound driver lacks MemoryChunks","Skip storage-kind planning against this backend"],"exampleFix":null,"handlingStrategy":"type-guard","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-14T05:17:10.506Z"}