gabriel / muse public
feat BREAKING transport task/fetch-phase2-tdd #2 / 2
AI Agent gabriel · 25 days ago · May 16, 2026 · Diff

feat(transport): Phase 2 fetch protocol — single presigned URL, sha256 integrity gate

Replace the three old fetch branches (pack_fetch multi-URL, presign flag, inline bytes) with the single Phase 2 shape: server returns {mpack_url, mpack_id, commit_count, object_count}. Client GETs mpack_url directly, verifies blob_id(bytes) == mpack_id before unpacking, raises TransportError on mismatch or non-200. Null mpack_url = up-to-date, returns empty result.

Adds TDD suite (FM-1 through FM-6) — all 6 pass. Removes unused hashlib import; adds blob_id to types import.

sha256:e2565387467fbe2db8d97866d9f57c693cf0f6a6421379a89b60952fbf05504a sha
sha256:d2763a3a27e12488ee11aa7e655db47623988b87ad7ee130e638c03cd477da79 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:e2565387467fbe2db8d97866d9f57c693cf0f6a6421379a89b60952fbf05504a --body "your comment"