claw-code/rust/crates/rusty-claude-cli/tests
YeonGyu-Kim 187aebd74f
fix: /approve and /deny outside REPL emit interactive_only error_kind (#828)
/approve, /yes, /deny, /no (and /y, /n) are valid REPL-only slash
commands. Outside the REPL they were falling through to
format_unknown_direct_slash_command -> error_kind:unknown_slash_command.

Fix: intercept them in the SlashCommand::Unknown arm and emit
interactive_only: prefix so classify_error_kind returns the correct kind.

One new test: approve_deny_outside_repl_emits_interactive_only (covers
/approve, /yes, /deny, /no)

572 tests pass, 1 pre-existing worker_boot failure unrelated.
2026-05-29 16:36:54 +09:00
..
cli_flags_and_config_defaults.rs fix: resolve model aliases before syntax validation 2026-05-25 11:21:32 +09:00
compact_output.rs fix: route all JSON-mode abort envelopes to stdout (#819 #820 #823) (#3197) 2026-05-29 13:30:35 +09:00
compact_repl_panic.rs fix: REPL display, /compact panic, identity leak, DeepSeek reasoning, thinking blocks 2026-05-06 15:32:34 +09:00
mock_parity_harness.rs fix: resolve model aliases before syntax validation 2026-05-25 11:21:32 +09:00
output_format_contract.rs fix: /approve and /deny outside REPL emit interactive_only error_kind (#828) 2026-05-29 16:36:54 +09:00
resume_slash_commands.rs fix: route all JSON-mode abort envelopes to stdout (#819 #820 #823) (#3197) 2026-05-29 13:30:35 +09:00