Description
The graph module has implemented graph construction and persistence (DocumentGraphBuilder, DocumentGraph), which automatically rebuilds in the background after indexing. However, the retrieval pipeline currently does not utilize any graph data:
- The
retrieval/ module has no references to the graph.
- The
agent/ module has no references to the graph.
Engine::get_graph() only exposes an API and is not used for queries.
Desired Behavior
- The orchestrator uses graph neighbor information to assist in document selection during the analysis phase.
- Worker retrieval results can receive score boosting based on graph connections.
- Support a configuration option to enable/disable graph-aware retrieval.
Related Code
rust/src/graph/builder.rs — Graph construction logic
rust/src/client/engine.rs:1069 — rebuild_graph()
rust/src/agent/orchestrator/analyze.rs — Can integrate graph data
Description
The
graphmodule has implemented graph construction and persistence (DocumentGraphBuilder,DocumentGraph), which automatically rebuilds in the background after indexing. However, the retrieval pipeline currently does not utilize any graph data:retrieval/module has no references to the graph.agent/module has no references to the graph.Engine::get_graph()only exposes an API and is not used for queries.Desired Behavior
Related Code
rust/src/graph/builder.rs— Graph construction logicrust/src/client/engine.rs:1069—rebuild_graph()rust/src/agent/orchestrator/analyze.rs— Can integrate graph data