--- "@cloudhal/api": minor "@cloudhal/cloudflare": patch --- RFC-0048 rollout step 3 adds the API side of agents' signed upload links. Links are not minted over MCP yet; `create_upload` and `complete_upload` come in step 4. - **The PUT route.** `PUT /api/sites/:siteId/assets/agent-uploads/:uploadId?sig=…` is the only route with the new `upload-link` requirement (RFC-0005 I15 as amended). The route guard reads no session for it, and `test/route-scopes.test.ts` pins it to that one route. The handler: 1. checks the signature against the row; 2. refuses a credential that belongs to another agent (`not_your_upload`) and ignores cookies; 3. checks the headers before reading any byte: `Content-Encoding`, `Content-Type`, the exact `Content-Length`, and the type's cap; 4. lets the store claim the row and stage the bytes. It answers §5.2's codes. Accepted PUTs are audited as `asset.upload-received`, without the link. Other methods answer 405 with `Allow: PUT`, and reveal nothing. - **Signing.** Agent links are signed with a key derived under `cloudhal agent upload v1` (`signAgentUpload`, `verifyAgentUpload`, `agentUploadPath`). Studio's tickets keep `cloudhal upload ticket v1`, so neither kind of link verifies on the other's route. - **`uploadSecret` (`CLOUDHAL_UPLOAD_SECRET` on the admin Worker, at least 32 characters).** It signs both kinds of upload link, ahead of the preview secret and the MCP state key, so it can rotate on its own. Requests can read whether the secret is configured or per process (`uploadSecretShared`), for step 4's capability flag. - **The playground** refuses the new route (`uploads`).