mirror of
https://github.com/lWolvesl/claw-code.git
synced 2026-04-02 07:41:52 +08:00
Tighten the /permissions report into the same operator-console style used by other slash commands, and make permission mode changes read like a structured CLI confirmation instead of a raw field swap. Constraint: Must keep the real permission surface limited to read-only, workspace-write, and danger-full-access Rejected: Add synthetic shortcuts or approval-state variants | would misrepresent actual supported modes Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep /permissions output aligned with other structured slash command reports as new mode metadata is added 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; manual REPL smoke test for /permissions and /permissions read-only Not-tested: Interactive approval prompting flows beyond mode report formatting