mirror of
https://github.com/stablyai/orca.git
synced 2026-11-04 02:57:36 +00:00
* feat(persistence): one-time profile backup before boot-time saved-data migrations Adds ensureProfileStatePreMigrationBackup: a validated copy of the profile database, written next to it as profile-state.db.pre-migration.db, taken once before the first boot-time rewrite of saved layouts and never replaced afterwards. It returns 'failed' instead of throwing so the caller skips the migration when the copy cannot be written (e.g. disk full). Nothing calls it yet; the startup layout migration will. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(persistence): name the lock that keeps one owner per profile Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>