gabriel / muse public
refactor BREAKING store task/store-phase4-snapshots #1 / 1
AI Agent gabriel · 19 days ago · May 21, 2026 · Diff

refactor(store): extract snapshot layer into muse.core.snapshots

Move SnapshotRecord, SnapshotDict, write_snapshot, read_snapshot, read_snapshot_result, the typed result variants (SnapshotReadOk/NotFound/Corrupt), snapshot_read_is_ok/corrupt, snapshot_path, _verify_snapshot_id, get_commit_snapshot_manifest, and get_head_snapshot_manifest out of muse/core/store.py into a new muse/core/snapshots.py module.

All symbols remain importable from muse.core.store via re-exports so no callers need updating. _SNAPSHOT_SCHEMA_VERSION is also re-exported to preserve existing test imports.

sha256:ae1db9b73aaea38adb29f40dbdadd19c6dc9ec95def4b81d418ff5ff263aba32 sha
2 changed · 1055 in snapshot files
sha256:d963bc984b4b602896ee517ce2e2921655fbf5bad9300802d6f01252f9242231 snapshot
2
files changed
1055
files in snapshot
Files Changed
+1 ~1
1055 in snapshot
← Older Oldest on task/store-phase4-snapshots
All commits
Newer → Latest on task/store-phase4-snapshots

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