{"record":{"id":"1977657b2ddeb647","repo":"tinyhumansai/openhuman","slug":"unknown-subconscious-subcommand-other-run-op","errorCode":null,"errorMessage":"unknown subconscious subcommand '{other}'. Run `openhuman subconscious --help`.","messagePattern":"unknown subconscious subcommand '(.+?)'\\. Run `openhuman subconscious --help`\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/core/subconscious_cli.rs","lineNumber":19,"sourceCode":"//! `openhuman subconscious` — CLI for testing and debugging the subconscious loop.\n//!\n//! Usage:\n//!   openhuman subconscious tick [--workspace <path>] [--mode simple|aggressive] [--verbose]\n//!   openhuman subconscious status [--workspace <path>]\n\nuse anyhow::{anyhow, Result};\nuse std::path::PathBuf;\n\npub fn run_subconscious_command(args: &[String]) -> Result<()> {\n    if args.is_empty() || is_help(&args[0]) {\n        print_help();\n        return Ok(());\n    }\n\n    match args[0].as_str() {\n        \"tick\" => run_tick(&args[1..]),\n        \"status\" => run_status(&args[1..]),\n        other => Err(anyhow!(\n            \"unknown subconscious subcommand '{other}'. Run `openhuman subconscious --help`.\"\n        )),\n    }\n}\n\n// ── tick ────────────────────────────────────────────────────────────────────\n\nstruct TickFlags {\n    workspace: Option<PathBuf>,\n    mode: Option<String>,\n    verbose: bool,\n}\n\nfn parse_tick_flags(args: &[String]) -> Result<TickFlags> {\n    let mut workspace: Option<PathBuf> = None;\n    let mut mode: Option<String> = None;\n    let mut verbose = false;\n    let mut i = 0;","sourceCodeStart":1,"sourceCodeEnd":37,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/core/subconscious_cli.rs#L1-L37","documentation":"Top-level subcommand dispatch failure for `openhuman subconscious`. After the bare-command and help cases, only `tick` and `status` are matched; anything else — a typo like `tck` or an unsupported verb — reaches the catch-all. The message points at `openhuman subconscious --help` because printing help is the remedy.","triggerScenarios":"Thrown at src/core/subconscious_cli.rs:19 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use one of the supported subcommands: `tick` or `status`.","Run `openhuman subconscious --help` to list them.","Check spelling; there are no abbreviations for the subcommands."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}