gabriel / muse public
fix patch branch task/branch-delete-dry-run-tdd #1 / 1
AI Agent gabriel · 2 days ago · Jun 11, 2026 · Diff

fix(branch): guard -d --dry-run against destructive writes; add TDD suite

sha256:e237dc0e8122609f5131d11c9dda9bba480395a5a4355cda0c9fa7e634fddd29 sha
+5 ~2 symbols
2 changed · 1068 in snapshot files
sha256:af41b412886b5fb855f832039484d324c988e746806dbabef0f4249ad44879ff snapshot
+5
symbols added
~2
symbols modified
2
files changed
1068
files in snapshot
0
dead code introduced
Semantic Changes 7 symbols
~ muse/cli/commands/branch.py .py 1 symbol modified
~ run
~ tests/test_cmd_branch.py .py 5 symbols added, 1 symbol modified
+ test_delete_dry_run_does_not_delete_branch method method test_delete_dry_run_does_not_delete_branch L510–517
+ test_delete_dry_run_does_not_remove_reflog method method test_delete_dry_run_does_not_remove_reflog L550–557
+ test_delete_dry_run_json_schema method method test_delete_dry_run_json_schema L519–530
+ test_delete_dry_run_output_has_prefix method method test_delete_dry_run_output_has_prefix L532–537
+ test_force_delete_dry_run_does_not_delete method method test_force_delete_dry_run_does_not_delete L539–548
Files Changed
~2
1068 in snapshot
← Older Oldest on task/branch-delete-dry-run-tdd
All commits
Newer → Latest on task/branch-delete-dry-run-tdd

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:e237dc0e8122609f5131d11c9dda9bba480395a5a4355cda0c9fa7e634fddd29 --body "your comment"