gabriel / muse public
feat patch store dev
AI Agent gabriel · 155 days ago · Apr 20, 2026 · Diff

feat(store): algo-prefix paths for commits, snapshots, tags, releases, harmony

- Add split_id() to _types.py as canonical algo-prefixed ID parser - commit_path/snapshot_path now nest under commits/sha256/ and snapshots/sha256/ - tag_path/release_path use two-level nesting: <repo-algo>/<repo-hex>/<id-algo>/<id-hex> - Harmony: pattern_dir, resolution_path, escalation_path all algo-prefixed - Retire _id_hex() — all callers use split_id() directly - Tests updated: 71-char sha256:-prefixed IDs, unique seeds per loop, gc path construction uses pattern_dir(), audit_id slice for filename check

sha256:5efc294b52017a4af35f682730a06328ca9feaadde376a9c6e48672779335255 sha
+11 ~99 −3 symbols
sha256:66e32e18d19e8f5c03a5bea910ac4f7b6b7c29f5143f255a3c355e23d6f00425 snapshot
+11
symbols added
~99
symbols modified
−3
symbols removed
0
dead code introduced
Semantic Changes 113 symbols
~ muse/core/_types.py .py 1 symbol added
+ split_id function function split_id L195–250
~ muse/core/harmony.py .py 4 symbols added, 1 symbol removed, 17 symbols modified
_id_hex function function _id_hex L151–164
+ escalation_path function function escalation_path L586–596
+ split_id import import split_id L95–95
+ pattern_dir function function pattern_dir L599–616
+ resolution_path function function resolution_path L628–646
~ muse/core/store.py .py 3 symbols added, 15 symbols modified
+ split_id import import split_id L115–115
+ release_path function function release_path L1451–1470
+ tag_path function function tag_path L1427–1448
~ tests/test_release_supercharge.py .py 1 symbol added, 1 symbol removed, 3 symbols modified
uuid import import uuid L19–19
+ content_hash import import content_hash L22–22
← Older Oldest on dev
All commits
Newer → Latest on dev

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