contracts 1.21.0: demo scenarios, eight churches across every product

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>
This commit is contained in:
2026-11-30 10:11:46 +02:00
co-authored by Claude Opus 5.5
parent b720706143
commit 7032e16894
9 changed files with 245 additions and 24 deletions
+4 -4
View File
@@ -35,7 +35,7 @@ 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`, `accounts@1.9.0`,
- `app@1.0.0`, `contracts@1.20.0` (released 2026-11-30), `contracts@1.21.0` (released 2026-11-30), `accounts@1.9.0`,
`events@3.8.0`, `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
@@ -490,7 +490,7 @@ data that describes **the same church**, so a demo shows the three products work
Between them, the App's active members cover every band from 0–100 to 2 001–5 000 and Events'
income bands vary, so the scenarios also show the Hub's tiers and billing. Each scenario's people
are sized to its band (the App's active-member count comes from them).
- **Contracts 1.21.0:** `agent.DEMO_SCENARIOS`: each scenario's key, label, description, and the
- **Contracts 1.21.0 (released 2026-11-30):** `agent.DEMO_SCENARIOS`: each scenario's key, label, description, and the
profile it uses for each product (`accounts`, `events`, `website`, `app`), so the Hub and the
agent agree; a test checks every profile it names exists. `seed-demo` takes an optional
`scenario`, and `accounts` joins `DEMO_PRODUCTS` (its demo is the church profile and the people).
@@ -518,7 +518,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` |
| `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` `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` |
| `crosscode-platform` `apps/events` | STOP replies passed to Accounts; the opt-out read from Accounts; demo profiles reworked to the scenarios | `events@3.8.0` |
| `crosscode-platform` `apps/website` | Demo profiles take the scenario's people and events (`--scenario`) | `website@1.8.0` |
@@ -563,7 +563,7 @@ data that describes **the same church**, so a demo shows the three products work
1. `contracts@1.20.0` (**released 2026-11-30**), then `accounts@1.9.0` (`messaging.get`, the
WhatsApp opt-out) and `events@3.8.0` (STOP passed to Accounts), rolled out to every church.
2. `contracts@1.21.0` (demo scenarios), with the scenario demo loaders in Accounts 1.9.0, Events
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.