Skip to content

Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266

Closed
5 of 5 issues completed
Closed

Description

@Ardnived

The goal

sahajatlas.com and the two component libraries, design.sahajatlas.com and design.wemeditate.com, move from Cloudflare Pages to Cloudflare Workers. Cloudflare now recommends Workers for new sites, and the new We Meditate site already runs there. All three move before previews are built on GitHub rather than by Cloudflare (sydevs/SahajCloud#903), in this order: the Sahaj Atlas library, the We Meditate library, then sahajatlas.com. Visitors keep the same addresses and the same behaviour, apart from a few minutes while the atlas address changes hands, and the monthly bill stays the same.

Why it matters

Cloudflare now tells new projects to start on Workers, and that is where its new features arrive. Moving means all four of our sites publish the same way, and the new SahajCloud component library starts on Workers anyway.

One publishing path, built once. Because all three sites move first, the later preview work (sydevs/SahajCloud#903) has only one kind of site to learn. Nothing is built for the platform we are leaving and then thrown away — which is why the order was reversed.

A design we agree to drop can be taken down again. On the platform the three sites use today, Cloudflare refuses to remove the most recent preview of a branch, so a mockup we abandoned would stay openly readable for good. On Workers, taking one down is a single supported command. Moving the libraries first is what lets sydevs/SahajCloud#910 keep its promise that a mockup goes when its goal closes.

The build allowance is a live reason for all three sites. This goal was filed because our Pages plan allows 500 site builds a month and we used 402 in August and 445 in September. Because every site now moves before sydevs/SahajCloud#903, each one moves while the allowance and the one-build-at-a-time queue are still real: the two libraries were 70 of September's 101 live-site builds, and both of September's stalls were one site's build holding up every other site. When the last site has moved, nothing of ours builds on the older platform at all. Cloudflare has not said it will stop looking after Pages. What it does say is to start new projects on Workers.

What it costs

  • sahajatlas.com will be unreachable for a few minutes while its address changes hands. The address has to come off the old site before the new one can take it. In those minutes every partner page that shows the map shows an empty space instead, with nothing on the page to explain it, and only a reload after the move fixes it. These two files are deliberately never cached, so nobody is shielded by an earlier visit. The two library addresses change hands the same way, but nothing embeds them, so a gap there costs nothing.
  • Builds are set up again, and the atlas's settings are entered twice. Each site's build settings are entered again on Workers. The two libraries carry none at all, so this risk sits entirely with sahajatlas.com — and it is now twice the size it was. That site carries seven settings, the new platform keeps two separate sets of them (one for the live site, one for test copies), and the preview work that would have moved one of those sets into GitHub has not happened yet. So all of them are typed in by hand, for both sets. A set like that was silently missing once before and left test copies blank for weeks.
  • One setting the old platform gave us for free has no replacement. Pages lets any site read our files; Workers does not do that by itself. It has to be asked for deliberately, or the atlas's own typeface and its country flags stop rendering on partner pages — and nothing we have today would catch that. design.sydevelopers.com shows every project's component library in one place SahajCloud#913 already depends on this, so it has to be settled at the first library move rather than at the end.
  • The checks that watch the sites are repointed, and one of them loses the evidence it trusts. They recognise a Pages build today and must be taught the Workers one. Until that is done, the check that reads the live site after each deploy simply stops running — and a check that no longer runs looks exactly like one that passed. The check that tests each proposed change is the harder half: on Workers, Cloudflare announces a test copy's address only in an editable comment. So for sahajatlas.com this project's own checks publish the test copy themselves, and need a Cloudflare access key to do it.
  • One file decides how deep links behave, for the atlas and its library at once. They are built from the same place and share that file, so between the first move and the last it has to keep working on two platforms at the same time.
  • Deleting the old sites cannot be undone, and now happens straight away. Each old site goes as soon as its replacement is verified working, so there is no window in which the old one could be put back. Afterwards the only way back is building a site from scratch. The old atlas site also has far more past builds than Cloudflare will delete a project with, and its bulk clean-up tool refuses to remove the one build currently live, so deleting it is several ordered steps rather than one. Cloudflare offers no way to hold on to an old address afterwards, and our embed guide has been telling partner sites they may load the script from one of them. Once that address is free, anyone can take it.
  • One of the three sites is built from the We Meditate repository, so part of this work lands there rather than here.

What success looks like

The order it happened in

  • The Sahaj Atlas library moved first, then the We Meditate library, then sahajatlas.com. The date each address moved is written into this ticket. — not met as written; accepted under Decisions (2026-11-01)
  • No part of this goal waited on the preview work. Its own tickets carry the order, and each says in writing that the preview work comes after all three moves.
  • The preview work's own goal no longer says it comes first, and no longer says it publishes into any of these three old sites. The two goals do not each claim the other is waiting.
  • Before the second library was touched, the first one had proved three things nothing but a live site can prove, each written into this ticket: Cloudflare's own name for a Workers build and whether it announces one to GitHub at all; that a preview of a site which serves only files can be created and then taken down again; and whether an address can be moved with no gap.

The library moves, which are also the rehearsal

  • Each library address opens its list of components in a browser afterwards, with readable text in our own typeface rather than a fallback font — the permission the old platform granted by accident is now asked for deliberately.
  • A preview of a library built for one branch can be taken down again, and once it is, its address shows nothing. This was proved on the first library before the second one was committed to, because the whole order rests on it.
  • The first library move was treated as the rehearsal. Before starting, someone wrote down the single action that puts the address back; they then performed it, confirmed the old site answered again, and moved the address forward a second time. All three steps are recorded with their clock times.
  • No outage window was booked for either library address, and this ticket says in one line why: nothing embeds them, so no partner page loses anything. A missing window must read as a decision rather than an oversight.
  • Cloudflare's own name for a Workers build was read off the first moved library and written down, before any check was taught to look for it. If Cloudflare announces nothing to GitHub for a Workers build, that is written down too — the check that reads the live atlas after each deploy is started by exactly that signal and has no other way to start.
  • Before the We Meditate library moves, the check in that repository that reads its preview fails when it finds no preview. Proved by making it find nothing once and watching it go red. Today it reports a tick. — not met as written; accepted under Decisions (2026-11-01)
  • The new We Meditate library address is named so that check still recognises it, confirmed by reading, on a real proposed change, the address the check says it read.
  • Any check that reads a library's preview still finds one, and names the address it read. A check that passes while naming no address counts as a failure, not a pass.
  • After each library moved, pushing a branch that is not the live site's own branch starts no Cloudflare build for it — achieved by telling Cloudflare which branches to skip, not by switching test copies off altogether, which would leave the other repository's check with nothing to read. Confirmed by looking. — not met as written; accepted under Decisions (2026-11-01)

The atlas move

  • The hour sahajatlas.com moved was chosen by reading a week of request counts for that address and picking its quietest hour, and that reading is written down. "A quiet hour" on its own does not count.
  • Someone wrote down the clock time sahajatlas.com stopped answering and the time it answered again, and it was never unreachable for longer than fifteen minutes. If it still does not answer at fifteen minutes, it goes back to the old site before anything else is tried. — not met as written; accepted under Decisions (2026-11-01)
  • Because nobody is told in advance, the partner page someone will open and the person to write to if it breaks are both written into this ticket before the move, read from our own client records rather than from memory or an older ticket. — not met as written; accepted under Decisions (2026-11-01)
  • Immediately before the move and within ten minutes after it, someone opened that partner page — once in a browser that had never loaded the atlas and once in a browser that had — and both times the map drew, pins appeared, and clicking a pin opened a class. — not met as written; accepted under Decisions (2026-11-01)
  • On that partner page the atlas's own typeface and its little country flags both render, rather than the host site's fallback font.
  • Opening sahajatlas.com/search directly in a fresh tab, and then refreshing it, shows the search page both times — not an error, and not the world map. A made-up address such as sahajatlas.com/this-does-not-exist still shows the atlas, as it does today, rather than a "not found" page.
  • The two files partner sites load by a fixed name still come back from sahajatlas.com with the same three settings they have today: check-with-us-every-time, readable from any site, and not-for-search-engines.
  • The check that reads the live sahajatlas.com after a deploy runs again on its own within an hour of the move, and says it read sahajatlas.com. If it never appears at all, that counts as a failure and not as a pass.
  • Before sahajatlas.com moved, the check that finds a test copy of the site for each proposed change was taught to find the new platform's test copies, and still refuses a test copy belonging to a different one of our sites. Proved both ways: a proposed change goes green naming the atlas's own test address, and the library's test address is refused rather than accepted.
  • Every one of the atlas's build settings was entered on the new platform twice — once for the live site and once for test copies — then read back and compared against a written list made before the move. — not met as written; accepted under Decisions (2026-11-01)
  • A proposed change goes green on its own on the first pull request after the move: green naming the test address it read, never green because a step was skipped.
  • After the move, the only Cloudflare builds a proposed change starts are the ones a check actually reads, and any other branch starts none — confirmed by looking, not assumed.

Deleting the old sites

  • Each old site was deleted only after its replacement was verified working, and "verified working" meant all four of these, written into this ticket: an automated check read the new address and said which address it read; a person opened it and saw the site; a second change was pushed and the new address served it, proving the build settings were entered correctly rather than only the first upload working; and the one action that puts the address back was written down and performed once, with the old site seen answering, before anything was deleted. — not met as written; accepted under Decisions (2026-11-01)
  • Before each old site was deleted, its address had been taken off it and confirmed gone, and the new site held that address in its own right rather than sitting in front of the old site's address record. Otherwise deleting the old site takes away the record the new one depends on, and the address goes dark on the day it was declared working.
  • Before the old atlas site is deleted, the number of requests sahajatlas.pages.dev received over its last month is read from Cloudflare and written into this ticket as a number, read before its address is taken off it. It decides nothing; it is the one measurement deletion destroys for good. — not met as written; accepted under Decisions (2026-11-01)
  • The steps that actually deleted the old atlas site are written into this ticket, because its past builds have to be cleared first and the live one resists the bulk tool — the next person meets the same wall.
  • Before the first old library site is deleted, the atlas's own set of live-site checks was run once against the new library address and the number of them that fail was written into this ticket. That number is the only proof those checks are not trivially green, and today it is recorded against an address this goal deletes at the very first step.
  • After each deletion it is recorded in this ticket that there is now no way back other than building a site from scratch — and, for the atlas, that sahajatlas.pages.dev is now free for anyone to take.
  • Every Cloudflare site in the account has been listed and accounted for — moved, deliberately kept, or deleted — with the reason written down, and nothing is left behind for an address that has moved.

What partner sites read

  • sahajatlas.pages.dev no longer appears anywhere a partner site reads — not as a place to load the script from, and not in the security-settings advice — and the change is recorded in the file that tells partner sites what has changed. That entry is required whether or not anyone is written to directly.
  • After the embed guide is edited, this project's own checks still pass. One of them reads a single phrase out of that guide to learn which address is the live one, so an edit that reshapes that part of the guide must stop the checks rather than slip through.
  • Whichever of this work and chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252 lands second, the embed guide and the changes file read as one coherent story rather than two overlapping removals. — not met as written; accepted under Decisions (2026-11-01)

Not included

  • Redesigning how previews are built, found and published. Preview checks build on GitHub Actions SahajCloud#903 covers that, and it now comes after all three moves. This goal re-creates the live builds and does the least that keeps the existing checks honest until Preview checks build on GitHub Actions SahajCloud#903 lands — it does not redesign them.
  • Rehearsing a way to move an address with no gap at all. A few minutes is accepted, so the untried no-gap method is out. The library moves are still timed and written down, because the atlas move reads those numbers.
  • Paying Cloudflare more to fix the build queue. The dearer plan would ease the allowance and the queue, but it leaves the libraries on the platform that refuses to take a mockup down, so it cannot buy the reason the libraries move first.
  • Keeping the old sites as a way back. They are deleted as soon as each replacement is verified, so going back means building a site from scratch rather than putting an address back.
  • Telling the sites that embed the atlas before the move. Nobody is written to.
  • Taking sahajatlas.pages.dev out of records of past measurements. That address is named in notes recording what we measured on it; those stay, rewritten in the past tense. It comes out of the places where we publish it or point at it.
  • Retiring the older atlas addresses. chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252 covers those, including the fourth Pages site this goal does not move.
  • Rebuilding how our checks rank the evidence they trust. That ranking exists because the old platform's announcements disagreed with each other. One address a check can trust replaces the whole ladder rather than being ranked inside it.
  • Writing a second way of finding previews for the We Meditate library. Its check already reads the kind of comment Workers writes, and already does so for that site's main app today. What changes there is the name it matches and where its list of build paths is kept.
  • Giving design.wemeditate.com a search-engine policy, or shortening how long it is cached. Measured today it is the only one of our addresses with neither, and both come from settings on the wemeditate.com zone rather than from the platform, so this move changes neither.
  • The We Meditate site itself. It is already on Workers.
  • SahajCloud. It runs on Railway.
  • Starting the new SahajCloud component library. The SahajCloud admin's components can be browsed in a library of their own SahajCloud#915 owns that, and it starts on Workers.
  • Any visible change to the sites, outside the few minutes the atlas address takes to move.

Decisions

  • Do we move at all? → Yes, because Cloudflare recommends Workers, but only if it adds no cost. If a cost turns up, we stop and decide again. (Ardnived, 2026-10-09)
  • What order do we move in, and what waits for what? → All three sites move before previews are built on GitHub: the Sahaj Atlas library first as the rehearsal, then the We Meditate library, then sahajatlas.com. Preview checks build on GitHub Actions SahajCloud#903 then has one kind of site to learn, and nothing is built for the old platform and thrown away. Preview checks build on GitHub Actions SahajCloud#903 is blocked by this goal; this goal is blocked by nothing. This replaces both earlier answers. (Ardnived, 2026-10-11)
  • How do we handle the We Meditate library's preview check, which reads a preview this move relocates? → Move both libraries first. Make that check fail loudly when it finds nothing, and have it read where Workers announces a preview, accepting that Preview checks build on GitHub Actions SahajCloud#903 later replaces that work. (Ardnived, 2026-10-11)
  • Is a short outage on sahajatlas.com acceptable while its address moves? → Yes, a few minutes at a quiet hour. (Ardnived, 2026-10-10)
  • What happens to the old Pages sites? → All three are deleted, sahajatlas.pages.dev included, with the embed guide's mention of it removed in the same change. Confirmed in full knowledge that the embed guide lists it. (Ardnived, 2026-10-11)
  • How long do we keep the old sites? → Not at all. Each is deleted as soon as its replacement is verified working, with no waiting period. This replaces the earlier one-month answer, whose reason — that the preview work still published into the old sites — no longer holds now that Preview checks build on GitHub Actions SahajCloud#903 comes last. (Ardnived, 2026-10-11)
  • Do the sites that embed the atlas get told before the move? → No. (Ardnived, 2026-10-11)
  • Once sahajatlas.com is on Workers, where does the check that tests each proposed change get the address to test? → This project's own GitHub checks build and publish the test copy, so they know its address. That is one small piece of Preview checks build on GitHub Actions SahajCloud#903's work done here first. It needs a Cloudflare access key with this project's secrets, and the address-hunting code is deleted rather than rewritten. (Ardnived, 2026-10-11)
  • The monthly-bill check → Dropped from this goal. (Ardnived, 2026-11-01)
  • Which success lines that can no longer be met as written are accepted? → All of the following. Each is recorded with its reason, and none blocks closing. (Ardnived, 2026-11-01)
    • Order. sahajatlas.com moved on 2026-10-30, before the We Meditate library on 2026-11-02. Nothing embeds the library, and the atlas's preview lane stopped depending on it in ci(smoke): publish and read our own atlas preview, not Cloudflare's #282, so the order protected nothing by then.
    • The We Meditate check's red proof came minutes after the address went behind the Worker route, not before. It was still proved, on docs(build): record design.wemeditate.com on the Worker, Pages deleted WeMeditateWeb#221.
    • Wildcard branch skips. Cloudflare's Builds API refuses gh-readonly-queue/* and mockup/* (12002; gh-readonly-queue/* re-tested 2026-11-02). Both libraries skip main on their preview trigger and filter by path, but merge-queue branches still build a preview nothing reads.
    • The sahajatlas.com outage window was not timed. The address was moved by hand in the dashboard. Before and after, the partner page drew its map and the production lane passed.
    • The partner page and contact were written down after the move, not before, and the fresh-browser, pin-click, typeface and flag reads were done on 2026-11-02 rather than within ten minutes. They all pass now.
    • Build settings entered twice. Superseded by the 2026-10-11 decision: our own checks publish the test copy, so the preview values live in GitHub secrets, not Cloudflare. The production set matches the plan's six.
    • The sahajatlas.com verified-working gate is only partly on record. The automated read and a second change served are recorded (chore(build): cut sahajatlas.com over to Workers and delete Pages #283, docs(deploy): record the sahajatlas.com cutover to Workers (#283) #344); no rollback drill is recorded before that Pages project was deleted.
    • The sahajatlas.pages.dev request count is gone. Our token could not read it before the project was deleted.
    • The embed guide and changelog reconciliation passes to chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252, which lands second.

Open questions

None.

Notes

Technical notes

TL;DR

  • Settled: five children in build order — atlas library, We Meditate library, the atlas Worker, the preview lane, then the sahajatlas.com cutover and the Pages deletions. branch_excludes on the Builds trigger API is how a branch is skipped without switching previews off.
  • Risky: the atlas preview lane is 1,297 lines of Pages-shaped discovery, and every same-repo PR goes red the moment the app's host stops matching PAGES_RE. The decision has our own checks publish the preview, which deletes that subsystem instead of porting it.
  • Unknown, and only a live Worker answers each: whether Workers Builds posts a check run at all (the production lane has no other trigger), whether wrangler preview delete works on an assets-only Worker, whether a Worker route sits in front of a live Pages CNAME. Child 1 settles all three.

The full research record is the v1 Technical notes comment on this issue — intake plus three review passes, every superseded fact marked. Nothing here replaces it.

The plan — five children, in build order
# Repo Delivers Waits for
1 SahajAtlasWeb design.sahajatlas.com on Workers: config, the ACAO rule asked for deliberately, the three live findings, the rollback drill, sahajatlas-design Pages deleted nothing
2 WeMeditateWeb design.wemeditate.com on Workers, Smoke (ladle) red when it finds no preview, wemeditate-design Pages deleted 1
3 SahajAtlasWeb the app built and served from its own Worker at a workers.dev host, both variable sets read back against a pre-move list. No domain move, no CI change 1
4 SahajAtlasWeb our own checks publish and read the atlas preview; the 1,297-line discovery deleted; the production lane re-triggered 3
5 SahajAtlasWeb sahajatlas.com cut over under the 15-minute ceiling, embed guide and changelog, sahajatlas Pages deleted, the account inventory 2 and 4

2 and 3 are unblocked by each other and run in parallel. Each child's PR is the repo-side change; its Cloudflare dashboard and DNS steps are marked attended, because no cloud run can take them.

Facts the plan rests on
Fact Value Evidence
Discovery subsystem size 903 + 394 = 1,297 lines scripts/get-cloudflare-preview-url.{mjs,test.ts}
Publish step cloudflare/wrangler-action@v4, pinned to SHA 953926a2e2182532811c01a25e53647d93bf07c0; outputs preview-url (follows the branch) and preview-deployment-url (pinned to the version tested) the action's README; sydevs/SahajCloud#903 notes
Wrangler floor 4.135.0 for wrangler preview delete; 4.149.0 is current. SahajAtlasWeb has no wrangler dependency; WeMeditateWeb pins ^4.149.0 npm view wrangler version; both package.json
Worker shape assets-only, no main. assets.directory is dist (app) and build (both Ladle builds), not_found_handling: "single-page-application", preview_urls: true, and a previews block that may be empty — wrangler-action throws without one Workers static-assets docs; sydevs/SahajCloud#903 (ensure-config.ts:167,212)
ACAO is no Workers default public/_headers sets it only on /assets/* (:15), /auto.js (:36), /embed.js (:40), yet design.sahajatlas.com/robots.txt carries it today. sydevs/SahajCloud#913 depends on it Workers static-asset headers docs
public/_redirects:7 is shared /* /index.html 200, and public/ is copied into both build outputs, so it serves two platforms for the whole interval. The Pages app depends on it until child 5 AGENTS.md; tests/smoke/spa-fallback.smoke.test.ts
Build variables are per trigger Previews do not inherit production, so sahajatlas's six production values plus VITE_SENTRY_ENVIRONMENT are hand-entered twice. Both design projects carry none. vars in a wrangler config is runtime-only and cannot replace them Workers Builds docs; wemeditateweb/wrangler.toml:24-25
Node and pnpm .node-version is 22.17.0, package.json pins [email protected]. The Workers build image defaults to Node 24.18.0 and pnpm 10.11.1, and whether it honours .node-version is undocumented read the first build log
Preview host shape <preview>-<worker>.contact-c66.workers.dev. Read the host; never build it from a branch name sydevs/SahajCloud#903; claude-workflow/docs/why.md#link-the-branch-alias-never-a-commit-alias
The We Meditate naming constraint ci.yml:57 CF_PROJECT_MATCH: wm-design is a substring over project + url, so the Worker must be named so its host contains wm-design, or that line changes in the same commit wemeditateweb/scripts/get-cloudflare-preview-url.mjs:56-58
Its silent green the smoke step is gated on preview_url != '' (ci.yml:119) and the script exits 0 with an empty URL (:189-193). Half the accepted cost is already paid: PREVIEW_URL_RE already matches workers.dev and the PR comment is source 1 read at HEAD 51f6a33
Two pinned specs ci-workflows.test.ts:30 needs a row cell reading exactly `` <host> the production domain ``; :38 and `:40` derive the production lane's trigger from `CF_PROJECT`
Deleting the old atlas project is several steps over 100 deployments blocks a delete and the bulk tool refuses the live production deployment. Remove the hostname from Pages and confirm it gone first, or deleting takes the DNS record a route depends on Pages known issues
Corrections to the earlier passes

Sub-issues

Sub-issues

5 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. Ardnived commented on Oct 9, 2026

    @Ardnived
    ContributorAuthor

    Technical notes

    These notes were gathered on 2026-10-09 while filing. Planning reads them; the ticket body stays in plain language.

    The cost check (the decision's condition)

    What changes

    • Config and headers:
      • A wrangler.jsonc per site, with assets.directory (dist for the app, the library build output for the others), not_found_handling, and preview_urls: true.
      • _headers is supported on Workers static assets. That covers the CORS and noindex headers, and the embed's script headers.
      • _redirects is supported, but use not_found_handling for the SPA rewrite.
    • Domains: each custom domain moves to the Worker on the same Cloudflare zone. The atlas loader (auto.js?key=…) and its CSP and Permissions-Policy expectations are in the embed contract (SahajAtlasWeb/docs/embedding.md). Hosts must see no change.
    • Build-time variables: sahajatlas production needs MAPBOX_SECRET_ACCESSTOKEN, VITE_HOST, VITE_MAPBOX_ACCESSTOKEN, VITE_SAHAJCLOUD_API_KEY (secret), VITE_SAHAJCLOUD_URL and VITE_SENTRY_DSN. Preview adds VITE_SENTRY_ENVIRONMENT. The design projects have none.
      • These move into the Workers Builds settings.
      • Sentry source-map upload in the build (SahajAtlasWeb#130) moves with them.
    • Checks keyed on Pages:
      • Atlas ci.yml uses CF_PROJECT=sahajatlas.pages.dev.
      • production-smoke.yml triggers on the Cloudflare Pages: sahajatlas check run. Workers Builds names its check Workers Builds: <name>.
      • The -design filters in both repos' get-cloudflare-preview-url.mjs change too.
      • WeMeditateWeb's Smoke (ladle) and its scope step mirror the Pages watch paths. Workers Builds has its own watch paths, so copy them across: https://developers.cloudflare.com/workers/ci-cd/builds/build-watch-paths/
      • claude-workflow's finalize-pr reads Cloudflare's "Branch Preview URL" label. The Workers comment already carries it (docs/why.md#link-the-branch-alias-never-a-commit-alias).
    • Migration guide: https://developers.cloudflare.com/workers/static-assets/migration-guides/migrate-from-pages/

    Review pass — 2026-10-09 (intake)

    Three lenses: cross-reference, scope/build-vs-buy, gaps. Everything below is sourced; measurements were taken ~18:45 UTC.

    Corrections to the notes above

    • finalize-pr needs no change — strike it from "Checks keyed on Pages". claude-workflow/workflow/skills/finalize-pr/branch-preview-url.mjs:68 already matches (pages|workers)\.dev, :143 keeps each platform's separator, and :118 carries a real Workers alias.
    • "Workers Builds names its check Workers Builds: <name>" is unverified. Cloudflare documents no label for it. Observe it on the first connected Worker before editing production-smoke.yml.
    • The We Meditate precedent is narrower than it reads. wemeditateweb/wrangler.toml sets main = "virtual:photon:cloudflare:server-entry" — a server-rendered Worker, not static assets. It proves Workers Builds and custom domains on this account, not the not_found_handling / _headers path these three sites need.

    Facts settled

    • _headers is identical on Workers static assets. "An incoming request which matches multiple rules' URL patterns will inherit all rules' headers"; duplicates comma-joined; 100 rules, 2,000 chars per line (we use 4 rules). The rule-stacking that public/_headers:55-61 and tests/smoke/robots.smoke.test.ts:67 depend on carries over. https://developers.cloudflare.com/workers/static-assets/headers/
    • ⚠ public/_redirects:7 must be deleted, not carried over. On Workers, redirects are applied before headers and always followed, and a catch-all rewrite to /index.html is rejected as a loop. assets.not_found_handling = "single-page-application" replaces it and still answers 200 text/html, so docs/testing.md's "a 200 is not proof" invariant holds verbatim and spa-fallback.smoke.test.ts still passes. Keeping _redirects also risks the /* noindex rule not applying to deep-link routes. ⚠ Partly retracted on 2026-10-11 — see that pass.
    • ⚠ Pages' access-control-allow-origin: * platform default has no Workers equivalent. Workers documents only Cache-Control and ETag as defaults. Measured today, /search and /robots.txt carry ACAO on Pages from that default, which public/_headers:10 records relying on. fix(ui): scope widget css so it cannot restyle the host page #91 is safe — all three fonts sit under the explicit /assets/* rule — but no spec would catch the loss: both CORS assertions target /embed.js (robots.smoke.test.ts:78, cache-headers.smoke.test.ts:70). Decide it rather than discover it.
    • Preview discovery is the real work, and it is not a rename. scripts/get-cloudflare-preview-url.mjs:295 PAGES_RE extracts only *.pages.dev; :469 gates on a dot hostname boundary; :500 tests an 8-hex leading label; deploymentAlias() (:512+) parses a /pages/view/<project>/<uuid> dashboard URL. A Workers preview host is <alias>-<worker>.<subdomain>.workers.dev — a hyphen boundary, leading label c14f4e66-wemeditate-web. So PROVENANCE.deployment and PROVENANCE.attested, fix(build): pin smoke discovery to the head commit's deploy #138's top two tiers, both become unreachable. ci.yml:185 hard-fails a same-repo PR on no preview, so every atlas PR goes red the moment PAGES_RE stops matching.
    • ⚠ And the only dependable source disappears. The script's own header records "only source 3 is dependable (PR fix(i18n): production hygiene for logging, locales, storage and third-party flows #120)" — the Pages check-run summary. Cloudflare publishes the Workers preview URL in the bot comment instead (claude-workflow/docs/why.md:372; wemeditateweb/docs/cloudflare-previews-ci.md). The atlas lane would then rest entirely on a scraped, editable comment — the source docs/testing.md invariant three names as a security property. Do not port WeMeditateWeb's script as the fix: wemeditateweb/scripts/get-cloudflare-preview-url.mjs:56 is a bare substring match over project + url, the pre-fix(build): pin smoke discovery to the head commit's deploy #138 design that scripts/get-cloudflare-preview-url.test.ts:49-55 pins as refused (evil-sahajatlas.pages.dev).
    • A no-gap cutover exists, and needs one rehearsal. A Worker route on sahajatlas.com/* takes precedence over a Custom Domain and needs only a proxied DNS record — which the live Pages CNAME is — and deleting the route reverts in one action. A Custom Domain cannot be created while that CNAME exists, so the Custom-Domain path is delete-CNAME → remove-from-Pages → add-domain, with the host dark in between. Cloudflare does not document route-over-a-Pages-CNAME, so rehearse on design.sahajatlas.com.
    • Both design custom domains are live (measured): design.sahajatlas.com 200 with x-robots-tag: noindex, design.wemeditate.com 200 without. Neither is named anywhere in either repo — every record says *.pages.dev (AGENTS.md:276, wemeditateweb/docs/cloudflare-previews-ci.md:29). "At their current addresses" is achievable; the addresses are simply undocumented.
    • All three zones are on Cloudflare nameservers, so the migration guide's one outright exclusion does not bite.
    • chore(build): stop the sahajatlas.com zone overriding the loader's Cache-Control #148 is a zone setting and survives the move untouched. Browser Cache TTL overrides the origin only when the origin's max-age is below it. Measured today, sahajatlas.com/auto.js and sahajatlas.pages.dev/auto.js both serve public, max-age=0, must-revalidate with identical etags, so the zone is currently set not to override. The production lane must keep reading sahajatlas.com, for the same reason it does not read *.pages.dev.
    • Nothing we hold lists the 13 partner sites. SahajCloud's clients collection has allowedDomains (Clients.ts:325) and read-only Discovered Embeds (Clients.ts:493-510), and parseMountKey stores the host page's origin and path — never the loader origin. So no record can say who loads from pages.dev; per-hostname request counts on the Pages project are the only instrument. This is what makes open question 3 a decision rather than a measurement.
    • The feat(i18n): source translations and the language set from SahajCloud #198 failure class is live on Workers. Workers Builds keeps separate production and preview variable sets, so the six production variables above plus VITE_SENTRY_ENVIRONMENT in preview must be re-entered in both. boot-origins is green on production today (eager graph carries cloud.sydevelopers.com/api and the Sentry DSN; the only localhost is react-router's documented false positive). boot-origins catches a preview miss; only production-smoke.yml catches a production miss.

    Where the lenses disagreed

    The merge-queue preview exclusion. One lens found branch_excludes on the Builds API trigger (POST/PATCH /builds/triggers); the other found only a Production-branch setting plus an Enable-Preview-Builds switch in the dashboard, with the migration guide stating "branch deploy controls are less configurable than in Pages". Holding: the dashboard cannot express it and the API may. Treat as unconfirmed, verify on the first Worker, and if it is unavailable previews are all-or-nothing per Worker — then turn them off for sahajatlas-design, which no check reads, and keep them for wm-design, which WeMeditateWeb's Smoke (ladle) reads.

    Risks

    • The production lane goes silent, not red. production-smoke.yml:40 gates on the literal Cloudflare Pages: sahajatlas; a job whose if: never matches posts nothing at all — the failure docs/testing.md records for chore(ci): nothing automated observes the production deploy, only a preview #244's intended trigger. Mitigation already in place: scripts/ci-workflows.test.ts:40 pins that literal, so the rename fails at collection. Pin the new literal in the same commit.
    • WeMeditateWeb's watch-path mirror goes stale when wm-design moves: ci.yml:70-71 plus a count >= 300 threshold, against Workers' 0-file / 3000-file / 20-commit skip rules. ⚠ Overstated — corrected on 2026-10-11 (second pass).
    • .claude/workflow.json:25 deployTarget still names Cloudflare Pages.

    Adoptable tickets: none

    The only Pages-related atlas tickets, #244 and #132, are closed. #252 is the nearest neighbour but already has parent #255, and is a dependency and conflict source rather than a child: it retires atlas.sydevelopers.com, atlasreact.sydevelopers.com and the fourth Pages project syatlas, and already records the hostname-reclaim hazard this goal's open question 3 turns on.

    Sketch of a split, once the order is decided

    1. design.sahajatlas.com to Workers — config, dashboard setup, route rehearsal, rollback drill. No CI consumer at all, so nothing to repoint. This is the experiment that settles the check-run name, the ACAO default, and whether a route sits in front of a Pages CNAME. ⚠ "No CI consumer at all" corrected on 2026-10-11 — see that pass.
    2. design.wemeditate.com to Workers — a WeMeditateWeb PR: its wm-design matrix row, discovery match, and watch-path mirror.
    3. sahajatlas.com to Workers — config, the _redirects line removed, the domain cutover, docs/embedding.md and CHANGELOG.md.
    4. Repoint the checks — CF_PROJECT, the production-smoke.yml trigger and its pinned literal, and whatever preview discovery looks like after Preview checks build on GitHub Actions SahajCloud#903.

    Observed in passing — not this goal's work


    Review pass — 2026-10-10 (revise: answers 1C, 2B, and delete-outright)

    Three lenses again, on what the answers changed. Sourced; measurements taken ~17:20 UTC.

    The answers move the ground under the goal's own Why

    Facts settled

    • ⚠ "Never released to client sites" is not borne out by our own host-facing contract. docs/embedding.md:897-902 publishes https://sahajatlas.pages.dev in the "Two hosts serve the identical bundle" table, and :800-802 tells hosts "Loading the script from sahajatlas.pages.dev? Add that host to script-src and font-src" — an offer, in the one document CLAUDE.md calls the only documentation an embedding site ever reads. Measured today both hosts serve byte-identical auto.js (sha256 1444693…, same ETag "9e1e4b9231da013addfb3d305f0c585c"). Whether any host actually loads it stays unanswerable from the repos, and the Pages project's per-hostname request counts remain the only instrument — which the deletion destroys. Hence open question 1 and the read-before-delete criterion.
    • No runtime value names it. SahajCloud holds no sahajatlas.pages.dev at all; its only pages.dev is the legacy syatlas.pages.dev in seeds/atlas/data/clients.json:474 (chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252's ground). SAHAJATLAS_URL names sahajatlas.com and feeds the Payload csrf allowlist and three live-preview bases.
    • The outage is total, not degraded. auto.js and embed.js both serve public, max-age=0, must-revalidate with cf-cache-status: MISS/DYNAMIC (measured); only /assets/* is cached, immutable for a year. must-revalidate forbids serving stale on a failed revalidation, so every page view in the window fails — caching shields nobody. The host page has no <sahaj-atlas> element of its own: src/loader/index.ts:194 creates it and :350 calls start(), so a failed loader leaves an empty slot with the reason only in the console. Nothing retries — :237-238 disconnects the observer before running, :260-265 latches on ran, :325-331 only logs. An iframe partner gets Cloudflare's unrouted-hostname error page inside the box instead.
    • The cutover gap is a platform constraint, not a choice of method. "You cannot create a Custom Domain on a hostname with an existing CNAME DNS record" — the Pages custom domain is that CNAME. https://developers.cloudflare.com/workers/configuration/routing/custom-domains/ Cloudflare documents no certificate-issuance time, so "a few minutes" is an assumption: the body now carries a 15-minute ceiling that doubles as the rollback trigger. Deleting a Custom Domain leaves its Advanced Certificate behind.
    • All three zones pass the nameserver requirement (measured NS elmo/lola.ns.cloudflare.com for sahajatlas.com, gerald/kiki.ns.cloudflare.com for wemeditate.com). Pages supports custom domains on zones we do not own and Workers does not, which is why that check matters before committing design.wemeditate.com.
    • Cloudflare publishes no reservation for a released pages.dev name. The known-issues page says only that the subdomain cannot be changed and the route to a different one is to delete the project and create a new one. docs/testing.md:179 is our own measured position that these names are first-come-first-served. Record as "not documented, therefore not safe to assume reversible" — not as "a stranger will take it".
    • Deleting a project does not reliably clean up its custom domain (reported 2025-06-29, joshtronic), so the order is fixed: remove the hostname from Pages → confirm it is gone via the API → create the Worker Custom Domain → delete the project after the wait.
    • _redirects is supported on Workers; the splat rule is not. The migration guide's matrix lists both _headers and _redirects as supported and requires not_found_handling to be set explicitly. So the instruction is "delete public/_redirects:7", never "delete the file" — which also matters because chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252 Phase 1 step 1 adds a rule to that same file. ⚠ The "splat rule is not supported" half is retracted on 2026-10-11 — see that pass.
    • The three hosts do not behave alike today (measured): design.wemeditate.com carries no X-Robots-Tag, answers /robots.txt as 200 text/html from its SPA fallback, and its zone applies max-age=14400 to unmatched paths — chore(build): stop the sahajatlas.com zone overriding the loader's Cache-Control #148's shape, on the wemeditate.com zone. So "the same three settings" is scoped to sahajatlas.com in the body.
    • The 13 partner sites are reachable after all. Each client requires managers and a primaryContact (SahajCloud/src/collections/Clients/Clients.ts:547, :557), plus an optional supportEmail (:358). The intake's "nothing we hold lists them" holds for who loads the second address, not for who to write to. Open question 3 is a policy choice, not a hunt.
    • The merge-queue exclusion question dissolves. After #903 no Cloudflare preview builds exist on any of the four projects, so branch_excludes never has to be settled. The intake's held-open disagreement is closed by sequencing. ⚠ Un-dissolved on 2026-10-11, and ANSWERED on 2026-10-11 (second pass) — branch_excludes exists on the Builds trigger API.

    The order conflict 1C creates with #903

    #903 plans to publish previews with wrangler pages deploy --project-name <p> into the existing Pages projects, and its own notes say that if the Workers move lands first those uploads become wrangler versions upload. With 1C the inverse happens: #903 ships Pages-targeted publish steps, and this goal then deletes their targets. Planning constraint: no Pages project is deleted while #903's publish path still targets it. #903 also records "that check run still exists, because production stays on Cloudflare" about production-smoke.yml's trigger — true under #903 alone, false after this goal. Each ticket assumes the other keeps it; this goal owns the repoint. ⚠ The planning constraint DISSOLVES on 2026-10-11 (second pass) — #903 now comes after this goal entirely and never targets a Pages project.

    What deletion breaks, beyond the intake list

    .github/workflows/ci.yml:111 (CF_PROJECT); scripts/ci-workflows.test.ts:37-41, whose match() fails hard if CF_PROJECT goes, and which pins production-smoke.yml:40's Cloudflare Pages: sahajatlas literal; production-smoke.yml:139 prose; AGENTS.md:270-276, :330; docs/architecture.md:105-107; docs/embedding.md:800, :902; CHANGELOG.md:546; public/robots.txt:31; public/_headers:25; tests/smoke/cache-headers.smoke.test.ts:16; tests/smoke/boot-origins.smoke.test.ts:14; src/lib/report.sentry.test.ts:339; docs/testing.md:171-179, :220, :223-225. scripts/get-cloudflare-preview-url.{mjs,test.ts} go with #903, not with this goal. ⚠ Falsified on 2026-10-11 (second pass) — they are this goal's work now.

    Two things the sweep must not destroy: the #148 and first-come-first-served records in docs/testing.md and public/_headers — rewritten in past tense, never deleted, since docs/rules/code-comments.md forbids dropping a ⚠ line or a #NNN breadcrumb — and docs/testing.md:220's "10 of the 16 fail against sahajatlas-design.pages.dev", which is the production lane's non-vacuity evidence and becomes unreproducible once that project is gone. Do not sweep react-circle-flags.pages.dev: third-party CDN, unrelated.

    ⚠ .claude/workflow.json:25 still reads "deployTarget": "Cloudflare Pages (sahajatlas, sahajatlas-design)", and that file is a protected path. An unattended run cannot write it and stalls on the prompt. Plan it as an attended edit, or the goal's last step fails silently.

    Overlap with #252

    #252 Phase 1 step 2 already names docs/embedding.md:895-916 and commits to reducing two hosts to one, with a matching ⚠ BREAKING CHANGELOG.md entry — the same edit answer 3 puts here. Whichever lands second reconciles, and the body's Notes say so. #252 also holds the opposite position on deleting a pages.dev name ("redirecting is safer than deleting"), on different hosts — syatlas, atlas.sydevelopers.com, atlasreact.sydevelopers.com — so the two goals never touch the same host, but they disagree on the principle.

    Adoptable tickets: still none

    No open ticket in SahajAtlasWeb or SahajCloud is about the Workers move or about removing the second address; 21 open atlas issues scanned. #252 keeps parent #255 and stays a dependency, not a child.

    Where the lenses disagreed

    Whether the merge-queue criterion survives. One lens dropped it outright, since #903 leaves no Cloudflare preview builds to exclude; another kept it and asked for the answer to be written down either way. Holding: the investigation dissolves, the protection is still worth one look, so the criterion stays as "only the live site builds" with no investigation attached. ⚠ Superseded on 2026-10-11 (second pass): the exclusion is now expressible, and the criterion names the mechanism.

    Still outside this session's reach

    WeMeditateWeb and SahajAtlasWordpress are neither checked out nor in this session's GitHub scope, so nothing here covers design.wemeditate.com's own repo-side references, its matrix row, or its watch-path mirror. Carried over from intake. ⚠ Closed on 2026-10-11 (second pass) — WeMeditateWeb was read from a directed read-only clone.


    Review pass — 2026-10-11 (revise: 1C, 2A, 3B, and the order reversal)

    Three lenses on what the reversal changed. The reversal comes from sydevs/SahajCloud#903 answer 1C: the two component libraries move to Workers first, before #903, and only sahajatlas.com waits for it. Measurements ~06:15 UTC.

    Two retractions of this comment's own ⚠ facts

    • ⚠ "A catch-all rewrite to /index.html is rejected as a loop" is NOT documented. Workers' _redirects reference lists 200-proxying as supported (/blog/* /news/:splat 200), never mentions loops, and says redirects execute before headers. The migration guide says both files are supported natively and that SPA behaviour must be set up manually via assets.not_found_handling — it does not say to remove a catch-all. The 2026-10-09 deletion instruction rested on inference. The real documented risk is the second one that note raised: a redirect winning over _headers could keep public/_headers:63-64's /* noindex off rewritten deep links. Measure on the first Worker — which, under the reversal, is the design site. "A 200 is not proof" survives either way.
    • ⚠ "design.sahajatlas.com has no CI consumer at all, so nothing to repoint" is wrong. The sibling -design check run is a named input to the atlas's own preview discovery: scripts/get-cloudflare-preview-url.mjs:705-723 admits it as evidence (it lands a median 41 s before the app's own run), runProject (:244) parses the project out of the run name, projectSlug (:241) exists solely to tell the two apart, and pick() (:490-502) refuses the sibling host. Pinned at scripts/get-cloudflare-preview-url.test.ts:55, :122, :247, :294, :328.

    Where the three lenses disagreed, and the holdings

    1. Does moving sahajatlas-design first cost this repo anything? One lens called it a non-zero unit-lane touch; two settled that nothing breaks. Holding: nothing breaks. Those specs pass synthetic fixture strings, so they never touch the live project. At runtime the evidence path survives a rename: runProject's /:\s*([a-z0-9-]+)\s*$/i still extracts sahajatlas-design from Workers Builds: sahajatlas-design, and the app-slug gate /cloudflare/i (:716) matches cloudflare-workers-and-pages. ci-workflows.test.ts:38-40 reads CF_PROJECT, untouched at this step. The script's own header (:82-89) already records the sibling run as no longer load-bearing. So the real cost is prose going stale plus a lost 41-second head start — and moving the design site first is what settles the still-unverified Workers check-run name before production-smoke.yml ever depends on it.
    2. Is the one-month keep one clock or three? Raised by one lens, and it is a genuine conflict with this comment's own planning constraint ("no Pages project is deleted while #903's publish path still targets it"): the libraries' clocks now start first and can expire before #903 ships. Holding: it is a decision. It is open question 2 in the body. ⚠ Answered away on 2026-10-11 (second pass): no keep at all.
    3. How to handle the We Meditate half. All three converged on it as the one real decision; their option sets differ in wording, not substance. Holding: one open question, with the three costs named. ⚠ Answered on 2026-10-11 (second pass) as a variant of option B.

    Facts settled

    • The new driver is real, and it is why the order changed. Pages: "The latest deployment for a branch cannot be deleted" (https://developers.cloudflare.com/pages/configuration/preview-deployments/). Workers: "You can also delete Previews yourself with npx wrangler preview delete --name <preview-name>" (https://developers.cloudflare.com/workers/previews/), with no restriction on deleting the most recent. So the libraries on Workers is what lets Maintainers can mock up a goal's new screens with Claude, from the components we already have SahajCloud#910 promise a mockup can be taken down. ⚠ Cloudflare's Previews page documents no eligibility rules and says nothing about assets-only Workers — these three sites have no main script. Verify on the first Worker before anything depends on it.
    • The allowance and the queue are live reasons again, but only for the library step. Pages Free allows 500 builds/month, 1 concurrent; September drew 445 (89%). Of September's 101 production builds, sahajatlas-design was 31 and wemeditate-design 39 — 70 of 101 (69%). The 31 == 31 with sahajatlas is not coincidence: the design project is Git-connected to the same repo, with no watch paths until 2026-10-09, so every push cost two of the 500. Both September stalls were cross-project, each needing a Cloudflare retry plus a manual re-run. After the library step one Pages project remains. For the atlas step #903 has already left ~100 builds a month, so there the allowance counts for nothing. ⚠ The last sentence is falsified on 2026-10-11 (second pass): the atlas now moves before #903 too, so the allowance is a live reason for all three steps.
    • Pages Pro stays rejected, and now for a stronger reason. At roughly $20–25/mo it would fix the queue and the allowance, but it leaves the libraries on the platform that refuses to remove a mockup's preview. It cannot buy the reason the order was reversed. Named in ## Not included.
    • The dashboard variable re-entry risk is smaller than the body implied. The two design projects carry no build-time variables; sahajatlas carries six plus one preview-only. So the half that moves first has nothing to re-enter, and by the time the half with seven moves, #903 has relocated the preview set into GitHub. Only the production set stays a hand re-entry. ⚠ FALSIFIED on 2026-10-11 (second pass): #903 comes last, so both sets are hand-entered here. ⚠ Do not plan on vars in wrangler.jsonc to remove it: vars are runtime bindings and VITE_* are consumed at build time, so it very likely does not work — feat(i18n): source translations and the language set from SahajCloud #198's failure class again. Verify or discard. ⚠ DISCARDED on 2026-10-11 (second pass) — see that pass.
    • The rehearsal became free. The body excludes rehearsing a no-gap cutover, but under the reversal the library cutover is the rehearsal for the atlas, with #903's duration in between to learn from it. The exclusion stays scoped to the no-gap method; the measurement and the rollback drill are now success lines on the library step. ⚠ There is no longer #903's duration in between — see the second pass.
    • "Switch off the git connection" is the wrong mechanism for 2A. Cloudflare documents no disconnect, and says you cannot switch to Direct Upload later. What is documented: uncheck "Enable automatic production branch deployments", and set preview branches to None ("turns off automatic builds for all preview branches"). Deployments persist and stay promotable ("Any production deployment that has been successfully built is a valid rollback target"). ⚠ Cloudflare never states in words that a build-disabled project keeps serving, so the month-long rollback path survives by inference. The body now makes it an observation to record rather than an assumption. ⚠ Moot on 2026-10-11 (second pass): there is no keep, so nothing is build-disabled and left serving.
    • Deleting the old atlas project is not one action. Pages known issues: "You may not be able to delete your Pages project if it has a high number (over 100) of deployments", and the bulk-delete workaround "will not delete the active production deployment if one exists". sahajatlas ran 400+ builds a month before the 2026-10-09 watch paths. So: remove the hostname from Pages → clear past deployments → remove the active production deployment → delete the project.
    • A person can name a real partner page from our own records. SahajCloud admin → Clients → a sahaj-atlas-client → Reported Embeds → Discovered Embeds (src/collections/Clients/Clients.ts:490-512, read-only, "What the widget reported about each page it is installed on"), keyed by origin + pathname (src/lib/clients/embedMetadata.ts:10-11, :144-156), so each key is a page to open. managers and primaryContact are both required (:547-562). ⚠ The two example pages in chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252 are stale ("Last confirmed 2026-08-14"), so read the records, not either ticket.
    • The quiet-hour criterion needed repositioning, not rescoping. It already said "a week of request counts for the atlas address". The libraries need no outage window, no clock log and no 15-minute ceiling — nothing embeds them. They do need the written rollback, because the first library move is the rehearsal.
    • ⚠ The embed-guide edit has a spec trap. scripts/ci-workflows.test.ts:29 reads /`(\S+)`\s*\|\s*the production domain/ out of docs/embedding.md. So the "Two hosts serve the identical bundle" table must keep a row whose cell reads exactly `<host>` | the production domain. Reducing that table to prose, or rewording that cell, fails the spec at collection. Line numbers have also drifted: the offer is at docs/embedding.md:800 and the table at :948, not the :897-902 this comment recorded. Grep, do not trust the numbers.
    • A CHANGELOG entry is required whether or not 1C says "no announcement". CLAUDE.md/AGENTS.md:69-71: the host-facing contract is docs/embedding.md and CHANGELOG.md, "Update both in the same PR whenever a host can observe the change." Withdrawing a published script origin is host-observable twice over (docs/embedding.md:800, :948). So 1C's option B ("announce the removal in the file they read for changes") was never a real alternative — it described work the repo's rule already requires. Reading: 1C and 3B are about writing to partners, not about the changes file. chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252 already commits to the identical ⚠ BREAKING entry on the same table.
    • public/_redirects now serves two platforms at once, for the whole interval between the first and last move. public/ is copied into both build outputs (AGENTS.md:294-297), proved live: design.sahajatlas.com/robots.txt serves this repo's file verbatim, and design.sahajatlas.com/this-does-not-exist returns 200 text/html (the Ladle shell), so the splat is live on the design site today. Deleting :7 at the library step strips sahajatlas.com's SPA fallback while the app is still on Pages (tests/smoke/spa-fallback.smoke.test.ts); keeping it ships an untested rule to the design Worker. The 2026-10-09 split put this edit in step 3; the shared file forces the decision into step 1. chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252 Phase 1 step 1 also adds /map / 301 above that catch-all.
    • Re-sequenced by the reversal: .claude/workflow.json:25 deployTarget is now the first ticket's step rather than the goal's last, and it is still a protected path needing an attended run. claude-workflow/docs/routine-setup.md:476-478 goes stale at step 1 too. And docs/testing.md:220's "10 of the 16 fail against sahajatlas-design.pages.dev" — the production lane's non-vacuity evidence — now loses its subject at step 1, months earlier than planned. Rewrite in past tense; never drop the breadcrumb.
    • #903 adds a requirement the body did not carry: its criterion "Pushing any branch that is not a live site's own branch starts no build on Cloudflare, on every one of our projects" means the moved library Workers must have Cloudflare's own preview builds switched off. The library step owns turning it off, and the Workers switch is dashboard-level and all-or-nothing per Worker, with branch_excludes still unconfirmed. ⚠ Corrected on 2026-10-11 (second pass): branch_excludes IS available on the Builds trigger API, so the exclusion is expressible without switching previews off — which matters because switching them off re-creates the silent green this goal is closing.
    • design.wemeditate.com is the one host of the five with no x-robots-tag, and its /robots.txt answers 200 text/html from the SPA shell — it has no robots file at all. Pre-existing, and it lives in a repo this session cannot reach.

    Sibling tickets that now need a reconciling decision — none of them ours to edit

    Adoptable tickets: still none

    73 open issues scanned across the three reachable repos (20 SahajAtlasWeb, 40 SahajCloud, 13 claude-workflow of which 4 are ops-journal and excluded). Nearest neighbours are each a dependency or a different problem: #252 (keeps parent #255), #783 (keeps parent WeMeditateWeb#160), #166. The sibling Roadmap goals are none of them adoptable.

    Revised sketch of a split

    1. design.sahajatlas.com to Workers — config, dashboard setup, the ACAO rule asked for deliberately, the _redirects decision for a shared file, route rehearsal and a performed rollback drill. Settles the Workers check-run name, the ACAO loss, whether a route sits in front of a live Pages CNAME, and whether Previews work on an assets-only Worker. Also the sahajatlas-design doc sweep and the attended .claude/workflow.json edit.
    2. design.wemeditate.com to Workers — a WeMeditateWeb PR, gated on open question 1.
    3. sahajatlas.com to Workers, after #903 — config, the domain cutover, docs/embedding.md (keeping the pinned row shape) and CHANGELOG.md.
    4. Repoint the checks — CF_PROJECT, the production-smoke.yml trigger and its pinned literal.
    5. Delete the old projects, ordered by open question 2, with the deployment-clearing wall recorded.

    ⚠ Superseded by the second pass's split below.

    ⚠ Anomaly, recorded not explained

    One lens read WeMeditateWeb's main by cloning it over the git proxy. That repo is not in this session's declared GitHub scope, I did not direct the clone, and I cannot re-verify what it read. So its WeMeditateWeb specifics are carried as reported, not established — above all that ci.yml:118-125 gates the smoke step on preview_url != '' with no missing-preview reporting step, making a missing preview a silent green. Confirm in that repo before acting. The underlying coupling — that Smoke (ladle) reads the wm-design preview and that its discovery is a bare substring match — is already recorded by the 2026-10-09 intake, so open question 1 does not rest on the unverifiable part alone. Also reported and unverifiable from here: whether Smoke (ladle) is a required check, which decides whether a silent green also lets a broken PR merge. ⚠ RESOLVED on 2026-10-11 (second pass): established from a directed clone.

    Also unverifiable from this session

    GET /repos/sydevs/SahajAtlasWeb/issues/266/dependencies/blocked_by was reported as [] while the blocked label was on — i.e. the cross-repo relationship never landed. No mcp__github__* tool exposes dependencies, so this pass could not confirm it. What is confirmed from the dispatcher source: apply.mjs:225-237 is the only relationship writer and only ever POSTs; there is no DELETE anywhere in dispatcher/ or workflow/; gather.mjs:166 reads blockers from the native API; and decide.mjs:506-508 pushes the relationship and the label only when the body's marker set is non-empty. So striking the body line is correct either way, and for a forward-looking reason: left in place, the next body edit re-fires the cross-repo write, and if that succeeds unblock-check re-applies blocked and holds the ticket until #903 closes — the opposite of what was asked. Nothing a session may call removes an existing relationship, and no session may write the label. ⚠ The conclusion was right and the mechanism was wrong — striking it as a LIST ITEM does not clear it. See the second pass.


    Review pass — 2026-10-11, second (revise: the whole goal moves before #903)

    Three lenses on the 16:16Z reversal: this goal now comes first in full, in the order Sahaj Atlas library → We Meditate library → sahajatlas.com, and sydevs/SahajCloud#903 is blocked by it. Open question 2 answered: no keep period at all. Measurements ~16:30 UTC. WeMeditateWeb was read from a directed read-only clone (add_repo → status: read_available, which sanctions anonymous git reads of a public repo), so its specifics below are established, closing the previous pass's anomaly.

    ⚠ The defect that explains the stuck blocked label — filed as sydevs/claude-workflow#178

    parseBlockedBy (claude-workflow/dispatcher/markers.mjs:37) skips a struck blocker line only when the strikethrough starts the line. STRUCK = /^~~/ (:13) is tested at :41 against the trimmed line; LEAD = /^(?:[-*+]\s+)?[*_~]*/ (:19) is applied at :42and strips the bullet **and then the~~**. So a struck line written as a **list item** — which is how the previous pass wrote it, and how format-ticket` shows it — is parsed as live. Run against the real parser this pass:

    [{"owner":"sydevs","repo":"SahajCloud","number":903}]  <= - ~~Blocked by: …/issues/903~~ — struck
    []                                                     <= ~~Blocked by: …/issues/903~~ — struck
    

    That is why blocked has stayed on this issue through three passes, and why the previous pass's advice (remove the relationship by hand) would have been undone by the next body edit. This pass removed the line from the body entirely rather than striking it, and verified parseBlockedBy(body) === [] against the final text before posting. The stale relationship still needs removing by hand once; it should not return.

    Facts the reversal falsifies in this comment

    1. get-cloudflare-preview-url.{mjs,test.ts} "go with #903, not with this goal" — falsified. 903 + 394 = 1,297 lines of Pages-shaped discovery are this goal's step 3 work. #903 prices the subsystem at "about 1,100 lines plus 400 of tests" and commits to deleting it, so the accepted throwaway is the whole subsystem rather than a patch.
    2. "Only the production variable set stays a hand re-entry" — falsified. Workers Builds variables are per trigger, and "Each Worker has up to two triggers" (production, preview), with "Previews do not inherit production settings". So six production variables plus VITE_SENTRY_ENVIRONMENT in preview are hand-entered twice, on the one project that has any. boot-origins catches only a preview miss; only production-smoke.yml catches a production miss — and its trigger is being rewritten in the same step.
    3. The planning constraint "no Pages project is deleted while #903's publish path still targets it" — dissolved. #903 now targets Workers for all four sites. This is precisely what let open question 2 be answered.
    4. "For the atlas step the allowance counts for nothing" — falsified. All three sites move while Pages Free's 500/month and 1-concurrent are still in force. The Why is stronger, not weaker.
    5. The We Meditate and Sahaj Atlas components live in Storybook, in one layout Claude can read SahajCloud#902's "Both stay on Cloudflare Pages" Decision — no longer exists. It now reads "…move from Cloudflare Pages to Workers as Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266 sets out, before previews move to GitHub… (Ardnived, 2026-10-09; amended 2026-10-10, 2026-10-11)". Consistent. Two minor #902 lines do go stale at its own landing time: its "only one Pages build runs at a time" cost, and its success line reading a month's Pages build count below the allowance.
    6. "WeMeditateWeb's watch-path mirror goes stale" — overstated. Workers' skip rules are identical to the mirror's own comment (wemeditateweb/.github/workflows/ci.yml:79-80 vs the 0-file / 3000-file / 20-commit rules), and include/exclude semantics are equivalent. The mirror transfers; the list is re-entered in the new surface and docs/cloudflare-previews-ci.md:26-29, :33 go stale.
    7. "The merge-queue exclusion question dissolves" — un-dissolved, and now answered. See below.

    Facts settled this pass

    • branch_excludes exists on the Workers Builds trigger API. branch_includes, branch_excludes, path_includes, path_excludes, on POST /builds/triggers, PATCH /builds/triggers/{uuid} and GET /builds/workers/{tag}/triggers. https://developers.cloudflare.com/workers/ci-cd/builds/api-reference/ The dashboard documents only a production branch plus "Preview builds run for branches that are not your production branch". So: dashboard no, API yes — found independently by two lenses. This closes a disagreement held open since intake, and it matters because it is how wemeditate-design's existing gh-readonly-queue/* exclusion carries over without switching previews off and re-creating the silent green.
    • Pages' ACAO default has no Workers equivalent — confirmed, with the documented fix. Workers static-asset defaults are exactly Content-Type, Cache-Control: public, max-age=0, must-revalidate, ETag, CF-Cache-Status. ACAO appears only as something you add: "To enable other domains to fetch every static asset from your Worker, the following can be added to the _headers file". https://developers.cloudflare.com/workers/static-assets/headers/ Measured today all five hosts serve access-control-allow-origin: * on /robots.txt, which public/_headers does not cover (its only ACAO rules are /assets/* :14-15, /auto.js :35-36, /embed.js :39-40). Step 1 work, as the body says.
    • ⚠ vars in wrangler.jsonc cannot replace build variables — DISCARDED, not "verify or discard". Workers Builds build variables are "available only during the build, not at runtime"; runtime variables are separate. And the precedent repo says it in its own tracked config: wemeditateweb/wrangler.toml:24-25 — "Note: [vars] in this file are runtime-only. Vite cannot read them at build time. Put client-visible PUBLIC__* values in .env.production instead."
    • Workers Builds posts PR comments and check runs; no commit statuses and no GitHub deployments. The preview URL is in the comment. "Pushes to the same branch update that same Preview URL", while "Each deployment also gets an immutable Deployment URL". https://developers.cloudflare.com/workers/ci-cd/builds/git-integration/github-integration/ Preview host templates: <version-prefix>-<worker-name>.<subdomain>.workers.dev and <alias>-<worker-name>.<subdomain>.workers.dev; "Aliases may only be created during version upload". https://developers.cloudflare.com/workers/configuration/previews/
    • ⚠ The sharper unknown is not the check-run NAME but whether Workers Builds posts one at all. production-smoke.yml:14-16 is triggered by check_run: [completed] and nothing else bar workflow_dispatch. wemeditateweb/docs/cloudflare-previews-ci.md:22-24 puts the check-run-output source in a parenthetical scoped to Ladle only, i.e. to the Pages target. If an assets-only Worker posts no check run, the production lane has no automatic trigger — chore(ci): nothing automated observes the production deploy, only a preview #244's defect restored, silently. Only a live Worker answers it, and step 1 is where. The body's criterion now asks for both the name and whether one exists.
    • ⚠ Whether wrangler preview delete works on an assets-only Worker with no main — still unsettled, and it is what the whole reordering rests on. The Previews page gives the command and the limits (100 previews/Worker free, 500 paid; "Worker Previews requires Wrangler 4.135.0 or later") and lists restrictions for routes, cron, queues, bindings and secrets — none about static assets or a missing main. Two things sharpen the test: the default preview command is npx wrangler preview, and changing it to npx wrangler versions upload "creates a Version URL instead of a Preview" — so a wrongly configured Worker produces no deletable Preview at all; and a repo-side Wrangler below 4.135.0 produces the same symptom, since Workers Builds "uses the Wrangler version in your package.json". Verify first, before the second library is committed.
    • A Worker route in front of a live Pages CNAME — still unsettled. The routes doc confirms both halves of the inference (a route needs only a proxied DNS record; "Routes can fetch() Custom Domains and take precedence if configured on the same hostname") but says nothing about Pages projects or their CNAMEs. https://developers.cloudflare.com/workers/configuration/routing/routes/ Rehearsal stands — and see the new hazard below.
    • ⚠ New hazard created by "delete immediately". If the rehearsal leaves a site served by a route over the old Pages CNAME, and that Pages project is deleted the same day, deletion takes the DNS record the route depends on and the address goes dark on the day it was declared working. A month-long keep made this impossible by timing; same-day deletion does not. Criterion added: the moved site must hold its address in its own right, with the hostname removed from Pages and confirmed gone, before that project is deleted.
    • Workers' workers.dev preview URLs carry X-Robots-Tag: noindex by documented default, so keeping previews on is not an indexing exposure — one objection to not switching them off.
    • design.wemeditate.com's max-age=14400 is a zone setting the move will not fix. Measured today: no x-robots-tag, /robots.txt is 200 text/html from the SPA shell, max-age=14400. Both atlas hosts: max-age=0, must-revalidate + noindex. Workers' own default matches Pages', so the 14400 is wemeditate.com's Browser Cache TTL — chore(build): stop the sahajatlas.com zone overriding the loader's Cache-Control #148's shape. Any step-2 header criterion must not read as "the move will fix this". Now in ## Not included.
    • .node-version is 22.17.0 and package.json:6 pins [email protected]; the Workers build image preinstalls Node 22.23.2 and 24.18.0, defaulting to 24.18.0, with pnpm 10.11.1. Whether Workers Builds honours .node-version is not documented. One line in step 1's build-setup criterion. AGENTS.md:270 also still says both projects run "on the current Node 22 build image".

    WeMeditateWeb — established from the directed clone (HEAD 19b743d)

    • ⚠ The silent green is real. .github/workflows/ci.yml:119 gates the smoke step on if: ${{ steps.preview.outputs.preview_url != '' }}, the job's last step is that one (:134 starts the next job), and :103-107 states the design intent in words: "It skips gracefully when no preview is posted… so the job still passes." The script closes the loop at scripts/get-cloudflare-preview-url.mjs:189-193 — prints "No matching … preview found within timeout — skipping smoke", exportUrl(''), returns 0. Contrast the atlas, which has the loud branch at .github/workflows/ci.yml:141-177 (exit 1 at :175).
    • Half the reviewer's accepted cost is already paid there. scripts/get-cloudflare-preview-url.mjs:47 is PREVIEW_URL_RE = /https?:\/\/[a-z0-9.-]+\.(?:pages\.dev|workers\.dev)/i — it already matches workers.dev — and :72-84 fromPrComments() is source 1, described as "The only surface that names the project". That path is in production today for the web target, which is already on Workers Builds (docs/cloudflare-previews-ci.md:26-29). So "learns Workers' preview comments" is already true in that repo. What is actually left there: the loud-failure step, the watch-path list re-entered in the new surface, and prose at ci.yml:41-44 and docs/cloudflare-previews-ci.md:26-29, :33.
    • Lens disagreement, resolved by measurement. One lens said CF_PROJECT_MATCH: wm-design (ci.yml:57) survives the move because a Workers preview host contains the worker name; another said it breaks because the Pages project is wemeditate-design. Holding: both are conditionally right, and it is a naming constraint, not a breakage. Verified this pass: the project is wemeditate-design while its host subdomain is wm-design (docs/cloudflare-previews-ci.md:29, :33), and matchesTarget (:54-58) is a substring over project + url, so today it matches the host. On Workers the host carries the Worker name, so the match survives only if the Worker is named so its host contains wm-design. Either name it that way or change ci.yml:57 in the same commit — otherwise the move itself re-creates the silent green this goal is closing. EXCLUDE = ['wm-design', 'wemeditate-design'] (:45) is inert here, since both matrix rows set CF_PROJECT_MATCH.
    • Still unverifiable: whether Smoke (ladle) is a required check. No ruleset in the repo and no API scope. It decides whether the silent green also lets a broken PR merge.

    The atlas preview lane — what step 3 actually faces

    All in scripts/get-cloudflare-preview-url.mjs:

    • :295 PAGES_RE matches pages.dev only, and all four sources harvest through it (:644). A Workers host yields zero candidates → preview_status: absent → ci.yml:175 exit 1 on every same-repo PR, with the message "the deploy did not happen — INVESTIGATE, don't re-run", which would be actively wrong advice.
    • :456-477 pick() gates on a dot boundary (hostname === wanted || hostname.endsWith('.' + wanted)). A Workers preview puts the worker name mid-label after a hyphen, so no CF_PROJECT value reproduces today's gate. ⚠ The only value that matches is the account subdomain — which admits every Worker on the account, sahajatlas-design included, pointing the 16 atlas specs at the Ladle playground where docs/testing.md:219-220 measured 10 of 16 failing. Design requirement: match the worker-name label segment, not the domain suffix.
    • :500 DEPLOY_LABEL_RE = /^[0-9a-f]{8}$/ never matches <preview>-<worker>, so provenanceOf (:566-582) cannot return attested or claimed; deploymentAlias() (:524-535) parses a /pages/view/<project>/<uuid> link, so the deployment tier dies too. fix(build): pin smoke discovery to the head commit's deploy #138's ranking collapses to the alias floor, which the script's own header (:151-152) defines as "True when written, but pinned to nothing after that" — the pre-fix(build): pin smoke discovery to the head commit's deploy #138 property, which is how fix(event): deliver report-issue submissions instead of alerting #135 (a comment naming 9326e3b while the head was 56c6b0d) became observable.
    • ⚠ :241 projectSlug = project.split('.')[0] becomes the account subdomain if CF_PROJECT becomes a workers.dev host, so runProject(c.name) !== projectSlug for every run at :721 and preferred/deployment/failure are never assigned (:743-757). The failed status becomes unreachable in production while its unit assertions stay green — chore(build): make preview discovery survive a slow cloudflare deploy #132's exact wiring defect, which docs/testing.md records as "a passing unit spec is not evidence that the thing it tests is reachable". CF_PROJECT must split into two values: a host to match, and a project slug.
    • scripts/ci-workflows.test.ts:38 derives the trigger slug as CF_PROJECT.split('.')[0] and :40 pins /check_run\.name == 'Cloudflare Pages: (\S+)'/. The literal is hard-coded in the regex, so renaming the trigger fails the spec at collection — the pin working as designed. Both move in one commit, and :38's derivation needs the same split. provenanceOf:575 still demotes the bare Worker host to loose, so "discovery refuses production by construction" survives.

    One correction to the pessimistic reading, and it is load-bearing for the open question. The hijack half of invariant three gets stronger on Workers: pages.dev is a globally shared first-come-first-served namespace (docs/testing.md:42, :179) — hence pick()'s refusal of evil-sahajatlas.pages.dev, pinned at scripts/get-cloudflare-preview-url.test.ts:49-55 — whereas the middle label of a Workers host is our own account subdomain, unregisterable by an outsider. So anchoring on .<acct>.workers.dev plus the worker-name label is a sound boundary, and it still tells the app's Worker from -design's. The residual risk is staleness, not hijack, and that is what the reviewer's accepted cost should be written against.

    The open question this pass raises, and why it is a decision rather than implementation

    The reviewer accepted "each repo's preview check learns Workers' preview comments here, and #903 later replaces that". Two lenses independently found that the price of that acceptance is not what it looked like, so the body carries it back as open question 1 with three options:

    Candidate Evidence Cost
    A — publish the preview from our own CI with cloudflare/wrangler-action@v4 and read its documented preview-url output (deployment-url is "set to the stable preview-url") Strongest: the check reads an address it produced itself, which is #903's own invariant A Cloudflare token in this repo's secrets; forks get no preview (already true); one slice of #903 lands early. Deletes ~1,297 lines instead of porting then deleting them
    B — Workers Builds API (Workers CI Read): GET /accounts/{id}/builds/workers/{script}/builds returns build_trigger_metadata.commit_hash/branch/pull_request/build_uuid, and GET …/builds/builds/{uuid} returns preview_url, status, build_outcome Authenticated commit→build→URL chain, i.e. #138's deployment tier restored, and first-party fields replace #132's pending/failed/absent guesswork Same kind of token; ~60 new lines that #903 deletes; comment path kept as the fork fallback. ⚠ preview_url is in the formal schema but absent from the narrative API-reference page — confirm with one live call
    C — scrape the bot comment, as accepted Weakest: the only source, editable, and pinned to nothing after it is written Cheapest to write, nothing to store; PAGES_RE, pick(), DEPLOY_LABEL_RE, deploymentAlias() and CF_PROJECT's semantics all change, then #903 deletes it

    Refused outright: constructing the alias from github.head_ref. claude-workflow/docs/why.md:386-389 already records the failure — a 28-char truncated slug means two branches agreeing on their first 28 characters produce one alias, which answers 200 while serving the wrong branch — and vite.config.ts:168 sets release: { inject: false } (#108), so the atlas bundle carries no commit stamp to verify against.

    Success criteria the reversal required

    Deleted three keep-period lines (builds switched off for the whole keep; the old address observed still answering; the drill "performed once during the keep") — the first two existed only to resolve "does a build-disabled project keep serving", which no longer arises. The drill is re-sequenced into verification, as a precondition of deletion rather than an activity during a keep. "Verified working" is now defined in the body as four parts, the load-bearing one being a second push served by the new address — that is what replaces the month, because a first upload proves nothing about whether the build settings were re-entered correctly for every later build. Added for step 3: the discovery rewrite proved both ways (green naming the atlas's own test address, and the sibling's address refused), both variable sets read back against a pre-move list, and the 16-spec non-vacuity number re-measured against the new library address before the old one is deleted — docs/testing.md:220's evidence loses its subject at step 1 now.

    Revised sketch of a split

    1. design.sahajatlas.com to Workers — config, dashboard setup, the ACAO _headers rule, the _redirects call for a shared file, route rehearsal and a performed rollback drill. Settles: the check-run name and whether one is posted at all, Previews on an assets-only Worker, route-over-Pages-CNAME, .node-version honouring. Plus the sahajatlas-design doc sweep and the attended .claude/workflow.json:25 edit. Delete the Pages project once verified.
    2. design.wemeditate.com to Workers — a WeMeditateWeb PR, and smaller than planned: the loud-failure step, the Worker named so ci.yml:57 still matches (or that line changed with it), the watch-path list re-entered, and two prose files. Delete the Pages project once verified.
    3. sahajatlas.com to Workers — config, both variable sets, the cutover under the 15-minute ceiling, docs/embedding.md (keeping the row shape ci-workflows.test.ts:29 reads) and CHANGELOG.md, the request-count read, then the Pages project through the deployment-clearing wall.
    4. The atlas preview lane, per open question 1, plus production-smoke.yml:40 and its two pins in ci-workflows.test.ts. Ordered before or with step 3, since every same-repo PR goes red the moment the app's host stops matching PAGES_RE.

    Adoptable tickets: still none

    Verified rather than assumed. One issue filed in the three reachable repos since 06:15Z — #275, about an unrelated API-read lint — and no commit landed anywhere (SahajAtlasWeb 8c27b67, claude-workflow 4e61b1b, wemeditateweb 19b743d). #252 keeps parent #255.

    Sibling tickets now carrying the wrong order — none ours to edit

    sydevs/SahajCloud#903 is the one ticket that is now wrong, in eight live places: its order Decision ("That goal moves the Sahaj Atlas site last, after this one… There is no blocker between the two goals"), its ## Not included clause, its "One site publishes previews a second way" cost line, its open question 2 in full — "Does this goal build a second way of publishing previews, for the one site left on the older hosting product?", whose option B is exactly what the reviewer has now chosen, so it should be ticked citing the 16:16Z comment — its "Two of them will have moved… read in two places" gives-line, its success line reading "about 30 a month, down from about 445" in two places (unsatisfiable once no Pages project survives), its "not a reason to move the Sahaj Atlas site" note, and its "the dearer plan would buy relief for one site" note. Its merge-queue ⚠ now applies to all four projects before it lands. sydevs/SahajCloud#910's wait is deeper than it states and its "mockup pushes start no website builds" decision rests on a Pages control; branch_excludes is how it carries over. #902, #913, #915 are consistent.

  2. added theissue type on Oct 9, 2026
  3. added
    bot:working
    on Oct 9, 2026
  4. sydevs-bot commented on Oct 9, 2026

    @sydevs-bot
    Contributor

    🤖 no session running
    approved

    recent dispatches
    • 09:11Z revise-roadmap · attempt 2 · session · done
    • 09:11Z revise-roadmap · attempt 2 · session
    • 01:10Z revise-roadmap · attempt 1 · session · timed out
    • 01:10Z revise-roadmap · attempt 1 · session
    • 18:29Z implement-roadmap · attempt 1 · session · done

    Written by the sydevs dispatcher. Sessions never edit this comment.

  5. sydevs-bot commented on Oct 9, 2026

    @sydevs-bot
    Contributor

    Reviewed from three angles and reshaped the body. Every success line is now something a non-developer can check.

    What changed

    • Two new success lines cover the quiet failure: a check that stops running looks exactly like one that passed.
    • "The old Pages sites are deleted" left the criteria. Deleting one frees its address for a stranger to claim, and sahajatlas.pages.dev is an address we publish to embedding sites. It is open question 3 now.
    • Questions 1 and 2 merged, and the recommendation changed. Moving sahajatlas.com first means rebuilding how previews are found, on a weaker signal than today, and Preview checks build on GitHub Actions SahajCloud#903 then deletes that work. Libraries first, sahajatlas.com after.
    • New question 2. Moving an address normally leaves the site briefly dark. There is a way to avoid that, worth rehearsing on a library site.

    What I need from you

    Answer the three open questions, as @sydevs-bot revise 1A 2A 3A or in your own words.

    Once nothing is open, @sydevs-bot implement plans the implementation tickets.

    🤖 Written by the sydevs autonomous loop — see what this is


    Generated by Claude Code

  6. added and removed
    bot:working
    on Oct 9, 2026
  7. Ardnived commented on Oct 10, 2026

    @Ardnived
    ContributorAuthor

    @sydevs-bot revise 1C 2B

    • 3. Neither option. sahajatlas.pages.dev was never released to client sites, and nobody uses it. After the move, delete the old Pages sites completely, and remove that address from our docs, the embed guide included.
    • Order. This goal waits for Preview checks build on GitHub Actions SahajCloud#903, which is now a Blocked by relationship.
  8. added
    bot:working
    and removed on Oct 10, 2026
  9. sydevs-bot commented on Oct 10, 2026

    @sydevs-bot
    Contributor

    Folded in 1C, 2B and your answer on the old sites. Your answers raised three new questions.

    What changed

    • All three sites now move together, after Preview checks build on GitHub Actions SahajCloud#903. The goal is blocked by it.
    • The build allowance stops being a reason to do this. #903 leaves about 100 Cloudflare builds a month, so the Why now rests on Cloudflare's advice for new projects. Say if that is no longer enough.
    • The once-a-minute loader check is gone. A fifteen-minute ceiling replaces it, and that is also the trigger to put the address back.
    • Our embed guide does publish sahajatlas.pages.dev, and tells partner sites to allow it. Deleting it frees a name we advertised, so question 1 asks whether to hold on to it.
    • Deleting the old sites is in scope now. The rehearsal is out.

    What I need from you

    Answer the three open questions, as @sydevs-bot revise 1A 2A 3A or in your own words.

    Once nothing is open, @sydevs-bot implement plans the implementation tickets.

    🤖 Written by the sydevs autonomous loop — see what this is


    Generated by Claude Code

  10. 44 remaining items

  11. added
    bot:working
    on Oct 30, 2026
  12. moved this from Pending to Working in SYDevelopers Technical Roadmapon Oct 30, 2026
  13. added
    bot:working
    and removed
    bot:working
    on Oct 30, 2026
  14. sydevs-bot commented on Oct 30, 2026

    @sydevs-bot
    Contributor

    The session for this item did not finish after 3 attempts. I have stopped retrying. A @sydevs-bot verb or mention from you starts me again.

    🤖 sydevs dispatcher

  15. moved this from Working to Awaiting in SYDevelopers Technical Roadmapon Oct 30, 2026
  16. Ardnived commented on Nov 2, 2026

    @Ardnived
    ContributorAuthor

    The We Meditate library has moved, and the goal's remaining records

    design.wemeditate.com is now served by the wemeditate-design Worker as a Custom Domain, and the wemeditate-design Pages project is deleted. Below are that move's evidence, the atlas records this ticket was still missing, and the account inventory. All times are UTC, on 2026-11-02 unless a date is given.

    The dates each address moved

    Address Moved Old Pages project deleted
    design.sahajatlas.com 2026-10-14 17:05:48Z 2026-10-14 17:38:40Z
    sahajatlas.com 2026-10-30, about 00:45Z, by hand in the dashboard and untimed 2026-10-30
    design.wemeditate.com 2026-11-02 01:06:56Z 2026-11-02 01:10:20Z

    ⚠ The order was not the one this goal set. sahajatlas.com moved before the We Meditate library. This is accepted under Decisions.

    The We Meditate library (sydevs/WeMeditateWeb#184)

    Builds

    • The Worker's first build (2026-10-30 20:37Z) reported [email protected], [email protected].
    • Its check run is Workers Builds: wemeditate-design.
    • Since 00:44Z both triggers carry the path rules that ci.yml's WATCH/IGNORE mirror.
    • A gh-readonly-queue/* branch exclusion was tried again and still refused with 12002 Invalid request body. So merge-queue branches build a preview that no check reads. This is accepted under Decisions.

    Takedown drill

    • wrangler preview --name drill-266 was up at 00:44:56Z and returned 200 at 00:45:02Z.
    • wrangler preview delete ran at 00:45:04Z.
    • By 00:45:15Z the preview address showed Cloudflare's "There is nothing here yet" (404).
    • The version-specific address answered 500 "Worker threw exception" through 00:48:31Z, never the library. This differs from chore(build): move the Ladle playground to Cloudflare Workers #279's 404, but nothing is served either way.

    A route in front of the live Pages CNAME

    • The route was added at 00:45:47Z, and the Worker answered from 00:45:49Z, with no gap.

    Rollback drill

    • The single action that puts the address back is deleting that Worker route.
    • Route deleted at 00:48:28Z; Pages answered again at 00:48:29Z.
    • Route re-added at 00:49:22Z; the Worker answered at 00:49:25Z.
    • Pages and the Worker were told apart by Pages' default referrer-policy header.

    Verified working, all four parts

    1. An automated check read the address and named it. PREVIEW_URL=https://design.wemeditate.com pnpm test:smoke:ladle passed 4 of 4, once through the route at 00:47Z and again after the cutover at 01:08Z.
    2. It was opened in a browser. Headless Chromium loaded the component list (25 stories), and the components render in Raleway 400/500/600. Ladle's own sidebar chrome is Arial, as it was on Pages. ⚠ This was a headless browser rather than a person.
    3. A second change was served. Three main builds have deployed to the Worker: 41f6f61 (10-31), b93d75b and 8ee3f9c (11-01). The address serves the last of them.
    4. Rollback was performed once, as above.

    Headers, Pages (before) against the Worker (after)

    • Access-Control-Allow-Origin: * is a single value on /, /meta.json and /fonts/futura-book/FuturaBook.woff2.
    • X-Robots-Tag: noindex is on every path.
    • cache-control is unchanged, except robots.txt, which went from max-age=14400 to max-age=0.
    • Three differences are accepted:
      • Pages' referrer-policy: strict-origin-when-cross-origin is gone. Browsers apply the same policy by default.
      • Pages' x-content-type-options: nosniff is gone. This is a static build serving no uploaded content, and design.sahajatlas.com already runs without it.
      • The ; charset=utf-8 suffix on HTML and text is gone. The HTML declares <meta charset="utf-8">.

    Cutover

    • 00:50:21Z: hostname removed from Pages and confirmed gone.
    • 01:06:55Z: CNAME to wm-design.pages.dev deleted.
    • 01:06:56Z: Custom Domain attached. It now holds its own Worker-managed record.
    • 01:07:47Z: temporary route deleted.
    • The Worker answered throughout, and no gap was seen.
    • No outage window was booked, because nothing embeds this address.

    Deletion

    • 551 old deployments were force-deleted between 01:09:29Z and 01:10:07Z, and all of the calls succeeded.
    • The project was then deleted, at 01:10:20Z.
    • There is now no way back other than building a site from scratch, and wm-design.pages.dev is free for anyone to take.

    Smoke (ladle), red and green. Both were proved on sydevs/WeMeditateWeb#221, on pushes that touched a watched path.

    The app Worker's rename

    The sahajatlas Worker was renamed to sahajatlas-web in the dashboard on 2026-11-01, at about 19:24Z.

    The atlas records this ticket still owed

    Choosing the hour. From #283's comment: about 250 requests a day over the week before (with one 3.5k spike on 10-26). The quietest hours were 23:00–00:00Z, at 1–2 requests an hour, and the move ran at about 00:45Z.

    The partner page and its contact.

    • The page is shrimataji.org/test/kn/meditation-centers-in-uk/, and the contact is the manager on the "Shri Mataji Org Map" client record.
    • Both were written down after the move, not before. This is accepted.
    • chore(build): cut sahajatlas.com over to Workers and delete Pages #283 checked the page before and after the move: the map drew and the ready flag was set.
    • It was checked again on 11-02, in a fresh browser and on reload:
      • the map draws and pins appear;
      • clicking the Southampton pin opened "Morning Meditation at Testlands Wellbeing Hub";
      • Atlas Rethink Sans loads from sahajatlas.com/assets (200), and auto.js/embed.js came back 304 on the reload.
    • The flags are not ours to lose. They are react-circle-flags SVGs from that library's own CDN, so moving sahajatlas.com cannot affect them. This page opens on the UK, which shows no flag.

    Live reads, 11-02

    • sahajatlas.com/search, fresh and then refreshed, shows the search page both times.
    • /this-does-not-exist shows the atlas ("We couldn't find that place"), with a 200, not a not-found page.
    • /auto.js and /embed.js both return cache-control: public, max-age=0, must-revalidate, Access-Control-Allow-Origin: * and X-Robots-Tag: noindex.

    The production lane after the move. It fired on its own after #344 merged, read sahajatlas.com, and passed: https://github.com/sydevs/SahajAtlasWeb/actions/runs/40984109126

    Build settings

    • The app has one Workers Builds trigger. It builds main only, with pnpm build:worker and npx wrangler deploy.
    • It holds six variables: MAPBOX_SECRET_ACCESSTOKEN (secret), VITE_MAPBOX_ACCESSTOKEN, VITE_SAHAJCLOUD_API_KEY, VITE_SAHAJCLOUD_URL, VITE_SENTRY_DSN and VITE_TURNSTILE_SITE_KEY. These are the "six production values" the plan listed.
    • There is no second Cloudflare set: since ci(smoke): publish and read our own atlas preview, not Cloudflare's #282, the preview values live in this repo's Actions secrets, and our own CI publishes the test copy. So a proposed change starts no Cloudflare build at all, and any branch other than main starts none.
    • ⚠ SENTRY_AUTH_TOKEN, SENTRY_ORG and SENTRY_PROJECT are on no trigger, so production builds upload no source maps. The build log shows assert:maps passing with none emitted. They were not in the pre-move list either, so this is not caused by the move, but production Sentry frames are unsymbolicated.

    How the old atlas site was deleted (#283, #344, and the same procedure as #279 and today's):

    1. Take the hostname off the Pages project.
    2. Confirm it is gone.
    3. Attach the Custom Domain to the Worker.
    4. DELETE …/pages/projects/<name>/deployments/<id>?force=true for every deployment but the live one. That was 699 for sahajatlas. The bulk tool refuses the live deployment, and a project with more than 100 deployments refuses deletion.
    5. Delete the project.

    sahajatlas.pages.dev no longer resolves. There is now no way back other than building a site from scratch, and sahajatlas.pages.dev is free for anyone to take.

    Nothing is left pointing at an old site.

    • sahajatlas.com, design.sahajatlas.com and design.wemeditate.com are each held by a Worker-managed record.
    • Neither zone has any record pointing at pages.dev, and neither carries a Worker route.

    Account inventory (2026-11-02)

    Site Serves Status
    Worker sahajatlas-web sahajatlas.com moved by this goal
    Worker sahajatlas-design design.sahajatlas.com moved by this goal
    Worker wemeditate-design design.wemeditate.com moved by this goal
    Worker wemeditate-web the We Meditate site kept: already on Workers
    Worker sahajcloud no domain or route; last changed 2026-06-06 kept: not this goal's. SahajCloud runs on Railway, so this looks like a leftover from the abandoned Workers/D1 plan, and its owner should decide
    Pages sahajatlas, sahajatlas-design, wemeditate-design — deleted by this goal
    Pages atlas-legacy syatlas.pages.dev, atlasreact.sydevelopers.com kept: #252 retires it
    Pages sydevelopers www.sydevelopers.com kept: a live site outside this goal
    Pages sahajresources sahajaresources.com kept: a live site outside this goal
    Pages wemeditate-prototypes wemeditate-prototypes.pages.dev, no repo, last deployed 10-28 kept: not this goal's
    Pages wm-app-preview wm-app-preview.pages.dev, no repo, last deployed 07-13 kept: not this goal's, and a candidate for its owner to delete
    Pages wmdocs wmdocs.pages.dev, last deployed 2025-12-01 kept: not this goal's, and a candidate for its owner to delete

    Also

    Recorded from a Claude Code session run by @Ardnived.

  17. Ardnived commented on Nov 2, 2026

    @Ardnived
    ContributorAuthor

    Closing: every success line is either met or accepted under Decisions (2026-11-01), and the bill check is dropped. The evidence is in the comment above. The WeMeditateWeb doc PR (sydevs/WeMeditateWeb#221) is green and waiting for review.

  18. moved this from Awaiting to Done in SYDevelopers Technical Roadmapon Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    Priority

    Medium

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions