tinyhumansai/openhuman · error
unknown subconscious subcommand
Error message
unknown subconscious subcommand '{other}'. Run `openhuman subconscious --help`. What it means
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.
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.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/core/subconscious_cli.rs:19 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/1977657b2ddeb647.
Report an issue: GitHub.
Appendix: source
Thrown at src/core/subconscious_cli.rs:19
//! `openhuman subconscious` — CLI for testing and debugging the subconscious loop.
//!
//! Usage:
//! openhuman subconscious tick [--workspace <path>] [--mode simple|aggressive] [--verbose]
//! openhuman subconscious status [--workspace <path>]
use anyhow::{anyhow, Result};
use std::path::PathBuf;
pub fn run_subconscious_command(args: &[String]) -> Result<()> {
if args.is_empty() || is_help(&args[0]) {
print_help();
return Ok(());
}
match args[0].as_str() {
"tick" => run_tick(&args[1..]),
"status" => run_status(&args[1..]),
other => Err(anyhow!(
"unknown subconscious subcommand '{other}'. Run `openhuman subconscious --help`."
)),
}
}
// ── tick ────────────────────────────────────────────────────────────────────
struct TickFlags {
workspace: Option<PathBuf>,
mode: Option<String>,
verbose: bool,
}
fn parse_tick_flags(args: &[String]) -> Result<TickFlags> {
let mut workspace: Option<PathBuf> = None;
let mut mode: Option<String> = None;
let mut verbose = false;
let mut i = 0;View on GitHub (pinned to 7491200858)