{"record":{"id":"9d174590a5a6bc0b","repo":"tinyhumansai/openhuman","slug":"unknown-query-arg-other","errorCode":null,"errorMessage":"unknown query arg: {other}","messagePattern":"unknown query arg: (.+?)","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/core/memory_cli.rs","lineNumber":337,"sourceCode":"                query = Some(next_arg(args, &mut i, \"--query\")?);\n            }\n            \"--limit\" | \"-l\" => {\n                let raw = next_arg(args, &mut i, \"--limit\")?;\n                limit = raw\n                    .parse::<u32>()\n                    .map_err(|e| anyhow::anyhow!(\"invalid --limit: {e}\"))?;\n            }\n            \"-v\" | \"--verbose\" => {\n                verbose = true;\n                i += 1;\n            }\n            \"-h\" | \"--help\" => {\n                println!(\n                    \"Usage: openhuman memory query --namespace <ns> --query <text> [--limit <n>] [-v]\"\n                );\n                return Ok(());\n            }\n            other => return Err(anyhow::anyhow!(\"unknown query arg: {other}\")),\n        }\n    }\n\n    let namespace =\n        namespace.ok_or_else(|| anyhow::anyhow!(\"--namespace is required for query\"))?;\n    let query = query.ok_or_else(|| anyhow::anyhow!(\"--query is required\"))?;\n\n    crate::core::logging::init_for_cli_run(verbose, crate::core::logging::CliLogDefault::Global);\n\n    let rt = tokio::runtime::Builder::new_multi_thread()\n        .enable_all()\n        .build()?;\n\n    let result = rt.block_on(async {\n        let client = create_memory_client(\"query\").await?;\n        client\n            .query_namespace(&namespace, &query, limit)\n            .await","sourceCodeStart":319,"sourceCodeEnd":355,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/a221052e0df5b1f7598fceba7329fd1af95d6699/src/core/memory_cli.rs#L319-L355","documentation":"Error \"unknown query arg: {other}\" thrown in tinyhumansai/openhuman.","triggerScenarios":"Thrown at src/core/memory_cli.rs:337 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a221052e0df5b1f7598fceba7329fd1af95d6699","analyzedAt":"2026-08-16T12:47:06.542Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}