gabriel / muse public
refactor BREAKING dev
gabriel · 60 days ago · Apr 16, 2026 · Diff

refactor: purge stash — rename all instances to shelf, restore keychain files

- Rename every stash reference to shelf across all source, test, and doc files: switch.py --autostash → --autoshelf (flag, dest, variable, error messages) guard.py muse stash → muse shelf save, --autostash → --autoshelf diff.py dest='stash' → dest='shelf', stash local var → shelf prune.py, reflog.py, shelf.py, workspace.py, worktree.py, snapshot.py, repo.py (reserved op name), core/reflog.py — all comment/docstring fixes - GC tests: stash.json → shelf.json, _MAX_STASH_BYTES → _MAX_SHELF_BYTES, test JSON data updated to shelf format (snapshot key, created_at key), all test/variable names updated - workspace hardening tests: stash_count → shelf_count throughout - switch tests: autostash → autoshelf flag and assertion - All docs updated: porcelain.md, type-contracts.md, cli-tiers.md, security.md, agent-guide.md, architecture, protocol, demo, tools - Restore muse/core/keychain.py and 3 keychain test files from shelf entry [0] (were missing from disk, causing ModuleNotFoundError on import) - Delete .muse/stash.json.retired (stash entries reviewed, all superseded except keychain work which is now restored above) - Initialize .muse/shelf.json as empty []

sha256:e47b8e801cf8c8bc665cb322897841201fdb35e8e11f4a378089b4dfe43353d1 sha
sha256:4261caec18a4fcc293ead14899b3687dc2048795796295f689bddaf31a912fb3 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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