{"record":{"id":"db12322e61696edf","repo":"tinyhumansai/openhuman","slug":"unknown-graph-arg-other","errorCode":null,"errorMessage":"unknown graph arg: {other}","messagePattern":"unknown graph arg: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/core/memory_cli.rs","lineNumber":279,"sourceCode":"                namespace = Some(next_arg(args, &mut i, \"--namespace\")?);\n            }\n            \"--subject\" | \"-s\" => {\n                subject = Some(next_arg(args, &mut i, \"--subject\")?);\n            }\n            \"--predicate\" | \"-p\" => {\n                predicate = Some(next_arg(args, &mut i, \"--predicate\")?);\n            }\n            \"-v\" | \"--verbose\" => {\n                verbose = true;\n                i += 1;\n            }\n            \"-h\" | \"--help\" => {\n                println!(\n                    \"Usage: openhuman memory graph [--namespace <ns>] [--subject <s>] [--predicate <p>] [-v]\"\n                );\n                return Ok(());\n            }\n            other => return Err(anyhow::anyhow!(\"unknown graph arg: {other}\")),\n        }\n    }\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(\"graph\").await?;\n        client\n            .graph_query(\n                namespace.as_deref(),\n                subject.as_deref(),\n                predicate.as_deref(),\n            )\n            .await","sourceCodeStart":261,"sourceCodeEnd":297,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/core/memory_cli.rs#L261-L297","documentation":"CLI argument parsing in the `openhuman memory graph` subcommand: an unrecognized option was passed (accepted: --namespace/-n, --subject/-s, --predicate/-p, -v/--verbose, -h/--help). The offending token is in `{other}`; the printed usage shows the accepted filters. No query was executed.","triggerScenarios":"Thrown at src/core/memory_cli.rs:279 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use only --namespace, --subject, --predicate as filters","Check spelling with `openhuman memory graph --help`"],"exampleFix":null,"handlingStrategy":"validation","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-23T08:17:48.524Z"}