test(dev-safety): Phase 2 of #185 — verify muse/muse-dev binary separation
Adds tests/test_binary_separation.py: verifies live machine state, not fixtures — Phase 2 is about fixing this developer's actual environment, so red means unfixed, green means fixed. Deliberately does not mutate ~/ecosystem/muse's source to prove "live-edit reflected" (that would touch the very canonical repo this ticket protects) — editable-install classification via which_muse.classify_muse_binary is sufficient proof.
Environment changes made alongside (not part of this repo, recorded here for provenance): - Removed /Users/gabriel/bin/muse (was an editable shim pointed at this checkout's own .venv — the exact ambiguity #185 Phase 1 found). - Removed /opt/homebrew/bin/muse (duplicate editable shim, same checkout, not brew-managed — confirmed via `brew list`). - Uninstalled the stale `muse` pip package from pyenv's global 3.14.4 site-packages (confirmed no Required-by, no .python-version pins anywhere depending on it) — its dangling shim self-removed on `pyenv rehash`. - Created ~/.local/share/muse-dev/venv (`pip install -e ~/ecosystem/muse`), symlinked to ~/.local/bin/muse-dev — the new explicit, editable entry point for live-source development. - Fixed ~/.zshrc PATH export ordering (~/.local/bin now wins over ~/bin — it was backwards, which is *why* the editable shim won by default).
Result: exactly two `muse`-named binaries reachable now, down from five. `muse` resolves to the installer-managed venv (stable, non-editable); `muse-dev` resolves to this live checkout (editable). All 7 new tests pass; all 8 Phase 1 tests still pass.
Known follow-up not addressed here: the installer-managed venv is on an older dev snapshot (0.2.0.dev1) than this checkout's current version (0.2.1) — refreshing it to the latest published release is a separate, optional concern from identity separation and left for a future pass.
Semantic Changes
16 symbols
Files Changed
+1
1161 in snapshot
0 comments
muse hub commit comment sha256:aed089a7a47a05fb34e98fe7156e80cb34c92a9c63ee5f1b81e75aa989098fe5 --body "your comment"
No comments yet. Be the first to start the discussion.