gabriel / muse public
feat patch task/shelf #3 / 3
gabriel · 60 days ago · Apr 16, 2026 · Diff

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.

sha256:f3acd2fcb9463f22c913b627fb94122fb5b3da02a745a8dc6e33b2652d6c7ef3 sha
sha256:d136271c629a390ffca4260d6b19b3c14899bd7cadf2612622f7069b8025cf7e snapshot

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