Files
dev-intel-poc/db.py
Jarvis Prime 3256e4e7c3 feat: add find_path and get_file_signatures MCP tools
- find_path: BFS traversal to trace relationship chains between two files (max N hops)
- get_file_signatures: lightweight context mode returning just function/type names
- db.find_path(): bidirectional BFS with shortest-path tracking
- db.get_all_files(): list all files with docs and staleness
- db.get_file_signatures(): return functions list without full doc payload

Inspired by Octocode's GraphRAG path-finding pattern.
Addresses Mike/Dmitry feedback on usable roll-up summaries.
2026-03-05 04:23:13 +00:00

12 KiB