fix(wire): rename delta frame key base_id → base; fix repo_id in test helpers
Server was emitting {"base_id": base_oid} in delta O frames but the client reads frame.get("base", ""). The mismatch caused apply_delta(b"", delta) to produce garbage — sha256(garbage) != object_id → Content integrity failure.
Fix: renamed server-side key from base_id to base in wire_fetch_stream.
Also removed repo_id from MusehubCommit and MusehubSnapshot instantiation in test helpers after those columns were dropped from the globally content-addressed models. Added test_wire_fetch_stream_frame_integrity.py (FI-1 full frame baseline, FI-2 delta frame integrity) that was RED before this fix.
sha256:b4fb9db2858c35127b2dee273737d049c228a6f6d13ff8d671ad1c6dec5d5cae
sha
sha256:f058b9dbb16bf1c2313fd8f15ee8dabfbaca0445dccee7f99323a87610c56642
snapshot
Older
fix: ensure_hub_seed always resets origin before push — eliminat…
sha256:ab2a6a9ecf2440e0e840c3a66bbcb52a42c92c060cb1f6cb247385185119cb1c
All commits
Newer
fix(fetch/stream): pre-populate sent_oids from have-commit snapshots
sha256:9d53acfd8ef1a8f6e98220b65bcf203c6509492c56a290bce05a5ad4cc3bcb9a
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:b4fb9db2858c35127b2dee273737d049c228a6f6d13ff8d671ad1c6dec5d5cae --body "your comment"
No comments yet. Be the first to start the discussion.