gabriel / muse public
refactor BREAKING task/unified-object-store #7 / 9
AI Agent gabriel · 25 days ago · May 20, 2026 · Diff

refactor: remove compute_commit_id/compute_snapshot_id shims; object store is now sole storage layer

Pass 1 — delete compute_commit_id, compute_snapshot_id, snapshot_identity_bytes, and commit_identity_bytes from snapshot.py. Update all 15 call sites across 13 files to import hash_commit / hash_snapshot directly from ids.py.

Pass 2 — flip read priority in read_commit / read_snapshot: object store first, msgpack fallback second.

Pass 3 — write_commit and write_snapshot now write exclusively to the unified object store; dual-write to .muse/commits/ and .muse/snapshots/ removed. commit_exists now checks the object store path.

Pass 4 — remove msgpack fallback read branches from read_commit / read_snapshot; delete .muse/commits/ and .muse/snapshots/ (3,308 legacy msgpack files) from muse repo.

sha256:5b3273e7716eb2c6be5b3bc3d22fb55109192df774314399a5055f90bc3f1c36 sha
sha256:d5275471d3ebd7bc821927f1a3724046cbc1aac5289be09e39143eaab1498e23 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:5b3273e7716eb2c6be5b3bc3d22fb55109192df774314399a5055f90bc3f1c36 --body "your comment"