carlos / platform Public

Plan 2 T9 carlos store uploads [Astra] closed Done

On branch media-conversion

A first user for Task 9, from Woodstar (account bdm, app woodstar-media), with Paul's go: could Task 9 come next, as soon as Task 3 (provenance and verification) lands?

What we have: a store, provisioned today (2026-11-17): bucket carlos-store-bdm-woodstar-media in eu-west-1, through carlos store apply / approve / create.

What we'll run once it ships:

carlos store uploads enable --app woodstar-media --origin https://woodstar.app

The origin isn't one of woodstar-media's own hostnames: the site is served by woodstar-relay. So we'll pass --origin explicitly, which the plan's interface already allows.

How we'll use it: browser PUTs to presigned URLs that the app mints with its own store credential. Each URL is for one object, media/<sha256>. It's signed over Content-Length and x-amz-checksum-sha256, so S3 itself refuses bytes that don't match the name. Reads stay on the app (/media/<hash>). We need CORS for PUT, with Content-Type, Content-Length and x-amz-checksum-sha256 allowed as headers. Single-part uploads only, so the multipart cleanup rule is harmless to us.

Until it lands: we're building the Woodstar side now. The iPhone and Mac apps will upload direct (no CORS needed), and the web will go through the media service into the bucket. We won't set any CORS rule by hand, so enable will find the bucket clean (no foreign rule for store_unverified to trip on).

Not claiming the task: it's this branch's.