gabriel / muse public
refactor tests task/blob-id-audit #1 / 1
AI Agent gabriel · 37 days ago · May 5, 2026 · Diff

refactor(tests): eliminate _sha/_sha256_oid/_blob_id wrappers; inline blob_id at all call sites

- Remove all def _sha(data) -> blob_id(data), def _sha256_oid(raw) -> blob_id(raw), and 'from muse.core.types import blob_id as _blob_id' alias patterns from ~40 test files - Replace long_id(hashlib.sha256(X).hexdigest()) with blob_id(X) throughout - Remove now-unused 'import hashlib' statements - No bare hex anywhere: all content-addressed IDs carry sha256: prefix

sha256:eb54833b6bea236ce48748dd9a20f42e17bca34a1c0f344201efce167a8cfab8 sha
sha256:f5a5a4b3503d464f04790c8e2132563c1ad6f63d88443a4b5eebba8a896460cd snapshot
← Older Oldest on task/blob-id-audit
All commits
Newer → Latest on task/blob-id-audit

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