{"record":{"id":"011a0c2142f4c1ff","repo":"tinyhumansai/openhuman","slug":"memory-store-raw-chunks-memory-driver-does-not-su","errorCode":null,"errorMessage":"memory_store_raw_chunks: memory driver does not support the chunk family","messagePattern":"memory_store_raw_chunks: memory driver does not support the chunk family","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/memory/tools/raw_store/raw_chunks.rs","lineNumber":110,"sourceCode":"        // The per-profile memory-source gate is applied inside `list_chunks`\n        // (before the row limit). None = unrestricted.\n        let query = ChunkQuery {\n            source_kind,\n            source_id: parsed.source_id,\n            owner: parsed.owner,\n            since_ms: parsed.since_ms,\n            until_ms: parsed.until_ms,\n            limit: parsed.limit,\n            offset: None,\n            exclude_dropped: false,\n        };\n        let guard = active_memory_guard()\n            .await\n            .map_err(|e| anyhow::anyhow!(\"memory_store_raw_chunks: {e}\"))?;\n        let mut rows = guard\n            .as_chunks()\n            .ok_or_else(|| {\n                anyhow::anyhow!(\n                    \"memory_store_raw_chunks: memory driver does not support the chunk family\"\n                )\n            })?\n            .list_chunks(&query, None)\n            .await?;\n        if let Some(required) = parsed.tags_all_of.as_ref() {\n            if !required.is_empty() {\n                rows.retain(|c| {\n                    required\n                        .iter()\n                        .all(|t| c.metadata.tags.iter().any(|ct| ct == t))\n                });\n            }\n        }\n        log::debug!(\n            \"[tool][memory_store] raw_chunks returning rows={}\",\n            rows.len()\n        );","sourceCodeStart":92,"sourceCodeEnd":128,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/memory/tools/raw_store/raw_chunks.rs#L92-L128","documentation":"The bound driver lacks the chunk family (as_chunks() is None), so the constructed ChunkQuery cannot be dispatched. The per-profile memory-source gate lives inside list_chunks; this error is purely driver capability.","triggerScenarios":"Thrown at src/openhuman/memory/tools/raw_store/raw_chunks.rs:110 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Bind a chunk-capable driver","Check why the active driver lacks MemoryChunks","Use a different retrieval mode supported by the driver"],"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"}