Repository navigation
Description
Summary
scripts/sync-atlas-contract.mjs:10-11 names the wrong set of repos as holding
atlas-url-contract.json. The same wrong sentence sits in two more places in this checkout, and
one of them is not ours to edit. The contract data itself has not drifted — only the prose that
tells a maintainer where to sync it.
Approach
The three copies of the claim, in this repo
| Where | What it says | Ours to fix |
|---|---|---|
scripts/sync-atlas-contract.mjs:10-11 |
"byte-identical in SahajCloud, SahajAtlasWeb, and WeMeditateWeb" | yes |
src/lib/shape/atlas-url-contract.test.ts:10 |
the same sentence, in the spec's header JSDoc | yes |
src/lib/shape/atlas-url-contract.json:2 ($comment) |
"SahajAtlasWeb and WeMeditateWeb parse them back … All three assert against this file" | no |
The original ticket named only the first. The spec header carries the identical error and must
change in the same PR, or the repo keeps contradicting itself.
⚠ Never edit the $comment in src/lib/shape/atlas-url-contract.json
That file is synced byte-for-byte from SahajCloud. scripts/sync-atlas-contract.mjs compares whole
bytes against raw.githubusercontent.com/sydevs/SahajCloud/main/src/lib/atlas/atlas-url-contract.json
and exits 1 on any difference, and --write overwrites our copy with theirs. So editing our
$comment would turn a green drift check permanently red and be reverted by the next --write.
SahajCloud owns that string. See Downstream impact.
Steps
- Confirm the holder set first — the open question below. Do not write repo names that have not
been read. - Fix the enumeration at
scripts/sync-atlas-contract.mjs:10-11, naming each copy with its repo
and path rather than a bare list of repo names. A path is checkable; a name rots. - Fix the same sentence at
src/lib/shape/atlas-url-contract.test.ts:10, matching the wording. - Add one line to the script's header: this repo runs no automated drift check.
sync:atlas-contractis inpackage.json:27and in no file under.github/workflows/
(verified by grep).pnpm sync:atlas-contractis a manual command.
Keep the ⚠ block at scripts/sync-atlas-contract.mjs:24-29 intact — docs/rules/code-comments.md
marks both a ⚠ line and a cross-repo sync pointer as load-bearing.
Acceptance criteria
-
scripts/sync-atlas-contract.mjsnames the confirmed holder set, and does not name a repo
that holds no copy -
src/lib/shape/atlas-url-contract.test.ts:10carries the same corrected wording - Each named copy is given as
<repo>plus the path the file sits at - The script's header says this repo runs no automated drift check
-
src/lib/shape/atlas-url-contract.jsonis unchanged - No behaviour change to the script itself
Verification checklist
-
grep -rn 'WeMeditateWeb' scripts/sync-atlas-contract.mjs src/lib/shape/returns nothing
outsideatlas-url-contract.json -
git diff --name-onlydoes not listsrc/lib/shape/atlas-url-contract.json -
node scripts/sync-atlas-contract.mjsexits 0 — it printed
✓ atlas-url-contract.json is byte-identical to SahajCloudon 2026-09-24 -
pnpm test:runpasses — the spec file's header changed -
pnpm lintpasses
Open questions
- Which repos hold a copy? The survey reported SahajCloud, SahajAtlasWeb and
SahajAtlasWordpress (tests/atlas-url-contract.json), with WeMeditateWeb holding none. This
run could not re-verify it: the cloud environment checks out only SahajAtlasWeb, SahajCloud
and claude-workflow, and GitHub access is scoped to those same three. Confirmed here: the
SahajCloud and SahajAtlasWeb copies are byte-identical (md5 5ce0e717049ac34b1b4b74dc1a1716aa).
Resolve by runningfind . -name atlas-url-contract.json -not -path '*/node_modules/*'across
all five checkouts on a machine that has them, or by a reviewer confirming the set. - Is SahajAtlasWordpress's CI job really the only automated gate? The survey reported
.github/workflows/ci.yml:48andtests/contract.php:5there. Unread for the same reason.
Verified on this side: no workflow in this repo runssync:atlas-contract.
An implement run that cannot answer the first question should stop rather than guess — writing a
second wrong enumeration is the failure this ticket exists to undo.
Downstream impact
SahajCloud holds the upstream original of the same error, in two files:
src/lib/atlas/atlas-url-contract.json:2— the$commentevery consumer copies verbatim. This
is the root: our wrong$commentis a faithful copy of theirs.src/lib/atlas/canonicalUrl.ts:17-18— "the fixture SahajCloud, SahajAtlasWeb and WeMeditateWeb
all assert against".
Neither is fixable from this repo, and this ticket does not block on them: the two in-repo comments
can land alone. A companion ticket on SahajCloud is needed and has not been filed — see the run
comment.
Notes
Found by the Thursday contracts survey, checking claim 5 (the shared code-comments rule) and the
shared URL contract beside it. Every repo's docs/rules/code-comments.md marks a cross-repo sync
pointer as load-bearing, on the grounds that nothing but prose enforces the couplings between these
five repos. This is one of those pointers, pointing at the wrong repo — in four places across two
repos, three of them copies of one sentence.
🤖 Written by the sydevs autonomous loop — see what this is
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Hold Until
Projects
- StatusShow more project fieldsDone
Activity
sydevs-bot commentedon Sep 24, 2026
🤖 no session running
recent dispatches
Written by the sydevs dispatcher. Sessions never edit this comment.
sydevs-bot commentedon Sep 24, 2026
Revised from the code. Three changes of substance.
Scope grew by one file.
src/lib/shape/atlas-url-contract.test.ts:10carries the identicalwrong sentence. Fixing only the script leaves the repo contradicting itself.
One copy is not ours.
src/lib/shape/atlas-url-contract.json:2holds the same claim, syncedbyte-for-byte from SahajCloud. Editing it turns the drift check permanently red, and
--writereverts it. SahajCloud owns the root, there and in
src/lib/atlas/canonicalUrl.ts:17-18. Acompanion ticket there is needed. I did not file it: SahajCloud's
AGENTS.mdrequires asking ahuman before creating an issue.
The holder set is unverified. I could not read SahajAtlasWordpress or WeMeditateWeb — this
environment reaches three repos. The survey's claim is now an open question, and the old
find ..checklist step is gone. It cannot pass here.
Priority
Lowand EffortEasystand. Title unchanged.@sydevs-bot implementstarts the work.🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
Ardnived commentedon Sep 24, 2026
@sydevs-bot implement
sydevs-bot commentedon Sep 24, 2026
Stopped. The blocking open question is still open, and this environment cannot close it.
I can read three of the five repos. GitHub access is scoped to SahajAtlasWeb, SahajCloud and claude-workflow. WeMeditateWeb and SahajAtlasWordpress are unreachable, so the holder set stays unread.
Still unread: whether WeMeditateWeb holds no copy, and whether SahajAtlasWordpress holds one at
tests/atlas-url-contract.json.Naming an unread repo writes a second wrong enumeration. Dropping SahajAtlasWordpress hides a copy that needs syncing. Both are the failure this ticket exists to undo, so I wrote neither.
The ticket's other four criteria are ready to write. Only the holder set blocks them.
To unblock, paste the output of this across all five checkouts:
Then comment
@sydevs-bot implementagain.🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
docs(atlas): name the repos that actually hold atlas-url-contract.json (
test(contract): re-sync atlas-url-contract.json from SahajCloud (#32)