Skip to content

docs(comments): sync-atlas-contract names the wrong consumer repos - #229

Merged
Ardnived merged 1 commit into
mainfrom
docs/226-atlas-contract-holders
Sep 25, 2026
Merged

Ardnived merged 1 commit into
mainfrom
docs/226-atlas-contract-holders

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Summary

  • The sync script and the contract spec named WeMeditateWeb as a contract holder. It holds no copy.
  • Both now name SahajCloud, SahajAtlasWeb and SahajAtlasWordpress, each with the path of its copy.
  • The script's header says nothing runs it automatically. SahajAtlasWordpress's CI is the only drift gate.

Contract impact

src/lib/shape/atlas-url-contract.json is re-synced from SahajCloud main after sydevs/SahajCloud#850 fixed the same claim in its $comment. Only that string changed (version 1, 21 cases, same as before). SahajAtlasWordpress needs the same re-sync, in a separate PR.

Test results

  • Lean gate: ✓ pnpm lint, pnpm typecheck, pnpm test:run (124 files, 1617 passed)
  • node scripts/sync-atlas-contract.mjs: ✓ byte-identical to SahajCloud
  • grep -rn WeMeditateWeb scripts/sync-atlas-contract.mjs src/lib/shape/: no matches
  • Build: N/A (comments and one JSON string)

Notes for reviewer

The ticket's criterion "atlas-url-contract.json is unchanged" assumed SahajCloud's $comment would stay wrong. SahajCloud fixed it first (#850), so the byte-identical rule now requires the re-sync. Taking the new $comment is how the ticket's WeMeditateWeb grep check passes cleanly.

Detail

Holder set, verified on origin/main of all five repos before the change: SahajCloud src/lib/atlas/, SahajAtlasWeb src/lib/shape/, SahajAtlasWordpress tests/ (all md5 5ce0e717…). WeMeditateWeb has no file and no reference to it. The only automated gate is SahajAtlasWordpress's contract job (.github/workflows/ci.yml:42-68), which curls the raw upstream file and runs diff -u.

Closes #226

🤖 Generated with Claude Code

…json

The sync script's header and the contract spec's JSDoc both said the
fixture is byte-identical in SahajCloud, SahajAtlasWeb and WeMeditateWeb.
WeMeditateWeb holds no copy; the third is SahajAtlasWordpress's
tests/atlas-url-contract.json. Both now name each copy with its path.

The script's header also says nothing runs it automatically. No workflow
here calls sync:atlas-contract. SahajAtlasWordpress's CI is the only job
that diffs a copy against upstream.

atlas-url-contract.json is re-synced with `pnpm sync:atlas-contract
--write` after SahajCloud#850 corrected the same claim in its $comment.
Only that string changed: version 1, 21 cases.

Closes #226

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying sahajatlas with  Cloudflare Pages  Cloudflare Pages

Latest commit: 429e39e
Status: ✅  Deploy successful!
Preview URL: https://662d15ae.sahajatlas.pages.dev
Branch Preview URL: https://docs-226-atlas-contract-hold.sahajatlas.pages.dev

View logs

@Ardnived
Ardnived merged commit 026f4d5 into main Sep 25, 2026
8 checks passed
@Ardnived
Ardnived deleted the docs/226-atlas-contract-holders branch September 25, 2026 18:05
@sydevs-bot sydevs-bot moved this from Revising to Done in SYDevelopers Technical Roadmap Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

docs(comments): sync-atlas-contract names the wrong consumer repos

1 participant