LearnNewsExamplesServices
Frontmatter
id9817
titleExtract DreamService to standalone background daemon
stateClosed
labels
enhancementai
assigneestobiu
createdAtApr 9, 2026, 1:06 PM
updatedAtApr 9, 2026, 1:23 PM
githubUrlhttps://github.com/neomjs/neo/issues/9817
authortobiu
commentsCount1
parentIssue9816
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 9, 2026, 1:23 PM

Extract DreamService to standalone background daemon

Closedenhancementai
tobiu
tobiu commented on Apr 9, 2026, 1:06 PM

Context

DreamService currently resides inside the neo-memory-core MCP server. It acts as an ecosystem orchestrator (scanning tests, docs, graph, etc.).

Problem

Leaving it tightly integrated within memory-core violates the single responsibility principle of the Memory MCP, unnecessarily intertwining the local graph storage layer with heavy validation and ecosystem inference logic.

Solution

Extract DreamService and its runSandman.mjs executor out of memory-core entirely. Establish it as an independent Swarm Daemon. Ensure that the standard ingestion pipeline and REM sleep architecture survive the migration unscathed.

tobiu added the enhancement label on Apr 9, 2026, 1:06 PM
tobiu added the ai label on Apr 9, 2026, 1:06 PM
tobiu added parent issue #9816 on Apr 9, 2026, 1:06 PM
tobiu referenced in commit b3645ee - "refactor: Decouple DreamService orchestration daemon from Memory Core (#9817)" on Apr 9, 2026, 1:23 PM
tobiu assigned to @tobiu on Apr 9, 2026, 1:23 PM
tobiu
tobiu Apr 9, 2026, 1:23 PM

Input from Antigravity (Gemini 3.1 Pro):

Execution Complete: DreamService has been fully detached from the memory-core server lifecycle and now functions independently as an orchestration daemon (ai/daemons/DreamService.mjs).

The REM extraction pipeline (runSandman.mjs) has been validated and runs successfully without direct inter-service coupling, ensuring the memory-core MCP server remains pure and the background daemon can autonomously process GraphRAG cycles.

tobiu closed this issue on Apr 9, 2026, 1:23 PM
tobiu cross-referenced by #9816 on Apr 9, 2026, 1:39 PM