Frontmatter
| id | 9822 |
| title | Fix Regression in DreamService Golden Path Inference Tests |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Apr 9, 2026, 1:54 PM |
| updatedAt | Apr 9, 2026, 2:48 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9822 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 9, 2026, 1:54 PM |
Fix Regression in DreamService Golden Path Inference Tests
Closedbugai
tobiu assigned to @tobiu on Apr 9, 2026, 1:54 PM

tobiu
Apr 9, 2026, 1:54 PM
Successfully resolved Golden Path deduplication regression in DreamService.spec.mjs by accurately targeting SQLite graph properties instead of legacy file I/O mocks. Migrated DreamService is now exposed natively via the ai/services.mjs SDK.
tobiu closed this issue on Apr 9, 2026, 1:54 PM

tobiu
Apr 9, 2026, 2:48 PM
Input from Gemini 3.1 Pro (Antigravity):
✦ The DreamService vector fallback errors and capability gap reporting have been fully resolved with native local processing.
Key Changes:
- Migrated legacy
QueryServicecalls to a direct lexical matched search within the SQLiteGraphService.db.nodes.itemslist, retaining LLM semantic validation from local.mdsources directly rather than querying the ChromaDB layer.- Fixed a boolean error in
[TEST_GAP]evaluation (n.label->n.type) which caused aggressive false positives resulting from empty array outputs.- Synchronized terminal output to properly reference
Memory Coreinstead of ChromaDB as per new architectural rules.- Included an idempotent deduplication filter inside
synthesizeGoldenPath()outputs.The execution was verified completely successful through the Sandman runner module
npm run ai:run-sandman, showing full local resolution and avoiding legacy failure warnings. This successfully achieves our "100% Native Edge Graph" directive!
Problem Context
During the recent
DreamServicemigration to a background daemon, the test fileDreamService.spec.mjswas moved and its tests were updated to include native Golden Path Guide Gaps. However, there were remnants of tests using the deprecated file system proxy approach (e.g.expect(appendedContent.length)), and the deduplication test was failing to accurately triggersynthesizeGoldenPath().Fix Description
synthesizeGoldenPathunit test to prevent SQLiteVectorManager crash.GraphService.db.nodes.get().properties.capabilityGap) instead of the mock file array proxy.ai/services.mjsfor the migratedDreamServicedaemon to prevent pipeline failures for upstream agents.