Repository navigation
v2.0.0-alpha.6 — Audit & Insights
Pre-release
Pre-release
2.0.0-alpha.6 (2026-12-04)
⚠ BREAKING CHANGES
- delete the legacy v0.6 stack: services, gateway, shared libraries, SPA and Compose (#258)
Added
- audit: add the tamper-evident audit log with an append-only store and a hash chain (#254) (ed106b4), refs #84
- bff: audit who read which patient case (#256) (4880f9d), refs #85
- insights: add rebuildable dashboard and timeline projections in PostgreSQL (#253) (9d4e305), refs #86
- web: add the case timeline and the audit explorer with CSV export (#259) (b871226), refs #88
- web: add the operations dashboard with KPIs, charts and live updates (#257) (d960c2b), refs #87
Fixed
Documentation
Build, CI and tests
Miscellaneous
- delete the legacy v0.6 stack: services, gateway, shared libraries, SPA and Compose (#258) (c80d935), refs #89
Known limitations
- Every context is rewritten; no v0.6 code remains. Care-management, monitoring, coordination, notifications, audit and insights run as v2 contexts behind the BFF, and the v2 SPA covers cases and care plans, observations, the alert queue, the work queue, appointments, notifications, the operations dashboard, a case's timeline and the audit explorer. The legacy services, gateway, shared libraries, SPA, RabbitMQ and Docker Compose path are deleted (#89); the code stays in git history and in the
v0.6-legacyrelease. Legacy data is not migrated (synthetic data, ADR-013). - The audit log is append-only locally, tamper-evident everywhere. Locally the audit API connects as a login that can only read and insert. In the Azure templates its managed identity is a PostgreSQL Entra administrator, like every context API's, so there the hash chain detects changes but does not prevent them; the audit log design describes the manual equivalent. Deleting records from the end of the chain is detectable only against an anchor kept outside the database, which is not implemented.
- Reads of patient cases are audited from the BFF without an outbox. One
PatientRecordAccessedevent per user and case in a five-minute window, held in memory by the single BFF replica. A crash or a full queue loses access events; losses are counted and logged. - Insights starts empty and lists user ids. The dashboard and timelines are projections of the events published since the stack started; there is no demo seed. The workload chart shows shortened user ids, as there is no user directory. A projection rebuild replays the event archive in memory, and the archive has no retention policy. The dashboard's 1.5 s p95 budget is asserted only with
E2E_ENFORCE_PERF_BUDGET=true; shared CI runners record the timings. - Coordination and notifications cover the alert loop first. An alert creates a task, and completing the task (or an appointment) completes its care-plan milestone, a missed one too. Notifications are sent for raised and escalated alerts only: none yet for appointments, missed milestones or task assignments. A missed appointment is reported (
appointment-missed) but creates no follow-up task. Tasks are assigned by user subject, with no user directory. Live updates reach the browser over SignalR from a single BFF replica (ADR-020); the SPA falls back to polling when the connection drops. - Not deployed, by design. The Azure templates (Aspire-generated Bicep), the CD workflow and the scripts are a reference that anyone can apply; this project never deploys them. They are verified locally and in CI (drift, Bicep build and lint, a Trivy scan, fake Azure CLI and fake Microsoft Graph tests, migrator container runs), not against a real subscription or Entra External ID tenant. See Azure.
- Fifteen container images. The BFF, the care-management, monitoring, coordination, notifications, audit and insights contexts, their seven migrators and the device simulator are published to GHCR with provenance and SBOM attestations.
- Developer environment verified on macOS (Apple Silicon) and Linux (the dev container and CI). Windows is untested.
- Synthetic data only. CareBridge is a portfolio reference implementation, not a medical device, an EHR or a production-certified clinical system.
More
- Full changelog: CHANGELOG.md at v2.0.0-alpha.6
- Plan and progress: ROADMAP.md and the v2 Rewrite Program