{"record":{"id":"29bb408e8e72d138","repo":"tinyhumansai/openhuman","slug":"unknown-memory-subcommand-other-run-openhuma","errorCode":null,"errorMessage":"unknown memory subcommand '{other}'. Run `openhuman memory --help`.","messagePattern":"unknown memory subcommand '(.+?)'\\. Run `openhuman memory --help`\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/core/memory_cli.rs","lineNumber":35,"sourceCode":"\nuse crate::openhuman::memory::ingestion::{MemoryIngestionConfig, MemoryIngestionRequest};\nuse crate::openhuman::memory::store::NamespaceDocumentInput;\n\n/// Entry point for `openhuman memory <subcommand>`.\npub fn run_memory_command(args: &[String]) -> Result<()> {\n    if args.is_empty() || is_help(&args[0]) {\n        print_memory_help();\n        return Ok(());\n    }\n\n    match args[0].as_str() {\n        \"ingest\" => run_ingest(&args[1..]),\n        \"docs\" | \"list\" => run_docs(&args[1..]),\n        \"graph\" | \"graph-query\" => run_graph_query(&args[1..]),\n        \"query\" => run_query(&args[1..]),\n        \"namespaces\" | \"ns\" => run_namespaces(&args[1..]),\n        \"clear\" => run_clear(&args[1..]),\n        other => Err(anyhow::anyhow!(\n            \"unknown memory subcommand '{other}'. Run `openhuman memory --help`.\"\n        )),\n    }\n}\n\n/// Each `openhuman memory <sub>` subcommand and the registered RPC controller\n/// whose surface it duplicates.\n///\n/// The CAPABILITY is deliberately NOT written here — it is read from the\n/// controller registry via [`crate::core::all::capability_for_parts`], so the\n/// single decision recorded at the `push_cap` site in `src/core/all.rs` governs\n/// both the RPC surface and this CLI. A second hand-maintained table would\n/// drift the first time a family tag moves.\nconst SUBCOMMAND_CONTROLLER: &[(&str, &str)] = &[\n    // Full synchronous ingestion — the driver owns chunking and embedding.\n    (\"ingest\", \"doc_ingest\"),\n    // Mandatory core/recall surface: ungated, listed so the table is total.\n    (\"docs\", \"list_documents\"),","sourceCodeStart":17,"sourceCodeEnd":53,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/a221052e0df5b1f7598fceba7329fd1af95d6699/src/core/memory_cli.rs#L17-L53","documentation":"Error \"unknown memory subcommand '{other}'. Run `openhuman memory --help`.\" thrown in tinyhumansai/openhuman.","triggerScenarios":"Thrown at src/core/memory_cli.rs:35 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a221052e0df5b1f7598fceba7329fd1af95d6699","analyzedAt":"2026-08-16T12:47:06.542Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}