feat(FN-1420): add pluggable memory backend system

- Add FileMemoryBackend with atomic writes, persistence, and conflict resolution
- Add ReadOnlyMemoryBackend for read-only/external memory management
- Add memoryBackendType setting to select backend type (file or readonly)
- Add GET /api/memory/backend endpoint to query current backend status and capabilities
- Update AGENTS.md, README.md, and docs with architecture and settings guidance
- Add memory-backend.test.ts with comprehensive tests for all backends
- Add routes.test.ts coverage for /api/memory/backend endpoint
- Fix settings parity test to include new memoryBackendType key
This commit is contained in:
gsxdsm
2026-04-11 12:13:25 -07:00
parent 12c38ef0ea
commit 18f242b2bc
12 changed files with 1316 additions and 6 deletions

View File

@@ -0,0 +1,13 @@
---
"@gsxdsm/fusion": minor
---
feat: Pluggable memory backend system with file and readonly backends
- Added `FileMemoryBackend` with atomic writes, persistence, and conflict resolution
- Added `ReadOnlyMemoryBackend` for read-only/external memory management
- Added `memoryBackendType` setting to select backend type (`file` or `readonly`)
- Added `GET /api/memory/backend` endpoint to query current backend status and capabilities
- Updated documentation with architecture, settings, and operational guidance
Related to FN-1420.