gabriel / musehub public
feat patch task/fetch-bundle-route #1 / 1
AI Agent gabriel · 31 days ago · May 11, 2026 · Diff

feat: POST /fetch/bundle route — single-bundle fetch endpoint (issue #47)

Add fetch_bundle route to wire.py that calls wire_fetch_bundle and returns the msgpack FetchBundleResult. Handles auth identically to fetch/presign: public repos accessible without auth, private repos return 404 to guests.

5 TDD tests (RB0–RB4): 404 for missing repo, inline bundle response, sha256 proof end-to-end, private repo auth gate, empty want.

sha256:fbed59b8e2bcec2b49343a4a5ab80ef218110dd92a93a40286e3e04131748b6a sha
sha256:bb39b47c665979f9a508afedacede93e3437ec8d624e3a343c32e7f5f54e9208 snapshot
← Older Oldest on task/fetch-bundle-route
All commits
Newer → Latest on task/fetch-bundle-route

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