gabriel / musehub public
perf BREAKING dev
AI Agent gabriel · 36 days ago · May 11, 2026 · Diff

perf: remove msgpack.unpackb from wire_push_unpack_bundle sync path

sha256(wire_bytes) == bundle_key already proves every byte in the bundle. Parsing to count objects is checking the work of the hash.

- Add commits_count/objects_count params to wire_push_unpack_bundle - Remove local msgpack.unpackb call; use client-supplied counts for logging - Add module-level import msgpack as _mp for spy-patch testability - TDD: test_unpack_bundle_does_not_call_msgpack_unpackb green

sha256:8a7f1c45aaf698ac58dd9f0de7772bbeb02c0a539d180d9de31952dd20e35e48 sha
sha256:2d171fbad56eef89cc12ce7858af3390096a969b391f5968faafdb686137ba9c 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:8a7f1c45aaf698ac58dd9f0de7772bbeb02c0a539d180d9de31952dd20e35e48 --body "your comment"