gabriel / musehub public
refactor BREAKING dev #72 / 100
AI Agent gabriel · 28 days ago · May 16, 2026 · Diff

refactor: remove streaming push/fetch wire protocol (MWP)

Cloudflare's 100 MB body limit made the streaming path unworkable. The presigned R2 approach (mpack-presign → PUT → unpack-mpack) is the only push path. Streaming is gone.

Changes: - musehub_wire.py: deleted wire_push_stream, wire_fetch_stream, wire_negotiate, wire_push_presign, wire_push_confirm, wire_push_unpack, all SFRAME helpers and stream frame reader; restored accidentally-deleted _walk_commit_delta (shared DAG walk for fetch) - wire.py routes: deleted push_stream, negotiate, push_presign (per-object), push_confirm, push_unpack (inline), fetch_stream routes - models/wire.py: deleted WireSnapshotDelta, WireNegotiateRequest, WireNegotiateResponse, all SFRAME_* and STREAM_MAX_* constants - musehub_abuse_models.py: updated MusehubStreamRejection docstring - musehub_mist_push_validator.py, musehub_sync.py: updated stale comments - 63 stream-only test files deleted

sha256:0201d108c79f814839b0e75feb9fa86004351f329635675bc8ee9e4eb6711f94 sha
sha256:dcd602a52d46a1bceab1c5ab10bc54a692f9653f1e3950f582f7b0772f5125b0 snapshot

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