Billing income bands up to R10m, 12-month event income in the heartbeat (2.0.2)

- Heartbeat income bands widened from "over R100 000" to 14 bands up to
  "over R10 000 000"; every licence-tier edge is a band edge (tested).
- New income.eventIncome12m: last 12 months' event income without donations,
  sponsorships or donation legs, which the licence tier is billed on.
- Fix: donation legs were counted twice in the heartbeat income bands.
- Protocol doc, roadmap pricing decisions, changelog, what's new, handover.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-03 12:18:01 +02:00
co-authored by Claude Opus 5.5
parent cebfe52be5
commit aabf3cbe07
13 changed files with 95 additions and 28 deletions
+20
View File
@@ -7,6 +7,26 @@ and this project follows [Semantic Versioning](https://semver.org/).
## [Unreleased]
## [2.0.2] - 2026-11-03
### Changed
- **Wider income bands in the Hub heartbeat**, from `R0–R1 000` up to `over R10 000 000` (was
`over R100 000`): 14 bands, edges at R1 000, R5 000, R20 000, R50 000, R100 000, R150 000,
R250 000, R400 000, R700 000, R1m, R2.5m, R5m and R10m (`BAND_TOPS` in `src/hub/report.js`).
Every Cross Code licence-tier edge is a band edge; a test checks it.
### Added
- **`income.eventIncome12m`** in the heartbeat: the band of the last 12 months' event income
(payments less refunds, without donations, sponsorships or donation legs), which the licence
tier is billed on. Shown on the Hub from Hub 1.6.2.
### Fixed
- The heartbeat's income bands counted a donation twice once it was applied to a registration
(the leg payment); they now leave legs out, like every report.
## [2.0.1] - 2026-11-02
### Changed