Skip to content

Add persistent clinic backend and recovery - #7

Merged
BirgerMoell merged 2 commits into
mainfrom
codex/persistent-clinic-backend
Sep 19, 2026
Merged

BirgerMoell merged 2 commits into
mainfrom
codex/persistent-clinic-backend

Conversation

@BirgerMoell

Copy link
Copy Markdown
Contributor

Summary

  • Introduce asynchronous plugin API v2 with SQLite compatibility and a replaceable PostgreSQL provider.
  • Add restricted-role tenant isolation, migration and startup security checks, transactional clinical workflows, and concurrent-edit protection.
  • Add encrypted logical backups, guarded restoration, persistent synthetic staging, and operational documentation.
  • Document the project state, contributor opportunities, and Swedish integration stakeholders.

Verification

  • 104 backend tests passed against real PostgreSQL, with no skips.
  • 13 browser workflows passed, including independent concurrent editors and desktop/mobile checks.
  • Typecheck, formatting, diff checks, and production dependency audit passed.
  • Actual EHR backup/restore and staging restart persistence verified.

Compatibility and deployment

  • Breaking plugin API change: runtime API 1 plugins must migrate to API 2.
  • SQLite-to-PostgreSQL data transfer is not automatic.
  • The public site remains a disposable synthetic demo; persistent staging stays private.
  • No national-service connection, clinical approval, or live-patient readiness is claimed.

Introduce async plugin API v2, role-bound PostgreSQL isolation, guarded migrations, encrypted backup and restore, and persistent synthetic staging. Add concurrency, startup-security, recovery and browser regression coverage, plus Swedish integration and project documentation.
@BirgerMoell
BirgerMoell merged commit 9d7b3d5 into main Sep 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant