An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.
Rust
fix(permissions): return guidance for multi-word forms instead of falling through to LLM (#2994)
YeonGyu-Kimcaeac828b589
diff --git a/rust/crates/rusty-claude-cli/src/main.rs b/rust/crates/rusty-claude-cli/src/main.rsindex 379e8c0c..d3ee789b 100644--- a/rust/crates/rusty-claude-cli/src/main.rs+++ b/rust/crates/rusty-claude-cli/src/main.rs@@ -930,6 +930,14 @@ fn parse_args(args: &[String]) -> Result<CliAction, String> {}Ok(CliAction::Diff { output_format })}+ // `claw permissions <mode>` falls through to the LLM when called+ // with a subcommand argument because parse_single_word_command_alias+ // only intercepts the bare single-word form. Catch all multi-word+ // forms here and return a structured guidance error so no network+ // call or session is created.+ "permissions" => Err(format!(+ "`claw permissions` is a slash command. Start `claw` and run `/permissions` inside the REPL.\n Usage /permissions [read-only|workspace-write|danger-full-access]"+ )),"skills" => {let args = join_optional_args(&rest[1..]);match classify_skills_slash_command(args.as_deref()) {