gabriel / muse public
fix BREAKING bugfix/nested-repo-walk #1 / 1
gabriel · 167 days ago · Apr 13, 2026 · Diff

fix: exclude nested muse repos from workdir walk

All os.walk loops in snapshot.py, code plugin snapshot/live_snapshot, content_grep, and code_stage now prune any subdirectory that contains a .muse/ dir. Nested repos are independent version-controlled units — their files belong to their own snapshot, not the parent repo's.

Fixes the workspace root committing all member repo files (3760 files) instead of only its own artifacts.

sha256:1828d307f16c680001da5534f6eeb3f35b3d82a5eecc0279a0c44319c2a79ec0 sha
+10 ~6 −29 symbols
sha256:4b26e3988d66b424bfd532b5ea6092a7bc85d6f84ff524e50fb2934a8febfa52 snapshot
+10
symbols added
~6
symbols modified
−29
symbols removed
0
dead code introduced
Semantic Changes 45 symbols
~ .cursorrules .cursorrules
~ AGENTS.md .md 10 symbols added, 29 symbols removed
− Muse — Agent Contract section Muse — Agent Contract L1–257
− Agent Role section Agent Role L15–30
− Anti-Patterns section Anti-Patterns L163–180
− Architecture section Architecture L30–70
− Layer rules section Layer rules L60–70
− code@L32 variable variable code@L32 L32–59
− Authentication section Authentication L180–210
− Trust management (shared filesystems, Docker, CI) section Trust management (shared filesystems, Docker, CI) L199–210
− code[bash]@L201 variable variable code[bash]@L201 L201–207
− code[bash]@L193 variable variable code[bash]@L193 L193–198
− code[toml]@L184 variable variable code[toml]@L184 L184–192
− Branch Discipline section Branch Discipline L70–99
− Code Standards section Code Standards L99–109
− Mission section Mission L7–15
− MuseHub Interactions section MuseHub Interactions L210–244
− Issues section Issues L222–234
− table@L224 section table@L224 L224–233
− Proposals section Proposals L212–222
− table@L214 section table@L214 L214–219
− Releases section Releases L234–244
− code[bash]@L236 variable variable code[bash]@L236 L236–241
− Quick Reference section Quick Reference L244–257
− table@L246 section table@L246 L246–257
− Scope of Authority section Scope of Authority L155–163
− Testing Standards section Testing Standards L125–140
− table@L127 section table@L127 L127–133
− Typing — Zero-Tolerance section Typing — Zero-Tolerance L109–125
− table@L111 section table@L111 L111–122
− Verification Checklist section Verification Checklist L140–155
+ Workspace — Shared Agent Configuration section Workspace — Shared Agent Configuration L1–66
+ Branch Flow section Branch Flow L37–56
+ code[bash]@L41 variable variable code[bash]@L41 L41–53
+ Code Intelligence section Code Intelligence L56–66
+ table@L58 section table@L58 L58–65
+ Version Control section Version Control L25–37
+ Workspace Members section Workspace Members L11–25
+ table@L13 section table@L13 L13–22
+ muse — Agent Configuration section muse — Agent Configuration L66–79
+ Repo-Specific Notes section Repo-Specific Notes L76–79
~ CLAUDE.md .md
~ muse/cli/commands/code_stage.py .py 1 symbol modified
~ muse/core/snapshot.py .py 1 symbol modified
← Older Oldest on bugfix/nested-repo-walk
All commits
Newer → Latest on bugfix/nested-repo-walk

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