Repository navigation
Description
The goal
Everything a visitor sends us — signing up for a class, or reporting a problem with a listing — goes through one safe, consistent path, and we can show that it works.
Why it matters
Each kind of submission used to have its own path, with its own gaps in spam protection and its own way of reaching a person. Both atlas forms have been on the one shared path for weeks, and every piece of work filed under this goal is now closed.
One thing is still outstanding, and it is the same one as last time: nobody has sent a sign-up or a problem report from the live site and watched it arrive. Until someone does, we are reading the code rather than watching it work.
The other worry is settled. Since 3 November the spam check only loads on sites we hold a record for, which looked like it would turn visitors away on partner sites we had not listed. sydevs/SahajCloud#1077 checked that against the real data on 11 November: of the 48 places the map is known to run, one is refused, and it is a developer's own test entry. No partner site running the map today is being turned away. The one thing that check could not see is the WordPress sites, because none of them has told us it is running the new map yet — and the test below is what settles that.
The digest of wrongly refused sign-ups, agreed on 21 October, is now built as part of sydevs/SahajCloud#1070, alongside every other manager email, rather than here.
What success looks like
- Both atlas forms — signing up for a class, and reporting a problem — arrive in the one submissions list, each marked with what kind it is.
- A visitor can report a problem using an ordinary email address, including a Gmail, Yahoo or Outlook one. (Repaired on 11 October and live since.)
- The spam check on the live site is the real one, not the test setting that accepts everything, and it cannot quietly revert to that setting. If the test setting ever reaches the live site, both forms stop and an error is recorded, rather than everything passing unnoticed. (Real since 3 November, re-checked 11 November.)
- A test sign-up and a test problem report, both sent using an ordinary email address, are accepted and arrive within fifteen minutes — the sign-up as a confirmation email, the report in the general contact inbox. Both are sent from sahajatlas.com and from a partner site that shows the map inside its own page. (No code left. Ardnived runs this test by hand, from sahajatlas.com and shrimataji.org; handed over when the goal closed, 2026-11-18.)
- When either form turns a visitor away, it tells them what to change, in the same words for both forms. No submission ends in a bare "something went wrong".
Not included
- New kinds of forms. Adding a class or suggesting a correction from the map belongs to Anyone can submit a class or suggest a correction, safely #257, not here.
- Offering visitors a mailing-list opt-in when they sign up for a class. The receiving side is ready for it, but asking for that consent is a new question on the form, and needs its own wording.
- Replacing how spam is detected. This goal is about every form being checked the same way, not about changing the checks.
- Confirming that a message we accepted was also delivered. Accepting a submission and delivering it are separate steps, and delivery reliability is its own goal.
- The digest of refused sign-ups. Agreed here on 21 October, it is built by feat(atlas): open-items homes, per-role digests, simpler preferences SahajCloud#1070 under Every Atlas manager gets a digest and a home shaped for their role SahajCloud#1067, as the "Refused sign-ups" notification preference beside every other manager email. Building it here would duplicate that work.
- Noticing on our own that a site's map has stopped working. Nothing tells us today when a site is turned away — see the Technical notes. That is worth fixing, and it is a separate goal, not a condition of this one.
Decisions
- Who runs the last live test, and does the goal wait for it? → Ardnived runs it by hand; the goal closes with the launch milestone. (Ardnived, 2026-11-18)
- Where should a problem report about the map land? → The general contact inbox. Nothing to set up; corrections share it with every other message. (Ardnived, 2026-10-21)
- What should happen when the spam check wrongly refuses a real class sign-up? → "Notify admins in a digest email, make it configurable via the notifications preferences like all other notifications." Every refusal reaches admins in a digest. Delivered by feat(atlas): open-items homes, per-role digests, simpler preferences SahajCloud#1070, not this goal. (Ardnived, 2026-10-21; moved 2026-11-05)
- How do we keep the live site's spam check from quietly reverting to the test setting? → Accept what guards it now: if the live site ever carries the test setting, it serves no spam check at all, so both forms stop and an error is recorded. No release check is added. This replaces the 21 October answer, whose release check was removed when the spam check moved onto our own servers. (Ardnived, 2026-11-05)
Open questions
None.
Notes
All thirteen pieces of work under this goal are closed. The last, sydevs/SahajCloud#1077, closed on 2026-11-11 having found no partner site turned away. The production spam-check secret was read on 2026-11-05 and is not the test one (Ardnived).
What is left needs a person with a browser, not code.
Related: #195, #214, #216, #257, #343, sydevs/SahajCloud#695, sydevs/SahajCloud#723, sydevs/SahajCloud#724, sydevs/SahajCloud#725, sydevs/SahajCloud#796, sydevs/SahajCloud#797, sydevs/SahajCloud#798, sydevs/SahajCloud#799, sydevs/SahajCloud#800, sydevs/SahajCloud#814, sydevs/SahajCloud#654, sydevs/SahajCloud#899, sydevs/SahajCloud#1072, sydevs/SahajCloud#1077, sydevs/WeMeditateWeb#78, sydevs/WeMeditateWeb#116
Technical notes
TL;DR
- Settled: production serves the real Turnstile sitekey
0x4AAAAAAEFpp8n3BBZfG0KFfrom SahajCloud's own/api/atlas/challengeframe (re-read live 2026-11-11:?parent=https://sahajatlas.com→ 200 carrying that key,?parent=https://example.org→ 403). Both forms map every refusal code from one shared table. - Settled 2026-11-11: fix(atlas): give every live embed host a service domain, which the captcha now requires SahajCloud#1077's audit (PR feat(atlas): audit the embed hosts the captcha challenge refuses SahajCloud#1106) found one refused mount of 48 stored,
http://lane.test/on the local test key. No live partner embed is blocked by the allowlist. - Unknown, and the one thing left: no submission has ever been sent from the live site. Criterion 4 settles both halves — whether the production secret pairs with the served sitekey, and whether a WordPress host passes the parent gate.
- Blind spot, newly measured: nothing observes a blocked embed.
REPORTED_KINDS['captcha-blocked'] = false(src/lib/report.ts:210), and the audit sees only hosts that report, so a turned-away partner page is invisible to both. Filed separately.
Verification, criterion by criterion (2026-11-11)
| Criterion | Verdict | Evidence |
|---|---|---|
| 1. Both forms in one list, each typed | met | createRegistration sends type: 'registration' (mutate.ts:201), sendReport sends type: 'contact' (:351), both to USER_SUBMISSIONS_PATH (:15). Re-read at main@9613b7a |
| 2. An ordinary email address is accepted | met | URL_PATTERN run over 12 providers: 0 refused, was 8. Live since 11 Oct (SahajCloud#899, #922). A link in a message body is still refused |
| 3. Real spam check live, cannot quietly revert | met | Probed production 2026-11-11: sahajatlas.com, wemeditate.com and shrimataji.org → 200 with 0x4AAAAAAEFpp8n3BBZfG0KF; example.org → 403. A test key in production → 503, the accepted guard |
| 4. A test sign-up and report arrive within 15 min | not done | Needs a real browser to pass Turnstile. GET /api/user-submissions → 403 and GET /api/clients → 403: an API client holds create-only, by design. Nothing blocks the test now |
| 5. Both forms say what to change | met | REFUSAL_MESSAGE_KEYS is a total Record over each synced union, sharing INPUT_REFUSAL_KEYS with the report form (ReportIssueForm/refusal-copy.ts). A new code fails the build rather than degrading |
| moved | To sydevs/SahajCloud#1070 § Preferences (refused_signups), which keeps PR #1052's registration-refusals collection and screening write |
What the #1077 audit settled, and what it could not reach
PR sydevs/SahajCloud#1106 merged 2026-11-11, adding scripts/audit-challenge-parents.ts, which calls the endpoint's own challengeParentAllowlist and isParentAllowed so it cannot judge against inputs the gate no longer uses.
Settled. 48 stored mounts, one refusal: http://lane.test/ on "Sahaj Atlas (Local Test Key)", kept in production by choice and named as expected in the runbook. shrimataji.org is the one partner service reporting the new widget, and it passes — confirmed independently here. So the 2026-11-05 fear, that unlisted partner hosts were turning every visitor away, is not borne out for any host production knows about. No domain fixes were needed.
Two gaps remain, and they are the same gap seen twice.
- The audit's own stated blind spot: a service's
embedMetadatarecords only mounts on its own domain (report.ts:148refuses a host outsidesiteHosts), so a partner page served on some other host is invisible to it. - No WordPress host site reports the new widget yet, so none appears among the 48. #1106 moved that ticket's "one WordPress host completes a registration" criterion into
seeds/atlas/AGENTS.mdas a re-sync runbook step. Criterion 4's partner-site half is the same test, so this goal still owns it.
Nothing watches for a blocked embed (measured 2026-11-11)
A parent-gate refusal fails the whole widget: useTurnstileGuard throws atlasError('captcha-blocked', …) during render into ErrorFallback, so the visitor gets error.captcha_blocked in place of the atlas.
That failure reaches nobody who could act on it:
REPORTED_KINDS['captcha-blocked'] = false(src/lib/report.ts:210), socaptureErrorreturns before loading the reporter and no Sentry event is ever sent. Its stated reason, that the report channel is itself Turnstile-gated, holds for the visitor-facing form but not forcaptureError, which posts to the Sentry DSN over its own fetch transport.config, the sibling host-misconfiguration kind, is reported.reportIntegrationWarningprints the advice to the host page's console, which only that host's own developer sees.- The #1077 audit cannot see the host either, per the blind spot above.
VerifyEmbedsis bounded to rows wheresite.domainandsite.pageboth exist (VerifyEmbeds.ts:77), and #1106 found no service hassite.page.
Checked live: SahajAtlasWeb's Sentry project carries zero unresolved issues in 14 days. That is not evidence the gate is fine — it is what this seam produces either way.
Flipping the flag is a judgement, not a fact: one broken high-traffic host would send an event per page view. So this is filed on its own rather than decided here, and it is listed under ## Not included.
What changed since the 2026-11-05 check
| Landed | What it did to this goal |
|---|---|
| sydevs/SahajCloud#1106, closing #1077 | The last open child. Proved production needs no domain fixes, so the goal is no longer waiting on anything the loop owns. Moved its WordPress registration criterion to a runbook — this goal's criterion 4 already covers it |
What is left
| Item | Who |
|---|---|
| Criterion 4 — one sign-up and one report from sahajatlas.com and from an inline partner embed, Gmail sender, each confirmed to arrive | a person with a real browser |
No code remains in any repo. shrimataji.org is a live partner embed that passes the gate, so the partner half of the test can be done today; a WordPress host would settle more, if one is to hand.
Facts settled, so they are not asked
| Question | Answer |
|---|---|
| Is the report path switched on in production? | Yes — form 3 "Report Issue Form": two required fields, textarea:message and email:email |
| Who receives a report? | Unreadable client-side by design (SahajCloud#813). A blank recipient falls back to [email protected] |
| Does a host see a change? | Yes, and it is already documented: frame-src https://cloud.sydevelopers.com is required, and challenges.cloudflare.com now belongs in no host directive (docs/embedding.md) |
| Who may frame the challenge? | Only an active client's site.domain and its www twin, a first-party frontend, a Workers preview, or loopback; allowedDomains survives as a virtual field over site.domain (SahajCloud#1058) |
| Can the loop read the submissions list, or the client list, to check an arrival? | No. Both answer 403 to the client key, by design |
| URL contract touched? | No — atlas-url-contract.json names no endpoint, form or submission |
Build vs buy, and priority
- Nothing to buy. The form-builder plugin is the buy, and is why this goal is mostly done. Replacing the screening and delivery stack is out of scope — its most valuable part, cross-intake sender history keyed on this table, no third party supplies.
- Priority stays Medium. Every child is closed and the one remaining step is a manual check, so nothing here is blocking a build.
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsDone
Activity
sydevs-bot commentedon Oct 8, 2026
🤖 no session running
recent dispatches
Written by the sydevs dispatcher. Sessions never edit this comment.
42 remaining items
sydevs-bot commentedon Nov 5, 2026
Not yet — three of six lines are met. Two of the three that are not need no code.
Two more landed since the last check: the live site now runs the real spam check, not the test setting — #343 moved it onto our own servers on 3 November — and both forms now tell a visitor what to change instead of a bare error (#345).
What is left:
@sydevs-bot revise 1Ato accept that, or1Bto add the release check too.Once question 1 is answered,
@sydevs-bot implementfiles the remaining work.🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
fix(api): allow the Turnstile token header through CORS preflight (#1085
fix(registration): blame the connection, not the captcha, when nothin…
fix(api): accept an issue report from an API client (#1089)
sydevs-bot commentedon Nov 11, 2026
Four of the five lines are met. The last one needs a person, not code.
The final piece of work closed today. sydevs/SahajCloud#1077 checked the live data: of the 48 places the map is known to run, one is refused, and it is a developer's own test entry. No partner site is being turned away, and no domain needed fixing. Nothing here is left for the loop to build.
What is left is one test. Send a class sign-up and a problem report from sahajatlas.com, and again from a site that shows the map inside its own page, each from a Gmail address, and say what arrived. shrimataji.org is a live partner embed that passes the check today. That same test settles whether the live spam secret pairs with the key now served, so nobody need read it.
I re-checked the other four lines today rather than trust the last run. All four still hold.
Found while checking: when a site is turned away, nothing tells us. Filed as #387.
Leaving the goal open.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
Ardnived commentedon Nov 18, 2026
Answered in the terminal by @Ardnived:
Closing as completed with the Sahaj Atlas launch milestone.