- 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>
apps/app (not released; app@1.0.0 is built in slices, APP-1.0-PLAN §15):
- backend (Express, Prisma, pg-boss, as the Website): the Hub client
(CCP-, product app, the active-member band in the heartbeat), links
and church.changed, sign-in through Accounts (everyone a Member; 8 days
renewed up to 90; every role only with 2FA; the first Owner from
HUB_ADMIN_EMAIL), Accounts' user.updated/export/deleted, active members
once a day, modules on and off, GET /api/v1/app. Migration init.
- frontend (Next.js 16): header, tab bar, footer, manifest and icons from
the church profile, service worker, Add to home screen, Me, the admin's
first dashboard.
- env.template.json, PM2 template, README, CHANGELOG, WHATS-NEW; 27 tests.
Docs: the Hub runs 2.26.1 with two years of Cross Code's devotionals; an
App gets 2 weeks, today included. HANDOVER lists the App's slices.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The devotionals' two years ahead and 2-week fetch as a thing to
remember; the December CSV ready to import once the Hub is deployed.
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>
HANDOVER (phase table, released 2026-11-30, next steps, demo scenarios, WhatsApp
STOP rule, local PostgreSQL), ROADMAP phase 5/6, APP-1.0-PLAN status, the root
README's folders, Events' handover / FEATURES / DEMO_DATA / README for STOP and
the scenarios, Accounts' and @crosscode/demo's READMEs.
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>
APP-1.0-PLAN.md plans phase 6 (House of Prayer as a 24-hour clock,
prayer requests with approval, announcements, devotionals from Cross
Code or the church's own with a Hub CSV import and YouVersion links,
events, shared email and WhatsApp through Accounts), with Joshua's
decisions of 2026-11-30 and a link to the mockup.
HANDOVER.md records phase 5 as rolled out (Hope Family Church and a
second church live) and sets phase 6 as next up.
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>