claw-code-parity/rust/crates
Yeachan-Heo bf59abc9e9 Restore prompt-approved tool execution in CLI parity runs
ConversationRuntime already performs permission-policy checks and interactive approvals before dispatching a tool. The CLI tool executor was routing those same tool calls back through GlobalToolRegistry::execute, which re-ran the enforcer without a prompter and flipped approved bash calls back into denials.

Add a preauthorized execution path for runtime-dispatched tools, keep registry enforcement for direct callers, and format the files that were already tripping rustfmt on main.

Constraint: CI on main was failing both cargo fmt and the mock parity harness after permission enforcement landed
Rejected: Remove registry enforcement globally | would reopen direct-dispatch permission gaps
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Use execute_preauthorized only after ConversationRuntime or an equivalent caller has already completed permission gating
Tested: cargo fmt --all --check; cargo test -p rusty-claude-cli; cargo test -p tools
Not-tested: Full workspace test matrix beyond the Rust CI workflow targets
2026-04-03 09:32:29 +00:00
..
api Preserve usage accounting on OpenAI SSE streams 2026-04-02 10:04:14 +00:00
commands feat: add 40 slash commands — command surface 67/141 2026-04-03 08:09:14 +09:00
compat-harness wip: plugins progress 2026-04-01 07:09:06 +00:00
mock-anthropic-service Expand parity harness coverage before behavioral drift lands 2026-04-03 04:00:33 +00:00
plugins feat: ultraclaw session outputs — registry tests, MCP bridge, PARITY.md, cleanup 2026-04-03 18:23:03 +09:00
runtime Restore prompt-approved tool execution in CLI parity runs 2026-04-03 09:32:29 +00:00
rusty-claude-cli Restore prompt-approved tool execution in CLI parity runs 2026-04-03 09:32:29 +00:00
telemetry feat: anthropic SDK header matching + request profile 2026-04-01 05:55:25 +00:00
tools Restore prompt-approved tool execution in CLI parity runs 2026-04-03 09:32:29 +00:00