- Protocol 1 (docs/hub-protocol.md): public key, register, signed heartbeats - Ed25519 licence tokens (30-day validity, status, expiry, grace, limits) - Dashboard: installs, install detail, customers and licences, alerts, settings and audit log; two-factor login required - Alert checks every 5 minutes, emailed once; heartbeat roll-up after 30 days - Unit tests for encryption, tokens, signatures, TOTP and alert rules Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012mt6TCv85T9VKRq3cV7rXq
1.3 KiB
1.3 KiB
Changelog
All notable changes to the Hope Events Hub. Format: Keep a Changelog; versions follow Semantic Versioning.
[Unreleased]
Added
- Hub v1 (
docs/hub-protocol.md, protocol 1):- Install API: public key, register (licence key → install id, secret and signed licence), heartbeat (HMAC-signed, 5-minute clock window) returning a fresh licence token.
- Licence tokens signed with Ed25519, valid 30 days, carrying status, expiry, grace days and limits (AI cap for Hope Events 2.0).
- Dashboard: installs with health, version (flagged when behind the latest release), licence and last heartbeat; install detail with health, usage, licence, history and notes.
- Customers and licences: generate keys (
CEH-XXXX-XXXX-XXXX-XXXX), set status (active / suspended / revoked), expiry, grace and AI cap, release a licence from a site. - Alerts every 5 minutes — offline, database, stale backup, low disk, errors, failing jobs, pending migrations, licence expiring/expired, behind latest — emailed once when they start.
- Heartbeats kept 30 days, then one a day.
- Login with two-factor (authenticator app) required, sign out everywhere, password change, audit log.