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

fix: two dir CRUD bugs found during permutation testing

Bug 1 (D5): muse code add epsilon/ printed '❌ Path not found' when epsilon/ was a committed dir deleted from disk. _collect_paths checked head_manifest but not head_dirs; now passes head_dirs and silently skips the error for committed dirs (handled by deleted_committed_dirs).

Bug 2 (E2): muse code reset omega printed 'unstaged: omega' without trailing slash. Now checks if the stage entry is EMPTY_DIR_OID and appends '/' for directory entries in the per-file verbose output.

sha256:5c3ffd124ce4fa869be36d79ea5e5c3bc8893a79c4f55ed37a013001522abbf0 sha
~3 symbols
sha256:6d44c5c47b88cac8c900957b0b1b3411671605387d0daaa2a29499065d9a5cf7 snapshot
~3
symbols modified
0
dead code introduced
Semantic Changes 3 symbols

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