claw-code/rust/crates/rusty-claude-cli/src
Yeachan-Heo a10bbaf8de Keep plugin-aware CLI validation aligned with the shared registry
The shared /plugins command flow already routes through the plugin registry, but
allowed-tool normalization still fell back to builtin tools when registry
construction failed. This keeps plugin-related validation errors visible at the
CLI boundary and updates tools tests to use the enum-based plugin permission
API so workspace verification remains green.

Constraint: Plugin tool permissions are now strongly typed in the plugins crate
Rejected: Restore string-based permission arguments in tests | weakens the plugin API contract
Rejected: Keep builtin fallback in normalize_allowed_tools | masks plugin registry integration failures
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Do not silently bypass current_tool_registry() failures unless plugin-aware allowed-tool validation is intentionally being disabled
Tested: cargo test -p commands -- --nocapture; cargo test --workspace
Not-tested: Manual REPL /plugins interaction in a live session
2026-04-01 07:22:41 +00:00
..
app.rs fix: critical parity bugs - enable tools, default permissions, tool input 2026-04-01 02:42:49 +00:00
args.rs fix: critical parity bugs - enable tools, default permissions, tool input 2026-04-01 02:42:49 +00:00
init.rs rebrand: Claude Code -> Claw Code in all prompts and source text 2026-04-01 03:45:42 +00:00
input.rs Replace bespoke CLI line editing with rustyline and canonical model aliases 2026-04-01 02:04:12 +00:00
main.rs Keep plugin-aware CLI validation aligned with the shared registry 2026-04-01 07:22:41 +00:00
render.rs wip: plugins progress 2026-04-01 07:09:29 +00:00