Repository navigation
Releases
Releases · artemsemdev/CareBridge
v2.0.0-alpha.6 — Audit & Insights
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
v2.0.0-alpha.5 — Coordination & Notifications
2.0.0-alpha.5 (2026-12-04)
Added
- bff: push live alert, task and notification updates over SignalR (#245) (0e5b468), refs #81
- care-management: complete missed milestones late from coordination events (#241) (831abd9), refs #79
- coordination: add appointments with scheduled missed-appointment detection (#242) (408ab7b), refs #78
- coordination: add care tasks created from alerts, with SLA due dates and assignment (#239) (29a0692), refs #77
- notifications: add the notifications context with an in-app inbox and e-mail (#240) (1853644), refs #80
- web: add the work queue, case appointments and the notification center (#247) (4ff634f), refs #82
Fixed
Documentation
Build, CI and tests
- e2e: start the AppHost in the configuration that was built (#249) (9245008)
- monitoring: look for the reading itself, not its digits, in observation-recorded (#243) (5424323)
- notifications: count only the test's own case in the sent-event assertions (#248) (7417305)
- web: allow the web job 20 minutes (#244) (b4c615d)
Known limitations
- Four contexts rewritten so far. Cases and care plans run on the v2 care-management context (#68); observations, care-gap rules and alerts on the v2 monitoring context (#76); care tasks and appointments on the v2 coordination context and in-app and e-mail notifications on the v2 notifications context (#83). The v2 SPA covers cases, care plans, observations, the alert queue, the work queue with a case's tasks and appointments, and the notification center (#82). A device simulator records demo readings. The legacy Case, Care Plan, Observation, Task, Appointment and Notification services, the Care-Gap Engine, the legacy SQL Server and its migrator, and the legacy case, alerts and tasks pages are deleted. Audit and insights still run on the v0.6 Audit and Reporting services and the legacy SPA under
/legacy/, with the defects listed in thev0.6-legacyrelease, until their cutovers (M6). - The remaining legacy services receive no events at all. The v2 contexts publish their events to the v2 broker, no bridge feeds the legacy RabbitMQ, and since the coordination cutover no legacy service publishes to it either. The legacy audit log therefore records no new activity: no case, care plan, observation, alert, task, appointment or notification event. The legacy dashboard shows no counts, only links to the v2 SPA (cases, alerts, the work queue, a case's appointments), and case timelines get no entries. Legacy audit records link to the v2 case page, where cases created before the cutovers do not exist. Observations, alerts, tasks, appointments and notifications recorded by the legacy services are not migrated (synthetic data, ADR-013). The legacy UI has no screen left for a case's timeline; that API stays reachable through the BFF.
- The legacy stack has no per-user authorization. The BFF lets only signed-in users reach the legacy routes, but it forwards no token or user identity, so the v0.6 gateway and services check no roles until their cutovers. Their mock user is switched off. The v2 care-management, monitoring, coordination and notifications APIs check every request against the authorization matrix.
- 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.
- Eleven container images. The BFF, the care-management, monitoring, coordination and notifications contexts, their five migrators and the device simulator are published to GHCR with provenance and SBOM attestations. The other context images arrive with their contexts.
- 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.5
- Plan and progress: ROADMAP.md and the v2 Rewrite Program
v2.0.0-alpha.4 — Monitoring & Care Gaps
2.0.0-alpha.4 (2026-12-03)
Added
- demo: add the remote-monitoring device simulator (#226) (0e2231a), refs #73
- monitoring: add the alert lifecycle with de-duplication, escalation and triage API (#230) (2f87727), refs #72
- monitoring: add the care-gap rules engine with the weight-gain trend rule (#225) (87aa5b7), refs #70
- monitoring: add the observation ingestion API (#224) (780e9fa), refs #69
- monitoring: raise alerts for missed milestones from care-management events (#232) (72634c8), refs #71
- web: add the alert queue with keyboard triage, a sidebar counter and case alerts (#233) (441f035), refs #75 #74
- web: add the observations tab with vitals charts and a record form (#227) (6be036a), refs #74
Fixed
Security
- web: move Storybook's docgen plugin to glob 14 for the glob and minimatch alerts (#223) (ecd6d96), refs #220
Documentation
Build, CI and tests
- apphost: require the device simulator to raise alerts within two minutes (#231) (82f9141), refs #73
- bff: match the JWT shape in the remaining token-leak assertions (#235) (3836983), refs #218
- web: wait up to 3 s for asynchronous queries (#237) (62d2ffb)
Known limitations
- Two contexts rewritten so far. Cases and care plans run on the v2 care-management context (#68), and observations, care-gap rules and alerts on the v2 monitoring context (#76). The v2 SPA covers both: the case list, intake, the case detail with the care plan, its milestones and an observations tab with vitals charts, and the alert queue. A device simulator records demo readings. The legacy Case, Care Plan and Observation services, the Care-Gap Engine, and the legacy case and alerts pages are deleted. Coordination, notifications, audit and insights still run on the v0.6 services and the legacy SPA under
/legacy/, with the defects listed in thev0.6-legacyrelease, until their own cutovers (M5 and M6). - The remaining legacy services no longer see cases, care plans, observations or alerts. The v2 contexts publish their events to the v2 broker, and no bridge feeds the legacy RabbitMQ. The legacy audit log records no case, care plan, observation or alert activity. The legacy dashboard no longer counts or lists cases or alerts, and case timelines get no case, care plan, milestone, observation or alert entries. No notification is sent for a raised alert or a completed milestone. No legacy task is opened for an alert, whether for an abnormal reading or a missed milestone. Completing a legacy task or appointment no longer completes a milestone. Legacy tasks and audit records link to the v2 case page, where cases created before the cutovers do not exist. Observations and alerts recorded by the legacy services are not migrated (synthetic data, ADR-013). The legacy UI has no screen left for a case's appointments or timeline; those APIs stay reachable through the BFF.
- The legacy stack has no per-user authorization. The BFF lets only signed-in users reach the legacy routes, but it forwards no token or user identity, so the v0.6 gateway and services check no roles until their cutovers. Their mock user is switched off. The v2 care-management and monitoring APIs check every request against the authorization matrix.
- 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.
- Seven container images. The BFF, the care-management and monitoring contexts, their three migrators and the device simulator are published to GHCR with provenance and SBOM attestations. The other context images arrive with their contexts.
- 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.4
- Plan and progress: ROADMAP.md and the v2 Rewrite Program
v2.0.0-alpha.3 — Care Management
2.0.0-alpha.3 (2026-12-03)
Added
- care-management: add Case and CarePlan aggregates with explicit state machines (#200) (6057bfd), refs #61
- care-management: add the care plan and milestone API and the milestone scheduler (#204) (2fd1c0c), refs #64
- care-management: add the case intake and query API (#202) (ac986eb), refs #63
- care-management: add versioned care plan templates with diagnosis-driven selection (#201) (5c860e1), refs #62
- care-management: publish integration events and consume coordination completions (#208) (7403ca7), refs #65
- care-management: sort the case list (#211) (5ca6956), refs #207
- identity: validate Entra External ID tokens in context APIs in publish mode (#205) (b155425), refs #203
- web: add case status actions to the case overview (#216) (04d1546), refs #210
- web: add the case detail page with overview and care plan tabs (#209) (77dd6de), refs #67
- web: add the case list and intake form (#206) (3b42943), refs #66
Fixed
Documentation
- deployment: correct the GHCR visibility note for new images (#215) (421b269), refs #214
- review the release notes for 2.0.0-alpha.3 and close M3 on the roadmap (#221) (71bdcb4), refs #14
Build, CI and tests
Known limitations
- One context rewritten so far. Cases and care plans run on the v2 care-management context and the v2 SPA (case list, intake, case detail with the care plan and its milestones); the legacy Case and Care Plan services and the legacy case pages are deleted (#68). Monitoring, coordination, notifications, audit and insights still run on the v0.6 services and the legacy SPA under
/legacy/, with the defects listed in thev0.6-legacyrelease, until their own cutovers (M4 to M6). - The remaining legacy services no longer see cases or care plans. v2 care-management publishes its events to the v2 broker, and no bridge feeds the legacy RabbitMQ: the legacy audit log records no case or care plan activity, the legacy dashboard no longer counts or lists cases and case timelines get no case, care plan or milestone entries, no notification is sent for a completed milestone, the care-gap engine raises no missed-milestone alerts (so no task is opened for one), and completing a legacy task or appointment no longer completes a milestone. Legacy alerts, tasks and audit records link to the v2 case page, where cases created before the cutover do not exist. The legacy UI has no screen left for a case's observations, appointments or timeline; those APIs stay reachable through the BFF.
- The legacy stack has no per-user authorization. The BFF lets only signed-in users reach the legacy routes, but it forwards no token or user identity, so the v0.6 gateway and services check no roles until their cutovers. Their mock user is switched off. The v2 care-management API checks every request against the authorization matrix.
- 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.
- Four container images. The BFF, the care-management context and their two migrators are published to GHCR with provenance and SBOM attestations. The other context images arrive with their contexts.
- 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.3
- Plan and progress: ROADMAP.md and the v2 Rewrite Program
v2.0.0-alpha.2 — Walking Skeleton
2.0.0-alpha.2 (2026-12-02)
Added
- bff: add the YARP BFF with OIDC cookie session, CSRF, rate limits and SPA hosting (#188) (7ae9166), refs #49
- build: publish chiseled non-root images with SBOM, Trivy and provenance attestations (#191) (97b67cd), refs #58
- cd: deploy with GitHub OIDC, migration jobs, post-deploy smoke and rollback (#194) (e847e52), refs #59
- identity: add the Keycloak realm with demo personas and context audiences (#183) (21c373c), refs #48
- infra: model the Azure dev environment in the AppHost and commit the generated Bicep (#184) (064c175), refs #57
- infra: use managed identities for PostgreSQL and Service Bus, secrets via Key Vault (#193) (06eaf4d), refs #60
- security: add zero-trust JWT validation, permission policies and authorization matrix (#186) (ae27d1d), refs #50
- web: add TanStack Router with session from the BFF and permission-gated routes (#190) (ca7bea7), refs #54
- web: add the design system, app shell and Storybook with visual and a11y tests (#189) (f5596c1), refs #52
- web: generate a typed API client from OpenAPI with TanStack Query conventions (#187) (1032dc4), refs #53
- web: scaffold the v2 SPA with Vite 8, React 19, TypeScript 7, Tailwind 4 and pnpm (#182) (48a5afc), refs #51
Documentation
Build, CI and tests
- deps-dev: bump typescript from 5.9.3 to 6.0.3 in /src/web/carebridge-ui (#167) (a8011e4)
- deps: stop Dependabot proposing the Roslyn pins and Tailwind CSS 4 (#181) (a637538)
- e2e: add the Playwright harness against Aspire with persona sign-in and axe scans (#192) (fee2fbf), refs #56
- images: delete old GHCR image versions after each publish (#196) (c607c75), refs #58
- infra: verify the Azure templates and deployment scripts locally (#197) (6ede23c), refs #57 #59 #60
- web: add Vitest, Testing Library, MSW and axe checks with coverage in CI (#185) (f865cf1), refs #55
Known limitations
- No rewritten feature yet. This milestone builds the walking skeleton: OIDC sign-in with demo personas through the YARP BFF, the v2 SPA shell with role-gated navigation, the design system and the typed API client. The screens behind the navigation are placeholders; every user-facing workflow still runs on the v0.6 services and SPA, with the defects listed in the
v0.6-legacyrelease. The first real contexts arrive in M3. - The legacy stack still uses a mock user. The v2 SPA signs in through the BFF (Keycloak locally); the v0.6 gateway still injects a mock care coordinator until its services are replaced.
- 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.
- Two container images. Only the BFF and its migrator are published to GHCR, with provenance and SBOM attestations; the context images arrive with the contexts.
- 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.2
- Plan and progress: ROADMAP.md and the v2 Rewrite Program
v2.0.0-alpha.1 — Platform Foundation
2.0.0-alpha.1 (2026-12-02)
Added
- api: add API building block with validation, ProblemDetails, OpenAPI, pagination and idempotency (#150) (d49dbe9), refs #41
- apphost: orchestrate v2 infrastructure and legacy services with Aspire 17 (#148) (0d7db2d), refs #37
- architecture: add v2 solution layout, context template and architecture tests (#147) (d5d61bb), refs #36
- contracts: add integration event envelope, PHI policy and schema contract tests (#149) (48e7c7e), refs #40
- data: add PostgreSQL data building block, migration worker and bundles (#152) (c279e9e), refs #38
- messaging: add Wolverine building block with outbox, inbox, retries and dead-lettering (#161) (603b212), refs #39
- observability: add OTel building block with trace propagation through messages (#173) (6674f26), refs #42
- spike: Wolverine outbox/inbox messaging spike and ADR-016 (#140) (0ec1471), refs #28
- template: wire ServiceDefaults, data, migrator, messaging and telemetry into contexts (#177) (7c870ae), refs #174
Fixed
- eventing: dead-letter legacy poison messages after 3 attempts (#175) (9fdc389), refs #168
- security: remove credential values from tracked env template (#122) (70420d2), refs #22
Security
Documentation
- add positioning statement and social preview draft (#118) (76de192), refs #23
- add ROADMAP.md and archive v0.6 delivery documents (#121) (eab9340), refs #34
- adr: add ADR-013 strangler-fig rewrite strategy and move ADRs to docs/decisions (#117) (a93a581), refs #25
- adr: add ADR-014 right-sized service decomposition (#123) (022e542), refs #26
- adr: add ADR-015 technology stack and version policy (#133) (d54a3ab), refs #27
- adr: add ADR-017 Azure Container Apps hosting (#136) (6b65098), refs #29
- adr: add ADR-018 identity with OIDC BFF and zero-trust services (#134) (6c92586), refs #30
- contributing: define workflow, Definition of Done, PR template and issue forms (#137) (3b36fa0), refs #32
- diagrams: add v0.6 baseline architecture and SPA diagnosis with Archify (#139) (10114c7), refs #24
- point README to the v0.6-legacy tag and the v2 rewrite program (#120) (0296234), refs #21
- roadmap: mark M0 done, M1 now, link project board (#141) (c3c5a40)
- security: define supported versions and private reporting channel (#119) (e49bd11), refs #33
- testing: add ADR-019 test strategy and quality gates (#135) (e5ff45c), refs #31
- v2: align plan and test strategy with Aspire 17, Vitest 5 and aspire deploy (#138) (ac1d909)
Build, CI and tests
- add backend test foundation with fixtures, builders, acceptance-case catalog and coverage (#151) (079ba06), refs #43
- add CI workflow with build, format, test suites and coverage (#154) (668fca3), refs #44
- add legacy-web job to install, lint and build the v0.6 SPA (#160) (0a62994)
- deps: bump the npm-minor-and-patch group in /src/web/carebridge-ui with 14 updates (#155) (2c92722)
- deps: commit NuGet lock files and restore in locked mode in CI (#178) (ed8ddaf), refs #172
- deps: refresh legacy SPA dependencies, upgrade ESLint to 10 and @types/node to 26 (#163) (4dac4a9)
- release: add release-please automation, release script, PR title and config checks (#164) (7ef5326), refs #46
- security: add CodeQL, dependency review, gitleaks, Trivy and OpenSSF Scorecard workflows ([#165](https://github.com/artems...
v0.6-legacy — CareBridge v0.6 Hardened (archived baseline)
CareBridge v0.6 Hardened — legacy baseline
This release freezes CareBridge v0.6 before the v2 rewrite. It is kept for reference and for the before/after case study. It is not supported. Active development continues in the v2 Rewrite Program (#10).
What v0.6 does
- 9 ASP.NET Core Minimal API services (.NET 9) plus a BFF gateway, with RabbitMQ events and SQL Server databases per service
- Discharge intake → care plan activation with milestones
- Observation ingestion → threshold-based care-gap alerts → automatic coordinator tasks
- Appointments, log-based notifications, an in-memory dashboard/timeline read model, and an in-memory audit trail
- React 19 + Tailwind SPA: dashboard, cases, case detail, alerts, tasks, audit
- 140 unit tests; health endpoints; structured logging; OpenTelemetry tracing; HTTP resilience handlers
Known defects and limitations (resolved by the v2 rewrite)
| # | Finding |
|---|---|
| F1 | Targets .NET 9, which reached end of support on 2026-11-10 |
| F2 | No authentication or authorization — the gateway injects a mock user; services accept anonymous calls |
| F3 | A failing message is requeued forever: the retry-count header is never written, and there is no dead-letter queue |
| F4 | Events are published best-effort after the DB commit; there is no outbox or inbox, so events can be lost |
| F5 | The audit trail and reporting read models are in memory and lost on restart |
| F6 | The tracked .env.example contained a concrete local dev password |
| F7–F13 | Publisher is not thread-safe; trace context is lost across messages; synchronous HTTP inside event flows; PHI in events; no status-transition validation; logic concentrated in Program.cs; no OpenAPI; the hand-rolled proxy drops headers |
| F14–F16 | No integration, contract, E2E or frontend tests; no CI/CD, container images or IaC; the docs describe unbuilt Azure/FHIR/AKS capabilities |
Synthetic data only. Not a medical device and not production-certified.