{"record":{"id":"d4643bf48efdd1b9","repo":"tinyhumansai/openhuman","slug":"unknown-ingest-arg-other","errorCode":null,"errorMessage":"unknown ingest arg: {other}","messagePattern":"unknown ingest arg: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/core/memory_cli.rs","lineNumber":121,"sourceCode":"            \"-v\" | \"--verbose\" => {\n                verbose = true;\n                i += 1;\n            }\n            \"-h\" | \"--help\" => {\n                println!(\"Usage: openhuman memory ingest <file|-> [options]\");\n                println!();\n                println!(\"  <file>               Path to file to ingest (use '-' for stdin)\");\n                println!(\"  -n, --namespace <ns>  Target namespace (default: 'cli')\");\n                println!(\"  -k, --key <key>       Document key for dedup (default: filename)\");\n                println!(\"  -t, --title <title>   Document title (default: filename)\");\n                println!(\"  -v, --verbose         Enable debug logging\");\n                return Ok(());\n            }\n            other if file_path.is_none() && (!other.starts_with('-') || other == \"-\") => {\n                file_path = Some(other.to_string());\n                i += 1;\n            }\n            other => return Err(anyhow::anyhow!(\"unknown ingest arg: {other}\")),\n        }\n    }\n\n    let file_path = file_path.ok_or_else(|| {\n        anyhow::anyhow!(\"missing file argument. Use a file path or '-' for stdin.\")\n    })?;\n\n    crate::core::logging::init_for_cli_run(verbose, crate::core::logging::CliLogDefault::Global);\n\n    let content = read_input(&file_path)?;\n    let doc_key = key.unwrap_or_else(|| file_path.clone());\n    let doc_title = title.unwrap_or_else(|| {\n        if file_path == \"-\" {\n            \"stdin-input\".to_string()\n        } else {\n            PathBuf::from(&file_path)\n                .file_name()\n                .map(|n| n.to_string_lossy().to_string())","sourceCodeStart":103,"sourceCodeEnd":139,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/a221052e0df5b1f7598fceba7329fd1af95d6699/src/core/memory_cli.rs#L103-L139","documentation":"Error \"unknown ingest arg: {other}\" thrown in tinyhumansai/openhuman.","triggerScenarios":"Thrown at src/core/memory_cli.rs:121 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"}