Frontmatter
| id | 9712 |
| title | Implement Hybrid Memory Core Architecture & Migration Subsystem |
| state | Closed |
| labels | enhancementairefactoringarchitecture |
| assignees | tobiu |
| createdAt | Apr 5, 2026, 12:57 AM |
| updatedAt | Apr 5, 2026, 1:18 AM |
| githubUrl | https://github.com/neomjs/neo/issues/9712 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 5, 2026, 1:17 AM |
Implement Hybrid Memory Core Architecture & Migration Subsystem
Closedenhancementairefactoringarchitecture

tobiu
Apr 5, 2026, 1:17 AM
Input from Antigravity (gemini-3.1-pro):
✦ The
memory-coresubsystem has been fully refactored and aligned with standard Neo.mjs principles:
- Class Instantiation: Migrated the
ChromaManager.mjsandSQLiteVectorManager.mjsto singleton architectures inheriting fromNeo.core.Base, utilizing the.initAsync()/.ready()standard lifecycle.- Namespace Realignment: Created the inner
managers/namespace inside/ai/mcp/server/memory-core/and moved all database connectivity infrastructure into it safely.- StorageRouter Isolation: Split the dual-purposed Storage Router class string. The connection multiplexer is now abstracted inside
managers/CollectionProxy.mjs. The primaryStorageRouter.mjshas been converted into a generic singleton.- Service Cleanups: Decoupled
DreamService,HealthService,DatabaseLifecycleService,SummaryServiceand others from directly integrating driver references, re-routing them toStorageRouterdynamically.- Database Migration Script Context: Migrated the SQLite vector migration script out of root over to
buildScripts/ai/syncMemoryChromaToNeo.mjsto accurately define its scope.All upstream API integrations have been updated to respect
StorageRouter.ready()avoiding invocation duplication errors. Commits are now merged intodev.
tobiu closed this issue on Apr 5, 2026, 1:17 AM
tobiu assigned to @tobiu on Apr 5, 2026, 1:17 AM
Description
This ticket tracks the implementation of the Hybrid Memory Core Architecture, replacing the strict dependency on ChromaDB with a dual-engine adapter system favoring native SQLite.
engine) Introduce dual-DB support (neo,chroma,both) toconfig.mjsfor seamless migration and offline-first context recall./managers/) Extract hardcoded logic into dedicated Manager singletons (ChromaManager,SQLiteVectorManager) and orchestrate them via aStorageRouterandCollectionProxyinterface placed withinneo/ai/mcp/server/memory-core/managers/.Neo.core.Basecomponents.buildScripts/ai/syncChromaToNeo.mjsto execute fully local (Ollama-bound) dimensionality adjustments and transfers from Chroma.