gabriel / musehub public
fix patch main #14 / 34
AI Agent gabriel · 123 days ago · May 9, 2026 · Diff

fix: use delta+zlib unconditionally — compute_delta always zlib-compresses the delta stream

delta+zstd was a misnomer: compute_delta() zlib-compresses the instruction stream regardless of zstd availability. Advertising delta+zstd on the wire was a lie that broke any receiver routing on the enc label.

Now: _delta_enc is always 'delta+zlib'. Tests C9 pin the invariant.

sha256:04d52bb30881302b41ea184ff56cde691b005a9114505ed7cec04f2759c8b16c sha
+3 ~1 symbols
sha256:ab88fb4d612b29b049e646f19d36e2b448619327c5b72b4825f40de9788205fc snapshot
+3
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes 4 symbols
~ tests/test_wire_compression.py .py 3 symbols added
+ test_c9_compute_delta_output_is_always_zlib function function test_c9_compute_delta_output_is_always_zlib L491–504
+ test_c9_fetch_path_never_sends_delta_zstd function function test_c9_fetch_path_never_sends_delta_zstd L507–521
+ test_c9_push_handler_handles_delta_zlib function function test_c9_push_handler_handles_delta_zlib L524–531

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