LearnNewsExamplesServices
Frontmatter
id9665
titleStabilize MCP Server Infrastructure & Fix Memory/Graph Regression
stateClosed
labels
bugai
assigneestobiu
createdAtApr 3, 2026, 8:37 PM
updatedAtApr 3, 2026, 11:44 PM
githubUrlhttps://github.com/neomjs/neo/issues/9665
authortobiu
commentsCount0
parentIssue9638
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 3, 2026, 11:44 PM

Stabilize MCP Server Infrastructure & Fix Memory/Graph Regression

Closedbugai
tobiu
tobiu commented on Apr 3, 2026, 8:37 PM

Description

During the DreamService integration, the Antigravity sandbox suffered a severe startup regression for both the knowledge-base and memory-core MCP servers, leading to "context deadline exceeded" and process locks.

Fixes Documented

  1. Database Path Isolation: Addressed file locking between ChromaDB Python and better-sqlite3 by isolating GraphService SQLite artifacts physically within the /graph subdirectory (chroma-neo-knowledge-base/graph/knowledge-graph.sqlite).
  2. Cross-Service Import Severance: Removed the unsafe import and usage of KB_GraphService inside DreamService.mjs to ensure memory-core does not spin up or lock SQLite bindings belonging exclusively to knowledge-base.
  3. Config Stability: Maintained process.cwd() heuristic path fallbacks to provide safety nets across isolated editor/sandbox execution vectors.
tobiu added the bug label on Apr 3, 2026, 8:37 PM
tobiu added the ai label on Apr 3, 2026, 8:37 PM
tobiu added parent issue #9638 on Apr 3, 2026, 8:37 PM
tobiu referenced in commit 552cceb - "fix(mcp): Stabilize server infrastructure and fix graph deadlock (#9665)" on Apr 3, 2026, 8:38 PM
tobiu assigned to @tobiu on Apr 3, 2026, 11:44 PM
tobiu closed this issue on Apr 3, 2026, 11:44 PM