Frontmatter
| id | 9931 |
| title | Refactor DreamService to Finalize Two-Pillar Hybrid RAG |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Apr 12, 2026, 6:34 PM |
| updatedAt | Apr 12, 2026, 9:03 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9931 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 9922 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 12, 2026, 7:02 PM |
Refactor DreamService to Finalize Two-Pillar Hybrid RAG
tobiu cross-referenced by PR #9932 on Apr 12, 2026, 6:54 PM
Architectural Context
During Epic #9922, the monolithic
SQLiteVectorManagerwas deprecated in favor of a Two-Pillar Hybrid RAG architecture using ChromaDB for semantic storage and SQLite for pure graphical structural topologies viaStorageRouter.However, the offline GraphRAG daemon (
DreamService.mjs) was not fully refactored, causingDreamServiceand its respective Playwright test specs to crash when attempting to dynamically resolve the deleted module.Core Objectives
DreamServicetoSQLiteVectorManager.synthesizeGoldenPath()to decouple the raw SQL JOIN that mapped structural and semantic spaces. The daemon must now fetchksemantic nodes natively from ChromaDB viaStorageRouter, securely project those IDs into a bounded SQLite query to evaluatestruct_score, and merge the hybridprioritycleanly in JavaScript.DreamServicetest mocks to accurately emulate the Two-Pillar architecture.