Skip to content

The old atlas is switched off, and every site shows the new one #426

Description

@Ardnived

The goal

The last site still showing the old map moves to the new Sahaj Atlas, and the old atlas is then switched off for good: its addresses forward to the new atlas until an announced date, and after that its server, database and emails are deleted.

Why it matters

The move to the new atlas is done for every site but one. sahajayoga.nl still shows the old map, with data frozen on the day the old editing site closed, so its visitors see classes that are no longer kept up to date. The old atlas is still running so that page keeps working, and so the old addresses keep answering, which costs money and keeps a second system alive.

What success looks like

These happen in this order. The traffic check comes before any forwarding, because once an address forwards there is nothing left on the old one to count. The deletions come last, because none of them can be undone.

  • 1. sahajayoga.nl shows the new atlas, with its own new key, instead of the old map.
  • 2. The traffic on the three old addresses has been checked and written down, and every site still using one has been identified — whether it shows the map or only links to it.
  • 3. Those site owners have been written to, with the end date, before it arrives.
  • 4. atlas.sydevelopers.com and atlasreact.sydevelopers.com forward to the new atlas until the end date, someone who follows one lands on a working map rather than an error screen, and the forwarding keeps working after the old server is switched off.
  • 5. The embedding guide and the change log tell host sites that the old addresses are going away, naming the address that replaces them and the end date.
  • 6. Nobody can sign up for a class through the old atlas any more.
  • 7. After the end date, the old atlas's server, database and outgoing emails are switched off and deleted, and the three addresses are released.

