- Pages → Home: each section's layout and background when it's open, and move up, move down
and show or hide on its header. They save straight to the design, as Template and style →
Home page layout does (which keeps them too). Shared lists in admin/layouts.ts.
- A section offers only the photo fields its layout shows: a slot for each (hero: 1 for Photo,
Video and Split, 3 for Collage, none for Text only); Welcome's photo and pastor and the
Invitation's photo only for the layouts that use them. Photos for other layouts are kept.
- e2e: the hero opens with /^Top of the page/; a new test for the editor's layout controls.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Events: the Accounts profile's name, logo, icon, colours and contact details win over
Events' own settings while Accounts is connected (pages, emails, WhatsApp, PDFs); Settings
shows them read-only with a link to Accounts. The Accounts logo is copied for PDFs (PNG
and JPEG). Fixes Events keeping its old church after a demo scenario load.
- Website: a background per homepage section in the church's colours; "More info" instead
of "Register" for events without registration; the shared colour field.
- Accounts: the shared colour field in Church profile.
- @crosscode/ui 0.4.0: ColourField and isHexColour.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Apps get 2 weeks of Cross Code's devotionals, today included.
- The App is built in slices on feat/app-scaffold (pushed, merged into
main only when app@1.0.0 is done); the foundation is done.
- VERSIONS: the Hub at 2.26.1 in "Deployed / rolled out".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CROSSCODE_DEVOTIONALS_SCHEDULE_MONTHS (24) for how far ahead the Hub
schedules Cross Code's devotionals, CROSSCODE_DEVOTIONALS_FETCH_DAYS (14)
for what GET /api/v2/devotionals answers. The CSV takes 800 rows and
8 MB, so two years fit in one file. CROSSCODE_DEVOTIONALS_AHEAD_MONTHS
kept, deprecated. Docs: Hub 2.26.1, hub-protocol.md §3c, the App plan.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hub 2.26.0 (the App from New install, demo scenarios, devotionals) in
VERSIONS.md, the handover and APP-1.0-PLAN, not deployed yet; §3c in
hub-protocol.md for GET /api/v2/devotionals (same as events-hub's copy).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ROADMAP phase 6, the root README (packages/demo in the Website), the contracts README
(seed-scenario), AGENT-1.0-PLAN's job table (seed-demo for every product, seed-scenario),
VERSIONS' Website row, and HANDOVER's demo-scenario rule (one job, whatever is installed).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- contracts 1.23.0: the seed-scenario job (church, scenario, optional adminEmail; 45 minutes),
SEED_SCENARIO_JOB_MIN_AGENT 1.7.0.
- agent 1.7.0: seed-scenario -> `crosscode demo <church> --scenario <s>`; seed-demo for
accounts and app, and --scenario passed on to every product.
- crosscode script: `crosscode demo <church> --scenario <s>` loads the scenario on every product
the church has here (Accounts, Events, the Website, the App), skipping the rest; every
installed release checked first; the first failure stops the rest and names what's out of
step (loaded / skipped in the report). `crosscode demo <church> app` says the App's demo comes
with App 1.0.0.
- Docs: HANDOVER, APP-1.0-PLAN, VERSIONS, CHANGELOG, agent What's New.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- `npm run demo -- --profile <p> --scenario <p>`: each profile's `scenarioTeam` names four
parts, roles and portraits; the names are the scenario's people from @crosscode/demo, the
pastor first (home page and messages' speaker).
- With a linked Cross Events, a scenario load makes no events of its own, turns on Show events
from and fetches Events' whole feed at once; an unreachable Events doesn't fail the load.
- A scenario on a site with no church profile saves the scenario's church, not Acacia Hill.
- crosscode script: `crosscode demo <church> website --scenario` passes it on and refuses a
Website before 1.8.0; the Website installs and builds packages/demo.
- Docs: HANDOVER, APP-1.0-PLAN, VERSIONS, CHANGELOGs, What's New.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Each translation has a licence; FREE_BIBLE_TRANSLATION_IDS (KJV and the new
Berean Standard Bible) is what the Hub and App 1.0 offer, and the CSV import
refuses any other when told to, naming the publisher to ask.
- The publishers' exact notices (NLT, ESV, AFR53, AFR83 corrected), an
acknowledgement per translation, the Bible Society's disclaimer, publisher
and permissionsUrl, FREE_QUOTE_VERSES and quotedVerses. AFR83 is named
"Afrikaans 1983/1992-vertaling".
- docs/BIBLE-PERMISSIONS.md: what each publisher allows, the status and the
drafted permission requests. APP-1.0-PLAN decision 14, HANDOVER (with the
Website 1.8.0 approach), VERSIONS, CHANGELOG.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Events 3.8.0 (one migration):
- STOP to the church's WhatsApp number stops all WhatsApp, not only news:
checked before every sendText/sendPdf against WhatsAppStop (by number) and
User.whatsappOptedOut (from Accounts' user.updated); 2FA codes go by email
- a STOP received here is passed on to Accounts (whatsapp.optout); START turns
it back on without Accounts; Accounts turning it back on clears it here
- the eight demo scenarios as set-demo profiles, around each church's own
people (@crosscode/demo, same accounts as Accounts) and campuses; the
scenario's people are never removed from Accounts
@crosscode/demo 1.1.0: each person's gender.
crosscode script: scenarios as Events demo profiles; Events builds packages/demo.
Checked on PostgreSQL 18: the migration and every scenario loaded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Accounts 1.9.0 (one migration):
- messaging.get (sealed settings) and the messaging.changed hint to products
that asked, on admin or product changes
- the WhatsApp opt-out for every product: whatsapp.optout, Accounts' own WAWP
webhook, WhatsAppOptOut kept per number, whatsapp_opted_out in user.updated,
no WhatsApp from Accounts to an opted-out person, "Turn WhatsApp back on"
- demo scenarios: npm run demo -- --profile <scenario> --force replaces the
church profile (with an SVG logo and icon at /api/demo-assets/) and the demo
people, ids kept across loads
@crosscode/demo 1.0.0 (new): the eight scenarios' churches, people and logos.
crosscode script: crosscode demo <church> accounts, --scenario on every demo,
Accounts installs and builds packages/demo.
Checked on PostgreSQL 18: migrations, scenario loads, opt-out, npm run demo.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
agent.DEMO_SCENARIOS (one per Website demo profile, each its own fictional
church), DEMO_SCENARIO_ORDER (Accounts first), DEMO_SCENARIO_MIN_VERSIONS,
scenario in seed-demo, accounts in DEMO_PRODUCTS, a profile per scenario for
Events and the App, SEED_SCENARIO_MIN_AGENT (1.7.0).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The contracts for Church App 1.0.0 (docs/APP-1.0-PLAN.md §12). Additive.
- crosscode.devotional/1, the Hub's devotionals reply, and the devotionals CSV
import (parseCsv, checkDevotionalCsv, template), shared by the Hub and the App
- Bible books (USFM, English and Afrikaans), seven translations with YouVersion
ids and copyright lines, parseBibleReference, youVersionUrl
- messaging.get and the messaging.changed hint; whatsapp.optout and
whatsapp_opted_out on the profile
- APP_MODULES, hub.DEVOTIONALS_PATH, agent.APP_DEMO_PROFILES, app in DEMO_PRODUCTS
- the app section of the church export, people[].roles
- Accounts refuses the two new requests until 1.9.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.7.0 had Move and zoom in page sections only. Ministries, Leadership
and Events now have it on their photo, in the frame the site uses for
the current template and layouts. Saved with the row as `framing`
({ x, y, zoom }, null for centred; cleared when the photo changes).
Ministries and leaders are drafts until Publish (snapshot, Discard and
Restore carry it); an event's shows once the event is published.
Versions published before this compare unchanged.
One migration: a nullable JSONB `framing` column on Ministry, Leader
and SimpleEvent.
Also: the 1.7.0 e2e test waits for the media library to load before
counting it (it could count an empty list).
Checked: Website backend tests (136) and typecheck, frontend typecheck
and lint, production build, admin e2e suite in Chromium (12).
Lighthouse not run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A section's photo (hero, welcome, invitation, image-text) shows in the
shape of its frame for the current template and layout, with a Move and
zoom dialog: drag or arrow keys to choose what stays in view, zoom to
300%. Saved with the section as data.framing ({ x, y, zoom } by media
id), a draft until published. The site draws it with object-position
and scale() around that point; Bold split/collage frames now clip, and
a zoomed photo stays inside Heritage's mat. Framing for photos a section
no longer shows is dropped on save.
- Media library: each photo says where it's used; one used nowhere can be
deleted with its files (DELETE /admin/media/:id, 409 IN_USE otherwise,
audited as media_deleted).
Checked: Website backend tests (135) and typecheck, frontend typecheck,
lint and production build, and an e2e test of both flows in Chromium.
Lighthouse not run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A reseed gives every event a new id without listing the old ones in the
feed's `deleted`, and consumers only fetched ?updatedSince= after the first
sync, so the old copies stayed beside the new ones.
- Both: the 15-minute feed poll and "Sync now" fetch the whole list and
drop copies that aren't in it; the fetch after event.changed stays
incremental.
- Events set-demo.js keeps FeedEntry and marks its live entries removed,
resets the links' lastGoodAt, then publishes the new feed, sends
event.changed and fetches the linked products' events back in.
- Website loadDemo lists the old published events in FeedRemoval and sends
event.changed after publishing.
- Website header: links to the church's other sites read "Events site"
with an external-link icon, not a second "Events".
Checked: Website backend tests (133), Events backend tests (802), both
typechecks, Website frontend build. set-demo.js not run end to end (no
local database).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hub 2.25.0, agent 1.6.0 (church-server1 and the central server), Cross Events
3.7.1 and Accounts 1.8.0 at the churches, the Church Website 1.6.0 on
cross-demo2, crosscode.co.za 1.9.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
For the crosscode-site screenshots of another church on each template. Test
helper only, no Website release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new install had no pages, so the home page and its live preview showed
only the header and footer (found on cross-demo2). The backend now adds the
fixed pages with starter text at startup. Settings -> Site icon sets the
favicon, with a default from the church's colour and initial. The Latest
message's Card layout has its name; the media picker's placeholder has
enough contrast.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Website: an icon sidebar in groups (Your site, Content, Go live, Team), a
dashboard with cards and a tile per part of the admin, steps to the first
publish across the top of every admin page, and a live preview beside the
page editor and Template and style (computer or phone width, folds away,
reloads on save). A framed request (Sec-Fetch-Dest: iframe) with an admin
session reads the drafts, so no preview cookie is set. /preview/start
takes ?to=. The page editor has Content and Page details tabs.
- Accounts: /admin is an overview (cards, "Needs you", a tile per section);
People moved to /admin/people; the sidebar shows the part you're in,
grouped, with a count on Deletion requests; People redesigned, with a
confirm before Deactivate; Email and WhatsApp split into two cards.
- Both: darker grey labels for contrast; lucide-react in the Website.
- e2e: the live preview shows drafts while the site stays live; axe on the
page editor.
- docs: VERSIONS, changelogs, WHATS-NEW.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found installing the Website for cross-demo2.
- All three: a connect involving an install that isn't in the cached copy
of the Hub's list yet asks the Hub for a fresh list (one heartbeat, at
most once a minute) instead of refusing. A new Website's admin couldn't
sign in for up to 30 minutes.
- Accounts: a heartbeat on every start.
- Website: /admin links to Accounts on the spot (at most every 15 s), one
connect to Accounts at a time, and the problem page says "not linked
yet" (ACCOUNTS_NOT_LINKED). Preview redirected to the server's own
http://localhost:<web port>: the preview routes now answer with a
relative Location.
- Events: a new Website can connect for the event feed straight away.
- docs: VERSIONS, changelogs, WHATS-NEW.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The messages' YouTube thumbnails are served from the site
(/api/thumbnails/<id>.jpg): the backend fetches a message's thumbnail
once and keeps it in uploads/.thumbnails (only the site's own videos,
only a JPEG), so visitors ask nothing of YouTube before pressing play.
The messages page preloads the first one (its LCP: Heritage 89 -> 95).
- Calendar events' dates read "Sun · November", not
"Sun (month: November)".
- e2e: no request to YouTube or Spotify before play; the variant
screenshots round section heights to whole pixels (a one-pixel flake);
the e2e thumbnail is one of the demo's illustrations.
- crosscode script: a Website's export leaves out uploads/.thumbnails.
- docs: release checks on 1.0.1, VERSIONS, handover.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- e2e: every section variant in every template (axe and 312 screenshots
compared with local baselines), Lighthouse on a phone (median of three,
CPU slowdown calibrated to the machine), the whole suite on real Postgres
with E2E_DATABASE_URL, a frozen clock, E2E_REUSE for running servers.
- Fixes found by them: contrast on Bold's service times panel and Calendar
event dates; the OpenStreetMap embed loads only once on screen; the
messages page's first thumbnail is eager, its host preconnected.
- The restore e2e waits for its second publish (raced on Postgres).
- docs: Hub 2.22.0 deployed; website@1.0.0 released.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Backend (Express + Prisma, ES modules, as Accounts): /api/health and
/api/v1/site/status (Coming soon until the first publish), the content
model and its first migration, and the confirmed section variants per
template (WEBSITE-1.0-PLAN §3, decision 16) with the template switch
rules, with tests. Frontend (Next.js 16): Coming soon page, admin
placeholder, robots.txt. env.template.json, PM2 example, CHANGELOG and
WHATS-NEW. Root workspaces and lint updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The WHATS-NEW heading now says "— requires accounts 1.7.0", so the Hub
shows the requirement and updates a church's Accounts before Events.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>