LearnNewsExamplesServices
Frontmatter
id9666
titleEpic: Migrate Knowledge Graph to Memory Core
stateClosed
labels
epicai
assigneestobiu
createdAtApr 3, 2026, 11:44 PM
updatedAtApr 4, 2026, 12:17 AM
githubUrlhttps://github.com/neomjs/neo/issues/9666
authortobiu
commentsCount1
parentIssue9638
subIssues
9667 Phase 1: Cleanse knowledge-base of Graph Logic
9668 Phase 2: Migrate Graph Service and OpenAPI to memory-core
9669 Phase 3: Unleash DreamService Graph Extraction
subIssuesCompleted3
subIssuesTotal3
blockedBy[]
blocking[]
closedAtApr 4, 2026, 12:17 AM

Epic: Migrate Knowledge Graph to Memory Core

Closedepicai
tobiu
tobiu commented on Apr 3, 2026, 11:44 PM

Background

The knowledge-base server provides public framework insights (distributed in release ZIPs). The memory-core server handles private user history. DreamService translates private session histories into Graph Nodes. Keeping the Graph SQLite Database inside knowledge-base inherently risks exposing private memory nodes inside public graph zip bundles, and caused process locking when memory-core attempted cross-server imports.

The Graph database natively tracks episodic memories, so it must be owned exclusively by the memory-core MCP server.

Architecture Blueprint

  1. Cleanse knowledge-base:
    • Remove GraphService.mjs.
    • Remove upsertNode from VectorService.mjs (L223-L231).
    • Strip /graph/* routes from openapi.yaml.
  2. Empower memory-core:
    • Migrate GraphService.mjs natively into /memory-core/services/.
    • Re-graft /graph/* routes into the memory-core/openapi.yaml mapping.
    • Configure SQLite to target chroma-neo-memory-core/graph/knowledge-graph.sqlite.
  3. Restore DreamService:
    • Let DreamService.mjs import GraphService safely from its new local directory, avoiding all cross-process IPC locks.
tobiu added the epic label on Apr 3, 2026, 11:44 PM
tobiu added the ai label on Apr 3, 2026, 11:44 PM
tobiu added parent issue #9638 on Apr 3, 2026, 11:44 PM
tobiu cross-referenced by #9667 on Apr 3, 2026, 11:44 PM
tobiu added sub-issue #9667 on Apr 3, 2026, 11:44 PM
tobiu cross-referenced by #9668 on Apr 3, 2026, 11:44 PM
tobiu added sub-issue #9668 on Apr 3, 2026, 11:44 PM
tobiu cross-referenced by #9669 on Apr 3, 2026, 11:44 PM
tobiu added sub-issue #9669 on Apr 3, 2026, 11:44 PM
tobiu assigned to @tobiu on Apr 3, 2026, 11:51 PM
tobiu
tobiu Apr 4, 2026, 12:02 AM

We have fully migrated the Knowledge Graph from knowledge-base to memory-core resolving cross-process IPC locks and protecting episodic memory privacy.

tobiu closed this issue on Apr 4, 2026, 12:02 AM
tobiu reopened this issue on Apr 4, 2026, 12:04 AM
tobiu closed this issue on Apr 4, 2026, 12:17 AM