Repository navigation
chore(contracts): re-sync copied contracts from SahajCloud - #460
Conversation
pnpm run types:cms against SahajCloud main (debf409e, #1246), plus the URL contract curl, as contractSync defines it. The automatic sync for that merge failed on a 403 from the bot's token, so this is the same command run by hand. It drops the 13 retired keys and other upstream removals. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
sahajatlas-design | 15f7b75 | Nov 22 2026, 07:10 PM |
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
Verified rather than trusted: the branch's payload-types.ts is byte-identical to SahajCloud main (debf409) run through strip-payload-augmentation.mjs, and response-types.ts and atlas-url-contract.json match their upstream sources exactly. One file, pure deletion — no new piece to justify and nothing to streamline.
The one gap is prose, not code. The diff is two upstream commits: #1246 removed 340 lines, SahajCloud#1217 the other 178 (WeMeditate Web's video tab). The Summary names only #1246. No consumer impact — nothing outside the generated file reads WmWebTranslation*.
Worth knowing: #1246's consumer side is half done. src/config/translations.en.json still carries all 13 retired keys, so the 13 RETIRING_KEYS entries at src/config/translations.test.ts:236 stay live. The snapshot is not in contractSync.paths, so no event re-fires for it, and pnpm sync:translations --write reads production with ATLAS_API_KEY. Out of this PR's reach — but waiting on a person, not on the loop.
Findings
should-fix— the Summary attributes all 518 deletions to #1246; 178 are #1217. Thread onsrc/types/payload/payload-types.ts:5606.
What was checked
- Reproduced
pnpm types:cmsatdebf409and diffed all three sync targets: zero difference. new-pieces.mjs:NONE(generated file skipped) — no streamliner run, no ladder walk.- Consumer side:
src/types/translations.ts(SyAtlasTranslation→WidgetTranslations) and thesatisfiesatsrc/types/i18next.d.ts:33. - All 13 retired keys resolve in
src/config/a11y/en.json, and the two live call sites are screen-reader-only (LoadMore.tsx:139live region,SettingsMenu.tsx:113aria-label), so the ownership split holds. - All four required checks green on
15f7b75. No question threads, so no second opinions.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
|
Addressed the one open thread. Nothing was pushed: the fix was prose, so Adopted — the Summary attributed all 518 deletions to #1246. The body now splits them: 340 from #1246, 178 from SahajCloud#1217's The branch already contains One part of #1246 stays open and needs a person. 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
sydevs-bot
left a comment
There was a problem hiding this comment.
Approved for Ardnived, who wrote it: GitHub refuses an author's own approval. CI is green and the automated review has run. Enable auto-merge when you want it merged: the queue tests it against its base. 🤖 Written by the sydevs autonomous loop — see what this is
Summary
debf409e), usingpnpm run types:cmsand the URL-contract curl exactly ascontractSyncin claude-workflow'sloop-config.jsondefines them.gh: Resource not accessible by personal access token (HTTP 403), right after regenerating the types (run 45054537018 in SahajCloud).main's types were stale by two upstream commits, so the 518 deletions cover both.wm-web-translationsa11y interfaces.src/config/a11y/since refactor(i18n): screen-reader strings live in the repo, machine-translated #456, so no copy is lost here.videotab and its visible copy.WmWebTranslation*. The URL contract is unchanged.Test results
.claude/skills/pr-prep/check.sh.translations.en.json satisfies WidgetTranslationsstill holds: the snapshot keeps the 13 keys underRETIRING_KEYSuntil a translations sync drops them.🤖 Generated with Claude Code