---
id: 10004
title: 'DreamService: Omnidirectional Gap Inference Engine'
state: CLOSED
labels:
  - enhancement
  - ai
  - architecture
assignees:
  - tobiu
createdAt: '2026-04-14T15:12:48Z'
updatedAt: '2026-04-18T15:23:12Z'
githubUrl: 'https://github.com/neomjs/neo/issues/10004'
author: tobiu
commentsCount: 1
parentIssue: 10014
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy:
  - '[x] 10002 Universal Macro Overlay DB Topology'
blocking:
  - '[x] 10012 DreamService: Federated Execution Batching & Throttling'
closedAt: '2026-04-16T18:44:39Z'
---
# DreamService: Omnidirectional Gap Inference Engine

## Objective
Refactor `DreamService.executeCapabilityGapInference()` to parse macroscopic vector distances from ChromaDB and physically format the relationships into the reporting dashboard.

## Tasks
1. Execute distance REST queries against the Knowledge Base Macro DB.
2. Compare vector distances against a configurable confidence threshold to determine missing edges.
3. Replace the legacy path-based heuristic logic with this pure distance matching approach.
4. Export the resulting ID gaps/edges directly to `resources/content/sandman_handoff.md`, tagged under the respective `userId`.

## Timeline

- 2026-04-14T15:12:49Z @tobiu added the `enhancement` label
- 2026-04-14T15:12:49Z @tobiu added the `ai` label
- 2026-04-14T15:12:50Z @tobiu added the `architecture` label
- 2026-04-14T15:13:06Z @tobiu added parent issue #9999
- 2026-04-14T16:43:31Z @tobiu cross-referenced by #10014
- 2026-04-14T16:44:06Z @tobiu removed parent issue #9999
- 2026-04-14T16:44:07Z @tobiu added parent issue #10014
- 2026-04-14T16:44:33Z @tobiu marked this issue as being blocked by #10002
- 2026-04-14T16:44:35Z @tobiu marked this issue as blocking #10012
### @tobiu - 2026-04-16T18:44:38Z

Superseded by Epic #10030. Concept inference will be handled by the ConceptService traversing the JSONL graph.

- 2026-04-16T18:44:39Z @tobiu closed this issue
- 2026-04-18T15:23:13Z @tobiu assigned to @tobiu

