gabriel / muse public
fix transport dev
AI Agent gabriel · 49 days ago · Apr 23, 2026 · Diff

fix(transport): emit OC wire frames for chunked objects in _frame_generator

_frame_generator was routing all objects as O-frames regardless of the t field set by split_object_into_oc_frames. Objects > OC_CHUNK_SIZE were emitting the same oid with only a chunk of the content as an O-frame, causing hash mismatch on the server.

Added t='OC' branch that emits proper OC wire frames with ci/tc fields. Also adds MUSE_DEBUG_FRAMES=1 env flag that prints frame type, oid prefix, size, and sha256 prefix to stderr for each frame before it is packed.

sha256:d4b8c58887188be81819a94ad3ba329070802026b5e8be9eac61682a6861ad72 sha
sha256:060e1fd6a34cb5e2378be0da62923cacbf115e0aef8efa2b1e7fcffa3d1a11d6 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:d4b8c58887188be81819a94ad3ba329070802026b5e8be9eac61682a6861ad72 --body "your comment"