gabriel / muse public
fix patch task/fix-commit-id-formula #2 / 2
AI Agent gabriel · 21 days ago · May 21, 2026 · Diff

fix: compute_commit_id uses typed-object formula; read/write_commit use unified object store

- compute_commit_id now produces sha256('commit <size>\0' + canonical) instead of sha256(canonical) — matching the formula used by all stored commits - commit_path delegates to object_path (unified store) instead of legacy commits/ dir - write_commit writes 'commit <size>\0<json>' format to the object store - read_commit parses the header+json format from the object store - _verify_commit_id now passes because compute_commit_id matches stored IDs

sha256:d119073ae61083669169e67b2ae6b7a10afb18a68d64f68e825d4d78bd03b3ae sha
sha256:101c6f58d9fe0515bfa163297a56afa21659b9f9c5256d9fa2715751fe08be71 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:d119073ae61083669169e67b2ae6b7a10afb18a68d64f68e825d4d78bd03b3ae --body "your comment"