contracts 1.17.0: brand style, church.update, the Website's export, licence storage limit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 16:25:20 +02:00
co-authored by Claude Opus 5.5
parent 9954e66c33
commit 0e3534f29f
24 changed files with 2326 additions and 12 deletions
+26
View File
@@ -2,6 +2,32 @@
Each package and app has its own section and its own tags (`contracts@1.0.0`, `accounts@1.0.0`, …).
## contracts@1.17.0 - 2026-11-24
The first release of the Church Website 1.0.0 work (WEBSITE-1.0-PLAN §12). All additive and
optional: products on 1.16.0 keep working, and nothing reads the new fields until Accounts 1.7.0,
Events 3.7.0, Hub 2.21.0 and the Website use them.
- **Brand style** (`./style`): the 8 font pairings confirmed on 2026-11-24 (`FONT_PAIRINGS`:
`classic`, `scholarly`, `editorial`, `impact`, `contemporary`, `friendly`, `warm`, `modern`, each
with its heading and body font), the corner styles (`CORNERS`, `DEFAULT_CORNERS` = `soft`), the
Website's templates (`WEBSITE_TEMPLATES`) and the three pairings each recommends
(`TEMPLATE_FONT_PAIRINGS`, default first). The ids are stored in profiles and never change.
- **`crosscode.church/1`:** optional `branding.style` (`fontPairing`, `corners`, each nullable). An
id a product doesn't know yet reads as null, so a newer Accounts never breaks an older product.
- **`crosscode.church-export/1`:** an optional `website` part (template, first publish, style
settings, pages with their sections, messages, simple events, the publish history's notes and
the media library's alt text). New sample `church-export-website.json`.
- **`church.update`** (identity request, product → Accounts, signed with the link's secret): the
Website's admin changes shared profile facts (plan decision 10). The product checks the person's
role and sends them as `actor`; only the fields given change (`branding` field by field); live at
once, then `church.changed`. Optional `ifUpdatedAt` refuses with the new error code
`PROFILE_CHANGED` when someone saved in between. Reply: the profile (`churchUpdateReplySchema`).
Accounts 1.7.0 takes it from the Website only.
- **Licence:** optional `limits.storageBytes`, the Website's storage limit including add-ons (plan
decision 12). New sample `hub-licence-payload-website.json`.
- `package-lock.json` catches up with the agent's and contracts' versions.
## agent@1.5.0 + contracts@1.16.0 + crosscode script - 2026-11-23
- **Fix: uninstalling one product removed the whole church.** `crosscode uninstall <church>` only