gabriel / muse public
feat BREAKING main #27 / 55
AI Agent gabriel · 107 days ago · May 18, 2026 · Diff

feat: Phase 3 — META section (type=5) and legacy msgpack apply test

- Add _WIRE_SEC_META=5 constant, _encode_meta/_decode_meta helpers - build_wire_mpack accepts optional meta= dict; emits META section - parse_wire_mpack decodes META section into result['meta'] - wire_fetch_mpack passes repo_id + head_commit_id in meta - Switch fetch mpack storage to put_mpack/presign_mpack_get (sets application/x-muse-pack content-type) - Add test_wire_mpack_meta_round_trip, test_wire_mpack_no_meta_when_omitted - Add test_legacy_msgpack_bundle_still_applies (was missing from spec)

sha256:6fcf6254a4f8704fd9edb2a920b948340c44fc4a4af6095fd47d988d212d552e sha
+6 ~2 symbols
sha256:a59fe756c0961e575df4f714ab483a7978b858d51430d10053355f4743bacc37 snapshot
+6
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes 8 symbols
~ muse/core/mpack.py .py 3 symbols added, 2 symbols modified
+ _WIRE_SEC_META variable variable _WIRE_SEC_META L916–916
+ _decode_meta function function _decode_meta L956–962
+ _encode_meta function function _encode_meta L949–953
~ tests/test_mpack_wire.py .py 3 symbols added
+ test_legacy_msgpack_bundle_still_applies function function test_legacy_msgpack_bundle_still_applies L342–368
+ test_wire_mpack_meta_round_trip function function test_wire_mpack_meta_round_trip L322–327
+ test_wire_mpack_no_meta_when_omitted function function test_wire_mpack_no_meta_when_omitted L330–334

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