Merge branch 'main' into feat/app-scaffold

# Conflicts:
#	docs/APP-1.0-PLAN.md
#	docs/HANDOVER.md
#	docs/ROADMAP-v3.md
#	docs/VERSIONS.md
This commit is contained in:
2026-12-01 00:26:09 +02:00
4 changed files with 12 additions and 8 deletions
+3 -3
View File
@@ -37,7 +37,7 @@ Cross Code's devotionals** (Joshua, 2026-12-01).
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).
**Now: `app@1.0.0`** (§15), built in slices (HANDOVER, "Next up"). The foundation is done
(2026-12-01, `apps/app`, not released: §1, §2, the roles and active members of §10, the Hub
(2026-12-01, `apps/app` on the branch `feat/app-scaffold`, pushed, merged into main when 1.0.0 is done; not released: §1, §2, the roles and active members of §10, the Hub
client of §12); the House of Prayer is next.
**Who uses 1.0:** the demo church (cross-demo2, Acacia Hill) first, then Hope Family Church. Then
@@ -557,7 +557,7 @@ data that describes **the same church**, so a demo shows the three products work
| Repo | Change | Version |
|------|--------|---------|
| `crosscode-platform` `apps/app` | New (§1–§12), with `CHANGELOG.md`, `WHATS-NEW.md`, `env.template.json`, e2e, demo data | `app@1.0.0` (**being built**; the foundation done 2026-12-01) |
| `crosscode-platform` `apps/app` | New (§1–§12), with `CHANGELOG.md`, `WHATS-NEW.md`, `env.template.json`, e2e, demo data | `app@1.0.0` (**being built** on `feat/app-scaffold`; the foundation done 2026-12-01) |
| `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**) |
@@ -617,7 +617,7 @@ data that describes **the same church**, so a demo shows the three products work
two years ahead, Apps fetch 2 weeks, today included; **released 2026-11-30**) deployed, and the
first 3 months of Cross Code devotionals written or imported, in the KJV or BSB (decision 14).
**Done:** the Hub runs 2.26.1 and holds two years (Joshua, 2026-12-01).
4. `app@1.0.0` tagged after the e2e and Lighthouse runs. **Being built** from 2026-12-01: the
4. `app@1.0.0` tagged after the e2e and Lighthouse runs. **Being built** from 2026-12-01 on `feat/app-scaffold` (merged into main when done): the
foundation is done (`apps/app/CHANGELOG.md`, "Unreleased"); the slices are in the HANDOVER.
5. **cross-demo2** (Acacia Hill): New install → App, every demo scenario loaded once, the
throwaway test above.
+7 -3
View File
@@ -35,7 +35,7 @@ every release).
| 4 | Cross Events 3.0.0: sign-in through Accounts | **Released, rolled out and tested** (`events@3.7.2` rolled out; `3.8.0` released 2026-11-30 for phase 6, not deployed; [EVENTS-3.0-PLAN.md](./EVENTS-3.0-PLAN.md)). Churches sign in through their Accounts; crosscode-site `v1.6.0` deployed |
| 4+ | Running it: jobs from the dashboard, styled emails, .env from the Hub, sign-in health, the nightly people check; then frp config and one-product uninstalls, and the Hub's popups, pickers and port list | **Released, deployed and tested** 2026-11-20 and 2026-11-23 (below) |
| 5 | Church Website 1.0.0 | **Released 2026-11-26** (planned 2026-11-21: [WEBSITE-1.0-PLAN.md](./WEBSITE-1.0-PLAN.md), all decisions confirmed). Font pairings confirmed 2026-11-24, section variants per template 2026-11-25 (§3). `contracts@1.17.0`, `accounts@1.7.0` and `events@3.7.0` released 2026-11-24, Hub `v2.21.0` 2026-11-25 (the Hub deployed 2026-11-25; the others not rolled out yet). `contracts@1.18.0` and Hub `v2.22.0` (Get more storage) released 2026-11-25, the Hub deployed 2026-11-26. **`website@1.0.0` and `1.0.1` released 2026-11-26**, crosscode-site `v1.7.0` (the Website on sale) released 2026-11-26. **Done** (confirmed by Joshua 2026-11-30): crosscode-site deployed, Hope Family Church and a second church live, the remaining release checks finished. Now `website@1.8.0` (VERSIONS.md) |
| 6 | Church App 1.0.0 | **Under way** (planned and started 2026-11-30): [APP-1.0-PLAN.md](./APP-1.0-PLAN.md), decisions confirmed 2026-11-30 (decision 13, the demo scenarios, added the same day); mockup on the Design canvas "Church App 1.0 mockup". Released 2026-11-30: `contracts@1.20.0` to `1.24.0`, `accounts@1.9.0`, `events@3.8.0`, `website@1.8.0`, `agent@1.7.0` (not deployed), Hub `v2.26.0` and `v2.26.1` (running, with two years of Cross Code's devotionals; below). **`app@1.0.0` being built** from 2026-12-01 (`apps/app`: the foundation done, the modules next) |
| 6 | Church App 1.0.0 | **Under way** (planned and started 2026-11-30): [APP-1.0-PLAN.md](./APP-1.0-PLAN.md), decisions confirmed 2026-11-30 (decision 13, the demo scenarios, added the same day); mockup on the Design canvas "Church App 1.0 mockup". Released 2026-11-30: `contracts@1.20.0` to `1.24.0`, `accounts@1.9.0`, `events@3.8.0`, `website@1.8.0`, `agent@1.7.0` (not deployed), Hub `v2.26.0` and `v2.26.1` (running, with two years of Cross Code's devotionals; below). **`app@1.0.0` being built** from 2026-12-01 on the branch `feat/app-scaffold` (pushed; merged into main only when 1.0.0 is done): the foundation done, the modules next |
| 7 | App 1.x | Not started |
## Released 2026-11-30 (phase 6, first steps)
@@ -147,7 +147,11 @@ Joshua 2026-11-30; VERSIONS.md, "Deployed / rolled out").
translations only: KJV and BSB) and `GET /api/v2/devotionals`: an App gets **2 weeks, today
included** (today and the 13 days after it) per fetch, once a night. Keep the Hub filled
well ahead: a day missing there is missing in every App.
4. **`app@1.0.0`: being built** (from 2026-12-01, `apps/app`), in slices, each with its tests:
4. **`app@1.0.0`: being built** (from 2026-12-01, `apps/app`) on the branch
**`feat/app-scaffold`** (pushed to c-git), in slices, each with its tests. The branch is
**not merged into main until `app@1.0.0` is done** (Joshua, 2026-12-01): build every slice
there, merge main into it when docs or shared packages change on main, and leave main's
`apps/app` the placeholder until then. Docs about the App's progress go to main as well.
1. ~~**The foundation**~~ (done 2026-12-01, not released; `apps/app/CHANGELOG.md`,
"Unreleased"): backend and frontend as the Website's; the Hub client (`CCP-`, product
`app`, the active-member band in the heartbeat); links and sign-in through Accounts
@@ -241,7 +245,7 @@ rollout.
an App fetches 2 weeks each night, today included (`CROSSCODE_DEVOTIONALS_FETCH_DAYS`, 14 days:
today and the 13 after it; 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).
- **The Church App's foundation** (from 2026-12-01, `apps/app`): ports 5400 (backend) and 3400
- **The Church App's foundation** (from 2026-12-01, `apps/app` on `feat/app-scaffold`): ports 5400 (backend) and 3400
(frontend) in development; `APP_SECRET`, `APP_URL`, `APP_API_URL` in its env template (the
Hub reads `apps/app/env.template.json` at the tag); its session cookie is `cca_session`. A
module's tables, jobs, export records and memoryDb defaults are added with the module. Every
+1 -1
View File
@@ -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.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**; the Hub runs 2.26.1 with two years of devotionals; **App 1.0.0 being built** from 2026-12-01 (the foundation done) | 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**; the Hub runs 2.26.1 with two years of devotionals; **App 1.0.0 being built** from 2026-12-01 on the branch `feat/app-scaffold` (the foundation done) | 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
+1 -1
View File
@@ -32,7 +32,7 @@ on each run, so merging to `main` and pushing releases it. Its changes are liste
| `@crosscode/seo` | `packages/seo` | 1.0.0 (released with Events 2.4.0) |
| `@crosscode/ui` | `packages/ui` | 0.3.0 (fonts, `ChurchFooter`; 0.2.0 with Accounts 1.7.0, 0.3.0 with Events 3.7.0) |
| Website | `apps/website` | 1.8.0 (1.0.0–1.1.0 released 2026-11-26, 1.2.0–1.7.0 on 2026-11-27, 1.7.1 on 2026-11-28, 1.8.0 on 2026-11-30; tagged as `website@…`; see "Deployed / rolled out" for where it runs) |
| App | `apps/app` | 0.1.0 in backend and frontend (being built from 2026-12-01, phase 6; not released, `app@1.0.0` when the plan is built) |
| App | `apps/app` | 0.0.0 on main (a placeholder); 0.1.0 on the branch `feat/app-scaffold`, being built from 2026-12-01 (phase 6; not released, merged and tagged `app@1.0.0` when the plan is built) |
These shared packages ship inside the apps that use them, from the same checkout, so they don't
need their own tags until something outside this repo depends on them.