tinyhumansai/openhuman · error
unknown memory subcommand
Error message
unknown memory subcommand '{other}'. Run `openhuman memory --help`. What it means
Subcommand dispatch guard for `openhuman memory`: the first token matches none of the memory subcommands (ingest, docs/list, graph/graph-query, query, namespaces, ...). A sentinel validation error naming the offending token; `openhuman memory` with no args or -h prints the help instead.
Solutions
- Run `openhuman memory --help` to list valid subcommands
- Check the subcommand spelling (e.g. use `docs` or `list`, not `documents`
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/core/memory_cli.rs:35 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/29bb408e8e72d138.
Report an issue: GitHub.
Appendix: source
Thrown at src/core/memory_cli.rs:35
use tinymemory_core::ingestion::{MemoryIngestionConfig, MemoryIngestionRequest};
use tinymemory_core::store::NamespaceDocumentInput;
/// Entry point for `openhuman memory <subcommand>`.
pub fn run_memory_command(args: &[String]) -> Result<()> {
if args.is_empty() || is_help(&args[0]) {
print_memory_help();
return Ok(());
}
match args[0].as_str() {
"ingest" => run_ingest(&args[1..]),
"docs" | "list" => run_docs(&args[1..]),
"graph" | "graph-query" => run_graph_query(&args[1..]),
"query" => run_query(&args[1..]),
"namespaces" | "ns" => run_namespaces(&args[1..]),
"clear" => run_clear(&args[1..]),
other => Err(anyhow::anyhow!(
"unknown memory subcommand '{other}'. Run `openhuman memory --help`."
)),
}
}
/// Each `openhuman memory <sub>` subcommand and the registered RPC controller
/// whose surface it duplicates.
///
/// The CAPABILITY is deliberately NOT written here — it is read from the
/// controller registry via [`crate::core::all::capability_for_parts`], so the
/// single decision recorded at the `push_cap` site in `src/core/all.rs` governs
/// both the RPC surface and this CLI. A second hand-maintained table would
/// drift the first time a family tag moves.
const SUBCOMMAND_CONTROLLER: &[(&str, &str)] = &[
// Full synchronous ingestion — the driver owns chunking and embedding.
("ingest", "doc_ingest"),
// Mandatory core/recall surface: ungated, listed so the table is total.
("docs", "list_documents"),View on GitHub (pinned to 7491200858)