docs: the Hub runs 2.26.1 with two years of devotionals; App 1.0.0 on feat/app-scaffold
- Apps get 2 weeks of Cross Code's devotionals, today included. - The App is built in slices on feat/app-scaffold (pushed, merged into main only when app@1.0.0 is done); the foundation is done. - VERSIONS: the Hub at 2.26.1 in "Deployed / rolled out". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+25
-15
@@ -30,10 +30,15 @@ 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`, 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").
|
||||
`agent@1.7.0` released (not deployed yet), with the new shared package `@crosscode/demo` 1.1.0
|
||||
(§12, "Demo scenarios"); Hub `v2.26.0` and `v2.26.1` with `contracts@1.24.0` (devotionals two years
|
||||
ahead, Apps fetch 2 weeks, today included) released, and **the Hub runs 2.26.1 with two years of
|
||||
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).
|
||||
Next: deploy the Hub (2.26.1) and import the first devotionals (December 2026's are ready), then `app@1.0.0` (§15).
|
||||
**Now: `app@1.0.0`** (§15), built in slices (HANDOVER, "Next up"). The foundation is done
|
||||
(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
|
||||
it goes on sale (crosscode-site, ROADMAP §9).
|
||||
@@ -46,8 +51,8 @@ it goes on sale (crosscode-site, ROADMAP §9).
|
||||
- On a demo client, **Load a demo scenario** in the Hub loads Accounts, Events, the Website and
|
||||
the App with the same church, people and events, in one step (§12, "Demo scenarios").
|
||||
- The Hub holds at least 3 months of Cross Code devotionals (written or imported from CSV) in the free
|
||||
translations (KJV, BSB; decision 14), and an App set to "From Cross Code" shows and sends them
|
||||
with the translation's notice.
|
||||
translations (KJV, BSB; decision 14) (**done**: two years, Joshua 2026-12-01), and an App set to
|
||||
"From Cross Code" shows and sends them with the translation's notice.
|
||||
- A member can add the App to their home screen (Android and iPhone), sign in once, book a one-off
|
||||
or recurring prayer slot, get its reminder by email or WhatsApp, and change or cancel it within
|
||||
the rules.
|
||||
@@ -314,10 +319,13 @@ Decision 1: **two sources**, chosen in Settings → Devotionals:
|
||||
reference YouVersion understands, a date already taken), then import the valid rows, replacing
|
||||
or skipping days already filled. Columns: `date, title, passage, translation, passage_text,
|
||||
body, prayer, author`. A template CSV can be downloaded from the page.
|
||||
- **Getting them to the App:** an App on "From Cross Code" fetches the next **2 weeks** from the
|
||||
Hub (`GET /api/v2/devotionals`, with its licence token; Joshua, 2026-11-30: 2 weeks at most,
|
||||
contracts `CROSSCODE_DEVOTIONALS_FETCH_DAYS`) once a night and keeps them, so a Hub outage of
|
||||
less than 2 weeks changes nothing (ROADMAP §1, rule 2). Edits in the Hub reach the App by the next night, or at
|
||||
- **Getting them to the App:** the Hub holds up to two years (it has two, Joshua 2026-12-01), but
|
||||
sends an App only the next **2 weeks, today included**: today and the 13 days after it
|
||||
(`GET /api/v2/devotionals?from=<today in the church's timezone>`, with its licence token;
|
||||
Joshua, 2026-11-30: 2 weeks at most, contracts `CROSSCODE_DEVOTIONALS_FETCH_DAYS`). The App
|
||||
fetches once a night, replaces its copy of those 14 days and keeps what it already has (days
|
||||
before today stay for the archive), so a Hub outage of less than 2 weeks changes nothing
|
||||
(ROADMAP §1, rule 2). Edits in the Hub reach the App by the next night, or at
|
||||
once with **Sync now** in the App's settings. The format is `crosscode.devotional/1`
|
||||
(contracts 1.20.0), so a church's own and Cross Code's devotionals look the same.
|
||||
- **Our own:** the same fields and the same CSV import in the App's admin, scheduled as far ahead as
|
||||
@@ -549,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` |
|
||||
| `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**) |
|
||||
@@ -578,8 +586,9 @@ data that describes **the same church**, so a demo shows the three products work
|
||||
can't open, a day already filled), the YouVersion links, the nightly Cross Code fetch (and the
|
||||
last copy kept when the Hub is down), `messaging.get`, the notice under every quoted passage
|
||||
(screen, email, WhatsApp), only the free translations offered and imported.
|
||||
- **Hub:** the Devotionals page, Import CSV with its preview, the 3-month limit, a translation that isn't
|
||||
free refused, and the endpoint refusing anything but an App licence.
|
||||
- **Hub:** the Devotionals page, Import CSV with its preview, the two-year limit (3 months in
|
||||
2.26.0), a translation that isn't free refused, the endpoint answering 14 days from `from` (today
|
||||
included) and refusing anything but an App licence.
|
||||
- **Playwright** (phone, tablet and desktop): browse signed out; sign in from a slot and land back
|
||||
on it with the sheet open (through 2FA); book once, weekly and daily; skip, change and cancel;
|
||||
the 8-hour rule; two browsers, one books, the other's view updates live (and with the stream
|
||||
@@ -605,10 +614,11 @@ data that describes **the same church**, so a demo shows the three products work
|
||||
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**) 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.
|
||||
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 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.
|
||||
6. **Hope Family Church:** New install → App; the prayer coordinators set the wall up before it's
|
||||
|
||||
+58
-22
@@ -1,6 +1,6 @@
|
||||
# Handover — Cross Code, all products
|
||||
|
||||
Last updated: 2026-11-30. **The plan is [ROADMAP-v3.md](./ROADMAP-v3.md)** (decided 2026-11-03,
|
||||
Last updated: 2026-12-01. **The plan is [ROADMAP-v3.md](./ROADMAP-v3.md)** (decided 2026-11-03,
|
||||
decisions table near the end). This file says where each phase stands and what comes next.
|
||||
Product-specific notes (where the code lives, known gaps) stay with each product: Cross Events'
|
||||
are in [`apps/events/docs/HANDOVER.md`](../apps/events/docs/HANDOVER.md), and the Hub's are in
|
||||
@@ -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.1`, released 2026-11-30, not deployed; 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 and running by 2026-12-01 with two years of devotionals; 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) |
|
||||
@@ -35,12 +35,14 @@ 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, 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 `v2.26.0` and `v2.26.1` (below). Next: deploy the Hub, the first devotionals, `app@1.0.0` |
|
||||
| 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)
|
||||
|
||||
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
|
||||
Tagged and pushed on 2026-11-30. **The Hub (2.26.1) runs**, with two years of Cross Code's
|
||||
devotionals (Joshua, 2026-12-01); the rest is **not deployed yet** (Accounts and Events have one
|
||||
migration each; the Website and the agent none). Details in
|
||||
[VERSIONS.md](./VERSIONS.md), [CHANGELOG.md](../CHANGELOG.md) and the apps' CHANGELOGs.
|
||||
|
||||
| Release | What |
|
||||
@@ -52,7 +54,7 @@ Tagged and pushed on 2026-11-30, **not deployed yet** (Accounts, Events and the
|
||||
| `events@3.8.0`, `@crosscode/demo` 1.1.0 | STOP stops all WhatsApp (not only news), checked before every message and passed on to Accounts; the eight scenarios as Events demo profiles, around each church's own people and campuses |
|
||||
| `contracts@1.23.0`, `agent@1.7.0` | `seed-scenario`: a whole demo scenario in one job, on whatever the church has installed (Accounts first, the rest skipped, every release checked first); `seed-demo` for Accounts and the App, and `--scenario` passed on to every product |
|
||||
| `website@1.8.0` | A profile loaded with `--scenario` takes the scenario's people as its leaders and, with a linked Cross Events, shows Events' events through the feed instead of its own; `crosscode demo <church> website --scenario`; `packages/demo` built with the Website. No migration |
|
||||
| `contracts@1.24.0`, Hub `v2.26.1` | Devotionals up to two years ahead (a CSV of two years in one file); `GET /api/v2/devotionals` answers 2 weeks (what an App fetches each night). No migration |
|
||||
| `contracts@1.24.0`, Hub `v2.26.1` | Devotionals up to two years ahead (a CSV of two years in one file); `GET /api/v2/devotionals` answers 2 weeks, today included (what an App fetches each night). No migration |
|
||||
| Hub `v2.26.0` | The App from New install (Accounts 1.9.0 first) and in every product list and filter; **Load a demo scenario** on a demo client (one `seed-scenario` job, "out of step" installs); demo data for every product; the Website's and App's .env; **Devotionals** (3 months ahead, Import CSV, KJV/BSB only) and `GET /api/v2/devotionals` (hub-protocol.md §3c); the App's tier alert. One migration (Hub) |
|
||||
|
||||
All four were checked on PostgreSQL 18 (local, details in `temp/`, never committed): migrations,
|
||||
@@ -121,8 +123,9 @@ 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.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
|
||||
**Done 2026-11-30 (released):** 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 2.26.0 and 2.26.1 (running, with two years of
|
||||
devotionals). 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,18 +138,45 @@ 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**~~ 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` (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).
|
||||
3. ~~**Hub 2.26.0**~~ and ~~**2.26.1**~~ (with contracts 1.24.0): **released 2026-11-30, and
|
||||
the Hub runs 2.26.1 with two years of Cross Code's devotionals** (Joshua, 2026-12-01). 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`: 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`) 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
|
||||
(everyone a Member; 8 days renewed up to 90; every role only with 2FA; the first Owner
|
||||
from `HUB_ADMIN_EMAIL`); modules on and off; the manifest, icons, service worker, "Add to
|
||||
home screen", the tab bar and Me; the admin's first dashboard. One migration (`init`,
|
||||
checked on PostgreSQL 18: applies, no diff). 27 backend tests.
|
||||
2. **House of Prayer** (§3): slots in the church's timezone, commitments as rules, the
|
||||
24-hour clock, live coverage (SSE), reminders, renewals, "I prayed", campaigns,
|
||||
testimonies, the access log.
|
||||
3. **Prayer requests** (§4), with moderation and escalation.
|
||||
4. **Announcements, devotionals and events** (§5–§7): Cross Code's devotionals fetched each
|
||||
night from the Hub (`from` = today in the church's timezone; the App replaces its copy of
|
||||
those 14 days and keeps the rest), the church's own with the CSV import, the event feed.
|
||||
5. **Email and WhatsApp** (§8): the church's settings from Accounts (`messaging.get`), the
|
||||
STOP check before every WhatsApp, the sends and their counts.
|
||||
6. **The rest of the admin** (§10): side menu, setup checklist, members and roles, settings,
|
||||
background jobs, audit and access logs; the export (§11) and backups.
|
||||
7. **Demo and servers**: the Acacia Hill demo and the eight scenarios (`cmd_demo_scenario`),
|
||||
`scripts/products/app.sh` and `app.env.template.json` (with the Hub's: the env template
|
||||
in three places).
|
||||
8. **e2e, axe and Lighthouse** (§14), then the tag.
|
||||
|
||||
Then 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;
|
||||
a church without Cross Events gives WAWP the address in Accounts → Admin → Email and WhatsApp.
|
||||
Done (confirmed by Joshua 2026-11-25): `hope-events` is archived, and every FastPanel site set up
|
||||
@@ -211,9 +241,15 @@ rollout.
|
||||
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).
|
||||
years ahead (`CROSSCODE_DEVOTIONALS_SCHEDULE_MONTHS`; two years are in it, Joshua 2026-12-01),
|
||||
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` 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
|
||||
page that shows prayer is `noindex` (next.config.ts and robots.ts list `/prayer`).
|
||||
- **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.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 |
|
||||
| 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
|
||||
|
||||
+5
-5
@@ -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.0.0 (not started, phase 6) |
|
||||
| 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.
|
||||
@@ -41,10 +41,10 @@ need their own tags until something outside this repo depends on them.
|
||||
|
||||
- **Hub 2.26.1 + contracts 1.24.0 (2026-11-30):** Cross Code's devotionals can be scheduled up to
|
||||
**two years ahead** (was 3 months; `CROSSCODE_DEVOTIONALS_SCHEDULE_MONTHS`), and a CSV holds two
|
||||
years in one file (800 rows, 8 MB). `GET /api/v2/devotionals` answers **2 weeks**
|
||||
years in one file (800 rows, 8 MB). `GET /api/v2/devotionals` answers **2 weeks, today included**
|
||||
(`CROSSCODE_DEVOTIONALS_FETCH_DAYS`), not 3 months: what an App fetches each night. No
|
||||
migration. Checked: contracts' tests (341), the Hub's backend tests (301), frontend typecheck and
|
||||
lint. Not deployed yet.
|
||||
lint. Deployed by 2026-12-01, with two years of Cross Code's devotionals imported (Joshua).
|
||||
- **Hub 2.26.0 (2026-11-30):** the Church App (APP-1.0-PLAN §6, §12). The App from New install on
|
||||
`app.<address>`, with Accounts 1.9.0 first (also without "requires" in its notes), and in every
|
||||
product list and filter (installs, Updates). **Load a demo scenario** on a demo client: one
|
||||
@@ -55,7 +55,7 @@ need their own tags until something outside this repo depends on them.
|
||||
`GET /api/v2/devotionals` for App licences (hub-protocol.md §3c). An alert when an App's
|
||||
active-member band is above its tier. Contracts 1.23.0 vendored. One migration
|
||||
(`20261130120000_app_scenarios_devotionals`, checked on PostgreSQL 18: applies, no diff).
|
||||
Checked: the backend tests (301), frontend typecheck, lint and build. Not deployed yet.
|
||||
Checked: the backend tests (301), frontend typecheck, lint and build. Deployed (2.26.1 runs).
|
||||
- **Server agent 1.7.0 + contracts 1.23.0 + crosscode script (2026-11-30):** demo scenarios
|
||||
(APP-1.0-PLAN §12): the `seed-scenario` job, one per scenario load, which the server runs on
|
||||
**whatever the client has installed** (Accounts first, the rest skipped, every release checked
|
||||
@@ -452,7 +452,7 @@ you deploy one.
|
||||
|
||||
| What | Running | Since | Notes |
|
||||
|------|---------|-------|-------|
|
||||
| Hub | 2.25.1 | 2026-11-28 | Jobs → Product filter lists every product |
|
||||
| Hub | 2.26.1 | by 2026-12-01 | The App, demo scenarios, Devotionals (two years of Cross Code's imported; Apps get 2 weeks, today included) |
|
||||
| Agent on church-server1 | 1.6.0 | 2026-11-27 | |
|
||||
| Agent on the central server | 1.6.0 | 2026-11-27 | |
|
||||
| Cross Events (churches) | 3.7.2 | 2026-11-27 | |
|
||||
|
||||
Reference in New Issue
Block a user