contracts 1.22.0: only free Bible translations in App 1.0, the publishers' notices

- 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>
This commit is contained in:
2026-11-30 13:48:38 +02:00
co-authored by Claude Opus 5.5
parent dfd7278f7b
commit 2eef8d1da3
17 changed files with 565 additions and 74 deletions
+43 -5
View File
@@ -35,7 +35,7 @@ every release).
| 4 | Cross Events 3.0.0: sign-in through Accounts | **Released, rolled out and tested** (`events@3.7.2` rolled out; `3.8.0` released 2026-11-30 for phase 6, not deployed; [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md)). Churches sign in through their Accounts; crosscode-site `v1.6.0` deployed |
| 4+ | Running it: jobs from the dashboard, styled emails, .env from the Hub, sign-in health, the nightly people check; then frp config and one-product uninstalls, and the Hub's popups, pickers and port list | **Released, deployed and tested** 2026-11-20 and 2026-11-23 (below) |
| 5 | Church Website 1.0.0 | **Released 2026-11-26** (planned 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md), all decisions confirmed). Font pairings confirmed 2026-11-24, section variants per template 2026-11-25 (§3). `contracts@1.17.0`, `accounts@1.7.0` and `events@3.7.0` released 2026-11-24, Hub `v2.21.0` 2026-11-25 (the Hub deployed 2026-11-25; the others not rolled out yet). `contracts@1.18.0` and Hub `v2.22.0` (Get more storage) released 2026-11-25, the Hub deployed 2026-11-26. **`website@1.0.0` and `1.0.1` released 2026-11-26**, crosscode-site `v1.7.0` (the Website on sale) released 2026-11-26. **Done** (confirmed by Joshua 2026-11-30): crosscode-site deployed, Hope Family Church and a second church live, the remaining release checks finished. Now `website@1.7.1` (VERSIONS.md) |
| 6 | Church App 1.0.0 | **Under way** (planned and started 2026-11-30): [APP-1.0-PLAN.md](./APP-1.0-PLAN.md), decisions confirmed 2026-11-30 (decision 13, the demo scenarios, added the same day); mockup on the Design canvas "Church App 1.0 mockup". Released 2026-11-30, not deployed: `contracts@1.20.0` and `1.21.0`, `accounts@1.9.0`, `events@3.8.0` (below). Next: Website 1.8.0, agent 1.7.0, Hub 2.26.0, `app@1.0.0` |
| 6 | Church App 1.0.0 | **Under way** (planned and started 2026-11-30): [APP-1.0-PLAN.md](./APP-1.0-PLAN.md), decisions confirmed 2026-11-30 (decision 13, the demo scenarios, added the same day); mockup on the Design canvas "Church App 1.0 mockup". Released 2026-11-30, not deployed: `contracts@1.20.0`, `1.21.0` and `1.22.0`, `accounts@1.9.0`, `events@3.8.0` (below). Next: Website 1.8.0, agent 1.7.0, Hub 2.26.0, `app@1.0.0` |
| 7 | App 1.x | Not started |
## Released 2026-11-30 (phase 6, first steps)
@@ -48,6 +48,7 @@ Tagged and pushed on 2026-11-30, **not deployed yet** (each app has one migratio
| `contracts@1.20.0` | The App's contracts: `crosscode.devotional/1` and the devotionals CSV checks (shared by the Hub and the App), the Bible books and seven translations with YouVersion ids, `messaging.get` / `messaging.changed`, `whatsapp.optout` and `whatsapp_opted_out`, `APP_MODULES`, the `app` part of the church export |
| `contracts@1.21.0` | `agent.DEMO_SCENARIOS`: the eight demo churches, one per Website demo profile; `scenario` in `seed-demo`, `accounts` in `DEMO_PRODUCTS` |
| `accounts@1.9.0`, `@crosscode/demo` 1.0.0 | `messaging.get` for the App; the WhatsApp opt-out for every product (STOP kept per number and account, Accounts' own WAWP webhook, "Turn WhatsApp back on"); a scenario's church profile, SVG logo and icon, and people (`crosscode demo <church> accounts --profile <scenario>`) |
| `contracts@1.22.0` | Only free Bible translations in 1.0 (KJV and the new BSB: `licence`, `FREE_BIBLE_TRANSLATION_IDS`, the CSV `translations` option); the publishers' exact notices (NLT, ESV and the Afrikaans ones were out of date), the Bible Society's disclaimer, an `acknowledgement` per translation, who to ask, `FREE_QUOTE_VERSES` and `quotedVerses` ([BIBLE-PERMISSIONS.md](./BIBLE-PERMISSIONS.md)) |
| `events@3.8.0`, `@crosscode/demo` 1.1.0 | STOP stops all WhatsApp (not only news), checked before every message and passed on to Accounts; the eight scenarios as Events demo profiles, around each church's own people and campuses |
All four were checked on PostgreSQL 18 (local, details in `temp/`, never committed): migrations,
@@ -116,15 +117,48 @@ Family Church and a second church are live on the Website, crosscode-site sells
Joshua 2026-11-30; VERSIONS.md, "Deployed / rolled out").
1. **Phase 6, Church App 1.0.0** (ROADMAP §7, §9), [APP-1.0-PLAN.md](./APP-1.0-PLAN.md) §15.
**Done 2026-11-30 (released, not deployed):** contracts 1.20.0 and 1.21.0, Accounts 1.9.0,
Events 3.8.0. **Next:**
**Done 2026-11-30 (released, not deployed):** contracts 1.20.0, 1.21.0 and 1.22.0, Accounts
1.9.0, Events 3.8.0. The Bible publishers' terms checked: none covers a sold app, so **1.0 uses only the
free translations, the KJV and the Berean Standard Bible** (APP-1.0-PLAN decision 14); the
permission requests for the others are drafted in [BIBLE-PERMISSIONS.md](./BIBLE-PERMISSIONS.md)
for later, and nothing waits for them. **Next:**
1. **Website 1.8.0:** its eight demo profiles take each scenario church's people (leaders,
pastor) from `@crosscode/demo` and accept `--scenario`; the Website builds `packages/demo`.
Not started (no branch). Worked out on 2026-11-30, to build on `feat/website-1.8`:
- `npm run demo -- --profile <p> --scenario <p>` (`backend/scripts/demo.ts`); `loadDemo(ctx,
profile, { scenario })` in `src/demo/demoChurch.ts`; the scenario must be the profile.
- **Leaders:** a `scenarioTeam` per seed in `src/demo/seeds.ts`, four `[part, role, photo]`,
the pastor first, the names from `demoPeople(scenario)` by part. Portraits by gender
(keys in `demo-photos/photos.json`), checked 2026-11-30:
heritage-parish pastor/Rector pastor-margaret, worship/Director of music team-sipho,
kids/Sunday school team-anne, prayer-coordinator team-david; heritage-city pastor/Vicar
pastor-peter, prayer-coordinator team-claire, worship/Organist team-nomsa, youth/Students
and young adults team-tom; bold-youth pastor/Lead pastor team-kagiso, youth/Youth pastor
team-ayesha, worship/Worship pastor team-megan, prayer-coordinator/Prayer and connect
groups team-ruan; bold-plant pastor/Church planter team-sipho, kids team-ayesha, worship/Music
team-ruan, prayer-coordinator/Prayer and community team-lerato; community-family
pastor/Senior pastor pastor-andile, kids/Children's pastor team-michelle, prayer-coordinator
team-lerato, youth team-johan; community-town pastor/Minister pastor-willem, kids/Sunday
school team-elsie, worship/Music team-pieter, prayer-coordinator/Prayer team-marie;
clean-modern pastor pastor-daniel, kids team-bongani, worship/Music team-nadia,
prayer-coordinator/Prayer team-refilwe; clean-campus pastor pastor-ian, youth/Students
team-thabo, worship/Music team-lisa, prayer-coordinator/Prayer team-priya. The pastor is
the messages' speaker; photo alt texts carry the new names (as now).
- **Events:** with a linked Cross Events (`ProductLink`, product `events`), a scenario load
makes no simple events of its own, sets that link's `showEvents` and runs `syncLink`, so
Events' events show through the feed, never copied (APP-1.0-PLAN §12). Without Events, its
own three as now.
- **Script:** `cmd_demo_website` in `scripts/lib/manage.sh` passes `--scenario`;
`website_shared_packages` and `website_build` in `scripts/products/website.sh` add
`packages/demo` (as `events.sh` does); `@crosscode/demo` in the backend's package.json.
- Tests in `backend/tests/site.test.ts`: each scenario's leaders are its people, none of the
seed's own leader names left, events from the feed when Events is linked.
2. **Agent 1.7.0:** `seed-demo` for `app` and `accounts`, `--scenario` passed on
(`SEED_SCENARIO_MIN_AGENT`; bump `AGENT_VERSION` too).
3. **Hub 2.26.0** (vendored contracts 1.21.0): the App in New install and releases, billing on
3. **Hub 2.26.0** (vendored contracts 1.22.0): the App in New install and releases, billing on
the active-member band, **Load a demo scenario** on a demo client, the **Devotionals** page
(3 months ahead, Import CSV) and `GET /api/v2/devotionals`. Then write or import the first 3
(3 months ahead, Import CSV, the free translations only: KJV and BSB) and
`GET /api/v2/devotionals`. Then write or import the first 3
months of Cross Code devotionals.
4. **`app@1.0.0`** → cross-demo2 (every scenario loaded, the throwaway install from the Hub) →
Hope Family Church → crosscode-site 1.10.0 (the App on sale).
@@ -185,6 +219,10 @@ rollout.
`user.updated`); every product checks it before sending (Events: `utils/whatsappStop.js`), and
whichever product receives a STOP passes it on with `whatsapp.optout`. The App and the Website
must do the same.
- **Bible text** (BIBLE-PERMISSIONS.md, from contracts 1.22.0): the Hub and the App offer only
`FREE_BIBLE_TRANSLATION_IDS` (KJV, BSB). Any other needs its publisher's written permission
first, then brings its exact `copyright` line (and the Bible Society's `disclaimer` for
AFR53/AFR83), copied from the publisher, never reworded. **No AI on Bible text**, ever: Crossway and Biblica forbid it.
- **A new Events install never takes over an existing database**: moving an existing site is
`adopt`, not a New install pointed at the old database.
- **Prisma in the monorepo:** each app other than Events sets its own generator `output`, so