Problem
Non-2xx registry responses return only "Registry error: HTTP <status>", discarding the body's message/detail and hiding the real error.
Where
src/worker/mcp.ts (if (!res.ok) branch).
Acceptance
Add a failing test first with a 502 + JSON body, expecting the body's message surfaced, not just the status. Then fix.
Problem
Non-2xx registry responses return only
"Registry error: HTTP <status>", discarding the body's message/detail and hiding the real error.Where
src/worker/mcp.ts(if (!res.ok)branch).Acceptance
Add a failing test first with a 502 + JSON body, expecting the body's message surfaced, not just the status. Then fix.