Repository navigation
chore(contracts): re-sync copied contracts from SahajCloud - #329
Conversation
pnpm run types:cms against SahajCloud main (debf409e, #1246). 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 ten a11y interfaces and the video tab's stale ones. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
wemeditate-web | 19104af | Commit Preview URL Branch Preview URL |
Nov 22 2026, 07:09 PM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
wemeditate-design | 19104af | Commit Preview URL Branch Preview URL |
Nov 22 2026, 07:09 PM |
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
The diff is the smallest thing that does this job: one file, pure deletion, inside prAllowlistGlobs, no product code. I reproduced pnpm types:cms offline and the branch's types/payload/payload-types.ts is byte-identical to its output, so the copy is exact rather than plausible. The 525 lines are SahajCloud#1246's a11y groups plus #1217's video tab, which this repo never synced. Nothing reads either shape.
One thing this PR cannot fix: both consumer legs of run 45054537018 died the same way, so SahajAtlasWeb's copy is still 340 lines behind and needs the same hand re-sync. The 403 is the dispatcher's own, not this change's — filed separately in claude-workflow.
Findings
should-fix— the body's account of what the file loses covers WeMeditate's half ofdebf409eonly; 52 lines ofSyAtlasTranslations*keys go too.types/payload/payload-types.ts:8879.
What was checked
- The copy, proven not assumed.
git show origin/main:src/payload-types.tsfrom the SahajCloud checkout, through the same regexscripts/strip-payload-augmentation.mjsapplies,diffed againstorigin/claude/sync-contracts-1246: identical. 11491 → 10966 lines. - Nothing reads the removed shapes.
WmWebTranslations*A11YStringsandWmWebTranslationsVideo*→ 0 references outside the generated file.WEB_TRANSLATIONS_SELECTnames novideoand noa11y, and it issatisfies WmWebTranslationsSelect<true>, so a stale key would fail typecheck.lib/i18n/translations.en.jsonalready carries neither. - The body's CI claim holds.
Contract check (SahajCloud types)is a step inside the greengatejob, not a check of its own. - New pieces:
new-pieces.mjs→NONE, the fileskippedas generated, so no streamliner ran. - No question threads to settle, and no
fixtureblock to check.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
|
No commit: the one finding asked for a body fix.
Found while checking, now its own bullet: the diff also drops the hand-typed Base is current: the branch is 0 commits behind 🤖 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
main's #329 re-ran `pnpm types:cms` against SahajCloud main (#1246), which dropped the ten a11y interfaces and the video tab. This branch's hand copy of the contract still carried them, so every one of those groups conflicted. Resolved to main's generated output plus only the shapes this branch's code needs from the unmerged sydevs/SahajCloud#1232: `blocks.live_session`, `blocks.general.days`, `SplashBlock.event` and `ClassDirectoryBlock`. The a11y groups stay dropped — #328 moved those strings into lib/i18n/a11y/, so nothing here reads them from the CMS. `wisdom_sidetext` is re-typed because its own `shortcut:` marker says a contract sync drops it until sydevs/SahajCloud#1218 lands. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjVeQVCd9NZbNZ37XVL
Summary
debf409e), usingpnpm run types:cmsexactly ascontractSyncin claude-workflow'sloop-config.jsondefines it.gh: Resource not accessible by personal access token (HTTP 403), right after regenerating the types (run 45054537018 in SahajCloud).types/payload/payload-types.tsloses the tenWmWebTranslations*A11YStringsinterfaces. They now live inlib/i18n/a11y/(refactor(i18n): screen-reader strings live in the repo, machine-translated #328). It also loses thevideotab's interfaces, removed upstream by SahajCloud#1217 and never synced until now.debf409edropped a11y keys from both globals, so 52 of the 525 lines are 13 keys across eightSyAtlasTranslations*interfaces:Calendar.next,.pick_date,.previous,CommonChrome.explore,.loading,CommonSettings.title,EventActions.pause_slideshow,.view_photo,FiltersChrome.remove,SearchNearbyPrompt.dismiss,SearchResults.showing,Share.copy_link,.share_on.SyAtlasTranslationshas no reference in this repo outside the generated file.blocks.general.wisdom_sidetextentry goes too, and cannot be kept here. fix(textbox): the OrnateTextBox header fails AA over the warm band #269 typed it in under ashortcut:comment saying to re-type it until feat(translations): declare a key's English in the schema, reconciled on boot SahajCloud#1218 lands. #1218 is still open, so the key is not in the generator's output — and the contract check runs the sync command and refuses any difference, so re-typing the entry would fail CI. Nothing reads the key:OrnateTextBoxtakessidetextas a prop,lib/i18n/translations.en.jsonalready carries no entry, and the component's own comment still holds the #1218 breadcrumb. The sync that fires when #1218 merges writes the entry back.Test results
.claude/skills/pr-prep/check.sh. Nothing reads any removed shape:WebTranslationsmounts its owna11ytype, andWmWebTranslationsVideo*,WmWebTranslations*A11YStringsandSyAtlasTranslations*have zero references outside the generated file.pnpm run types:cms, so a green run proves the copy.🤖 Generated with Claude Code