Frontmatter
| id | 10152 |
| title | SemanticGraphExtractor: emit typed edges to Memory + Session nodes |
| state | Closed |
| labels | enhancementaiarchitecturecore |
| assignees | tobiu |
| createdAt | Apr 21, 2026, 11:31 AM |
| updatedAt | Apr 22, 2026, 2:00 PM |
| githubUrl | https://github.com/neomjs/neo/issues/10152 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 10143 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [x] 10151 DreamService: deterministic ingestion phase for Memory + Session graph nodes |
| blocking | [] |
| closedAt | Apr 21, 2026, 9:25 PM |
SemanticGraphExtractor: emit typed edges to Memory + Session nodes
tobiu added parent issue #10143 on Apr 21, 2026, 11:33 AM
tobiu marked this issue as being blocked by #10151 on Apr 21, 2026, 11:33 AM
tobiu cross-referenced by #10143 on Apr 21, 2026, 3:06 PM
tobiu cross-referenced by #10158 on Apr 21, 2026, 3:23 PM
tobiu cross-referenced by PR #10161 on Apr 21, 2026, 4:36 PM
tobiu cross-referenced by #9999 on Apr 21, 2026, 7:03 PM
tobiu assigned to @tobiu on Apr 21, 2026, 8:19 PM
tobiu cross-referenced by PR #10165 on Apr 21, 2026, 8:27 PM
tobiu closed this issue on Apr 21, 2026, 9:25 PM
tobiu cross-referenced by PR #10167 on Apr 21, 2026, 11:18 PM
tobiu cross-referenced by PR #10171 on Apr 22, 2026, 12:47 AM
tobiu cross-referenced by #10172 on Apr 22, 2026, 1:19 AM
SemanticGraphExtractor: emit typed edges to Memory + Session nodes
Context
Parent sub-epic (#10143) phase 2. After Memory + Session are nodes (phase 1), extractor attaches extracted entities (concepts/classes/methods/tickets) to those nodes via typed edges instead of
sessionId-scalar metadata.The Problem
Extractor today produces entity nodes with only
sessionIdscalar metadata — no graph edge to the anchoring Session or Memory. Consumers can't traverse from a concept back to its source memory or from a ticket-reference back to the authoring session via the graph.The Architectural Reality
ai/daemons/services/SemanticGraphExtractor.mjsruns Gemma 4-31B (via Ollama) with a Zod-validated tri-vector schema.The Fix
MENTIONED_IN(Concept → Memory)DISCUSSED_IN(Class | Method → Session)REFERENCED_BY(Issue → Memory)addEdgecallsAcceptance Criteria
tri-vector-errorstelemetryOut of Scope
Avoided Traps
Related
ai/daemons/services/SemanticGraphExtractor.mjs, extraction prompt templates, Zod schemaOrigin Session ID: 71dc3cd8-d39d-48e1-ac62-e240ca67d1a5