gabriel / muse public
refactor BREAKING task/museignore-tls #7 / 19
AI Agent gabriel · 48 days ago · Apr 25, 2026 · Diff

refactor: path helpers sweep + canonical sha256: prefix on all stored hashes

- Add muse/core/paths.py: composable path helpers for every .muse/ layout path - Replace all inline root/.muse/... construction with named helpers throughout - Fix batch-script-mangled calls in gc.py, repo.py, semver_classifier.py - Wrap every bare hexdigest() that produces a stored/transmitted ID with long_id() so all content IDs carry the canonical sha256: prefix: diff_algorithms/numerical.py, provenance.py, plugins/identity, plugins/midi/*, plugins/code/manifest.py, plugins/code/_query.py, cli/commands/harmony.py, cli/commands/patch_id.py, cli/commands/sign.py - Rename _fake_hex64 -> _stub_id in harmony.py - Delete dead _hash_file and content_hash functions from plugins/midi/plugin.py - Signing preimages (provenance_payload, tag_payload) remain bare hex intentionally

sha256:0f305a9f195ecc81351e2bf54e4b59caa5d712a6c2cb3eaa6a2aa6d97b423577 sha
sha256:b7b3b9e6f10e10faf2cd66fa1ff627ebeb9cace82c39071260a1ff36f12be800 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:0f305a9f195ecc81351e2bf54e4b59caa5d712a6c2cb3eaa6a2aa6d97b423577 --body "your comment"