Current evidence
The repository includes a backup and storage parity workflow and guarded private downloads. Mobile has both an app version gate and a public media parser that accepts the legacy public URL shape andcdn.tuturuuu.com. Those code paths establish compatibility primitives. Require separate evidence for store availability, production traffic, R2 bindings and object population. The packages/data database boundary does not establish object storage routing.
Delivery phases
- Inventory all buckets and consumers. Catalog production, staging and devbox buckets, including empty buckets, external embeds, persisted URLs, custom metadata, historical object keys, previews, transforms, uploads, deletes and signed links. Classify each as public, authorization-gated or retired through a documented retention decision. Record owners and object/byte counts privately. Resolve orphan rows, unsupported names, unresolved references and legal holds before retiring a source.
- Qualify the adapter and CDN. Preserve logical bucket/key identity in a provider-neutral adapter and resolve destinations server-side. Serve explicitly public immutable objects through
cdn.tuturuuu.comusing a Worker with R2 bindings. Use separate private bindings and the same domain permissions, metering and revocation as existing guarded downloads. Keep private responses out of shared cache and keep provider credentials and private URLs out of clients. Validate upload ownership, path encoding, download range, conditional headers, content type, CORS and attachment disposition. Stage DNS, certificate and routing with a release-authority-approved rollback. Cloudflare R2 bindings - Copy and reconcile. Use a paginated, resumable manifest and idempotency keyed by source identity and revision. Verify lengths and content hashes, metadata and effective visibility. Use a durable ordered change journal with deletion tombstones and generation checks so retries cannot reintroduce deleted objects or overwrite a newer revision. Establish a short write fence or a verified journal watermark before taking authority. Track copy, compare and journal lag per cohort.
- Raise the mobile floor and switch cohorts. Release compatible iOS and Android builds first, including upgrade and offline recovery UX. Test availability across supported regions and channels and check upgrade adoption. Then apply the existing version policy to enforce an approved per-platform minimum verified build. Roll out reads before writes, starting with low-risk public assets. Keep existing URLs reachable through supported compatibility routes or update all references that can be rewritten. Direct legacy links outside controlled domains need a separately verified compatibility decision before source shutdown.
- Retire sources. Reconcile R2-only writes back for the rollback window or prove they can be replayed within the recovery objective. Require a verified immutable backup, zero unexplained checksum or reference mismatches and no legacy reads or writes across the agreed observation window before decommissioning. Migrate or explicitly retire each devbox bucket after its owner confirms fixtures and jobs use isolated replacements. Remove old access grants and credentials after retirement. Require separate approval for irreversible deletion.