Repository navigation
Description
Summary
sahajatlas.com is still served by the Cloudflare Pages project sahajatlas. Point the
custom domain at the app Worker that #280 built, withdraw
sahajatlas.pages.dev from everything a partner site reads, and delete the sahajatlas Pages
project. Most of this ticket is attended Cloudflare, DNS and SahajCloud-admin work; the repo-side
half is one PR that deletes public/_redirects, edits docs/embedding.md and CHANGELOG.md,
and finishes the doc sweep.
Goal context
Child 5 of 5 of #266, and its last step. It performs the one move in the goal
that a visitor and a partner page can observe, so the ceiling on the gap, the reads taken before
it, and the verification afterwards are all part of the deliverable rather than hygiene.
Both blockers landed on 2026-10-26, and every file:line below is re-verified at 0fe62a9
against today's main. The repo moved under this ticket while it waited: #299
(for #282) deleted the discovery subsystem, repointed the production lane and
rewrote docs/testing.md, and #314 trimmed AGENTS.md so the deploy topology
is now stated once in docs/rules/deployment.md. The sweep table is rewritten around that.
Approach
Three reads taken BEFORE the move, each written into #266
#266 makes each of these a success line, and two of them stop being readable
the moment the move happens.
1. A week of request counts for sahajatlas.com, and the quietest hour chosen from it.
#266: "'A quiet hour' on its own does not count." Read the zone's analytics
for the trailing seven days at hourly resolution, write the reading into the goal, and name the
hour the move is booked for with the number behind it.
2. sahajatlas.pages.dev's request count over its last month — read BEFORE the hostname comes
off Pages. It decides nothing. It is the one measurement deletion destroys for good, which is
why #266 asks for it as a number rather than a judgement.
3. The partner page someone will open, and the person to write to if it breaks — read from our
own client records. Not from memory, and not from an older ticket. SahajCloud admin → Clients →
a sahaj-atlas-client → Discovered Embeds (src/collections/Clients/Clients.ts:501-502,
field embedMetadata), which is read-only and keyed by the host page's origin and pathname,
so every key is a page that can be opened. Take the contact from that client's managers
(:547) and primaryContact (:557).
⚠ The two example pages named in #252 were last confirmed 2026-08-14 and
are stale — that ticket's own open question says so. Do not plan the verification around them.
The cutover (attended)
Hostname off Pages → confirm it is gone → Custom Domain on the Worker.
That order is a platform constraint, not a choice of method. A Workers Custom Domain cannot be
created while a CNAME already exists on the hostname, and the Pages custom domain is that
CNAME. So the gap is structural.
- Log the clock time it stopped answering and the time it answered again. Both go into
Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266. - Never longer than fifteen minutes. At fifteen minutes it goes back to the old site before
anything else is tried — not debugged in place. - ⚠ chore(build): move the Ladle playground to Cloudflare Workers #279's finding 3 — whether a Worker route can sit in front of a live
Pages CNAME — is still unrecorded. Nothing indocs/rules/deployment.mdanswers it, and
ci(smoke): publish and read our own atlas preview, not Cloudflare's #282 records that chore(build): move the Ladle playground to Cloudflare Workers #279's attended phase never ran. So establish it here and
write it into Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266. If a route does front the CNAME, use it — but the
hostname must still come off Pages and be confirmed gone before the project is deleted,
otherwise deleting the project takes away the DNS record the route depends on, and the address
goes dark on the day it was declared working.
Verification (attended, plus what a spec can do)
- The real partner page from read 3, opened immediately before and within ten minutes after:
once in a browser that had never loaded the atlas, once in one that had. Both times the map
draws, pins appear, and clicking a pin opens a class. - On that page the atlas's own typeface and its country flags render rather than the host's
fallback font.public/_headers:61-63is the one ACAO rule that buys it — Pages adds
Access-Control-Allow-Origin: *to every asset by itself and Workers static assets add none
(public/_headers:38-39,docs/rules/deployment.md:69), so on the Worker that rule is the only
source.src/styles/fonts.ts:40-42is the claim about it. ⚠ This is the one header the platform
change can silently drop, andscripts/deploy-headers.test.tsonly proves there is exactly one
rule, never that the platform served it. sahajatlas.com/searchopened directly in a fresh tab and then refreshed shows the search
page both times;sahajatlas.com/this-does-not-existstill shows the atlas rather than a "not
found" page.auto.jsandembed.jsstill come back withCache-Control: public, max-age=0, must-revalidate,Access-Control-Allow-Origin: *andX-Robots-Tag: noindex
(public/_headers:26-30,:61-63) — the three settings Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266 promises
partner sites keep.PREVIEW_URL=https://sahajatlas.com pnpm test:smokepasses.
⚠tests/smoke/spa-fallback.smoke.test.tsis the one spec whose mechanism changes under it,
frompublic/_redirectstoassets.not_found_handling. It uses node'sfetch, which always
sendsSec-Fetch-Mode: cors. On PR ci(smoke): publish and read our own atlas preview, not Cloudflare's #299 a Worker published withwrangler previewserved the
SPA fallback to browser navigations only and answered that fetch404— but the same
Worker deployed withwrangler deployserved the shell to every client
(docs/testing.md:61-67). The cutover deploys rather than previews, so the spec should pass;
confirm it by running it, not by reasoning from this paragraph.- The 17-case smoke count is re-measured against
sahajatlas.comafter the move, and the
number written intodocs/testing.md.docs/testing.md:299-305already instructs exactly
this and names the reason: both recorded figures were taken against a Pages-served host, so
each is evidence about a host, not a platform. Perform the re-measure; do not rewrite the
instruction away. - Record whether the Workers-served
sahajatlas.comaddsX-Robots-Tag: noindexof its own
accord.docs/testing.md:302-305leaves this open, and it decides whether four assertions
still test our ownpublic/_headersrule or a platform default:
tests/smoke/robots.smoke.test.ts:50,:62,:80and
tests/smoke/cache-headers.smoke.test.ts:80. Record the finding. Do not weaken the specs —
Preview checks build on GitHub Actions SahajCloud#903's success list owns the repair. - The production lane runs on its own within an hour of the move and says it read
sahajatlas.com. ⚠ If it never appears at all, that is a failure and not a pass — a job
whoseif:never matches posts nothing, which is the chore(ci): nothing automated observes the production deploy, only a preview #244 defectdocs/testing.md:249-254
exists to record. ci(smoke): publish and read our own atlas preview, not Cloudflare's #299 already repointed the trigger:
.github/workflows/production-smoke.yml:53reads
check_run.name == 'Workers Builds: sahajatlas', so from the cutover on the lane and the
address it reads are the same site for the first time. Until then it fires on the app Worker's
build while reading a Pages-served domain.
What partner sites read (the repo-side PR)
docs/embedding.md — two edits, both verified at 0fe62a9:
:800— remove the offer: "Loading the script fromsahajatlas.pages.dev? Add that host to
script-srcandfont-src." The surrounding paragraph about CSP ignoring a repeated directive
name stays; only the second-host offer goes.:964-969— remove:969, the second row of the "Two hosts serve the identical bundle"
table, and retitle:964so one host is not described as two. ⚠ The prose at:971-973
("Whichever of the two you load the script from…") is part of the same edit.
⚠ Keep a row whose cell reads exactly `<host>` | the production domain — :968 today.
scripts/ci-workflows.test.ts:30-34 matches /`(\S+)`\s*\|\s*the production domain/ to learn
which host "production" means, so reshaping that table into prose fails the spec at collection.
That failure is the design — #266 asks for exactly it. The criterion is
that the whole gate passes after the edit, with :968's row still in table form.
CHANGELOG.md — an entry under Removed (the section opens at :24, under
## [Unreleased]), flagged ⚠ BREAKING, naming the replacement URL (https://sahajatlas.com).
AGENTS.md requires docs/embedding.md and CHANGELOG.md updated in the same PR for anything a
host can observe, and withdrawing a published script origin is observable twice over: the host
disappears, and the CSP advice that named it disappears with it.
#266's "nobody is written to" decision does not buy out of this entry — that
goal says the entry "is required whether or not anyone is written to directly."
CHANGELOG.md:594-599 is the #148 entry to model the wording on.
⚠ #252 plans the identical table edit and its own ⚠ BREAKING entry, and
keeps parent #255. Whichever lands second reconciles, so the two read as one
story rather than two overlapping removals. (That ticket cites the table at :895-916; at
0fe62a9 it is :964-969.)
public/_redirects
Delete the /* /index.html 200 catch-all, now at :9. No Pages project serves the app any
more, and assets.not_found_handling: "single-page-application" in the app's wrangler config
replaces it. The header comment is :1-8, all of it about Pages, so it goes with the rule.
#252's /map / 301 rule has NOT landed — verified at 0fe62a9, the file holds that one
rule and nothing else. So delete the file outright, and if #252 lands first, keep the /map
line and delete only the splat.
Three couplings to settle rather than discover:
- ⚠
scripts/wrangler-config.test.ts:131-143keeps passing, and that is the trap. It reads
package.json, not this file: it pinsbuild:worker→rm -f dist/_redirects,
ladle:build→rm -f build/_redirects, andbuildnot containing_redirects. With the
file gone thoserm -fcalls are no-ops that still satisfy the spec. Its rationale comment
(:125-129) anddocs/rules/deployment.md:51-62are what go false, so rewrite those. - Decide deliberately whether
pnpm buildandpnpm build:workerstay two scripts. The split
exists only because onedist/fed Pages, which needed the line (docs/rules/deployment.md:58-61).
After the cutover nothing needs it. Collapsing them changes a Workers Builds build command and
scripts/wrangler-config.test.ts's pairing, so if they stay, say in one line why. - If chore(build): move the Ladle playground to Cloudflare Workers #279 or chore(build): serve the atlas app from a Cloudflare Worker #280 found the splat shadows real assets on a Worker, the
deletion moved earlier than this ticket — but it has not: the rule is still at:9today.
tests/smoke/spa-fallback.smoke.test.ts is the spec that covers the behaviour either file
provides; it must still pass against sahajatlas.com afterwards — see the ⚠ under Verification.
The remaining doc sweep
The sweep moved. #314 trimmed AGENTS.md, so its two rows in the previous
version of this ticket (:270-280, :330-331) no longer exist, and CF_PROJECT went with
#299. The topology is now stated once, in docs/rules/deployment.md:19-22
("This is the one place the deploy topology is written down. Everything else that mentions it
points here") — so that file is the centre of this sweep and everything else is a pointer to
check. Rewrite in the past tense. Verified at 0fe62a9:
| File:line | What is newly false |
|---|---|
docs/rules/deployment.md:19-34 |
"Two Cloudflare sites deploy from this repo, on both platforms", and the whole sahajatlas bullet: the Pages half (:26-29, including ⚠ "This is what a visitor gets, until #266's last child moves the domain and deletes the project") and the Workers half's "served at its own workers.dev host and nowhere a visitor goes" (:30-31) |
docs/rules/deployment.md:47-62 |
"⚠ The two platforms do not read the same three", "_redirects governs the Pages app alone", and the ⚠ at :58-61 that the app cannot delete it in pnpm build because Pages needs the line. The three deploy files become two |
docs/rules/deployment.md:63-69 |
"Pages adds CORS to every asset by itself; Workers static assets add none" — still true of both platforms, but the app is Workers-only now, so :61-63's rule is its only ACAO source. ⚠ Keep #91, #106, #148 and #198 |
docs/rules/deployment.md:74-79 |
"public/ is copied into both build outputs … so all three files also govern both Workers" — after the deletion there are two files and both sites are Workers |
docs/architecture.md:107-119 |
the Deploy bullet: "two Cloudflare sites build this repo, on Pages and on Workers static assets", and the per-platform fallback sentence naming public/_redirects (:111-117). ⚠ Keep the #236, #266, #279, #280 breadcrumbs |
public/_headers:1-2 |
"Cloudflare reads this from the build output (like public/_redirects) — from dist/ on the …" — the parenthetical names a file this ticket deletes |
public/_headers:52-54 |
"_redirects rewrites unknown paths to that shell on the Pages app, assets.not_found_handling on the Worker" — one half of the pair goes |
public/robots.txt:2-6 |
the NOTE: "pnpm build copies public/ into dist/ (the sahajatlas app, on Pages)". ⚠ :31 already reads design.sahajatlas.com — #279 reconciled it, so do not re-sweep that line |
docs/testing.md:239-247 |
the production lane's reasoning: "The custom domain and the vendor host serve one build, and their headers can diverge", max-age=14400 against max-age=0 on *.pages.dev, and "A preview is on a vendor host either way". Past tense — ⚠ this is the #148 and #138 record |
docs/testing.md:288-305 |
the non-vacuity measurement and the #148 story, both recorded against *.pages.dev. ⚠ :299-305 already instructs the re-measure and names the unknown X-Robots-Tag finding: perform both and write the numbers in, rather than rewriting the instruction |
tests/smoke/cache-headers.smoke.test.ts:17 |
"sahajatlas.com served max-age=14400, while *.pages.dev served max-age=0" — a past measurement, so the tense is the fix |
tests/smoke/boot-origins.smoke.test.ts:11-14 |
"Production sets VITE_HOST in the Pages dashboard" — the variable is gone (#198) and so is the dashboard |
tests/smoke/spa-fallback.smoke.test.ts:5-15 |
"A direct GET /search only returns the app if the public/_redirects fallback (/* /index.html 200) is deployed" — it is assets.not_found_handling now. ⚠ Keep the #3 breadcrumb and the widget-routing paragraph |
src/lib/report.sentry.test.ts:339 |
the fixture URL https://sahajatlas.pages.dev/assets/App-C5ZV2wC2.js. A literal under test; rewrite it to the live host or account for it as a fixture, deliberately either way |
CHANGELOG.md:594-599 |
"the pages.dev host every check ran against served max-age=0" — a record of a past measurement. ⚠ Past tense only; this is the #148 record |
README.md:185-189 |
"Two Cloudflare sites build from this repo" — the count survives the move, so check it still reads true rather than assuming it does. :193-196's token sentence is already platform-neutral |
⚠ docs/rules/code-comments.md forbids dropping a ⚠ line, a #NNN breadcrumb or a cross-repo
pointer. #148's record and the first-come-first-served measurement both live in the files above
(docs/testing.md:80-83, :288-305, CHANGELOG.md:594-599). Compress; do not clear-cut.
Do not sweep react-circle-flags.pages.dev — a third-party CDN, unrelated to our account
(README.md:101, docs/embedding.md:793).
After the sweep, four live hits remain today, and each must end as past tense or a named
fixture: src/lib/report.sentry.test.ts:339, docs/testing.md:297,
docs/rules/deployment.md:26, docs/embedding.md:800 and :969.
Deleting the Pages project (attended, and ordered)
The order is forced, and every step has already been measured as a wall:
- Hostname off and confirmed gone. Otherwise deletion takes the DNS record the new address
depends on. - Clear past deployments. Over 100 deployments blocks a project delete, and
sahajatlasran
400+ builds a month before the 2026-10-09 watch-path change. - Remove the active production deployment — the bulk tool refuses to touch it.
- Delete the project.
Write the steps that actually worked into #266: the next person meets the
same wall, and that goal makes it a success line. Then record in the goal that there is now no
way back other than building a site from scratch, and that sahajatlas.pages.dev is free for
anyone to take — Cloudflare publishes no reservation for a released name, and
docs/testing.md:80-83 is our own measurement that these names are first-come-first-served.
The account inventory
Every Cloudflare site in the account listed and accounted for — moved, deliberately kept, or
deleted — with the reason written down, and nothing left behind for an address that has moved
(a stale DNS record, an orphaned custom domain, a redirect rule pointing at a deleted project).
#252 owns syatlas, atlas.sydevelopers.com and
atlasreact.sydevelopers.com. List them as accounted for elsewhere rather than touching them —
that ticket takes the opposite position on deleting an address, holding that redirecting is safer.
Interfaces
Consumes
- From ci(smoke): publish and read our own atlas preview, not Cloudflare's #282, landed as ci(smoke): publish and read our own atlas preview, not Cloudflare's #299 on 2026-10-26: a green
pull-request gate on Workers. ⚠ It did not shipwrangler previewas that ticket
specified —wrangler previewgives an assets-only Worker a placeholder script that serves the
SPA fallback to browser navigations alone (docs/testing.md:61-67), so the lane publishes with
versions upload --preview-aliasandscripts/assert-preview-host.mjschecks the address.
Readdocs/testing.md:60-90before relying on any preview behaviour here. - From chore(build): serve the atlas app from a Cloudflare Worker #280: the app Worker, and both variable sets read back against a
pre-move list — the evidence this cutover rests on. ⚠ ci(smoke): publish and read our own atlas preview, not Cloudflare's #282 records that
chore(build): serve the atlas app from a Cloudflare Worker #280 closed with its attended Cloudflare phase undone; ci(smoke): publish and read our own atlas preview, not Cloudflare's #299's publish step provisions the
sahajatlasWorker on first run, so confirm what exists in the account rather than assuming
either way. - From chore(build): move the Ladle playground to Cloudflare Workers #279: the
public/_headersACAO rule (what makes the typeface and
flags render on a partner page) and the_redirects-versus-not_found_handlingmeasurement,
both now indocs/rules/deployment.md:47-69. ⚠ Its finding 3 is still unrecorded — nothing
says whether a Worker route can front a live Pages CNAME — so this ticket establishes it. - From ci(preview): move the Ladle site to Workers and fail on no preview WeMeditateWeb#184, landed as ci(preview): move the Ladle site to Workers and fail on no preview WeMeditateWeb#189 on 2026-10-26: the We
Meditate library move, which Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266's order puts before this one.
Provides
- The goal's last step. Nothing waits on it inside the goal; Preview checks build on GitHub Actions SahajCloud#903 waits on the
whole goal. - The first
X-Robots-Tagand smoke-count measurements of a Workers-servedsahajatlas.com,
whichdocs/testing.md:299-305is waiting for.
Phases
- Repo-side, one PR.
public/_redirects,docs/embedding.md:800and:964-969,
theCHANGELOG.mdentry, and the doc sweep. ⚠ This PR is pushed but merged only at the
cutover, because deleting the catch-all while Pages still servessahajatlas.combreaks
every deep link on the live site. State that on the PR. - Attended — the three reads, each written into Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266 before anything
moves. Read 2 and read 3 are destroyed or made unreliable by what follows. - Attended — the cutover. Hostname off Pages → confirmed gone → Custom Domain on the Worker,
with both clock times logged and the fifteen-minute rollback ceiling in force. - Attended — verification, in the order above, with the two browser passes inside the
ten-minute window, and the two measurementsdocs/testing.md:299-305asks for. - Attended — delete the Pages project, in the four ordered steps, and write what worked into
the goal. - Attended — the account inventory.
A run does the repo-side phase only, opens the PR, and hands back with the list of phases 2–6.
Acceptance criteria
The three pre-move reads
- A week of hourly request counts for
sahajatlas.comis written into
Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266, and the hour chosen is the quietest in that reading, named with
its number. -
sahajatlas.pages.dev's request count over its last month is written into
Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266 as a number, read before the hostname came off it. - The partner page and the contact person are written into Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266, read from
Discovered Embeds plusmanagers/primaryContacton asahaj-atlas-clientrecord —
not from chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252's stale 2026-08-14 examples.
The cutover
- The clock time
sahajatlas.comstopped answering and the time it answered again are both
written into Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266, and the gap is under fifteen minutes. - If it did not answer at fifteen minutes, the hostname went back to Pages before anything
else was tried, and that is recorded. - The hostname was removed from the Pages project and confirmed gone before the project
was deleted, and the Worker holdssahajatlas.comin its own right rather than sitting in
front of the Pages DNS record. - Whether a Worker route can front a live Pages CNAME is recorded in
Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266 — chore(build): move the Ladle playground to Cloudflare Workers #279's finding 3, still unanswered at
0fe62a9— and the method actually used is named.
Verification
- The partner page from read 3 was opened immediately before and within ten minutes after,
once in a browser that had never loaded the atlas and once in one that had. Both times the
map drew, pins appeared, and clicking a pin opened a class. - On that page the atlas's own typeface and its country flags render, not the host's
fallback font. -
sahajatlas.com/searchshows the search page in a fresh tab and again after a refresh. -
sahajatlas.com/this-does-not-existserves the atlas shell, not a "not found" page. -
/auto.jsand/embed.jsreturnCache-Control: public, max-age=0, must-revalidate,
Access-Control-Allow-Origin: *andX-Robots-Tag: noindex, and come back as JavaScript
rather than the SPA shell — content type, not status. -
PREVIEW_URL=https://sahajatlas.com pnpm test:smokepasses, and any spec that does not is
named in this ticket with the reason.tests/smoke/spa-fallback.smoke.test.tsis named
either way, with the status itsfetchgot. - The 17-case count against
sahajatlas.comis re-measured after the move and written into
docs/testing.md, which asks for it at:299-305. - Whether the Workers-served
sahajatlas.comaddsX-Robots-Tag: noindexof its own accord
is recorded besidedocs/testing.md:302-305. No assertion in
tests/smoke/robots.smoke.test.tsorcache-headers.smoke.test.tswas weakened to
accommodate the answer. - A run of
Production Smokestarted on its own within an hour of the move and says it
readsahajatlas.com. It never appearing counts as a failure, not a pass.
What partner sites read
-
docs/embedding.md:800'ssahajatlas.pages.devoffer is gone, and the "Two hosts" table at
:964-969names one host, its heading and the prose after it included. - A row whose cell reads exactly
`<host>` | the production domainsurvives in table
form, andpnpm lint && pnpm typecheck && pnpm test:runpasses after the edit —
scripts/ci-workflows.test.ts:30-34reads that row. -
CHANGELOG.mdcarries an entry under Removed, flagged ⚠ BREAKING, naming
https://sahajatlas.comas the replacement. -
grep -rn 'sahajatlas\.pages\.dev' . --exclude-dir=node_modules --exclude-dir=.gitreturns
only past-tense records and named test fixtures — no place where we publish or point at the
host.
public/_redirects
-
public/_redirects:9's/* /index.html 200is gone. The file is deleted outright unless
chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252's/map / 301rule landed first, in which case that rule
survives and only the splat and the Pages comment go. -
scripts/wrangler-config.test.tspasses, and its rationale comment at:125-129no longer
explains a file that exists.docs/rules/deployment.md:51-62matches. - Whether
pnpm buildandpnpm build:workerstay two scripts is decided in one line in the
PR body, not left implicit. -
tests/smoke/spa-fallback.smoke.test.tspasses againstsahajatlas.comafter the move.
The deletion and the inventory
- The
sahajatlasPages project is deleted, and the steps that actually worked — clearing
past deployments, removing the active production deployment, then deleting — are written
into Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266. - Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266 records that there is now no way back other than building a site
from scratch, and thatsahajatlas.pages.devis free for anyone to take. - Every Cloudflare site in the account is listed and accounted for — moved, kept or deleted —
with the reason, and nothing is left behind for an address that has moved. -
syatlas,atlas.sydevelopers.comandatlasreact.sydevelopers.comare listed as
accounted for by chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252, and were not touched here.
The doc sweep
- Every row of the sweep table is rewritten in the past tense or accounted for as a pinned
test fixture, and nothing already covered by chore(build): move the Ladle playground to Cloudflare Workers #279, chore(build): serve the atlas app from a Cloudflare Worker #280 or ci(smoke): publish and read our own atlas preview, not Cloudflare's #299 is
re-swept or contradicted. -
docs/rules/deployment.mdstill reads as the one place the topology is written down, and
every file that points there still points there rather than restating it. - No
⚠line,#NNNbreadcrumb or cross-repo pointer was dropped. chore(build): stop the sahajatlas.com zone overriding the loader's Cache-Control #148's record and the
first-come-first-served measurement both survive. -
react-circle-flags.pages.devis untouched. - No file under
.claude/was written.
Verification checklist
Repo-side — runnable cold
-
pnpm install && pnpm lint && pnpm typecheck && pnpm test:run && pnpm build && pnpm size—
all green. -
grep -n 'the production domain' docs/embedding.md— the row is still a table row with a
backticked host in the first cell. -
pnpm vitest run scripts/ci-workflows.test.ts scripts/wrangler-config.test.ts— both pass. -
test ! -e public/_redirects, or if chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252 landed first,
grep -n '/index.html' public/_redirectsprints nothing and
git diff origin/main -- public/_redirectsshows the/maprule retained. -
grep -rn 'sahajatlas\.pages\.dev' . --exclude-dir=node_modules --exclude-dir=.git— every
hit is past tense or a named fixture. -
grep -rn '_redirects' docs/ public/ scripts/ tests/ README.md— every hit describes a file
that no longer exists in the past tense, or isscripts/wrangler-config.test.ts's pin. -
grep -n 'BREAKING' CHANGELOG.md | head -5— the new Removed entry is among them. -
git diff origin/main -- '*.md' public/ scripts/ tests/ src/ | grep -E '^-.*(⚠|#[0-9]{2,3})'
— every hit is a line reflowed or rewritten rather than dropped, confirmed one by one
against the+side of the same hunk. -
git diff --name-only origin/main | grep '^\.claude/'prints nothing.
Attended — a person runs these
- Read the zone analytics for
sahajatlas.comover the trailing seven days at hourly
resolution. Paste the reading and the chosen hour into Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266. - Read
sahajatlas.pages.dev's request count for its last month, before touching the
hostname. Paste the number into Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266. - In SahajCloud admin, open a
sahaj-atlas-client→ Discovered Embeds, pick a key with a
real pathname, and read that client'smanagersandprimaryContact. Paste both into
Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266. - Try adding a Worker route for
sahajatlas.comwhile the Pages CNAME is still live, and
record what Cloudflare answered. That is chore(build): move the Ladle playground to Cloudflare Workers #279's finding 3. - Note the time. Remove
sahajatlas.comfrom thesahajatlasPages project, confirm it is
gone, then add it as a Custom Domain on the app Worker. Note the time it answers again. -
curl -sI https://sahajatlas.com/embed.js | grep -iE 'content-type|cache-control|access-control-allow-origin|x-robots-tag'.
Repeat for/auto.js. -
curl -sI https://sahajatlas.com/robots.txt | grep -i content-typereturnstext/plain. -
curl -sI https://sahajatlas.com/search | grep -i x-robots-tagand the same for
/this-does-not-exist— that is theX-Robots-Tagfinding above. - Open
https://sahajatlas.com/searchin a fresh tab, then refresh. Then open
https://sahajatlas.com/this-does-not-exist. - Open the partner page from read 3 in a never-used browser profile and in your usual one:
map draws, pins appear, clicking a pin opens a class. Confirm the typeface and the country
flags are ours. -
PREVIEW_URL=https://sahajatlas.com pnpm test:smoke— record the pass count and name every
failure. - Within an hour of the move, find the
Production Smokerun that started on its own and read
the host it says it read. If there is none, that is a failure. - Clear the
sahajatlasPages project's past deployments, remove the active production
deployment, then delete the project. Record what each step needed. - List every Cloudflare site in the account and write the disposition and reason for each into
Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266.
Notes
Blocked by: ci(smoke): publish and read our own atlas preview, not Cloudflare's #282 — every same-repo pull request goes red the moment the app's host stops matching the Pages-shaped discovery, so the preview lane is rewritten before the domain moves— cleared 2026-10-26, landed as ci(smoke): publish and read our own atlas preview, not Cloudflare's #299.Blocked by: ci(preview): move the Ladle site to Workers and fail on no preview WeMeditateWeb#184 — the goal's order moves both component libraries before sahajatlas.com— cleared 2026-10-26, landed as ci(preview): move the Ladle site to Workers and fail on no preview WeMeditateWeb#189.- A run does the repo-side phase, opens the PR, and hands back with the list. Phases 2–6 above
are attended Cloudflare, DNS and SahajCloud-admin work, and no cloud run can take any of them.
The hand-back names them in order. .claude/workflow.json's two attended edits have landed — verified at0fe62a9.
securityReview.triggerPatternnow matches(^|/)wrangler[^/]*\.jsonc?$and
public/_(headers|redirects)$, so the files deciding what the Worker serves no longer escape
the security review; anddeployTargetreads "Cloudflare Workers static assets (sahajatlas,
sahajatlas-design); sahajatlas.com stays on Cloudflare Pages (sahajatlas) until Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266's
cutover". ⚠ One clause ofdeployTargetgoes at the cutover, and it is still a protected
path — a cloud run that writes it waits out its lease having written nothing. Deliberately
not an acceptance criterion. ci(preview): move the Ladle site to Workers and fail on no preview WeMeditateWeb#184 records the same finding for its own
copy.- Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266's "one month after each move, the Cloudflare bill matches the month
before" criterion spans all three moves and stays on the goal, not here. Nothing in this
ticket can be judged against it. - Siblings, in build order: chore(build): move the Ladle playground to Cloudflare Workers #279 (the Sahaj Atlas library, the rehearsal),
ci(preview): move the Ladle site to Workers and fail on no preview WeMeditateWeb#184 (the We Meditate library, merged as ci(preview): move the Ladle site to Workers and fail on no preview WeMeditateWeb#189),
chore(build): serve the atlas app from a Cloudflare Worker #280 (the app's Worker), ci(smoke): publish and read our own atlas preview, not Cloudflare's #282 (the preview lane, merged
as ci(smoke): publish and read our own atlas preview, not Cloudflare's #299), then this ticket.
Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266'sTechnical notestable carries the order. - chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252 (under Sahaj Atlas is ready for launch #255) plans the same
docs/embedding.md
table edit, the same ⚠ BREAKING changelog entry, and a/map / 301rule in
public/_redirects. None of it has landed at0fe62a9. Whichever lands second reconciles.
Our Cloudflare Pages sites move to Cloudflare Workers, at no extra cost #266 is explicit that the two must not move one host at the same time.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Hold Until
Projects
- StatusShow more project fieldsDone
Activity
sydevs-bot commentedon Oct 13, 2026
🤖 no session running
recent dispatches
Written by the sydevs dispatcher. Sessions never edit this comment.
sydevs-bot commentedon Oct 26, 2026
Unblocked: both blockers closed 2026-10-26 — #282 via #299, sydevs/WeMeditateWeb#184 via sydevs/WeMeditateWeb#189. Re-read against
0fe62a9:AGENTS.md, so both its rows are gone. The topology now lives once indocs/rules/deployment.md, the new centre of the sweep.public/_redirects:9. chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252's/maprule has not landed, so the file is deleted outright.scripts/wrangler-config.test.ts:131-143keeps passing onpackage.jsonalone — named as a trap.docs/testing.md:299-305wants the 17-case re-measure, and leaves open whether a Workers host addsX-Robots-Tag: noindexitself. Four smoke assertions turn on it..claude/workflow.json's two attended edits have landed. OnedeployTargetclause still goes at the cutover.🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
fix(deploy): word the Pages retirement for the cutover
docs(deploy): record the sahajatlas.com cutover to Workers (#283) (#344)
Ardnived commentedon Oct 30, 2026
Done 2026-10-30.
sahajatlas.comis served by thesahajatlasWorker as a Custom Domain. ThesahajatlasPages project is deleted, with its 699 deployments, andsahajatlas.pages.devno longer resolves.Verified after the move (details in #344):
max-age=0, must-revalidate,ACAO: *andnoindex. Fonts serveACAO: *.sahajatlas.com: 17/17 locally.sahajatlas.com, and passed: https://github.com/sydevs/SahajAtlasWeb/actions/runs/40984109126shrimataji.org/test/kn/meditation-centers-in-uk/: before and after the move, the map draws anddata-sahaj-atlas-readyis set.Reads taken before the move:
sahajatlas.comcarried about 250 requests a day over the week before (one 3.5k spike on 2026-10-26).Not recorded:
sahajatlas.pages.dev's monthly count: our API token couldn't read it, and it is now gone.X-Robots-Tagby itself: undeterminable on this account. Seedocs/testing.md.Found along the way: #343. Turnstile only accepts allowlisted hostnames, so partner sites need their own entry.
shrimataji.orgwas added by hand as a stop-gap.🤖 Generated with Claude Code
fix(widget): serve country flags from our own origin, follow the loca…
fix(docs): name the Worker fallback, not the deleted file