Merge branch 'docs/app-slices-2-3'

This commit is contained in:
2026-12-01 11:10:16 +02:00
2 changed files with 29 additions and 14 deletions
+9 -4
View File
@@ -38,7 +38,8 @@ The Bible publishers' terms were checked ([BIBLE-PERMISSIONS.md](./BIBLE-PERMISS
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` 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.
client of §12), then the House of Prayer (§3) and prayer requests (§4), all 2026-12-01; announcements,
devotionals and events are 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).
@@ -196,11 +197,12 @@ the church's slot length (**60 minutes** by default; 15 or 30 can be chosen, dec
- **Renewing:** 14 days before a recurring commitment ends, the member gets an email or WhatsApp
(their choice of channel) with **Renew for another year**, one tap with no sign-in needed (a
signed, single-use link that expires with the commitment). A second reminder 3 days before.
Renewing adds a year to the current end date (decision 15).
- **Reminders** (P6): per commitment, *none*, *15 minutes before*, *1 hour before* (the default)
or *the evening before at 20:00*, sent on the member's chosen channel for prayer reminders.
Night-time slots are exactly where reminders matter, so they're sent at night too.
- **"I prayed":** after a slot ends, the member can mark it in the App or from a link in the
reminder. It's **self-reported**, labelled that way everywhere ("12 hours marked as prayed,
reminder, for up to 14 days (decision 15). It's **self-reported**, labelled that way everywhere ("12 hours marked as prayed,
self-reported"), shown to the member, and counted (as a number only) for the prayer team and
campaigns. Never a ranking.
- **Stored as rules, not rows:** a commitment is a rule (start, length, recurrence, end) plus its
@@ -557,7 +559,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** on `feat/app-scaffold`; 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, §3 and §4 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**) |
@@ -618,7 +620,7 @@ data that describes **the same church**, so a demo shows the three products work
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.
foundation, the House of Prayer and prayer requests are 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
@@ -662,6 +664,9 @@ Made by Joshua on 2026-11-30, after the first draft and the mockup:
terms were checked: none covers a sold app past 500 verses): the KJV and the Berean Standard
Bible. The others stay in the contracts and join when a publisher gives written permission;
that doesn't hold up this plan (§6, [BIBLE-PERMISSIONS.md](./BIBLE-PERMISSIONS.md)).
15. **Renewing and "I prayed"** (Joshua, 2026-12-01, while building §3): "Renew for another year"
adds a year to the commitment's current end date, and "I prayed" can be marked for 14 days
after a slot ends (§3).
The other proposals as first written, confirmed:
+20 -10
View File
@@ -31,11 +31,11 @@ every release).
| 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) |
| 2 | Cross Events 2.4.0: protocol v2, Linked products, event feed, `packages/seo` | **Released, rolled out and tested** ([EVENTS-2.4-PLAN.md](./EVENTS-2.4-PLAN.md)) |
| 3 | Accounts 1.0.0 | **Released, rolled out and tested** (`accounts@1.8.0` rolled out; `1.9.0` released 2026-11-30 for phase 6, not deployed; [ACCOUNTS-1.0-PLAN.md](./ACCOUNTS-1.0-PLAN.md)) |
| 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 |
| 3 | Accounts 1.0.0 | **Released, rolled out and tested** (`accounts@1.10.0` rolled out 2026-12-01, with phase 6's 1.9.0; [ACCOUNTS-1.0-PLAN.md](./ACCOUNTS-1.0-PLAN.md)) |
| 4 | Cross Events 3.0.0: sign-in through Accounts | **Released, rolled out and tested** (`events@3.9.0` rolled out 2026-12-01, with phase 6's 3.8.0; [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 on the branch `feat/app-scaffold` (pushed; merged into main only when 1.0.0 is done): the foundation done, the modules next |
| 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.12.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`, Hub `v2.26.0` and `v2.26.1` (all deployed by 2026-12-01; the Hub 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, the House of Prayer and prayer requests done (slices 1–3 of 8); announcements, devotionals and events next |
| 7 | App 1.x | Not started |
## Released 2026-11-30 (phase 6, first steps)
@@ -159,10 +159,20 @@ Joshua 2026-11-30; VERSIONS.md, "Deployed / rolled out").
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.
2. ~~**House of Prayer**~~ (done 2026-12-01, not released): slots in the church's timezone
(daylight saving included), commitments as rules plus skips, the 24-hour clock, live
coverage over SSE (polling when it drops), booking once / weekly / daily, the 8-hour
rule, renewals and "I prayed" (signed links without a sign-in), campaigns, moderated
testimonies, the admin with names only in the access log. Migration
`house_of_prayer`. **Decided by Joshua 2026-12-01:** "Renew for another year" adds a
year to the current end date; "I prayed" can be marked for 14 days after a slot.
Reminders and renewal notices are queued in `OutboxMessage`; slice 5 sends them.
3. ~~**Prayer requests**~~ (done 2026-12-01, not released): the prayer team only by default,
or members after approval; fully anonymous only when the church allows it; redact,
don't share, private replies, escalation to Pastoral care (email and WhatsApp at once);
"I prayed" counts; closing after 30 days, deleted a year later; every view of a sender
access-logged. Migration `prayer_requests`. 78 backend tests in all; both slices
checked in a browser on a throwaway PostgreSQL.
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.
@@ -177,8 +187,8 @@ Joshua 2026-11-30; VERSIONS.md, "Deployed / rolled out").
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.
Accounts 1.10.0, Events 3.9.0 and Website 1.12.0 are deployed (2026-12-01, VERSIONS.md); 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
before Hub 2.10.0, and the Hub's own site, has `location ^~ /api/`.