tinyhumansai/openhuman · error
unknown tree-summarizer subcommand '{other}'. Run `openhuman
Error message
unknown tree-summarizer subcommand '{other}'. Run `openhuman tree-summarizer --help`. What it means
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.
Source
Thrown at src/openhuman/memory/tree/tree_runtime/cli.rs:28
//! openhuman tree-summarizer status <namespace> [-v]
//! openhuman tree-summarizer rebuild <namespace> [-v]
use anyhow::Result;
/// Entry point for `openhuman tree-summarizer <subcommand>`.
pub(crate) fn run_tree_summarizer_command(args: &[String]) -> Result<()> {
if args.is_empty() || is_help(&args[0]) {
print_help();
return Ok(());
}
match args[0].as_str() {
"ingest" => run_ingest(&args[1..]),
"run" => run_summarize(&args[1..]),
"query" => run_query(&args[1..]),
"status" => run_status(&args[1..]),
"rebuild" => run_rebuild(&args[1..]),
other => Err(anyhow::anyhow!(
"unknown tree-summarizer subcommand '{other}'. Run `openhuman tree-summarizer --help`."
)),
}
}
// ---------------------------------------------------------------------------
// Option parsing
// ---------------------------------------------------------------------------
struct CliOpts {
verbose: bool,
content: Option<String>,
file: Option<String>,
node_id: Option<String>,
}
fn parse_opts(args: &[String]) -> Result<(CliOpts, Vec<String>)> {
let mut verbose = false;View on GitHub (pinned to 7491200858)
Solutions
- Use one of: ingest, run, query, status, rebuild
- Run `openhuman tree-summarizer --help` for exact usage
- Check spelling of the subcommand
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/openhuman/memory/tree/tree_runtime/cli.rs:28 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17).
Data as JSON: /api/errors/d4582811873ecc0c.
Report an issue: GitHub.