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 []
0 comments
muse hub commit comment sha256:e47b8e801cf8c8bc665cb322897841201fdb35e8e11f4a378089b4dfe43353d1 --body "your comment"
No comments yet. Be the first to start the discussion.