feat/storage-abstraction
main
Multi-phase refactor enabling Mosaic to work with multiple backends:
Phase 1: Define adapter interfaces for queue, storage, memory Phase 2: Wrap existing Redis/Postgres/pgvector as adapters Phase 3: Implement local SQLite + keyword search adapter Phase 4: Add MosaicConfig schema + CLI tier selection wizard
All packages typecheck and lint green. Ready for merge.
Mission: Decouple gateway from hardcoded Postgres/Valkey backends. 20 tasks across 5 phases. Estimated total: ~214K tokens. Phase 1: Interface extraction (4 tasks) Phase 2: Wrap existing backends as adapters (5 tasks) Phase 3: Local tier implementation (4 tasks) Phase 4: Config + CLI commands (4 tasks) Phase 5: Migration + docs (3 tasks)
Co-Authored-By: Claude Opus 4.6 <[email protected]>
42 new tests: 4 queue, 18 storage, 20 memory 347 total tests passing
381 tests passing (347 gateway + 34 CLI), 40/40 tasks clean
No dependencies set.
The note is not visible to the blocked user.
Multi-phase refactor enabling Mosaic to work with multiple backends:
Phase 1: Define adapter interfaces for queue, storage, memory
Phase 2: Wrap existing Redis/Postgres/pgvector as adapters
Phase 3: Implement local SQLite + keyword search adapter
Phase 4: Add MosaicConfig schema + CLI tier selection wizard
All packages typecheck and lint green. Ready for merge.