Skip to main content

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 and cdn.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

  1. 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.
  2. 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.com using 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
  3. 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.
  4. 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.
  5. 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.

Acceptance, rollback and spend

Exercise every bucket class and all supported clients, including old mobile builds, browser embeds, upload retry, delete during copy, signed-link revoke, private-cache bypass and provider outage. Verify backup restore, staged routing reversal and replay of post-cutover mutations. Roll back the cohort routing and mobile floor independently when safe. If dual-provider state cannot be reconciled, stop writes for that cohort until authority is restored. Before admitting work, reserve per-campaign limits for objects, bytes, list and read calls, puts, multipart activity, delete calls, queue executions, storage overlap and origin egress. Use bounded partitions and retry attempts with a dead-letter outcome. Persist a stop generation checked before each new chargeable batch and before scheduling continuation. On stop or exhausted budget, reject new work, preserve checkpoints and allow only bounded cleanup of in-flight multipart work. Verify operation totals under duplicate delivery, failure and restart. Keep manifests access-controlled and log aggregate counts and opaque references.