feat: add muse shelf — first-class named working-tree checkpoints
Replaces the old stash concept with a ground-up redesign:
- Full snapshots (not deltas): unambiguous restoration after merges - Content-addressed IDs: sha256 of entry content (minus id field) - Already-current detection: files merged since shelving counted separately, not silently re-written (fixes the stash silent-absorption bug) - Intent-typed: interrupt | checkpoint | handoff | experiment | draft - Agent-attributed: created_by, resumable, tags for multi-agent handoff - GC-integrated: shelf objects treated as reachable - Programmatic API: _shelf_push_programmatic / _shelf_pop_programmatic for autoshelf support in checkout and merge
CLI: muse shelf save / list / read / apply / pop / drop / diff
154 tests passing covering unit, integration, E2E, stress, data-integrity, performance, security, and docstrings.
0 comments
muse hub commit comment sha256:f3acd2fcb9463f22c913b627fb94122fb5b3da02a745a8dc6e33b2652d6c7ef3 --body "your comment"
No comments yet. Be the first to start the discussion.