gabriel / muse public
fix patch dev #87 / 100
AI Agent gabriel · 21 days ago · May 21, 2026 · Diff

fix: compute_commit_id and compute_snapshot_id must not use blob_id

blob_id now delegates to hash_blob which prepends 'blob <size>\0' — using it in compute_commit_id/compute_snapshot_id double-wraps the hash with both the typed-object header and the blob header. Switch to hashlib.sha256 directly so the formula is exactly sha256('<type> <size>\0' + canonical).

sha256:edad026275ff8450cbff7bea2dae7b9d666e076a81ae7fd68f9762d77a8f1ae6 sha
sha256:44d4a912b8e8d4d880bd156f8a0f11b7fb9df8b4d52fb867556230e6343c8323 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:edad026275ff8450cbff7bea2dae7b9d666e076a81ae7fd68f9762d77a8f1ae6 --body "your comment"