Origin Session ID: af26000d-914a-4eb0-8d28-2c09e9cb4cb5
Parent Epic: #9922
Context
As part of the Two-Pillar Hybrid RAG migration (replacing sqlite-vec with ChromaDB for dense vectors), the memory-core MCP server's configuration and startup sequences must be fundamentally rewired.
Technical Requirements
- Configuration (
config.mjs / config.template.mjs): Extract hardcoded sqlite-vec engine biases. Define explicit parameters for chromaHost, chromaPort, and native Graph tracking. The engine config must formally support a bifurcated hybrid paradigm as default.
- System Lifecycle (
SystemLifecycleService.mjs): Adjust the OS boot orchestrator to initialize both the SQLite Native Graph and the ChromaDB external dependency in strict sequential ordering. Ensure graceful degradation or crash-loops if Chroma is missing.
- Inference & Chroma Lifecycles (
InferenceLifecycleService.mjs, ChromaLifecycleService.mjs): Deprecate legacy flat-table logic. Re-establish robust .ping() logic to ChromaLifecycleService ensuring the Docker container or local server is responsive before launching memory operations.
Definitions of Done
- All touched files conform strictly to the 'Anchor & Echo' JSDoc protocol.
- Server boots and correctly authenticates both DB engines.
Origin Session ID: af26000d-914a-4eb0-8d28-2c09e9cb4cb5 Parent Epic: #9922
Context
As part of the Two-Pillar Hybrid RAG migration (replacing
sqlite-vecwith ChromaDB for dense vectors), the memory-core MCP server's configuration and startup sequences must be fundamentally rewired.Technical Requirements
config.mjs/config.template.mjs): Extract hardcodedsqlite-vecengine biases. Define explicit parameters forchromaHost,chromaPort, and native Graph tracking. Theengineconfig must formally support a bifurcatedhybridparadigm as default.SystemLifecycleService.mjs): Adjust the OS boot orchestrator to initialize both the SQLite Native Graph and the ChromaDB external dependency in strict sequential ordering. Ensure graceful degradation or crash-loops if Chroma is missing.InferenceLifecycleService.mjs,ChromaLifecycleService.mjs): Deprecate legacy flat-table logic. Re-establish robust.ping()logic toChromaLifecycleServiceensuring the Docker container or local server is responsive before launching memory operations.Definitions of Done