chore patch muse-hygiene feat/muse-local-hygiene #1 / 1
aaronrene · 19 days ago · Jul 3, 2026 · Diff

chore(muse-hygiene): shared muse-local-setup.sh + canonical vault hygiene note + rc15 bridge-deletion issue re-file

Prevents recurrence of the .env/config/local.yaml deletion (root cause: raw 'muse bridge git-export --git-dir .'; still present in muse 0.2.0rc15). Adds per-clone skip-worktree setup, canonical guidance note, and upstream issue draft.

sha256:3a12929ae45a48badfd7d2ebd45e923a8f5ad2bde8e47a778e518200724ecba4 sha
+22 symbols
sha256:421a9fbb316c522172c2230aac3f4a1d18305def625f3183b9023241cfea40fc snapshot
+22
symbols added
0
dead code introduced
Semantic Changes 22 symbols
+ 0rc15 section [RE-FILE] muse bridge deletes ignored local files — still present in 0.2.0rc15 L15–87
+ 0rc15) section Evidence gathered 2026-07-03 (Muse 0.2.0rc15) L30–45
+ table section table L32–38
+ How to file (once identity/key registration is fixed) section How to file (once identity/key registration is fixed) L72–87
+ code[bash] variable variable code[bash] L74–82
+ Reproduction (throwaway repo — safe) section Reproduction (throwaway repo — safe) L45–60
+ code[bash] variable variable code[bash] L47–59
+ Requested fix (see original doc for full patch + tests) section Requested fix (see original doc for full patch + tests) L60–72
+ Why re-file now section Why re-file now L23–30
+ Muse local hygiene — canonical guardrails (all repos) section Muse local hygiene — canonical guardrails (all repos) L18–131
+ (CRITICAL) section 1. The data-loss trap: muse bridge --git-dir . (CRITICAL) L29–61
+ Do this instead — always section Do this instead — always L43–53
+ code[bash] variable variable code[bash] L45–50
+ Verified-safe operations (do NOT delete ignored files under rc15) section Verified-safe operations (do NOT delete ignored files under rc15) L53–61
+ muse/ files dirty git and block checkouts section 2. Volatile .muse/ files dirty git and block checkouts L61–83
+ code[bash] variable variable code[bash] L70–74
+ Optional machine-wide guard against the dangerous command section 3. Optional machine-wide guard against the dangerous command L83–104
+ code[bash] variable variable code[bash] L87–101
+ Local git main is only a mirror checkout section 4. Local git main is only a mirror checkout L104–118
+ code[bash] variable variable code[bash] L109–112
+ Recovery if ignored files were already deleted section 5. Recovery if ignored files were already deleted L118–126
+ Related section Related L126–131
← Older Oldest on feat/muse-local-hygiene
All commits
Newer → Latest on feat/muse-local-hygiene

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:3a12929ae45a48badfd7d2ebd45e923a8f5ad2bde8e47a778e518200724ecba4 --body "your comment"