gabriel / muse public
refactor BREAKING dev
AI Agent gabriel · 25 days ago · May 16, 2026 · Diff

refactor: delete MWP streaming and LocalFileTransport; wire fetch_bundle into all paths

- Delete MWP (Muse Wire Protocol) streaming machinery from transport.py: _frame_generator, push_stream_coro, fetch_stream, fetch_presign_or_stream, negotiate, NegotiateResponse, negotiate_have, _is_ancestor, _CommitBundle, MAX_C_FRAME_BYTES, COMMIT_CHUNK_SIZE, OC_CHUNK_SIZE, NEGOTIATE_DEPTH - Delete LocalFileTransport (file:// transport, not used in production) - Simplify make_transport() to always return HttpTransport() - Remove MuseTransport.push_stream / fetch_stream / negotiate protocol stubs - pull.py: remove stale LocalFileTransport type annotation on transport var - Delete 5 test files whose sole purpose was MWP/LocalFileTransport coverage: test_fetch_presign_routing.py, test_local_file_transport.py, test_mpack_e2e.py, test_push_object_integrity.py, test_wire_snapshot_delta.py - Rewrite test_cmd_pull_hardening.py: delete TestNegotiateHave, TestStress, two_repos fixture; rewrite TestEndToEnd with mocked transport (36 pass) - Clean test_fetch_bundle_command_wiring.py of MWP references (3 pass) - Clean test_pull_missing_snapshot_guard.py docstrings of LocalFileTransport refs - All 244 tests pass

sha256:f8d688e3d663900a4d2d1103122c004c7ece454c963cf498a9babc29b458a673 sha
sha256:d1032d9cc0bd8dc846b709685773c533f35614c0747e6439bbac34f741a47253 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:f8d688e3d663900a4d2d1103122c004c7ece454c963cf498a9babc29b458a673 --body "your comment"