{"record":{"id":"d4582811873ecc0c","repo":"tinyhumansai/openhuman","slug":"unknown-tree-summarizer-subcommand-other-run","errorCode":null,"errorMessage":"unknown tree-summarizer subcommand '{other}'. Run `openhuman tree-summarizer --help`.","messagePattern":"unknown tree-summarizer subcommand '(.+?)'\\. Run `openhuman tree-summarizer --help`\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/memory/tree/tree_runtime/cli.rs","lineNumber":28,"sourceCode":"//!   openhuman tree-summarizer status  <namespace> [-v]\n//!   openhuman tree-summarizer rebuild <namespace> [-v]\n\nuse anyhow::Result;\n\n/// Entry point for `openhuman tree-summarizer <subcommand>`.\npub(crate) fn run_tree_summarizer_command(args: &[String]) -> Result<()> {\n    if args.is_empty() || is_help(&args[0]) {\n        print_help();\n        return Ok(());\n    }\n\n    match args[0].as_str() {\n        \"ingest\" => run_ingest(&args[1..]),\n        \"run\" => run_summarize(&args[1..]),\n        \"query\" => run_query(&args[1..]),\n        \"status\" => run_status(&args[1..]),\n        \"rebuild\" => run_rebuild(&args[1..]),\n        other => Err(anyhow::anyhow!(\n            \"unknown tree-summarizer subcommand '{other}'. Run `openhuman tree-summarizer --help`.\"\n        )),\n    }\n}\n\n// ---------------------------------------------------------------------------\n// Option parsing\n// ---------------------------------------------------------------------------\n\nstruct CliOpts {\n    verbose: bool,\n    content: Option<String>,\n    file: Option<String>,\n    node_id: Option<String>,\n}\n\nfn parse_opts(args: &[String]) -> Result<(CliOpts, Vec<String>)> {\n    let mut verbose = false;","sourceCodeStart":10,"sourceCodeEnd":46,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/memory/tree/tree_runtime/cli.rs#L10-L46","documentation":"The `openhuman tree-summarizer` CLI received a first token that matches none of the known subcommands (ingest, run, query, status, rebuild) and is not a help flag. The dispatcher then prints this usage error directing to `--help`; it is a strict CLI argument guard, so any typo'd or unsupported subcommand lands here.","triggerScenarios":"Thrown at src/openhuman/memory/tree/tree_runtime/cli.rs:28 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use one of: ingest, run, query, status, rebuild","Run `openhuman tree-summarizer --help` for exact usage","Check spelling of the subcommand"],"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-14T00:17:10.932Z"}