Files
claw-code-parity/rust/crates/rusty-claude-cli
Yeachan-Heo 4331fdeb6a feat(cli): add claw branch delete command
Add a top-level `claw branch delete` command that deletes merged local branches while protecting the current branch, the default branch, and branches checked out in linked worktrees. The CLI now validates the new subcommand explicitly and covers the behavior with parser, help, and git integration tests.

Constraint: Keep existing dirty workspace changes outside this CLI command untouched
Rejected: Reusing the unimplemented /branch slash command | user requested a direct top-level command
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep branch protection aligned with worktree-aware git behavior before broadening deletion rules
Tested: cargo build --workspace; cargo test --workspace
Not-tested: Real remote origin/HEAD configurations beyond local main/master fallback
2026-04-04 16:23:37 +00:00
..