mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Bootstrap now opens PGlite and uses DB-backed project/workspace registries as the sole runtime authority. Legacy JSON files are imported transactionally on first startup; restart is idempotent. Key changes: - bootstrap.ts: DB registries replace file-backed, DB lifecycle managed on startup/shutdown/error - workspace-registry-bootstrap.ts: fixed FK write order (project before workspace), uses list() instead of existsOnDisk() - New transactional import module with rollback safety - Bootstrap smoke tests for import, idempotence, and reconciliation Audit-verified: authority cutover (13/13 checks), boundary (10/10).