fix: branch deletion now prunes config.toml metadata; purge 160 stale entries
- config.py: add delete_branch_meta() — removes [branch."<name>"] section atomically - branch.py: call delete_branch_meta() after rf.unlink() on successful -d/-D - tests/test_branch_delete_config_cleanup.py: 11 TDD tests (5 unit, 6 integration) - Purged 160 accumulated stale [branch.*] entries from .muse/config.toml
sha256:10d9204bd6d8f40d12a4f9c324674ce25afdcc4164abfea13848da4978cbcd0b
sha
+30
~4
symbols
sha256:3865eda359df34b373d8f95c0b9d53d08f8b8ceda281c984e8a18e6f3af03a74
snapshot
+30
symbols added
~4
symbols modified
0
dead code introduced
Semantic Changes
34 symbols
+
test_delete_branch_with_no_config_section
method
method test_delete_branch_with_no_config_section L169–174
+
test_delete_multiple_branches_removes_all_sections
method
method test_delete_multiple_branches_removes_all_sections L176–189
+
test_failed_delete_preserves_config_section
method
method test_failed_delete_preserves_config_section L157–167
+
test_force_delete_removes_config_section
method
method test_force_delete_removes_config_section L147–155
+
test_safe_delete_removes_config_section
method
method test_safe_delete_removes_config_section L137–145
+
test_preserves_non_branch_config_sections
method
method test_preserves_non_branch_config_sections L110–124
~
run
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:10d9204bd6d8f40d12a4f9c324674ce25afdcc4164abfea13848da4978cbcd0b --body "your comment"
No comments yet. Be the first to start the discussion.