# fix10 handoff (20 November 2026, Australia/Sydney)

Production deploy of thedigitalkitbag (Cloudflare Pages, account b1afbc4531ac27ce2212a90f3a9e8ee7):

- Deploy ID: `12675650-e5c9-42e8-9a95-83694add7bb3`
- Branch: `main`
- Preview: https://12675650.thedigitalkitbag.pages.dev
- Live: https://thedigitalkitbag.com
- Local commit: `a24cdfe5729ccdabcc0a8ca36b8bf2a29c9bcffc`

Base: fix9 (`ee9badaf-95ba-4048-9bd0-d903a84d21c3`, local commit `ecebbaa`). Source: `/workspace/kitbag/repo-fix9` copied to `/workspace/kitbag/repo-fix10`.

The earlier audit-only “fix10” (CSP / bundle wording / hello@ — already correct, no production deploy) is preserved at `/workspace/kitbag/fix10-audit-handoff`. This handoff and https://handoff-fix10.pages.dev are the real fix10.

## Scope

- New `/go/etsy-shop/` route, same pattern as `/go/etsy-p01`…`p05`: 200 HTML meta-refresh with a visible fallback link, `noindex`, `no-store`, and a sanitised `page` param (`[a-z0-9-]`, max 80, else `direct`). Destination is `https://thedigitalkitbag.etsy.com` with `ref=site-<page>`, `utm_source=thedigitalkitbag`, `utm_medium=site`, `utm_campaign=<page>`, `utm_content=shop`. Optional `coupon` is allowlisted to `BFCM15` and `PARTNER20` (case-insensitive; anything else is dropped) and passed through as `?coupon=`. CSP is unchanged (`form-action 'self'`). Existing `etsy.shop` (`https://www.etsy.com/shop/TheDigitalKitbag`) and `et-shop` → `/` were left as they were.
- 27 new `/r/` codes (allowlist 214 → 241):
  - Email: `em-bas-3` → `/go/etsy-p02/?page=em-bas-3`; `em-bas-4` → `/go/etsy-p05/?page=em-bas-4`; `em-261203` → `/go/etsy-p03/?page=em-261203`; `em-261127-shop` → `/go/etsy-shop/?page=em-261127-shop&coupon=BFCM15`.
  - Partnerships, all to `/` like existing `pt-` codes: `pt-bookkeeping-central`, `pt-lava-bookkeeping`, `pt-elite-plus-accounting`, `pt-rv-advisory-group`, `pt-sterix`, `pt-the-perth-bookkeeper`, `pt-peer`, `pt-egt`, `pt-cae`, `pt-gtnt-group`, `pt-mpa-tasmania`, `pt-landscape-queensland`, `pt-mriaq`, `pt-tradie-intel`, `pt-behind-the-tools`.
  - Video week 4, `tt-` and `ig-` each: `v23` → `/tools/rate-calculator/`; `v24` → `/go/etsy-p03/?page=<code>`; `v25` → `/go/etsy-p01/?page=<code>`; `v26` → `/go/etsy-p02/?page=<code>`.
- `/workspace/analytics/link-codes-for-bots.md` was backed up to `link-codes-for-bots.md.bak-2026-11-20-pre-fix10`, then updated: the four `em-*` codes moved from “Pending deploy” to live, and partnership batch 3 plus `v23`–`v26` were added as live. Section counts are now video 54, partnerships 119 unique, email 16.
- No IndexNow ping (Functions-only; sitemap unchanged). Car logbook pages, Brevo, DNS or mail records, and baselineux.com were not touched.

## Production checks (20 November 2026, Australia/Sydney)

- `/go/etsy-shop/?page=em-261127-shop&coupon=BFCM15` returns 200, `Cache-Control: no-store`, `X-Robots-Tag: noindex, nofollow`, and meta-refreshes to `https://thedigitalkitbag.etsy.com/?ref=site-em-261127-shop&utm_source=thedigitalkitbag&utm_medium=site&utm_campaign=em-261127-shop&utm_content=shop&coupon=BFCM15`, with the same URL on the fallback link and the copy “Taking you to our Etsy shop…”.
- Coupon allowlist: `PARTNER20` is passed through; `SAVE50` is dropped; an invalid `page` (`not%20valid`) becomes `direct`. Existing `/go/etsy-p05/?page=em-261127&coupon=BFCM15` still lands on the bundle listing with `coupon=BFCM15`. Unknown `/go/etsy-nope/` returns 404.
- All 27 new `/r/` codes return 200 with meta-refresh and a visible fallback to the expected same-site destination (including `em-261127-shop` → `/go/etsy-shop/?page=em-261127-shop&coupon=BFCM15`). All 214 existing codes still return 200 and land on their previous destinations (241 codes checked in total). Unknown `/r/` still 302s to `/`.
- Sitemap still 40 URLs (`/r/` and `/go/` excluded). CSP unchanged on `/` and on the new hop: `form-action 'self'`; `script-src 'self' https://static.cloudflareinsights.com`. Local tests (`test-rate`, `test-tagged-links`, `test-go`) and `check-dist` passed before deploy.

## Files

- `fix10.patch`: `git diff --binary` against the fix9 tree (local base commit `ecebbaa`). Apply at the repo root with `git apply fix10.patch`.
- `fix10-handoff.tar.gz`: full source tree of repo-fix10 without `node_modules`, `dist`, `.wrangler`, `.git`, `.astro`.
- `COMMIT_MSG.txt`: commit message to use.
- `SHA256SUMS`

Do not touch DNS, mail records, baselineux.com, or the Worker nameless-cell-c4d0.
