gabriel / muse public
feat patch task/unified-object-store #9 / 9
AI Agent gabriel · 114 days ago · May 20, 2026 · Diff

feat: muse.core.ids — canonical hash_blob/hash_snapshot/hash_commit with unified object store tests

sha256:723cc2f1ad4493cda5801bd805aff2f0ba065c44b6fa0ee98642596eafd34739 sha
+34 ~2 symbols
sha256:43ef5ecf4d01acd7fa2415fdd83e1387d332ad8190ad6ed5f46e74e3745ab39b snapshot
+34
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes 36 symbols
~ muse/core/ids.py .py 8 symbols added
+ DEFAULT_HASH_ALGO variable variable DEFAULT_HASH_ALGO L9–9
+ _SEP variable variable _SEP L33–33
+ hash_blob function function hash_blob L20–30
+ hash_commit function function hash_commit L51–70
+ hash_snapshot function function hash_snapshot L36–48
+ TYPE_CHECKING import import TYPE_CHECKING L4–4
+ hashlib import import hashlib L3–3
+ long_id function function long_id L12–17
~ tests/test_unified_object_store.py .py 26 symbols added
+ BLOB_CONTENT variable variable BLOB_CONTENT L56–56
+ TYPE_BLOB variable variable TYPE_BLOB L22–22
+ TYPE_COMMIT variable variable TYPE_COMMIT L20–20
+ TYPE_SNAPSHOT variable variable TYPE_SNAPSHOT L21–21
+ VERSION_1 variable variable VERSION_1 L24–24
+ _read_object function function _read_object L36–44
+ _write_object function function _write_object L30–33
+ blob_id function function blob_id L59–60
+ commit_data function function commit_data L88–115
+ commit_id function function commit_id L78–85
+ annotations import import annotations L12–12
+ hash_blob import import hash_blob L13–13
+ hash_commit import import hash_commit L13–13
+ hash_snapshot import import hash_snapshot L13–13
+ json import import json L16–16
+ object_path import import object_path L14–14
+ objects_dir import import objects_dir L14–14
+ pathlib import import pathlib L17–17
+ pytest import import pytest L18–18
+ repo function function repo L52–54
+ snapshot_data function function snapshot_data L67–75
+ snapshot_id function function snapshot_id L63–64
+ test_mixed_read_resolves_type function function test_mixed_read_resolves_type L155–162
+ test_write_read_blob function function test_write_read_blob L121–126
+ test_write_read_commit function function test_write_read_commit L143–149
+ test_write_read_snapshot function function test_write_read_snapshot L131–137
~ muse/core/snapshot.py .py 1 symbol modified
~ muse/core/types.py .py 1 symbol modified

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