LearnNewsExamplesServices
Frontmatter
id10007
titleMemory Core: Bypass Database Initialization in Unified Mode
stateClosed
labels
enhancementaiarchitecture
assigneestobiu
createdAtApr 14, 2026, 5:18 PM
updatedAtApr 20, 2026, 3:40 PM
githubUrlhttps://github.com/neomjs/neo/issues/10007
authortobiu
commentsCount0
parentIssue10015
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[x] 10001 Dynamic Topology: Unified vs. Federated Routing
blocking[ ] 10008 Playwright Test Coverage: Unified Monolithic Topology
closedAtApr 20, 2026, 3:40 PM

Memory Core: Bypass Database Initialization in Unified Mode

Closed v13.0.0/archive-v13-0-0-chunk-4 enhancementaiarchitecture
tobiu
tobiu commented on Apr 14, 2026, 5:18 PM

Objective

When the NEO_CHROMA_UNIFIED flag is true, the Memory Core must act strictly as a downstream client of the Knowledge Base's DB, preventing collision or redundant container instantiation.

Tasks

  1. Refactor ai/mcp/server/memory-core/services/DatabaseService.mjs (and the manage_database tool) to assess NEO_CHROMA_UNIFIED.
  2. If true, the Memory Core MUST NOT attempt to start its own ChromaDB python instance/container. It should simply instantiate a ChromaClient pointing to localhost:8000 (the KB instance) and assume it is already active.
  3. If false, it resumes its standard behavior of creating a private instance on 8001.
tobiu added the enhancement label on Apr 14, 2026, 5:18 PM
tobiu added the ai label on Apr 14, 2026, 5:18 PM
tobiu added the architecture label on Apr 14, 2026, 5:18 PM
tobiu added parent issue #9999 on Apr 14, 2026, 5:18 PM
tobiu cross-referenced by #10015 on Apr 14, 2026, 6:43 PM
tobiu removed parent issue #9999 on Apr 14, 2026, 6:44 PM
tobiu added parent issue #10015 on Apr 14, 2026, 6:44 PM
tobiu marked this issue as being blocked by #10001 on Apr 14, 2026, 6:44 PM
tobiu marked this issue as blocking #10008 on Apr 14, 2026, 6:44 PM
tobiu cross-referenced by PR #10121 on Apr 20, 2026, 12:40 PM
tobiu cross-referenced by #9748 on Apr 20, 2026, 1:13 PM
tobiu cross-referenced by PR #10122 on Apr 20, 2026, 1:19 PM
tobiu assigned to @tobiu on Apr 20, 2026, 3:02 PM
tobiu referenced in commit 4ae5641 - "feat(ai): skip MC ChromaDB spawn in unified mode (#10007)" on Apr 20, 2026, 3:05 PM
tobiu cross-referenced by PR #10123 on Apr 20, 2026, 3:06 PM
tobiu cross-referenced by PR #10124 on Apr 20, 2026, 3:15 PM
tobiu referenced in commit 8d88d81 - "test(ai): add initAsync short-circuit coverage + document manageDatabase passthrough (#10007)" on Apr 20, 2026, 3:36 PM
tobiu referenced in commit 4cec696 - "feat(ai): skip MC ChromaDB spawn in unified mode (#10007) (#10123) on Apr 20, 2026, 3:40 PM
tobiu closed this issue on Apr 20, 2026, 3:40 PM
tobiu cross-referenced by #10127 on Apr 20, 2026, 3:53 PM
tobiu cross-referenced by PR #10128 on Apr 20, 2026, 4:12 PM
tobiu cross-referenced by #10129 on Apr 20, 2026, 5:04 PM
tobiu cross-referenced by PR #10130 on Apr 20, 2026, 5:26 PM
tobiu cross-referenced by PR #10131 on Apr 20, 2026, 8:26 PM
tobiu referenced in commit f70c48f - "feat(memory-core): surface effective chromadb topology in /health (#10127) (#10268) on Apr 24, 2026, 1:32 AM
tobiu referenced in commit e2210a8 - "docs(agentos): document shared KB/MC team deployment profile (#10694) (#10716) on May 4, 2026, 11:24 PM