Not included

  • A written list of every client site, side-by-side class checks, hand-tested old links and a 30-day "seen running" check. These were success lines on Sahaj Atlas is ready for launch #255 and were dropped when it closed: the checked final import and the emails to every manager and service manager already covered them.
  • Translating old-style links to the exact class they named (decided on Sahaj Atlas is ready for launch #255).
  • Keeping pages that load the old atlas as a script working. Such a page asks for a map by a name the new atlas does not answer to, so no forwarding can make it show the new map; it stops showing a map instead. Both sites that loaded it that way have already moved.
  • Forwarding syatlas.pages.dev. It is not an address we control, so nothing can be put in front of it. It is switched off at the end date rather than forwarded.
  • Naming which site each request to an old address came from. We can count the requests and see which sites they came from in the round, but identifying every sender by name needs reporting we do not have on these addresses.
  • The two Wix sites. sahajayoga.ca has its own goal, and sahajayoga.org.uk uses the same setup screen when its volunteer is ready.
  • Telling us automatically when a site's map stops working.

Decisions

  • What does "switched off" include? → Everything, once the forwarding ends: the server, database, emails and the three addresses are all deleted, and no copy of the old database is kept. A released address becomes claimable by anyone. (Ardnived, 2026-10-21)
  • Do the old addresses forward forever, or get a deadline? → A dated end, with a letter to each site owner first. The date is set by when their replies can come back, not by when the work is done. (Ardnived, 2026-10-21)
  • Are old-map sign-ups taken after the final copy imported? → No. They stay email-only and are never imported. (Ardnived, 2026-11-12)
  • Is switching the old atlas off its own piece of work? → Yes, after the client sites move, as a follow-on to the launch. (Ardnived, 2026-11-12; filed 2026-11-18)

Open questions

  • 1. When do the old addresses stop forwarding and everything get deleted?
    • A — 31 January 2027, counted from the day the forwarding goes live (recommended): about ten weeks, across the holidays, for the sahajayoga.nl owner and anyone else still on an old address to reply and move. Nothing forwards to the new atlas today, so the letters cannot honestly go out before that is in place.
    • B — 31 January 2027, counted from today: keeps the date already discussed, but anyone who checks an old address before the forwarding is in place sees the old map and reasonably ignores the letter.
    • C — 31 December 2026: stops paying for the old atlas sooner, with less time for a site owner who is slow to reply.
  • 2. Does "no copy of the old database is kept" also cover the copies saved inside the new system?
    • A — No. The promise covers the old atlas's own database and its backups (recommended): when the classes were imported, each old record was also kept word for word beside the new one. Those copies are how we can still explain where a listing came from, and they stay.
    • B — Yes. Those copies go too: nothing of the old data survives anywhere, but we lose the only link back to where each listing came from, and removing them is a separate piece of work inside the new system, done after the old server is gone.
  • 3. Before the old database is deleted, do we take out the list of who was ever given a key to it?
    • A — Yes, the key list and when each was last used, and nothing else (recommended): a handful of lines, no personal details. It is the only complete answer to "is any other site still using this", and after the deletion the question can never be answered.
    • B — No, take nothing out: honours the promise most strictly, and we rely on the traffic check alone.
  • 4. sahajayoga.be sends visitors to one of the addresses we are releasing. What do we do?
    • A — Write to them too, asking them to link to the new atlas instead (recommended): one more letter, and the only option that lets us release the address cleanly. The new atlas already serves the same Belgian page.
    • B — Release it anyway on the end date: no work, but a Sahaja Yoga site would then be sending visitors to an address anyone may have taken over.
    • C — Keep that one address alive indefinitely, pointing at the new atlas: removes the risk, but leaves a piece of the old estate running and contradicts releasing all three.

Notes

Follows #255 (the launch), which this goal's work was left over from, and #252 (the switch-off plan). #252 closed with the writing half of its plan unfinished; success line 5 carries it.

The old atlas lives outside the five repos the loop works in, so most of this goal is done by hand: the Heroku app, the Cloudflare Pages project and the DNS records.

Technical notes

TL;DR

  • Settled: nothing forwards to the new atlas yet, and the /map redirect that exists is the Rails app's own — it dies with the server, so a zone rule must replace it before the delete. The forward must drop key, or the frame shows the configuration-error screen.
  • Risky: atlasreact.sydevelopers.com and syatlas.pages.dev are one Cloudflare Pages project, so deleting it releases the one and breaks the other in a single action. sahajayoga.be links to syatlas.pages.dev, which becomes claimable by anyone. chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252's documentation half never landed and nothing else owns it.
  • Unknown: whether any site beyond sahajayoga.nl and sahajayoga.be still uses an old address — client records store no loader URL, so only the zone's traffic or the old database's issued-key table can say. Who receives rails mail:events is also unread (the old Rails source is unreachable from the loop).
Live state, measured 2026-11-18 ~18:00Z
Thing What it does today Evidence
sahajayoga.nl/locatelessons/ <iframe src="https://atlas.sydevelopers.com/map?key=f655b7d2-aeb0-47cd-b702-c1bfac206124&locale=nl" width="400" height="600> — the height quote is unclosed page HTML
atlas.sydevelopers.com/map?… 301 → atlasreact.sydevelopers.com/?…, path dropped, key kept; carries via: 2.0 heroku-router, x-runtime curl -I
atlas.sydevelopers.com/ 200, the old Rails splash page curl
atlas.sydevelopers.com/managers*, /cms* 301 → cloud.sydevelopers.com/admin, no Heroku headers — already a Cloudflare rule on the zone curl -I
atlas.sydevelopers.com/embed.js 307 → syatlas.pages.dev/embed.js, cached max-age=14400 curl -I
atlasreact.sydevelopers.com/embed.js, syatlas.pages.dev/embed.js 200, 3091 bytes, identical etag: "3829cf8251381a611f6160d566379397" — one Pages project curl -I
sahajatlas.pages.dev unreachable, no connection curl — #252 measured 200 on 2026-10-28; #283's project delete has taken effect and docs/embedding.md:1086 is now accurate
wemeditate.com/map sahaj-atlas from sahajatlas.com, no legacy name curl — sydevs/WeMeditateWeb#160 shipped
sahajayoga.be/ <a href="https://syatlas.pages.dev/countries/BE"> — a link, not an embed page HTML; sahajatlas.com/be answers 200
Heroku app sahajatlas alive (/api/countries.json → 400 Missing api key); Scheduler keeps only rails mail:events curl; cutover log 2026-11-13
The forward: what it must do, and why it cannot wait
  • Drop key. The legacy ?key= UUIDs are the record's clientId — "Auto-generated, or the Atlas public key for imported services" (SahajCloud/src/collections/Clients/Clients.ts:986) — not an API key. SahajAtlasWeb/src/main.tsx:25-28 prefers ?key= over the built-in key, so a query-preserving forward authenticates with a clientId and renders the configuration-error screen. Keep locale; it still applies.
  • With key dropped the frame boots on sahajatlas.com's own VITE_SAHAJCLOUD_API_KEY as the generic client, so it opens the world list rather than the Netherlands. That is why sahajayoga.nl needs its own key before the forward goes on.
  • Only a zone rule can drop a query parameter, and the /managers* rule proves a Cloudflare Redirect Rule already works on sydevelopers.com. The /map and /embed.js redirects are Rails routes and disappear with the dyno.
  • syatlas.pages.dev cannot take one — *.pages.dev is not our zone. It shares a Pages project with atlasreact.sydevelopers.com, so the project delete releases the first and breaks the second together.
  • Forwarding /embed.js is meaningless. The legacy loader defines syatlas-map; the new one defines sahaj-atlas. A page declaring the old element gets a blank box whatever it is served. Both script consumers have moved.
  • The 307 and atlasreact's embed.js are cached max-age=14400, so a browser can follow the old chain for four hours after a repoint. Check any forward in a private window.
Moving sahajayoga.nl
Step Why
Issue a new key on its client record The UUID in the old iframe is that record's clientId, not an API key
Use the script embed, not an iframe ⚠ siteHosts(domain) is the whole origin allowlist — one domain plus its www twin, no second domain (SahajCloud/src/lib/clients/site.ts, docs/rules/clients.md). An iframe on sahajatlas.com using this record's key sends Origin: sahajatlas.com and is refused every read. The script embed on the site's own domain is the only shape that passes both the captcha gate and origin enforcement
Its domain is already registered GET /api/atlas/challenge?parent=https://sahajayoga.nl answers 200 (example.org answers 403), so an active record with that site.domain exists. Whether its key has been revealed to the owner needs a manager login
Point the owner at the Install tab The guided setup screen from sydevs/SahajCloud#1055, shipped. The site is WordPress and sydevs/SahajAtlasWordpress is what sahajayoga.at runs
Drop the fixed width="400" It overflows a narrow phone. This is HTML on the owner's own site — a line in the letter, not our change

⚠ The two review lenses disagreed on whether clients.clientId still exists. It does, at Clients.ts:986. What #252 got wrong is allowedDomains, which since sydevs/SahajCloud#1058 survives only as a virtual field computed from site.domain — its advice to "add sahajatlas.com to allowedDomains" is no longer possible.

The old atlas still accepts public sign-ups: the legacy bundle posts to /events/:id/registrations.json. Every one taken between now and the delete lands in a database nobody keeps.

The repo work, and what already owns part of it
  • Unowned, and this goal's success line 5. docs/embedding.md and CHANGELOG.md name none of the three retired hosts and no end date; syatlas-map appears nowhere in the repo. SahajAtlasWeb/CLAUDE.md makes both mandatory for anything a host can observe, and retiring three origins is the largest such change left. chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252 could not land it without an end date, which open question 1 sets.
  • Already in flight, not this goal's work. docs(deployment): correct what #252 left promising, and wemeditate.com's build #425 corrects the stale #252 and wemeditate.com breadcrumbs in wrangler.jsonc, scripts/wrangler-config.test.ts, docs/rules/deployment.md, docs/security-triggers.md, .env, src/lib/fallback-url.ts and docs/environment.md.
  • No live reference to the old hosts survives in any of the five repos — only test prose and ⚠ warnings.

Build plan, one line per repo:

  • sydevs/SahajAtlasWeb — the retirement entries in docs/embedding.md and CHANGELOG.md (three hosts, the replacement URL, the end date, and that a page declaring <syatlas-map> gets a blank box). Nothing else.
  • sydevs/SahajCloud — no code. One client record gains a newly issued key; its domain is already set. Only open question 2 answered B adds work here: a migration dropping legacyId/legacyData from five collections (src/fields/legacyFields.ts, which keeps "the complete raw source record (verbatim)").
  • Outside the repos — the zone Redirect Rules, the Heroku delete, the Pages project delete, the DNS records.

Activity

  1. added this to the Sahaj Atlas v3.1 milestone on Nov 18, 2026
  2. added theissue type on Nov 18, 2026
  3. added
    bot:working
    on Nov 18, 2026
  4. sydevs-bot commented on Nov 18, 2026

    @sydevs-bot
    Contributor

    🤖 no session running

    recent dispatches
    • 17:54Z revise-roadmap · attempt 1 · session · done
    • 17:54Z revise-roadmap · attempt 1 · session

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

  5. moved this from Awaiting to Working in SYDevelopers Technical Roadmapon Nov 18, 2026
  6. sydevs-bot commented on Nov 18, 2026

    @sydevs-bot
    Contributor

    Reviewed from three angles, and re-measured the old estate today.

    What changed

    • Nothing forwards to the new atlas yet, and the /map redirect that does exist is the old server's own. The forwarding must be rebuilt on Cloudflare before the server is switched off. The success lines are now in order.
    • atlasreact.sydevelopers.com and syatlas.pages.dev are one project — deleting it releases the first and breaks the second in the same action.
    • A fourth site: sahajayoga.be links to syatlas.pages.dev, which we are releasing.
    • chore(build): cut every client over to sahajatlas.com and retire the legacy hosts #252 closed with its writing half unfinished. Success line 5 carries it.
    • Dropped the old option C. The 2026-10-21 decision already rules out setting the date by when the work is done.

    What I need from you
    Four decisions, in ## Open questions. Reply @sydevs-bot revise 1A 2A 3A 4A, or in your own words.

    Once nothing is open, @sydevs-bot implement files one ticket per repo and starts building them.

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


    Generated by Claude Code

  7. removed
    bot:working
    on Nov 18, 2026
  8. moved this from Working to Awaiting in SYDevelopers Technical Roadmapon Nov 18, 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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions