gabriel / musehub public
feat patch task/wire-frame-server #1 / 1
AI Agent gabriel · 58 days ago · Apr 22, 2026 · Diff

feat: server-side wire frame parsing and ASGI streaming fix

- Add iter_wire_frames async generator to musehub_wire.py for parsing explicit binary-enveloped frames (magic b'muse', version 0x01) - Add _Asgi24Wrapper in conftest.py to inject spec_version='2.4' into ASGI scope, fixing Starlette StreamingResponse deadlock with httpx (Wall 7: listen_for_disconnect race with _AsyncExactReader) - Update T9 tests to wrap MPackStreamWriter output with MuseWireFrameWriter and fix hash computation bug (raw_bytes must match OID input) - Add test_wire_framing.py with 16 wire frame codec tests (roundtrip, hash mismatch, size mismatch, envelope/logical type mismatch, Wall-5 regression)

sha256:e9f581dc32e6d316501ffe47768343449c378f24747fa18aad289e660e2b111e sha
sha256:e867ad2a0e0267eedd0e8197852d5147239c42abac44c140ed5c3bd71c32ed00 snapshot
← Older Oldest on task/wire-frame-server
All commits
Newer → Latest on task/wire-frame-server

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