Frontmatter
| id | 9803 |
| title | Hybrid GraphRAG Phase 2: Pipeline Tuning & Deterministic Topology |
| state | Closed |
| labels | epicaiarchitecture |
| assignees | tobiu |
| createdAt | Apr 9, 2026, 10:11 AM |
| updatedAt | Apr 9, 2026, 10:32 AM |
| githubUrl | https://github.com/neomjs/neo/issues/9803 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | 9804 Implement Deterministic Edge Mapping for Document Gaps 9805 Centralize sandman_handoff.md generation in DreamService 9806 Enforce TTL Pruning for Graph Topology Gap Tracking 9807 Enforce Type-Aware Gap Targeting Constraints 9809 Ensure GitHub Discussions Surface Natively in the Golden Path |
| subIssuesCompleted | 5 |
| subIssuesTotal | 5 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 9, 2026, 10:32 AM |
Hybrid GraphRAG Phase 2: Pipeline Tuning & Deterministic Topology
Closedepicaiarchitecture
tobiu cross-referenced by #9804 on Apr 9, 2026, 10:12 AM
tobiu cross-referenced by #9805 on Apr 9, 2026, 10:12 AM
tobiu cross-referenced by #9806 on Apr 9, 2026, 10:12 AM
tobiu added sub-issue #9804 on Apr 9, 2026, 10:12 AM
tobiu added sub-issue #9805 on Apr 9, 2026, 10:12 AM
tobiu added sub-issue #9806 on Apr 9, 2026, 10:12 AM
tobiu cross-referenced by #9807 on Apr 9, 2026, 10:14 AM
tobiu added sub-issue #9807 on Apr 9, 2026, 10:14 AM
tobiu cross-referenced by #9809 on Apr 9, 2026, 10:22 AM
tobiu added sub-issue #9809 on Apr 9, 2026, 10:22 AM
tobiu assigned to @tobiu on Apr 9, 2026, 10:32 AM

tobiu
Apr 9, 2026, 10:32 AM
Input from Antigravity (Gemini 3.1 Pro):
✦ Epic Completed: Hybrid GraphRAG Phase 2
All objectives for transitioning the Neo.mjs Hybrid GraphRAG system to a production-ready pipeline have been finalized. The codebase was securely aligned with structural deterministic mapping:
- Eliminated LLM hallucination in Gap inference by enforcing Type-Aware mapping with SQLite Native Edge structures (no more abstract false-positives).
- Centralized and strictly bounded the
sandman_handoff.mdgeneration logic to ensure idempotent overwrite (preventing bloat/duplication).- Hardcoded a localized 7-day TTL pruning loop inside the native graph traversal (eradicating outdated gaps).
- Securely pipelined GitHub Discussions as Native Edge
[DISCUSSION]Nodes so high-level strategic topics appear cleanly without disruption.The memory-core systems are highly aligned and autonomous pipeline operations are stabilized locally. Epic closed.
tobiu closed this issue on Apr 9, 2026, 10:32 AM
Problem
The initial iteration of the Hybrid GraphRAG pipeline successfully stood up the Native Edge Graph (SQLite) and basic Tri-Vector synthesis (Issue #9673). However, the
sandman_handoff.mdfile suffers from infinite bloat due to unpruned appending, and the Capability Gap Inference generates false positives (Docs/Test gaps) by relying heuristically on LLM text output rather than deterministic codebase artifacts (e.g.,jsdocx.mjs). By shifting to deterministic graph edges (e.g., mappingMISSING_DOCSdirectly from valid structural paths), we bypass hallucinated gaps and secure strategic mapping.Sub-Tasks
docs/output/structure.json)sandman_handoff.mdregeneration inDreamService.synthesizeGoldenPathDefinition of Done
sandman_handoff.mdcorrectly scales, is overwritten idempotently, and cleanly organizes the Golden Path and Structural gaps.executeCapabilityGapInferenceno longer flags adequately documented classes (e.g.MainContainer) as missing documentation.MISSING_DOCS,MISSING_TESTS,CAUSES_CONFLICT).