gabriel / muse public
feat patch task/mv-command #1 / 1
gabriel · 62 days ago · Apr 14, 2026 · Diff

feat: implement muse mv — tracked file move with atomic staging

Moves SOURCE to DEST on disk and stages the rename: source gets a 'D' tombstone, destination gets an 'A' entry with the same object_id (no re-hash needed). Staged-only files (never committed) skip the tombstone and just relocate their stage entry. Handles move-into-directory, --force, --dry-run, --json. 29 TDD tests: unit helpers, integration, security (path traversal rejected), stress (200-file repo).

sha256:48c1970ec4e6fd39d6f7bb20570c2d06aadcd4f04a2fc3b1236a5aa1424a6927 sha
sha256:98c05dfa21a8b0f668674e85e7bdc939da261bddf7f73049135f3478542d472d snapshot
← Older Oldest on task/mv-command
All commits
Newer → Latest on task/mv-command

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