contracts 1.20.0: devotionals, Bible passages, messaging.get, WhatsApp opt-out, App export

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>
This commit is contained in:
2026-11-30 09:54:25 +02:00
co-authored by Claude Opus 5.5
parent 8372ef8c6b
commit 514a6d8bc0
39 changed files with 2993 additions and 15 deletions
@@ -57,6 +57,13 @@ const SAMPLE_SCHEMA: Record<string, string> = {
"people-check-reply.json": "people-check-reply",
"church-update.json": "identity-request",
"church-update-reply.json": "church-update-reply",
"church-export-app.json": "church-export",
"messaging-get.json": "identity-request",
"messaging-get-reply.json": "messaging-get-reply",
"messaging-changed.json": "messaging-changed",
"whatsapp-optout.json": "identity-request",
"whatsapp-optout-reply.json": "whatsapp-optout-reply",
"devotionals-reply.json": "devotionals-reply",
};
describe("JSON Schema (schemas/)", () => {