gabriel / muse public
refactor BREAKING dev
AI Agent gabriel · 59 days ago · Apr 17, 2026 · Diff

refactor: replace UUID4 with content-addressed IDs for stored entities

- audit_id (harmony): sha256(canonical entry JSON) — deterministic, idempotent - tag_id: sha256({repo_id, commit_id, tag}) via compute_tag_id() in store.py - release_id: sha256({repo_id, tag, commit_id}) via compute_release_id() in store.py - op_id (op_log): sha256(canonical op fields) — deterministic per actor+lamport+domain

Removes uuid imports from harmony.py, tag.py, release.py, op_log.py. Updates AuditEvent docstring, op_id length assertion in test_op_log.py. Fixes _short_id test imports in test_rebase_supercharge and test_release_supercharge to use short_id from muse.core._types instead of non-existent private helpers.

sha256:50470d19d6b9f939aedbf2baa6cab230a9c502396cf9ce32bb112ec574528f74 sha
sha256:c354a4f37fb81780dacc86f079fade98d825f88313a54afaa6738dade997694c snapshot
← 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:50470d19d6b9f939aedbf2baa6cab230a9c502396cf9ce32bb112ec574528f74 --body "your comment"