gabriel / muse public
refactor BREAKING task/consolidate-fingerprint #1 / 1
AI Agent gabriel · 50 days ago · Apr 22, 2026 · Diff

refactor: consolidate public_key_fingerprint to single canonical impl

- Add public_key_fingerprint(raw: bytes) -> str to muse.core._types, wrapping blob_id for semantic clarity (key identity vs content addressing) - Update keypair.public_key_fingerprint to delegate to _types impl - Delete _fingerprint private helper from agent.py (was returning bare hex); update call site to import from _types - Update all tests: remove TestFingerprint / TestUnitFingerprint classes (tested deleted function); update length assertions 64 -> 71; update test_fingerprint_matches_sha256_of_public_key to expect sha256: prefix

sha256:de46dbe9be881144559f9987c243c658604274b2eaccd0a6050a45a3fbd07f0f sha
sha256:46921231bf4b3e3330883b241c2f11f711df822ac6b78c1d221a086141ba46b5 snapshot
← Older Oldest on task/consolidate-fingerprint
All commits
Newer → Latest on task/consolidate-fingerprint

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