Add SQLite chat storage migration #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/conversation-p06"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Introduce a conversation repository abstraction and switch desktop chat persistence to a SQLite-backed store using
node:sqlite. The migration validates legacychats.json, creates a content-addressed backup, imports transactionally with rollback protection, and keeps JSON export/backup tooling for recovery.This also wires the chat store and app shutdown to the new database lifecycle, pins Electron to the tested runtime, raises the minimum Node version for built-in SQLite support, and adds extensive migration, CRUD, recovery, and Electron smoke coverage plus P06 implementation/ADR documentation.