ultraworkers-claw-code/rust/crates
Yeachan-Heo 5c845d582e Close the plan-mode parity gap for worktree-local tool flows
PARITY.md still flags missing plan/worktree entry-exit tools. This change adds EnterPlanMode and ExitPlanMode to the Rust tool registry, stores reversible worktree-local state under .claw/tool-state, and restores or clears the prior local permission override on exit. The round-trip tests cover both restoring an existing local override and cleaning up a tool-created override from an empty local state.

Constraint: Must keep the override worktree-local and reversible without mutating higher-scope settings
Rejected: Reuse Config alone with no state file | exit could not safely restore absent-vs-local overrides
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep plan-mode state tracking aligned with settings.local.json precedence before adding worktree enter/exit tools
Tested: cargo test -p tools
Not-tested: interactive CLI prompt-mode invocation of the new tools
2026-04-02 10:01:33 +00:00
..
api Merge remote-tracking branch 'origin/omx-issue-9201-release-ci' 2026-04-02 08:32:15 +00:00
commands Merge branch 'dori/commands-parity' into main 2026-04-02 18:37:00 +09:00
compat-harness wip: plugins progress 2026-04-01 07:09:06 +00:00
plugins Merge branch 'dori/hooks-parity' into main 2026-04-02 18:36:37 +09:00
runtime Merge branch 'dori/hooks-parity' into main 2026-04-02 18:36:37 +09:00
rusty-claude-cli fix: suppress WIP dead_code/clippy warnings in rusty-claude-cli 2026-04-02 18:38:47 +09:00
telemetry feat: anthropic SDK header matching + request profile 2026-04-01 05:55:25 +00:00
tools Close the plan-mode parity gap for worktree-local tool flows 2026-04-02 10:01:33 +00:00