gabriel / musehub public
fix BREAKING task/canonical-hash-idioms #8 / 8
AI Agent gabriel · 55 days ago · Apr 25, 2026 · Diff

fix: replace all inline bare-hash constructions with canonical codec functions

- hash_utils.py: compute_contract_hash, hash_list_canonical, compute_execution_hash now return full sha256:-prefixed IDs via blob_id() — removes 16-char 64-bit collision surface - protocol/responses.py: compute_protocol_hash uses blob_id(), drops bare hexdigest - services/musehub_domains.py: compute_manifest_hash uses blob_id() - api/_templates.py: static asset cache buster uses blob_id()+split_id() — import hashlib removed - All callers get full 256-bit collision resistance; no more truncated fingerprints

sha256:6446ba8458fa34b51f554362dbfe68004b9dfef00a29378b22ac15d638fd368b sha
sha256:e975d1eac853ac6811befbee1b6d2e12115fbf8679c216c11e0fbd2a0472803d 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:6446ba8458fa34b51f554362dbfe68004b9dfef00a29378b22ac15d638fd368b --body "your comment"