LearnNewsExamplesServices
Frontmatter
id9673
titleTechnical Awareness: Hybrid GraphRAG (Native Edge Graph & App Mapping)
stateClosed
labels
epicaiarchitecture
assigneestobiu
createdAtApr 4, 2026, 1:59 AM
updatedAtApr 9, 2026, 10:11 AM
githubUrlhttps://github.com/neomjs/neo/issues/9673
authortobiu
commentsCount1
parentIssue9671
subIssues
9676 Implement Native Edge Graph Database Engine
9677 Epic Sub: Enhance Neo.collection.Base with Secondary Lookup Indices
9678 Native Graph Database SQLite Persistence Adapter
9679 Optimize V8 graph array operations via native slice topologies
9680 Native Edge Graph: Distributed Caching & Lazy Loading
9681 Native Edge Graph: ACID Transaction Control Pipeline
9682 Native Edge Graph: Traversal Query Engine & Aggregations
9683 Epic Sub: Session Amnesia & The Context Priming Engine
9697 Fix: GraphService direct lookups fail on Lazy Loading cache misses
9707 [Handoff Protocol] Agent Startup Reconciliation & Graph Mutation
9708 [Topographical Extraction] Sandman REM Actionable Alert Generation
9709 [Vector Bridge] Stitching Chroma Semantics to SQLite Edge Nodes
9710 [SQLite VSS Migration] 100% Offline Markdown Tensor Chunking
9714 [Sandman] Hybrid GraphRAG Scoring Algorithm
subIssuesCompleted14
subIssuesTotal14
blockedBy[]
blocking[]
closedAtApr 9, 2026, 10:11 AM

Technical Awareness: Hybrid GraphRAG (Native Edge Graph & App Mapping)

Closed v13.0.0/archive-v13-0-0-chunk-2 epicaiarchitecture
tobiu
tobiu commented on Apr 4, 2026, 1:59 AM

Problem

While our current semantic vector database (ChromaDB) successfully handles unstructured deep-dive semantic searches across memories and the knowledge base, it lacks relational topology. The AI lacks structural intuition (e.g., knowing the exact inheritance chain from Neo.grid.View → Neo.component.Base → vnode hooks).

Proposed Solution

Pivot to a true Hybrid GraphRAG Model.

  • Retain ChromaDB for its high-performance semantic vector search.
  • Build the Native Neo Graph DB specifically to store relational topologies (edges) that sit alongside Chroma.

Requirements

  1. Native Graph Database Engine:
    • Build a zero-dependency JS Graph Database that sits alongside ChromaDB.
    • Design lightweight node/edge relationship schemas in a purely JS environment to explicitly connect vector chunks (Graph Layer interacting with Semantic Layer).
  2. Application Engine Knowledge Graph Mapping:
    • (Deprecation Update): We will not build a standalone static AST class hierarchy ingestor. Instead, the AI will rely on the neo-mjs-neural-link MCP server for powerful runtime scene inspections and the neo-mjs-knowledge-base MCP for static relationship querying.
    • The Native Edge graph should instead focus exclusively on topological relationships mapping external concepts (File System structure, Agent Memories, GitHub Epics, Boardroom KPIs).
    • Expose MCP server endpoints so the AI can traverse this graph dynamically to gain architectural awareness.

Definition of Done

  • A zero-dependency JS Graph DB module is functional and integrated into the overarching server architecture.
  • A functional FileSystemIngestor natively injects code architecture anchors into the graph.
  • Agents can query the graph and receive deterministic answers.
tobiu added the epic label on Apr 4, 2026, 1:59 AM
tobiu added the ai label on Apr 4, 2026, 1:59 AM
tobiu added the architecture label on Apr 4, 2026, 1:59 AM
tobiu added parent issue #9671 on Apr 4, 2026, 1:59 AM
tobiu cross-referenced by #9674 on Apr 4, 2026, 2:02 AM
tobiu cross-referenced by #9662 on Apr 4, 2026, 2:04 AM
tobiu added sub-issue #9676 on Apr 4, 2026, 2:37 AM
tobiu added sub-issue #9677 on Apr 4, 2026, 3:03 AM
tobiu added sub-issue #9678 on Apr 4, 2026, 3:18 AM
tobiu assigned to @tobiu on Apr 4, 2026, 3:18 AM
tobiu added sub-issue #9679 on Apr 4, 2026, 3:38 AM
tobiu added sub-issue #9680 on Apr 4, 2026, 3:42 AM
tobiu added sub-issue #9681 on Apr 4, 2026, 3:42 AM
tobiu added sub-issue #9682 on Apr 4, 2026, 3:42 AM
tobiu added sub-issue #9683 on Apr 4, 2026, 1:39 PM
tobiu cross-referenced by #9697 on Apr 4, 2026, 6:13 PM
tobiu added sub-issue #9697 on Apr 4, 2026, 6:13 PM
tobiu cross-referenced by #9707 on Apr 4, 2026, 11:05 PM
tobiu cross-referenced by #9708 on Apr 4, 2026, 11:05 PM
tobiu cross-referenced by #9709 on Apr 4, 2026, 11:05 PM
tobiu cross-referenced by #9710 on Apr 4, 2026, 11:05 PM
tobiu added sub-issue #9707 on Apr 4, 2026, 11:05 PM
tobiu added sub-issue #9708 on Apr 4, 2026, 11:05 PM
tobiu added sub-issue #9709 on Apr 4, 2026, 11:05 PM
tobiu added sub-issue #9710 on Apr 4, 2026, 11:05 PM
tobiu cross-referenced by #9714 on Apr 5, 2026, 2:44 AM
tobiu added sub-issue #9714 on Apr 5, 2026, 2:44 AM
tobiu
tobiu Apr 9, 2026, 10:11 AM

Closing epic as primary phase is structurally resolved and Native Graph DB is active. We are formalizing Phase 2 for Tuning and Deterministic Capabilities.

tobiu closed this issue on Apr 9, 2026, 10:11 AM
tobiu cross-referenced by #9803 on Apr 9, 2026, 10:11 AM
tobiu cross-referenced by PR #9996 on Apr 14, 2026, 12:01 PM
tobiu cross-referenced by PR #10122 on Apr 20, 2026, 1:42 PM