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
+67 -39
View File
@@ -29,8 +29,10 @@ links with the Website and Cross Events, so the three feel like one church.
**Where things stand:** every earlier phase is released and rolled out, including the Church Website
at Hope Family Church and a second church (confirmed by Joshua 2026-11-30). **Phase 6 progress
(2026-11-30):** `contracts@1.20.0` and `1.21.0`, `accounts@1.9.0` and `events@3.8.0` released
(2026-11-30):** `contracts@1.20.0`, `1.21.0` and `1.22.0`, `accounts@1.9.0` and `events@3.8.0` released
(not deployed yet), with the new shared package `@crosscode/demo` 1.1.0 (§12, "Demo scenarios").
The Bible publishers' terms were checked ([BIBLE-PERMISSIONS.md](./BIBLE-PERMISSIONS.md)): 1.0
uses only the free translations, the KJV and the Berean Standard Bible (decision 14, contracts 1.22.0).
Next: `website@1.8.0`, `agent@1.7.0`, Hub `v2.26.0`, then `app@1.0.0` (§15).
**Who uses 1.0:** the demo church (cross-demo2, Acacia Hill) first, then Hope Family Church. Then
@@ -38,13 +40,14 @@ it goes on sale (crosscode-site, ROADMAP §9).
**Done when:**
- `app@1.0.0`, `contracts@1.20.0` (released 2026-11-30), `contracts@1.21.0` (released 2026-11-30), `accounts@1.9.0`
- `app@1.0.0`, `contracts@1.20.0` (released 2026-11-30), `contracts@1.21.0` (released 2026-11-30), `contracts@1.22.0` (released 2026-11-30), `accounts@1.9.0`
(released 2026-11-30), `events@3.8.0` (released 2026-11-30), `website@1.8.0`, `agent@1.7.0` and Hub `v2.26.0` are tagged; the Hub installs
the App from New install (after Accounts) and lists its releases.
- On a demo client, **Load a demo scenario** in the Hub loads Accounts, Events, the Website and
the App with the same church, people and events, in one step (§12, "Demo scenarios").
- The Hub holds 3 months of Cross Code devotionals (written or imported from CSV), and an App set to
"From Cross Code" shows and sends them.
- The Hub holds 3 months of Cross Code devotionals (written or imported from CSV) in the free
translations (KJV, BSB; decision 14), and an App set to "From Cross Code" shows and sends them
with the translation's notice.
- A member can add the App to their home screen (Android and iPhone), sign in once, book a one-off
or recurring prayer slot, get its reminder by email or WhatsApp, and change or cancel it within
the rules.
@@ -266,30 +269,45 @@ Decision 1: **two sources**, chosen in Settings → Devotionals:
devotional, with its translation and copyright line, and **Read in YouVersion** opens it at
`bible.com` (the passage in that translation; YouVersion's app opens instead where it's
installed). The YouVersion link is built from the reference and the translation's YouVersion id.
- **Translations** (decision 10): each devotional, from Cross Code or the church's own, picks one
of seven:
- **Translations** (decisions 10 and 14): **App 1.0 offers only the free (public-domain)
translations**, for Cross Code's devotionals and a church's own alike:
| Id | Translation | Language |
|---|---|---|
| `NLT` | New Living Translation | English |
| `ESV` | English Standard Version | English |
| `NIV` | New International Version | English |
| `NKJV` | New King James Version | English |
| `KJV` | King James Version | English |
| `AFR53` | Afrikaans 1933/1953-vertaling | Afrikaans |
| `AFR83` | Afrikaans 1983-vertaling | Afrikaans |
| Id | Translation | Language | In 1.0 |
|---|---|---|---|
| `KJV` | King James Version | English | ✅ public domain |
| `BSB` | Berean Standard Bible (modern English; public domain since 30 April 2023) | English | ✅ public domain |
| `NLT` | New Living Translation | English | later, with Tyndale's permission |
| `ESV` | English Standard Version | English | later, with Crossway's permission |
| `NIV` | New International Version | English | later, with Biblica's permission |
| `NKJV` | New King James Version | English | later, with HarperCollins Christian's permission |
| `AFR53` | Afrikaans 1933/1953-vertaling | Afrikaans | later, with the Bible Society's permission |
| `AFR83` | Afrikaans 1983/1992-vertaling (1983 with the 1992 rewordings) | Afrikaans | later, with the Bible Society's permission |
The list lives in the contracts with each one's YouVersion id and copyright line, so the Hub,
the App and the CSV import agree; an id never changes once released, and more can be added.
The Afrikaans pair is the proposal (the 2020-vertaling or the Nuwe Lewende Vertaling could
replace one).
- **Licensing:** every one but the KJV is under copyright (the Afrikaans ones with the Bible
Society of South Africa). Each publisher lets its text be quoted within limits (a number of
verses, never a whole book, with its notice), so a devotional quotes **the passage it's about,
not whole chapters**, and the App always shows that translation's copyright line under the
verse. The Hub and the App warn when a passage is longer than 25 verses. Before Cross Code's
devotionals go out to churches, check each publisher's terms for use in an app (or ask for
permission); the church is responsible for its own.
The list lives in the contracts with each one's YouVersion id, notices and `licence`, so the Hub,
the App and the CSV import agree; an id never changes once released, and more can be added. The
Hub and the App offer `FREE_BIBLE_TRANSLATION_IDS` only, and the CSV import refuses any other
(`checkDevotionalCsv(…, { translations })`, naming the publisher to ask). A translation joins
when its publisher gives written permission (a contracts release moves it to `public-domain`
or a new `licensed` value, and the Hub and the App offer it from their next release). **There
is no free Afrikaans translation** (the Bible Society holds both, and eBible lists none), so an
Afrikaans church's devotionals are written in Afrikaans and quote the KJV or BSB until one is
cleared.
- **Licensing** (checked 2026-11-30, [BIBLE-PERMISSIONS.md](./BIBLE-PERMISSIONS.md)): every
translation but the KJV and BSB is under copyright. Each publisher allows **500 verses** without
asking, counted across the whole work (Biblica: the whole app), never a whole book, with its
notice. **Daily devotionals pass that in two or three months, and the App is sold**, so using
them needs each publisher's **written permission**. Decision 14: 1.0 doesn't wait for it; the
requests are drafted in BIBLE-PERMISSIONS.md for when Cross Code wants a translation. A
devotional quotes **the passage it's about, not whole chapters**; the Hub and the App warn when
a passage is longer than 25 verses.
- **Notices** (contracts 1.22.0): the translation's `copyright` line under every quoted passage
(screen, email and WhatsApp) and an **Acknowledgements** page (linked from the footer and the
devotional) with each used translation's `acknowledgement`. Not required for the KJV and BSB,
but shown anyway (the Berean translators ask for it). A translation added later brings its
publisher's exact wording, and for the Bible Society's their `disclaimer` with every devotional.
- **No AI on Bible text:** Crossway (ESV) and Biblica (NIV) forbid it without a separate licence,
so no AI feature reads, writes, translates or summarises a devotional's passage (§4 already keeps
AI away from prayer).
- **The Hub** (Hub 2.26.0, decision 1): a **Devotionals** page to write and schedule Cross Code's
devotionals **up to 3 months ahead**, with a calendar showing which days are filled, and an
**Import CSV** button: upload, a preview with every row checked (date, required fields, a
@@ -422,8 +440,8 @@ the band in Settings → Licence. Visitors browsing signed out never count.
**renewal check** (the tier is checked once a year at renewal, ROADMAP §10) that flags an install
whose band is above its tier; the FastPanel email for `app.`; the App in Jobs' product filter
(already) and demo data; and **Devotionals** (§6): write and schedule up to 3 months ahead, the
calendar, Import CSV with its preview, and `GET /api/v2/devotionals` for App installs (licence
token, App licences only).
calendar, Import CSV with its preview (the free translations only, §6), and
`GET /api/v2/devotionals` for App installs (licence token, App licences only).
- **Contracts 1.20.0:** `app` in `DEMO_PRODUCTS`; the `app` section of the church export; the
App's modules list (`APP_MODULES`); `crosscode.devotional/1` and the devotionals reply; the CSV
columns and row checks (shared by the Hub and the App); `messaging.get` for the App (§8); the
@@ -483,12 +501,12 @@ data that describes **the same church**, so a demo shows the three products work
| Scenario | Church | Website | Events (built from) | App |
|---|---|---|---|---|
| `heritage-parish` | **St Columba's**: a 120-year-old parish church, small and older, Sunday 09:00 | `heritage-parish` | `small`: carol service, harvest festival, a funeral-tea roster | a quiet wall (about 10 of 24 hours), Cross Code's devotionals in NKJV, a Lent campaign |
| `heritage-parish` | **St Columba's**: a 120-year-old parish church, small and older, Sunday 09:00 | `heritage-parish` | `small`: carol service, harvest festival, a funeral-tea roster | a quiet wall (about 10 of 24 hours), Cross Code's devotionals in the KJV, a Lent campaign |
| `heritage-city` | **Grace Cathedral**: city centre, three Sunday services, lunchtime prayer | `heritage-city` | `events`: a concert series, ticketed Easter services | full in office hours with gaps at night, a weekday lunchtime focus, announcements per service |
| `bold-youth` | **Ignite Church**: young and music-led | `bold-youth` | `events`: a youth conference with paid registration, a worship night | a 21-day campaign before the conference, testimonies, WhatsApp reminders, NLT devotionals |
| `bold-youth` | **Ignite Church**: young and music-led | `bold-youth` | `events`: a youth conference with paid registration, a worship night | a 21-day campaign before the conference, testimonies, WhatsApp reminders, BSB devotionals |
| `bold-plant` | **Harbour City**: a 2-year-old plant in a school hall | `bold-plant` | `small`: launch Sunday, a newcomers' lunch | a wall still filling up (the admin's setup checklist half done), the pastor's own devotionals |
| `community-family` | **Acacia Hill**: a family church (cross-demo2, the mockup's church) | `community-family` | `ministry`: kids' club, Alpha, family camp, volunteer rosters | full with a few gaps (as in the mockup), a 21-day campaign, members' requests waiting for approval |
| `community-town` | **Karoo Gemeenskapskerk**: a country-town church, mostly Afrikaans | `community-town` | `small`: a bazaar, a prayer breakfast | AFR83 devotionals of its own, 30-minute slots, the area's emergency numbers |
| `community-town` | **Karoo Gemeenskapskerk**: a country-town church, mostly Afrikaans | `community-town` | `small`: a bazaar, a prayer breakfast | Afrikaans devotionals of its own (quoting the BSB until an Afrikaans translation is cleared), 30-minute slots, the area's emergency numbers |
| `clean-modern` | **Northpoint**: a contemporary church of about 600 | `clean-modern` | `ministry`: courses, groups launch, serve teams | every hour covered, target 2 per slot, Cross Code's devotionals, announcements by WhatsApp |
| `clean-campus` | **Riverside**: three campuses near the university | `clean-campus` | `multicampus`: student welcome week at one campus, a combined worship night | one wall for three campuses, announcements per campus, students on the 02:00 slots |
@@ -524,6 +542,7 @@ data that describes **the same church**, so a demo shows the three products work
| `crosscode-platform` `apps/app` | New (§1–§12), with `CHANGELOG.md`, `WHATS-NEW.md`, `env.template.json`, e2e, demo data | `app@1.0.0` |
| `crosscode-platform` `packages/contracts` | `app` in `DEMO_PRODUCTS`, `APP_MODULES`, the `app` part of the church export, `crosscode.devotional/1` and its CSV rules, the translations, `messaging.get`, `whatsapp.optout` | `contracts@1.20.0` (**released 2026-11-30**) |
| `crosscode-platform` `packages/contracts` | `agent.DEMO_SCENARIOS`, `scenario` in `seed-demo`, `accounts` in `DEMO_PRODUCTS` | `contracts@1.21.0` (**released 2026-11-30**) |
| `crosscode-platform` `packages/contracts` | The free translations only in 1.0 (`licence`, `FREE_BIBLE_TRANSLATION_IDS`, the CSV `translations` option), the Berean Standard Bible (`BSB`) added; the publishers' exact notices (`copyright`, `acknowledgement`, the Bible Society's `disclaimer`), `publisher` and `permissionsUrl`, `FREE_QUOTE_VERSES`, `quotedVerses`; `AFR83` named "Afrikaans 1983/1992-vertaling" | `contracts@1.22.0` (**released 2026-11-30**) |
| `crosscode-platform` `apps/accounts` | `messaging.get` for linked products, a hint when the messaging settings change, the WhatsApp opt-out for every product; demo data (the scenario's church profile with its logo and icon, and its people) | `accounts@1.9.0` (**released 2026-11-30**) |
| `crosscode-platform` `apps/events` | STOP stops all WhatsApp, passed to Accounts; the opt-out read from Accounts; a demo profile per scenario (its four kept) | `events@3.8.0` (**released 2026-11-30**) |
| `crosscode-platform` `apps/website` | Demo profiles take the scenario's people and events (`--scenario`) | `website@1.8.0` |
@@ -532,7 +551,7 @@ data that describes **the same church**, so a demo shows the three products work
| `crosscode-platform` `packages/ui` | The tab bar and bottom sheet, if worth sharing; otherwise nothing | workspace |
| `crosscode-platform` `packages/seo` | `Article` builder for devotionals and announcements; the icon generator for the manifest | workspace |
| `crosscode-platform` `scripts/` | `products/app.sh`, `app.env.template.json`, bats tests | — |
| `events-hub` | App in New install, its releases, env template, billing on the band, renewal check, FastPanel email, Devotionals (write, schedule 3 months ahead, Import CSV, the endpoint for Apps), **Load a demo scenario** on a demo client (vendored contracts 1.21.0) | Hub `v2.26.0` |
| `events-hub` | App in New install, its releases, env template, billing on the band, renewal check, FastPanel email, Devotionals (write, schedule 3 months ahead, Import CSV in the free translations, the endpoint for Apps), **Load a demo scenario** on a demo client (vendored contracts 1.22.0) | Hub `v2.26.0` |
| `crosscode-site` | Church App on sale (ROADMAP §9): its page, the active-member tiers, House of Prayer screenshots, the bundle examples (§10), FAQ, `SoftwareApplication` JSON-LD | `v1.10.0` |
## 14. Testing
@@ -545,9 +564,10 @@ data that describes **the same church**, so a demo shows the three products work
Member, the 8-day sign-in renewed up to 90 days, active-member counting and the band, the export
and delete hooks, the devotional CSV checks (a bad date, a missing field, a reference YouVersion
can't open, a day already filled), the YouVersion links, the nightly Cross Code fetch (and the
last copy kept when the Hub is down), `messaging.get`.
- **Hub:** the Devotionals page, Import CSV with its preview, the 3-month limit, and the endpoint
refusing anything but an App licence.
last copy kept when the Hub is down), `messaging.get`, the notice under every quoted passage
(screen, email, WhatsApp), only the free translations offered and imported.
- **Hub:** the Devotionals page, Import CSV with its preview, the 3-month limit, a translation that isn't
free refused, and the endpoint refusing anything but an App licence.
- **Playwright** (phone, tablet and desktop): browse signed out; sign in from a slot and land back
on it with the sheet open (through 2FA); book once, weekly and daily; skip, change and cancel;
the 8-hour rule; two browsers, one books, the other's view updates live (and with the stream
@@ -572,8 +592,8 @@ data that describes **the same church**, so a demo shows the three products work
rolled out to every church (not yet).
2. `contracts@1.21.0` (demo scenarios, **released 2026-11-30**), with the scenario demo loaders in Accounts 1.9.0, Events
3.8.0, `website@1.8.0`, and `agent@1.7.0`.
3. Hub `v2.26.0` (vendored contracts 1.21.0) deployed, and the first 3 months of Cross Code
devotionals written or imported.
3. Hub `v2.26.0` (vendored contracts 1.22.0) deployed, and the first 3 months of Cross Code
devotionals written or imported, in the KJV or BSB (decision 14).
4. `app@1.0.0` tagged after the e2e and Lighthouse runs.
5. **cross-demo2** (Acacia Hill): New install → App, every demo scenario loaded once, the
throwaway test above.
@@ -605,6 +625,7 @@ Made by Joshua on 2026-11-30, after the first draft and the mockup:
panels and stat cards), not a new style (§10; mockup redrawn).
10. **Each devotional uses one of NLT, ESV, NIV, NKJV, KJV or two Afrikaans translations**
(proposed: 1933/1953 and 1983), quoting only the passage, with its copyright line (§6).
Narrowed by decision 14: only the free ones (KJV, BSB) in 1.0.
11. **Accounts keeps the WhatsApp opt-out for every product,** so a STOP to the shared number
reaches the App, Events and Accounts alike (§8). Adds Events 3.8.0.
12. **Home shows today's prayer clock** in small, as the House of Prayer does (mockup redrawn).
@@ -613,6 +634,10 @@ Made by Joshua on 2026-11-30, after the first draft and the mockup:
contracts 1.21.0, agent 1.7.0 and Website 1.8.0, and demo data in Accounts 1.9.0. Eight
scenarios, one per Website demo profile, each its own church: a scenario load replaces the
church profile with its own name, logo, icon, colours and details.
14. **Only free Bible translations in 1.0** (added later on 2026-11-30, after the publishers'
terms were checked: none covers a sold app past 500 verses): the KJV and the Berean Standard
Bible. The others stay in the contracts and join when a publisher gives written permission;
that doesn't hold up this plan (§6, [BIBLE-PERMISSIONS.md](./BIBLE-PERMISSIONS.md)).
The other proposals as first written, confirmed:
@@ -648,6 +673,9 @@ for a group; an app-store release; moving to the church's own domain (as the Web
## Still open
- ~~Which two Afrikaans translations~~: 1933/1953 and 1983, confirmed by Joshua 2026-11-30 (YouVersion ids checked, contracts 1.20.0).
- **The publishers' terms** for quoting each translation in an app (§6), checked before Cross
Code's devotionals go out; ask for permission where the terms don't cover it.
- ~~The publishers' terms~~: checked 2026-11-30 ([BIBLE-PERMISSIONS.md](./BIBLE-PERMISSIONS.md)).
None covers a sold app past 500 verses, so 1.0 uses only the free translations (decision 14).
The permission requests are drafted for later; nothing in this plan waits for them.
- **An Afrikaans translation** (1.x): none is free. Ask the Bible Society when an Afrikaans church
needs one (the request is drafted in BIBLE-PERMISSIONS.md).
- ~~The demo scenarios~~: eight, one per Website demo profile, each its own church with its own logo and details; Acacia Hill is `community-family` (Joshua, 2026-11-30).