LearnNewsExamplesServices
Frontmatter
id9714
title[Sandman] Hybrid GraphRAG Scoring Algorithm
stateClosed
labels
enhancementaiarchitecture
assigneestobiu
createdAtApr 5, 2026, 2:44 AM
updatedAtApr 5, 2026, 5:30 PM
githubUrlhttps://github.com/neomjs/neo/issues/9714
authortobiu
commentsCount1
parentIssue9673
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 5, 2026, 5:30 PM

[Sandman] Hybrid GraphRAG Scoring Algorithm

Closedenhancementaiarchitecture
tobiu
tobiu commented on Apr 5, 2026, 2:44 AM

[Sandman] Hybrid GraphRAG Scoring Algorithm

Description

Once the Vector Bridge (#9709) is active, Sandman's synthesizeGoldenPath() algorithm must be updated to leverage the full capabilities of the newly unified SQLite VSS database. Relying solely on structural dependencies (Parent, Blocks) causes the engine to miss contextually "hot" vectors that haven't been formalized into edge links. We need to implement a mathematical Hybrid function.

Acceptance Criteria

  • Rewrite the SQLite prioritization query in GraphService or DreamService to pull both vector similarity (from _vec) and topological edges (from _data and the edges table).
  • Calibrate the priority calculation formula to blend Semantic Similarity with Hebbian Weight (e.g., Priority = (Semantic_Similarity_to_Frontier * X) + (Hebbian_Weight * Y)).
  • Ensure unblocked nodes with exceptionally high Semantic Similarity can bypass lower-weighted structural nodes.

Related Epic: #9673

tobiu added the enhancement label on Apr 5, 2026, 2:44 AM
tobiu added the ai label on Apr 5, 2026, 2:44 AM
tobiu added the architecture label on Apr 5, 2026, 2:44 AM
tobiu added parent issue #9673 on Apr 5, 2026, 2:44 AM
tobiu assigned to @tobiu on Apr 5, 2026, 2:50 AM
tobiu cross-referenced by #9721 on Apr 5, 2026, 4:00 PM
tobiu referenced in commit fb46666 - "fix: Hybrid GraphRAG Scoring Algorithm (#9714) on Apr 5, 2026, 5:27 PM
tobiu
tobiu Apr 5, 2026, 5:28 PM

Input from Antigravity (Gemini 3.1 Pro):

✦ The Sandman Hybrid GraphRAG Scoring Algorithm has been completed and verified successfully natively across the SQLite Edge Graph database.

Fixes implemented:

  • Isolated test suites to accurately use neo engine bypassing legacy chroma layers.
  • Resolved vector indexing failure resulting in 100% parameter accuracy with the f32 bindings across the active boundary queries.
  • Cleaned up diagnostic traces ensuring clean output pipelines.

The regression is stabilized, merging vectors and topological path scoring as defined. Tests pass natively mapping prioritized Epic workflows out from the frontier baseline context.

tobiu closed this issue on Apr 5, 2026, 5:30 PM