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:
@@ -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.
|
||||
|
||||
+7
-1
@@ -14,7 +14,7 @@ separately below; the two often differ.
|
||||
| Church Website | `crosscode-platform` (`apps/website`) | **1.7.1** | `website@1.7.1` | 2026-11-28 |
|
||||
| Accounts | `crosscode-platform` (`apps/accounts`) | **1.8.0** | `accounts@1.8.0` | 2026-11-26 |
|
||||
| Server agent | `crosscode-platform` (`apps/agent`) | **1.6.0** | `agent@1.6.0` | 2026-11-27 |
|
||||
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.20.0** | `contracts@1.20.0` | 2026-11-30 |
|
||||
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.21.0** | `contracts@1.21.0` | 2026-11-30 |
|
||||
| Cross Code Hub | `events-hub` | **2.25.1** | `v2.25.1` | 2026-11-27 |
|
||||
| crosscode.co.za | `crosscode-site` | **1.9.1** | `v1.9.1` | 2026-11-27 |
|
||||
| `crosscode` script | `crosscode-platform` (`scripts/`) | `main` | none | 2026-11-27 (last change: an uninstall keeps the Website's backup snapshots shared, `rsync -aH`) |
|
||||
@@ -38,6 +38,12 @@ need their own tags until something outside this repo depends on them.
|
||||
|
||||
## What each latest release was for
|
||||
|
||||
- **Contracts 1.21.0 (2026-11-30):** demo scenarios (APP-1.0-PLAN §12): `agent.DEMO_SCENARIOS`,
|
||||
eight fictional churches, one per Website demo profile, that load Accounts, Events, the Website
|
||||
and the App alike; `scenario` in `seed-demo`, `accounts` in `DEMO_PRODUCTS`, a profile per
|
||||
scenario for Events and the App (1.20.0's unused `acacia-hill` replaced by `community-family`),
|
||||
the minimum releases and agent. Checked: contracts tests (335), JSON Schemas, lint, the agent's
|
||||
tests. Nothing to deploy: the Hub vendors it with 2.26.0.
|
||||
- **Contracts 1.20.0 (2026-11-30):** the contracts for Church App 1.0.0 (APP-1.0-PLAN §12), the
|
||||
first step of phase 6: `crosscode.devotional/1` and the devotionals CSV checks shared by the Hub
|
||||
and the App, the Bible books and seven translations (YouVersion ids checked by Joshua),
|
||||
|
||||
Reference in New Issue
Block a user