mirror of
https://github.com/samvallad33/vestige.git
synced 2026-05-11 16:52:36 +02:00
explore_connections (chain, associations, bridges) returned empty results because it read from CognitiveEngine in-memory data structures that were never populated. memory_graph works because it queries SQLite directly via storage.get_memory_subgraph(). This rewrites explore.rs to follow the same pattern as graph.rs: - Remove CognitiveEngine dependency, use Storage directly - associations: queries depth-1 subgraph for neighbors - chain: pulls neighborhoods around both endpoints, builds adjacency list, runs BFS with priority queue (ported from chains.rs algorithm) - bridges: reuses chain logic, extracts intermediate nodes by frequency Also updates the call site in server.rs to pass storage instead of cognitive. Adds integration tests that insert actual connections and verify non-empty results. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| vestige-core | ||
| vestige-mcp | ||