gabriel / muse public
feat patch feat/directory-tracking #10 / 13
AI Agent gabriel · 16 days ago · May 28, 2026 · Diff

feat: muse diff shows staged dir renames as R not A+D

Post-process delta ops after plugin.diff() for live diffs (HEAD vs workdir/staged): read stage dir rename map, replace matching delete+insert dir op pairs with a single rename op, recompute delta summary via delta_summary().

sha256:9ef531ff8cf89d5fa4f90b6558383ffe3c7f5edfb02feaf77071cbca71f33fcb sha
+2 ~1 symbols
sha256:fb952467780310c9411525575096fa9867d88de68c508a3d1ca60947ef4c85b4 snapshot
+2
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes 3 symbols
~ muse/cli/commands/diff.py .py 2 symbols added, 1 symbol modified
+ delta_summary import import delta_summary L79–79
+ read_stage_dir_renames import import read_stage_dir_renames L78–78
~ run

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