From 228db204f39773fc0c0f03c829609eeb40663ca7 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Sun, 18 Oct 2026 22:31:56 -0700 Subject: [PATCH 1/2] docs(quest): add R2 output bucket setup to the kix.quest deploy Co-Authored-By: Claude Opus 5.5 --- quest/m0/kix/deploy.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quest/m0/kix/deploy.md b/quest/m0/kix/deploy.md index 67f3b6f8..2963e7c5 100644 --- a/quest/m0/kix/deploy.md +++ b/quest/m0/kix/deploy.md @@ -26,6 +26,10 @@ delivery. Follow the Deployment section of `cloudflare/README.md` and steps 1, git and agent worktrees. - Apply the D1 migrations, including `0002_github.sql`, with `bun run wrangler d1 migrations apply DB --remote` before deploying. +- Create the `quest-output` R2 bucket and its 30-day `output/` lifecycle rule + before deploying, as the README's Deployment section shows, and confirm the + rule with `bun run wrangler r2 bucket lifecycle list quest-output`. + Decided 2026-10-18 as a follow-up of raw output retention (#142). - Add the `kix.quest` zone to the Worker's Cloudflare account. Keep the Worker name, D1 database ID, and `AUTH_SECRET`; do not create a new production database. From cff9c605faa8e9097c4d2c9d4a0071194d5d0eed Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Sun, 18 Oct 2026 22:36:01 -0700 Subject: [PATCH 2/2] docs(quest): make the deploy's R2 step depend on #142 Co-Authored-By: Claude Opus 5.5 --- quest/m0/kix/deploy.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/quest/m0/kix/deploy.md b/quest/m0/kix/deploy.md index 2963e7c5..f6be5ab1 100644 --- a/quest/m0/kix/deploy.md +++ b/quest/m0/kix/deploy.md @@ -26,10 +26,11 @@ delivery. Follow the Deployment section of `cloudflare/README.md` and steps 1, git and agent worktrees. - Apply the D1 migrations, including `0002_github.sql`, with `bun run wrangler d1 migrations apply DB --remote` before deploying. -- Create the `quest-output` R2 bucket and its 30-day `output/` lifecycle rule - before deploying, as the README's Deployment section shows, and confirm the - rule with `bun run wrangler r2 bucket lifecycle list quest-output`. - Decided 2026-10-18 as a follow-up of raw output retention (#142). +- Once raw output retention (#142) merges, create the `quest-output` R2 + bucket and its 30-day `output/` lifecycle rule before deploying, as #142 + adds to the README's Deployment section, and confirm the rule with + `bun run wrangler r2 bucket lifecycle list quest-output`. Until then, + `main` has no R2 binding and needs no bucket. Decided 2026-10-18. - Add the `kix.quest` zone to the Worker's Cloudflare account. Keep the Worker name, D1 database ID, and `AUTH_SECRET`; do not create a new production database.