Repository navigation
feat(pages): place pages in each service by its configuration - #1243
sydevs-bot wants to merge 45 commits into
Conversation
Two indexed, non-localized checkboxes on a page — `publishedToWeb` and `publishedToApp` — and one read clause beside the published-only one, keyed on the calling client's own roles. A page an editor has not published to a service is not readable by that service at all. The clause lives in SahajCloud rather than in WeMeditateWeb because this is the only place that reaches every surface a page arrives through: a `find`, a `findByID` that carries no `where`, a populated relationship and the content-index block's own fetch. It is also the only mechanism that can hide a page from an installed app release, which ships compiled. The backfill resolves the app's read set in SQL rather than from a list of ids: the fourteen `wm_app_config` slots, every `subtle-system-nodes.page` and every `app-cards` page destination. All twelve node pages sit outside those fourteen, so a backfill derived from them alone would have marked every chakra and channel page Web-only and cost the installed app its node detail pages. It mirrors onto the `latest` version rows too, or the first publish after deploy writes the column defaults back over it. Measured against a throwaway database: the five probe rows land as specified, the non-latest version row is untouched, and `migrate:down` restores the defaults. Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjVMZiqCKCp8MmGnw2L
The role-to-column matrix lives in the unit spec, which needs no database. The integration spec covers what does: each read shape the clause has to reach (a find, a findByID 404, a populate that degrades to a bare id on the app's own `wm-app-config` read), that it is ANDed with the per-locale published-only clause rather than replacing it, and that a manager and live preview are untouched. Every assertion but one was watched fail against a defect: the clause removed, `or` turned into `and`, the published clause dropped, and the client gate removed so the narrowing leaks to managers. The `overrideAccess` case cannot fail — Payload skips access control there — and says so. `pages.int.spec.ts`'s app-client case now publishes its page to the app: without that it read a page the app does not publish. `role-based-access.int.spec.ts` pins the invariant the clause exists for — `pages` sits in both services' projects, so implicit read alone hands every page to both. Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjVMZiqCKCp8MmGnw2L
…scribes it `docs/rules/access.md` carries the rule, beside the project-based implicit read it narrows. `docs/rules/api-clients.md` carries what a consumer observes: fewer documents from a find, a 404 from a findByID, a bare id from a populate, and the rich-text references no `Where` can reach. `src/collections/AGENTS.md` says why the two columns are not localized, next to the per-locale `_status` they sit beside. Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjVMZiqCKCp8MmGnw2L
The backfill turned Web off for the four slugs the app alone reads but gave App on only to pages one of the three stored sources names. In production `wm_app_config`, `subtle_system_nodes` and `app_cards` name none of `path`, `let-the-app-find-your-city` or `live-meditations-reminder`, so those three landed Web-off and App-off: readable by no service at all. The slug list is the only thing that can reach them, because the app routes to them itself and stores no reference here. App-off in an installed release is unrecoverable; App-on costs an editor one unticked box, so the asymmetry decides it. Measured against a throwaway database carrying all nine cases, after `pnpm payload migrate` applied the whole chain: an unreferenced page stays Web-on/App-off, each stored source turns App on, the four app-only slugs land App-on/Web-off, the `latest` version rows mirror and a non-latest one does not, and `down` returns every row to the column defaults. Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjXC4WxUHuaGH3iGdYG
Resolves `src/migrations/index.ts`, and regenerates both of this branch's migrations on the merged tree. The snapshot chain forced the regeneration. `main` gained 20261118_235242_wm_web_drop_video_tab, which drops four translations columns, and 20261119_223756_merge_snapshot_heal, whose whole purpose is to be the first snapshot describing both branches. This branch's two migrations carried later timestamps and snapshots generated before either, so the merged tree's newest snapshot still described the dropped columns — the next migrate:create would have re-emitted those four DROP COLUMN statements and aborted the boot migration on a database that already ran them (#566). So both files move to timestamps after the heal and take a snapshot generated on the merged tree. The regenerated DDL is byte-identical to the reviewed one, and nothing else came with it. `migrate:create --skip-empty` now writes no files, and the whole chain applies to a fresh database. Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjXC4WxUHuaGH3iGdYG
… client role `CHANNEL_BY_ROLE` was a third record of a fact `roles.ts` already owns: which service a role belongs to. Keying on the project instead removes the copy and closes the fail-open direction it left — implicit read of `pages` is project-keyed, so a second website or app key would have been granted the collection and narrowed by nothing, silently reading both services' pages. It also restores what `docs/rules/access.md` promises about adding a role: the lookup tables compute, with nothing to update by hand. `getProjectsFromRoles` already does the role flattening, the project lookup and the dedupe, so the hand-rolled reduction and its cast go too. The widening this accepts is the same rule in reverse: any role placed in `wemeditate-web` or `wemeditate-app` now takes that channel. That is what implicit read already does with those projects, and the docblock says so. The unit spec pins it with `web-translator`, a web-project role that is not a client role, so the case fails if the mapping goes back to naming roles. Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjXC4WxUHuaGH3iGdYG
…ackfill The Web-off half of the backfill trusted a slug list measured against one database on one day. `wm-web-config` requires a `homePage` and names five more page lists, and a required slot answering `null` 404s the site — so the list being stale by one slug was a site-wide outage. It now follows the rule the App half already follows: read the stored sources, never trust the list. A page carrying an app-only slug keeps Web on if `wm_web_config` or `wm_web_config_rels` still names it. Also merges the two App-on id sets into one, so `up` and `down` read as mirrors, and fixes a breadcrumb that named the schema migration's pre-merge timestamp. Measured against a throwaway database with the whole chain applied, nine pages: the website's required `homePage` and a page in `featuredPages` both keep Web on and gain App, a page named by neither goes Web-off, each stored app source turns App on, the `latest` version rows mirror and a non-latest one does not, and `down` returns every row to the column defaults. Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjXC4WxUHuaGH3iGdYG
`createClientAuthenticatedRequest` already takes the roles as its third argument, and `idOnlySelect()` already absorbs the cast an id-only client read needs. The new spec had rebuilt both by hand, which cost eight `as never` escapes that silence real type errors on the surrounding `find` arguments. Also drops the role-to-column matrix from the int lane — it is the unit spec's, and the invariant this file owns is that implicit read grants `pages` to both projects — and parameterises `visibleIds` so the cases asserting the clause does not narrow read the same way as the ones asserting it does. Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjXC4WxUHuaGH3iGdYG
…opens The rule was written out five times, and the copies had already drifted — one listed the live-preview proxy among the surfaces the clause reaches, which is the one surface it is exempt from. `docs/rules/access.md` keeps the mechanism, `docs/rules/api-clients.md` only what a consumer observes, the collections guide only the schema facts, and each code site a pointer. Records the hazard the feature opens: nothing reconciles a channel with the places that require the page. The migration excepts both services' configurations, but an editor's later untick is guarded by nothing, so both field descriptions now say what to check first. Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjXC4WxUHuaGH3iGdYG
`tests/COVERAGE.md` asks to be updated whenever an access function is added. Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjXC4WxUHuaGH3iGdYG
…column The security sweep named the one fail-open the project keying leaves, a level up from the one it closed: a project listing `pages` in its `collections` is granted implicit read of the collection, so one with no entry in `CHANNEL_BY_PROJECT` would read every page. The case derives its own table from `PROJECTS` instead of listing the two, so adding such a project reds the unit lane rather than shipping an unnarrowed key. Watched fail by commenting out the app project's column: the structural case goes red beside the two it stands behind. Co-authored-by: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjXC4WxUHuaGH3iGdYG
|
🚅 Deployed to the SahajCloud-pr-1243 environment in sahajcloud
1 service not affected by this PR
|
sydevs-bot
left a comment
There was a problem hiding this comment.
2 questions for the reviewer, one per thread.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
The diff is the ticket's size, and nothing is smuggled in. The project keying is the right axis — it reuses getProjectsFromRoles and fails closed for a role added later. A refused page arrives as a bare id, which partitionPublishedPages already discards, so the consumer side holds.
One surface the new field invalidates sits outside the diff: the app readiness report still answers on _status alone. The prose is the other overrun — one rule, five homes.
Findings
- should-fix —
src/globals/WeMeditateAppStatus/sections/pages.ts:27. Thepublishedcheck reads_status === 'published', which after this PR is no longer the question for the app. Untick "Published to App" on one of the fourteen slots or a node page and a released build breaks while the report stays green. That section already gathers exactly those ids, so it is one more check besidepublished. No diff hunk to anchor to, hence here. - should-fix —
docs/rules/api-clients.md:250, inline. Three doc homes for one rule. - consider —
src/plugins/access/publicChannels.ts:43, inline. Twelve lines, one caller.
What was checked
Ticket #783 against the diff, criterion by criterion. The restructured read branch and publicChannels.ts whole: the empty-clauses fall-through matches the old non-draft path, and the single-clause return is unchanged for every pre-existing client read. Ladder — getProjectsFromRoles is the existing home, and virtualRoles is manager-only. Both migrations, up and down: the _pages_v latest mirror and the wm_web_config exception hold. The content-index path followed to ContentIndexBlock.ts:64 — a URL the consumer fetches with its own key. All five preview ids resolved against src/fixture/. Both question threads read, and not repeated.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
The app readiness report asked `_status === 'published'` alone, which after #783 is no longer the app's question: unticking "Published to App" on one of the fourteen config slots or a node page hides it from a released build while the report stayed green. That build cannot be corrected. `reportForPage` already gathers exactly those ids, so the check sits beside `published` for both groups. The int spec's new case was watched failing against the missing check. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZNpz4bPnMwHRC4v1s
The #783 section restated four facts `docs/rules/access.md` states in full — the bare id, the 404, the `overrideAccess` exemption and live preview — so a change to the rule had five homes to keep in step. What stays here is what access.md does not own: that WeMeditateWeb needed no change, the rich-text gap a consumer can still observe, and which key the app must send (#789). Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZNpz4bPnMwHRC4v1s
|
Three critic points: two built, one pushed back.
The two question threads still wait on you. 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
One conflict, `src/migrations/index.ts`: both branches appended migrations, so both lists are kept, in timestamp order. The merge then made this branch's snapshot heal stale. Main's `20261125_152923_atlas_drop_compact_tab` carries a timestamp below this branch's own, so the newest snapshot on disk still described the two atlas `compact` columns, and `migrate:create` re-emitted their `DROP` — statements that abort the boot migration on a database that already ran them (#566). So `20261125_192705_merge_snapshot_heal.json` is regenerated on the merged tree rather than a third heal stacked on top of it; it still carries no DDL. Nothing else overlapped: main's change is the atlas translations global, and `src/payload-types.ts` and `src/globals/AGENTS.md` merged on their own. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjYSZvdxzj7AQgUWcHk
|
🧶 Merged The merge then made this branch's snapshot heal stale. Main's Nothing else overlapped: main's change is the atlas translations global, and ✓ Lean gate, 3,945 unit specs passing. ✓ A second contract probe writes no files on the merged tree. 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
`fixture-load` refused `wm-web-config` with "Home Page [homePage: This field has the following invalid selections: 1014002, ]". Page 1014002 sits under no parent and the field narrows to exactly that, so the selection is valid — the read that checked it was not. Payload validates a `filterOptions` on the request's own authority and never threads a global update's `overrideAccess` into it, so the loader's userless `updateGlobal` read `pages` as anonymous, found nothing, and refused every value the filter narrows. `homePage` gained that filter on `main` in #1254, which is why the write only started failing after the merge. The collection half of the loader already writes as the fixture's admin for the same class of refusal. The global half now does too. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjWcoGyuc2meoJrSsMM
One conflict, in `src/migrations/index.ts`: both sides appended to the chain. Kept both, in timestamp order — this branch's `20261125_192705_merge_snapshot_heal`, then `main`'s `20261125_213000_atlas_common_copied` and `20261125_230000_atlas_drop_captcha_blocked`. Those two of `main`'s are data-only, so each re-stamps the snapshot that preceded it there — a schema holding none of this branch's columns, and newest by timestamp once merged. `migrate:create` then re-emitted the page-tag enums and tables and the reminder-page column, statements that abort the boot migration on a database that already ran them (#566). `20261126_035953_merge_snapshot_heal` carries that run's `.json` and no DDL; the probe after it writes no files. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjUy5NC46GnkmrLnFw1
|
Merged The merge needed one new file. ✓ lean gate, 3,953 unit specs. ✓ 109 across 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
|
The session for resolve-conflicts did not finish after 3 attempts. I have stopped retrying. A mention ( 🤖 sydevs dispatcher |
Summary
wm-web-configplaces; an app key thosewm-app-configplaces plus the website's, which it opens in its in-app browser.wm-app-configpage slot is required,liveMeditationsReminderPageincluded (reviewer, 2026-11-25), so fix(app-status): report a configured page that is trashed or unset #1255's report keeps one rule for all fifteen.StackedTablethe Install tab's progress uses.Change outline
Flow — a client's page read clause
A client's
pagesread gains one narrowing beside the published-only clause; every other collection and caller gets byte-identical clauses tomain.Behaviour — what places a page in a service
loadServicePagesreads the configuration once per request, off its own connection, and walks the global's builtflattenedFields, so a page field added to either configuration places its pages with no other change.Contract — the configuration globals and the page
Contract — what a client's read answers
Behaviour — cache
A page's place moves when a configuration is saved, with no page row written, so either configuration's save also purges the
pagestag.Behaviour — the preview fixture
A configuration is the one thing that places a page, so a preview with both empty shows a table
refusing every page and a null
webUrlon all of them. The fixture now writes globals too.src/fixture/ src/fixture/ fixture('<collection>', [...]) → FIXTURES + globalFixture('<global>', {...}) → GLOBAL_FIXTURES # wm-web-config, wm-app-config + hashed at `fixture:global:<slug>`, written after every collection + never pruned: a global always exists + wm-web-config pageTags ['wisdom'] · 6 page fields named + wm-app-config pageTags ['subtle-system'] · 14 slots + the reminder slotPreview
techniqueandwisdom: the sidebar table, available on the website by its tag and in the app by namecreativity, named nowhere: both rows amber at "Not placed", and the line that says where to place itBoth configurations arrive filled, so every link above shows a real answer and both keys read pages.
Contract impact
src/payload-types.tsgainspageTagson both configurations,liveMeditationsReminderPageonwm-app-config, andsubtle-systeminPage['tags']; the page gains no column — where it is available is a sidebar table, andwebUrl/appUrlare what a consumer reads the answer from; WeMeditateWeb and SahajAtlasWeb re-sync it throughcontractSync.PAGE_TAG_KEYS(lib/content-blocks.ts) issatisfies Record<PageTag, TranslationKey>, andsubtle-systemcarries no facet label, so it is excluded there rather than labelled.wm-app-configslot (64, 65, 73, 74, 76, 77, 78, and 5 by slug), atechniquepage listed in page 74, asubtle-systemnode page, or an app-card destination — all of which (5, 64, 65, 78, 95) are slots. App keys 2 and 5 holdwemeditate-app-clientalone. sydevs/WeMeditateApp#453 reads every id from the configuration, and opens a page withoutappUrlat itswebUrl.webUrlon its config pages and app-card pages. It is now null for a page the website does not place, as it already was for an unpublished one. The app routes every app-only page it knows natively by slug (routeForPageSlug), and a card with no route and nowebUrlshows "not available" instead of opening a page that 404s on the new site.Migration
src/migrations/20261122_213242_add_service_page_tags.ts(generated),src/migrations/20261122_213300_place_service_pages.ts(data only),src/migrations/20261123_001950_add_app_live_reminder_page.ts(generated),src/migrations/20261123_002000_fill_app_live_reminder_page.ts(data only),src/migrations/20261125_191100_require_app_live_reminder_page.ts(generated, with the fill repeated above itsSET NOT NULL) andsrc/migrations/20261125_192705_merge_snapshot_heal.ts(no DDL)wm_web_config_page_tagsandwm_app_config_page_tags, andsubtle-systemadded to thepagesand_pages_vtag enums. The data migration seeds the website's Page tags (every facet tag plussubtle-system) and the app's (technique,subtle-system), leaving a configuration that already lists tags alone, and tags each subtle-system node's pagesubtle-systemon its main and latest version rows. The reminder slot is a column with its foreign key and index, filled with thelive-meditations-reminderpage where the slot is empty and then madeNOT NULL, as the other fourteen slots already are. Production page 96 carries that slug, read 2026-11-25; a database holding no such page and a configuration row would abort the boot migration, so the fill runs again in the same migrationmain's20261123_185218_pages_parent_index_pageshas a timestamp between this branch's own, so the newest snapshot on disk described a schema holding none of its columns, and the nextmigrate:createre-emitted all twelve — statements that abort the boot migration on a database that already ran them (feat(regions): country slug = ISO alpha-2 code #566). Its.jsonwas generated on the merged tree, and a second probe writes no filesdownremoves every Page tag and everysubtle-systemtag, whoever set them; the schema migration'sdowndeletes survivingsubtle-systemtags before narrowing the enums back; the reminder slot'sdowndrops theNOT NULLTest results
.claude/skills/pr-prep/check.sh— lint, format, typecheck, test-suite typecheck, unit lane — on this round and each one before itfixture-load,pages,service-pages,globals-client-readsandpages-localize-statuson this round; before it, ✓ 93 acrosspages,service-pages,wm-app-config,pages-localize-status,globals-client-readsandcontent-index-block, and earlier ✓ 199 across those plusrole-based-accessandwemeditateAppStatus, and ✓ 287 across eight other client specs that read pagesfixture-load's new placement case, run with the globals unseeded, and the cache plugin's fixture case against the missing guardpnpm db:migrations:create probe --skip-emptywrites no files on the merged tree, this round includedsubtle-system-tagged page present; the placement migration up, up again and down against configured globals, three node rows (one page named twice), and a latest and a non-latest version row; the reminder fill up and downmainmerged in at8d45a5a): ✓ lean gate; ✓ 78 passed acrosswm-app-config,wemeditateAppStatus,pages,service-pagesandglobals-client-readsmainmerged in atff99b51): ✓ lean gate; ✓ 64 passed acrosswm-app-config,wemeditateAppStatus,available-locales,fixture-loadandservice-pages. The config spec's "every page relationship is required" assertion was watched fail against the optional slot. The new migration measured on a throwaway database: the whole chain up, then a row holding NULL filled from the slug and enforced, the same run again after aDROP NOT NULL, and refused where no page carries the slugmainmerged in at30baae4, five conflicts): ✓ lean gate, 3,944 unit specs passing; ✓ 23 inpages-nesting, ✓ 76 acrosspages,content-index-blockandpages-localize-status, and ✓ 22 acrossservice-pagesandglobals-client-reads. Watched fail first:pages-nesting's three address and client-read cases, which the merge broke until the suite placed its pages, and the table's amber case against a flattened tone. ✓ the contract probe writes no files once the snapshot heal is inManual verification
wisdomout of We Meditate Web › Configuration's Page tags, save, and the Website row reads "Not placed".DisableAutologin: true,GET /api/pages?depth=0&limit=100&select[slug]=truelists onlywisdom-tagged and configuration-named pages, andGET /api/pages/<an untagged page>answers 404. The app key (1022004) lists the same pages, plus any its own configuration places.creativity;what-is-meditation,history-of-meditation,meditation-experiencesand the Shri Mataji articles 40 and 43wisdom;meditate-americaevent— on the live row and its latest version row. The empty stubsmooladhara(80) andsushumna(90) are unpublished and in the trash; page 70 ("Hand massage with oil") is now athand-massage-with-oil;app-privacy-policy(17) is left as it is, and leaves the website with this deploy.Notes for reviewer
webUrl. A page in neither service is hidden from both.webUrlgo null?" was answered B, and is built.src/migrations/AGENTS.mdasks to surface: without it the website key would read only configuration-named pages from the deploy until someone typed the tags in. It writes no ids measured on one database — both tag lists are decisions, and the node pages are read fromsubtle_system_nodes.sahajaYogaPage, unpublished today) is embedded by the app atwemeditate.com/sahaja-yoga?embed=1, so it must be named or tagged for the website when it is published.src/lib/pageServicesstays, narrowed: the table reads it, and so does the client read clause, which is aWhereand has no component to compute it.pagesfrom the writer: the writer side also covers custom endpoints taggedpages, and a spec pins that every placing configuration purges it.Detail
Why the reshape. The two "Published to" checkboxes put a second publish control beside Publish, and nothing kept them in step with the configurations that already decide which pages each service shows. The installed app also reaches pages the checkbox backfill never covered: the Techniques screen fetches five technique pages (67, 69, 70, 71, 97) it finds in page 74's text, none named by
wm-app-config, so the app filter would have 404'd them in builds that cannot be updated.Why upstream, still. Three of the website's reads take a
whereit could extend;findByID, a populated relationship and the content-index block's own fetch do not. One read clause here covers them all.Why
subtle-systemis a tag rather than a rule on the node collection. The owner chose the tag (2026-11-22), so every page is placed through a configuration. The content index does not offer it as a filter, and it has no facet label.Why the app key reads the website's pages. A page the app reaches but does not carry — an app card or a link to a website page — must still resolve to an address, or the released app shows it as unavailable. Row access cannot hand out an address without the row, so the app's set is its own plus the website's, and
appUrlmarks which pages are the app's own.The sidebar table is a server
uifield component, so it renders on the edit view alone — a list, a populate, a client read and a job's read compute nothing. It reads the page under the caller's own access before anything else, which is the read gate every server field component owes (#1126), and reports the published row, the one a service serves.Review passes run.
/simplify(four cleanup agents),/code-review high,/security-review(triggered bysrc/plugins/access/, nothing at its reporting bar), and the deterministic comment lint (no banned comment). Nopr-review-toolkitplugin is installed here. The review round ran/security-reviewagain over its own commits — the new server field component's read gate, and whether the flattened read clause matches a wider set than the per-service one it replaced — and the comment lint; neither reported anything. This round ran it once more over the merge, the snapshot heal and the table, asking whether the restructure moved the component's read gate, whether anything from the page row crosses into the new client component, and whether the merge widened a client key's read; it reported nothing, and named every path it read. The comment lint found no banned comment.Closes #783
🤖 Generated with Claude Code
https://claude.ai/code/session_01Mg9rjWUDqgxsj1zo6Ki8KF