tinyhumansai/openhuman · error

unknown memory subcommand '{other}'. Run `openhuman memory -

Error message

unknown memory subcommand '{other}'. Run `openhuman memory --help`.

What it means

Error "unknown memory subcommand '{other}'. Run `openhuman memory --help`." thrown in tinyhumansai/openhuman.

Source

Thrown at src/core/memory_cli.rs:35

use crate::openhuman::memory::ingestion::{MemoryIngestionConfig, MemoryIngestionRequest};
use crate::openhuman::memory::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 a221052e0d)

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@a221052e0d (2026-08-16). Data as JSON: /api/errors/29bb408e8e72d138. Report an issue: GitHub.