Compare commits
2
Commits
contracts@1.24.0
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74dee881e4 | ||
|
|
969d0110a1 |
@@ -30,10 +30,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` to `1.23.0`, `accounts@1.9.0`, `events@3.8.0`, `website@1.8.0` and
|
||||
`agent@1.7.0` and Hub `v2.26.0` released (not deployed yet), with the new shared package `@crosscode/demo` 1.1.0 (§12, "Demo scenarios").
|
||||
`agent@1.7.0`, Hub `v2.26.0` and `v2.26.1` and `contracts@1.24.0` (devotionals two years ahead, Apps fetch 2 weeks) 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: deploy the Hub and write the first devotionals, then `app@1.0.0` (§15).
|
||||
Next: deploy the Hub (2.26.1) and import the first devotionals (December 2026's are ready), then `app@1.0.0` (§15).
|
||||
|
||||
**Who uses 1.0:** the demo church (cross-demo2, Acacia Hill) first, then Hope Family Church. Then
|
||||
it goes on sale (crosscode-site, ROADMAP §9).
|
||||
@@ -554,6 +554,7 @@ data that describes **the same church**, so a demo shows the three products work
|
||||
| `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` `packages/contracts` | `seed-scenario`: a whole demo scenario in one job, on whatever the church has installed (`SEED_SCENARIO_JOB_MIN_AGENT`) | `contracts@1.23.0` (**released 2026-11-30**) |
|
||||
| `crosscode-platform` `packages/contracts` | `CROSSCODE_DEVOTIONALS_SCHEDULE_MONTHS` (24: the Hub's two years ahead), `CROSSCODE_DEVOTIONALS_FETCH_DAYS` (14: an App's nightly fetch), the CSV up to 800 rows and 8 MB | `contracts@1.24.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` (**released 2026-11-30**) |
|
||||
@@ -562,7 +563,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 up to two years ahead, Import CSV in the free translations, the endpoint for Apps), **Load a demo scenario** on a demo client (one `seed-scenario` job; vendored contracts 1.23.0) | Hub `v2.26.0` (**released 2026-11-30**) |
|
||||
| `events-hub` | App in New install, its releases, env template, billing on the band, renewal check, FastPanel email, Devotionals (write, schedule up to two years ahead, Import CSV in the free translations, the endpoint for Apps), **Load a demo scenario** on a demo client (one `seed-scenario` job; vendored contracts 1.23.0) | Hub `v2.26.0` (**released 2026-11-30**); `v2.26.1`: two years ahead, Apps fetch 2 weeks (**released 2026-11-30**) |
|
||||
| `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
|
||||
@@ -603,8 +604,10 @@ 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` (**both released 2026-11-30**).
|
||||
3. Hub `v2.26.0` (vendored contracts 1.23.0; **released 2026-11-30**) deployed, and the first 3 months of Cross Code
|
||||
devotionals written or imported, in the KJV or BSB (decision 14).
|
||||
3. Hub `v2.26.0` (vendored contracts 1.23.0; **released 2026-11-30**) and `v2.26.1` (contracts 1.24.0:
|
||||
two years ahead, Apps fetch 2 weeks; **released 2026-11-30**) deployed, and the first 3 months of
|
||||
Cross Code devotionals written or imported, in the KJV or BSB (decision 14). December 2026's are
|
||||
ready to import (`temp/`, 32 days, BSB).
|
||||
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.
|
||||
|
||||
+14
-8
@@ -26,7 +26,7 @@ every release).
|
||||
| Phase | What | State |
|
||||
|-------|------|-------|
|
||||
| 0 | contracts 1.0.0 → 1.21.0 | **Released and in use.** Not published to a registry (decision 22): the Hub gets a packed release committed to its repo (`backend/vendor/`) |
|
||||
| 1 | Hub 2.0 → 2.20.0 | **Released, deployed and tested** (Hub `v2.20.0`; now `v2.26.0`, VERSIONS.md) |
|
||||
| 1 | Hub 2.0 → 2.20.0 | **Released, deployed and tested** (Hub `v2.20.0`; now `v2.26.1`, released 2026-11-30, not deployed; VERSIONS.md) |
|
||||
| 1b | Cross Events 2.2.0: moved here as `apps/events`, the `crosscode` script | **Released, rolled out and tested.** Every install adopted onto the monorepo |
|
||||
| 1c | Cross Events 2.3.x: authenticator app 2FA | **Released and rolled out** (carried into Accounts in phase 4) |
|
||||
| 1d | Agent 1.x + Hub 2.1+ | **Released, rolled out and tested** (agent `1.5.0` on every server: from 1.4.0 the Hub reads and changes frps's / frpc's config and probes ports before an install; from 1.5.0 one product of a church can be uninstalled, exported or purged) |
|
||||
@@ -40,7 +40,7 @@ every release).
|
||||
|
||||
## Released 2026-11-30 (phase 6, first steps)
|
||||
|
||||
Tagged and pushed on 2026-11-30, **not deployed yet** (Accounts and Events have one migration each; the Website and the agent none). Details in
|
||||
Tagged and pushed on 2026-11-30, **not deployed yet** (Accounts, Events and the Hub have one migration each, the Hub's in 2.26.0; the Website, the agent and Hub 2.26.1 none). Details in
|
||||
[VERSIONS.md](./VERSIONS.md), [CHANGELOG.md](../CHANGELOG.md) and the apps' CHANGELOGs.
|
||||
|
||||
| Release | What |
|
||||
@@ -121,8 +121,8 @@ 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 to 1.23.0, Accounts
|
||||
1.9.0, Events 3.8.0, Website 1.8.0, agent 1.7.0. The Bible publishers' terms checked: none covers a sold app, so **1.0 uses only the
|
||||
**Done 2026-11-30 (released, not deployed):** contracts 1.20.0 to 1.24.0, Accounts
|
||||
1.9.0, Events 3.8.0, Website 1.8.0, agent 1.7.0, Hub 2.26.0 and 2.26.1. 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:**
|
||||
@@ -135,14 +135,16 @@ Joshua 2026-11-30; VERSIONS.md, "Deployed / rolled out").
|
||||
(`crosscode demo <church> --scenario <s>`) loads the scenario on every product the church
|
||||
has installed, skipping the rest, every release checked first; `crosscode demo <church> app` refused clearly until
|
||||
App 1.0.0 brings `scripts/products/app.sh` and the App's demo.
|
||||
3. ~~**Hub 2.26.0**~~: **released 2026-11-30** (not deployed). Was: the App in New install and releases, billing on
|
||||
3. ~~**Hub 2.26.0**~~ and ~~**2.26.1**~~ (with contracts 1.24.0): **released 2026-11-30** (not deployed). Was: the App in New install and releases, billing on
|
||||
the active-member band, **Load a demo scenario** on a demo client (one `seed-scenario` job,
|
||||
agent 1.7.0+: the server seeds whatever the client has installed, Accounts first; show the
|
||||
report's `loaded` / `skipped`), the **Devotionals** page
|
||||
(up to two years ahead from 2.26.1, Import CSV, the free translations only: KJV and BSB) and
|
||||
`GET /api/v2/devotionals`. **Next:** deploy it (`scripts/deploy.sh` in events-hub, one
|
||||
migration), then write or import the first 3 months of Cross Code devotionals in the KJV or
|
||||
BSB (Hub → Devotionals).
|
||||
`GET /api/v2/devotionals` (2 weeks per fetch from 2.26.1). **Next:** deploy 2.26.1
|
||||
(`scripts/deploy.sh` in events-hub; one migration, from 2.26.0), then import the first
|
||||
devotionals: `temp/cross-code-devotionals-nov-30-to-dec-31-2026.csv` (32 days, BSB, every row
|
||||
passes the Hub's checks; its Bible text not yet compared with the BSB) through Hub →
|
||||
Devotionals → Import CSV, and keep them filled well ahead (Apps fetch only 2 weeks).
|
||||
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).
|
||||
Deploying Accounts 1.9.0, Events 3.8.0 and Website 1.8.0 to the churches can happen any time before the App;
|
||||
@@ -208,6 +210,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.
|
||||
- **Cross Code's devotionals** (Hub 2.26.1, contracts 1.24.0): the Hub schedules them up to two
|
||||
years ahead (`CROSSCODE_DEVOTIONALS_SCHEDULE_MONTHS`), an App fetches 2 weeks each night
|
||||
(`CROSSCODE_DEVOTIONALS_FETCH_DAYS`, Joshua 2026-11-30: 2 weeks at most), so a day not filled
|
||||
2 weeks ahead is missing in every App until it is. A CSV holds up to 800 rows (8 MB).
|
||||
- **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
|
||||
|
||||
+1
-1
@@ -642,7 +642,7 @@ Planned in [AGENT-1.0-PLAN.md](./AGENT-1.0-PLAN.md). In short:
|
||||
| 3 | **Accounts 1.0.0** | OIDC provider, sign-in, 2FA (email, WhatsApp, authenticator app), password reset, consent and notice, export / delete fan-out, admin, install script. [ACCOUNTS-1.0-PLAN.md](./ACCOUNTS-1.0-PLAN.md) (with contracts 1.5.0, `packages/auth-client`, Hub 2.3.0). **Released 2026-11-18** (`accounts@1.0.0`, 1.0.1 on 2026-11-19); the VM test and a run on real Postgres are still to do before a church gets it | Every later product signs in through it |
|
||||
| 4 | **Cross Events 3.0.0** | Sign-in moves to Accounts; user migration keeping password hashes; migration guide. **Planned 2026-11-19:** [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md) (with contracts 1.8.0, Accounts 1.1.0, Hub 2.5.0; decisions confirmed 2026-11-19) | Breaking change, so a major version. **Moved before the Website on 2026-11-19** (decision 38): Events is the product churches use today, so Accounts is proven on real users first, and the Website then starts with a church whose people already have accounts |
|
||||
| 5 | **Church Website 1.0.0** | Public site with the **four templates** (§6), admin, simple events + feed, SEO (§11), Hope Family Church as the first church, then a second test church on a different template to prove it repeats. **Planned 2026-11-21:** [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md) (with contracts 1.17.0, Accounts 1.7.0, Events 3.7.0 for the shared fonts and footer, Hub 2.21.0). **Released 2026-11-26, done 2026-11-30** (Hope Family Church and a second church live, crosscode-site sells it) | More churches need a website than an app; it also covers the "website only" case. Built on Accounts from day one |
|
||||
| 6 | **Church App 1.0.0** | Foundation (PWA, branding, Accounts), House of Prayer, announcements, devotionals, events (simple + feed). **Planned 2026-11-30:** [APP-1.0-PLAN.md](./APP-1.0-PLAN.md) (with contracts 1.20.0 and 1.21.0, Accounts 1.9.0, Events 3.8.0, Website 1.8.0, agent 1.7.0, Hub 2.26.0; also **demo scenarios**: eight preset churches loaded into every product of a demo client). contracts 1.20.0 to 1.23.0, Accounts 1.9.0, Events 3.8.0, Website 1.8.0 and agent 1.7.0 **released 2026-11-30**; next Hub 2.26.0, then App 1.0.0 | Starts with shared users and the feed already in place |
|
||||
| 6 | **Church App 1.0.0** | Foundation (PWA, branding, Accounts), House of Prayer, announcements, devotionals, events (simple + feed). **Planned 2026-11-30:** [APP-1.0-PLAN.md](./APP-1.0-PLAN.md) (with contracts 1.20.0 and 1.21.0, Accounts 1.9.0, Events 3.8.0, Website 1.8.0, agent 1.7.0, Hub 2.26.0; also **demo scenarios**: eight preset churches loaded into every product of a demo client). contracts 1.20.0 to 1.24.0, Accounts 1.9.0, Events 3.8.0, Website 1.8.0, agent 1.7.0 and Hub 2.26.0 / 2.26.1 **released 2026-11-30**; next deploy the Hub and the first devotionals, then App 1.0.0 | Starts with shared users and the feed already in place |
|
||||
| 7 | Church App 1.x | Reading plans, sermons, groups, pastoral care, serving, giving links, directory | After House of Prayer is in use |
|
||||
|
||||
Each phase adds help content, audit log entries, tests, a CHANGELOG entry and updates to the
|
||||
|
||||
Reference in New Issue
Block a user