feat(KB-310): migrate storage layer to SQLite with WAL mode and auto-migration
- Add SQLite database foundation with WAL mode, transactions, and JSON column helpers - Implement auto-migration system from legacy file-based storage with .bak backup strategy - Migrate TaskStore to SQLite with full test coverage (256 tests) - Migrate AutomationStore to SQLite with full test coverage (48 tests) - Add SQLite Storage Architecture documentation to AGENTS.md - Include changeset for patch release
This commit is contained in:
9
.changeset/sqlite-migration.md
Normal file
9
.changeset/sqlite-migration.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
"@dustinbyrne/kb": minor
|
||||
---
|
||||
|
||||
Migrate storage from file-based JSON to SQLite (hybrid with files for blobs)
|
||||
- Improved performance for large task counts via SQLite queries
|
||||
- Better concurrent access support (WAL mode)
|
||||
- Seamless auto-migration from legacy file-based data
|
||||
- Zero breaking changes to store APIs
|
||||
Reference in New Issue
Block a user