{"record":{"id":"66835d6934947bcd","repo":"tinyhumansai/openhuman","slug":"memory-store-raw-chunks-e","errorCode":null,"errorMessage":"memory_store_raw_chunks: {e}","messagePattern":"memory_store_raw_chunks: (.+?)","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/memory/tools/raw_store/raw_chunks.rs","lineNumber":81,"sourceCode":"                \"limit\":       { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 1000, \"description\": \"Default 100.\" }\n            }\n        })\n    }\n\n    async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {\n        let parsed: Args = serde_json::from_value(args)\n            .map_err(|e| anyhow::anyhow!(\"invalid arguments for memory_store_raw_chunks: {e}\"))?;\n        log::debug!(\n            \"[tool][memory_store] raw_chunks source_kind={:?} owner={:?} tags={:?} limit={:?}\",\n            parsed.source_kind,\n            parsed.owner,\n            parsed.tags_all_of,\n            parsed.limit\n        );\n        let source_kind = match parsed.source_kind.as_deref() {\n            Some(s) => Some(\n                SourceKind::parse(s)\n                    .map_err(|e| anyhow::anyhow!(\"memory_store_raw_chunks: {e}\"))?,\n            ),\n            None => None,\n        };\n        if let Some(limit) = parsed.limit {\n            if !(1..=1000).contains(&limit) {\n                return Err(anyhow::anyhow!(\n                    \"memory_store_raw_chunks: limit must be between 1 and 1000\"\n                ));\n            }\n        }\n        // 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,","sourceCodeStart":63,"sourceCodeEnd":99,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/memory/tools/raw_store/raw_chunks.rs#L63-L99","documentation":"Error-surfacing wrapper in the memory_store_raw_chunks tool's execute: the driver chunk query failed after args parsed and logged. This is the post-validation failure path — driver unbound, unsupported family, or query error — not an argument problem (those raise the `invalid arguments` / SourceKind / limit errors separately).","triggerScenarios":"Thrown at src/openhuman/memory/tools/raw_store/raw_chunks.rs:81 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry after driver binding at boot","Check the chained binding error","Verify the memory module is loaded"],"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"}