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

fix: muse code add stages deleted committed empty directories

_collect_paths handles deleted tracked files but skipped empty dirs (which live in head_dirs not head_manifest). Added deleted_committed_dirs pass: scans head_dirs for dirs no longer on disk, stages D sentinels. Covers 'add .', 'add -A', 'add -u', and explicit 'add foobar/'.

sha256:40b431ded5bfa42606e4d74ea8ca125d7baa5f554aa5bd947a291ceda330de37 sha
~1 symbols
sha256:c3834a7579e8cdcafe7e31d387aae4c9c6b62f43153a1bd65e0ed9e829e5ab34 snapshot
~1
symbol modified
0
dead code introduced
Semantic Changes 1 symbol
~ muse/cli/commands/code_stage.py .py 1 symbol modified

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