claudecode/crates
Yeachan-Heo 18c25f1dc3 Polish permission inspection and switching output
Rework /permissions output into the same operator-console format used by status, config, and model so the command feels intentional and self-explanatory. Switching modes now reports previous and current state, while inspection shows the available modes and their meaning without adding fake policy logic.

Constraint: Permission output must stay aligned with the real three-mode runtime policy already implemented
Rejected: Add richer permission-policy previews per tool | would require more UI surface and risks overstating current policy fidelity
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep permission-mode docs in the CLI consistent with normalize_permission_mode and permission_policy behavior
Tested: cargo fmt --manifest-path ./rust/Cargo.toml --all; cargo clippy --manifest-path ./rust/Cargo.toml --workspace --all-targets -- -D warnings; cargo test --manifest-path ./rust/Cargo.toml --workspace
Not-tested: Manual operator UX review of /permissions flows in a live REPL
2026-03-31 21:01:21 +00:00
..
api feat(cli): align slash help/status/model handling 2026-03-31 19:23:05 +00:00
commands Prevent accidental session clears in REPL and resume flows 2026-03-31 20:42:50 +00:00
compat-harness feat(cli): align slash help/status/model handling 2026-03-31 19:23:05 +00:00
runtime feat(cli): align slash help/status/model handling 2026-03-31 19:23:05 +00:00
rusty-claude-cli Polish permission inspection and switching output 2026-03-31 21:01:21 +00:00
tools feat(cli): align slash help/status/model handling 2026-03-31 19:23:05 +00:00