gabriel / muse public
fix BREAKING task/museignore-tls #1 / 19
AI Agent gabriel · 151 days ago · Apr 25, 2026 · Diff

fix: hash sweep (sha256: prefix) + typing audit → 0 violations

- All bare hex IDs in tests replaced with fake_id(seed) / long_id() - len(x)==64 assertions updated to startswith('sha256:') and len==71 - public_key_fingerprint returns full sha256:-prefixed ID (71 chars) - compute_commit_id callers in test helpers all pass repo_id= - typing audit: 52 violations → 0 (bare_dict/list, boundary_dict, dict_str_any, collection_object resolved via MsgpackDict, Manifest, Metadata, SnapshotDict type aliases and TypedDicts) - Self-shadowing recursive wrappers deleted (indices.py, switch.py) - Mangled call sites fixed (worktree.py, workspace.py, domains.py) - httpx verify=<str> replaced with ssl.create_default_context(cafile=...)

sha256:9883817ee9b5e2f264a05254b89c2956fe2fb8e30eb1e7effc965753e2ddf946 sha
+28 ~169 −4 symbols
sha256:cb08bb071e8cb63cb952cc2b4b58064fd0094685239365c870f3243afe0d7e96 snapshot
+28
symbols added
~169
symbols modified
−4
symbols removed
0
dead code introduced
Semantic Changes 201 symbols
~ muse/cli/commands/domains.py .py 1 symbol modified
~ muse/cli/commands/push.py .py 1 symbol added, 2 symbols modified
+ _ObjectPackResult class class _ObjectPackResult L113–115
~ muse/cli/commands/switch.py .py 1 symbol removed
_prev_branch_path function function _prev_branch_path L113–114
~ muse/core/indices.py .py 1 symbol removed
_indices_dir function function _indices_dir L155–156
~ muse/core/migrate.py .py 3 symbols added, 7 symbols modified
+ _RawCommitMap variable variable _RawCommitMap L112–112
+ DEFAULT_SIGN_ALGO import import DEFAULT_SIGN_ALGO L40–40
+ MsgpackDict import import MsgpackDict L40–40
~ muse/core/mpack.py .py 1 symbol added, 4 symbols modified
+ MsgpackDict import import MsgpackDict L100–100
~ wrap
~ muse/core/provenance.py .py 1 symbol added, 1 symbol removed, 9 symbols modified
public_key_fingerprint import import public_key_fingerprint L66–66
+ _public_key_fingerprint import import _public_key_fingerprint L66–66
~ muse/plugins/identity/records.py .py 1 symbol added, 1 symbol removed, 3 symbols modified
Any import import Any L5–5
+ Metadata import import Metadata L7–7
~ tests/test_cmd_shelf.py .py 1 symbol modified
~ tests/test_code_migrate.py .py 2 symbols added, 4 symbols modified
+ _Environ variable variable _Environ L71–71
+ _merge_state_path import import _merge_state_path L32–32
~ _env
~ tests/test_code_stage.py .py 1 symbol added, 2 symbols modified
~ tests/test_commit_record_schema_v2.py .py 1 symbol added, 1 symbol modified
+ MsgpackDict import import MsgpackDict L18–18
~ tests/test_core_coverage_gaps.py .py 1 symbol added, 4 symbols modified
~ tests/test_identity_domain_diff.py .py 1 symbol added, 1 symbol modified
+ Manifest import import Manifest L18–18
~ tests/test_identity_domain_merge.py .py 1 symbol added, 2 symbols modified
+ Manifest import import Manifest L26–26
~ snap
~ tests/test_object_store_write_taxonomy.py .py 1 symbol added, 4 symbols modified
+ Manifest import import Manifest L47–47
~ tests/test_security_path_traversal.py .py 1 symbol added, 5 symbols modified
~ tests/test_snapshot_delta.py .py 1 symbol added, 1 symbol modified
+ Manifest import import Manifest L19–19
~ tests/test_wire_framing.py .py 2 symbols added, 3 symbols modified
+ MsgpackDict import import MsgpackDict L18–18
+ MsgpackValue import import MsgpackValue L18–18
~ _pack
~ tests/test_wire_pack_post.py .py 1 symbol added, 4 symbols modified
~ tests/test_wire_snapshot_delta.py .py 2 symbols added, 5 symbols modified
+ Manifest import import Manifest L15–15
+ MsgpackDict import import MsgpackDict L15–15

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:9883817ee9b5e2f264a05254b89c2956fe2fb8e30eb1e7effc965753e2ddf946 --body "your comment"