gabriel / muse public
chore BREAKING dev #51 / 100
AI Agent gabriel · 18 days ago · May 27, 2026 · Diff

chore: sweep all stale DirectoryRenameOp / directory_rename references

- semver_classifier.py: rename _classify_directory_rename → _classify_rename_op; update docstring and reason strings to say 'rename' not 'directory rename'. - format_patch.py: _action_label checks op='rename' (was 'directory_rename'). - release_analysis.py: event extraction now matches op='rename', not 'from_address' on PatchOp. - plugin.py, symbol_diff.py, diff.py: update inline comments. - docs/reference/type-contracts.md: replace DirectoryRenameOp entry with RenameOp; remove from_address row from PatchOp table. - test_file_rename_detection.py: full rewrite — all tests now check RenameOp, not PatchOp.from_address; class/method names updated to match. - test_code_plugin.py: TestFileMoveAndEdit docstring + test names updated; assertions now check RenameOp+PatchOp pair instead of single PatchOp(from_address). - test_directory_dimension.py, test_sem_ver.py: docstring/comment headers updated. - test_format_patch_supercharge.py: test_directory_rename_is_renamed → test_rename_is_renamed with op='rename'.

sha256:c10a2ce474b3bb7ff2a3d628e8a3f2e028fd78ca652513496a03a498ae2267b3 sha
12 changed · 1062 in snapshot files
sha256:3e2db596b1ce67adde862fcedd6c2635b476de5b5d81d241d1787aa015c98d6b snapshot
12
files changed
1062
files in snapshot
Files Changed
~12
1062 in snapshot

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:c10a2ce474b3bb7ff2a3d628e8a3f2e028fd78ca652513496a03a498ae2267b3 --body "your comment"