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:
+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
|
||||
|
||||
Reference in New Issue
Block a user