feat(code_index): shortest_path, dead_symbols + filtres status/source/since#9
Open
citarf wants to merge 2 commits into
Open
feat(code_index): shortest_path, dead_symbols + filtres status/source/since#9citarf wants to merge 2 commits into
citarf wants to merge 2 commits into
Conversation
shortest_path: BFS over the call graph between two resolved symbols, shortest path with min-edge-confidence tie-break, falls back to the reverse direction when no src->dst path exists within max_depth. dead_symbols: lists fan_in==0 functions/methods (excluding classes and module nodes), filterable by repo/subsystem, with an entrypoint caveat. Both wired into the argparse CLI as 'path' and 'dead' subcommands.
Extend _where() to optionally constrain status (single value or list), source (github/gitlab/other) and since (YYYY-MM-DD lower bound on last_commit). Thread these as keyword-only args through search_code and search_docs, applied before reranking; repos/lang unchanged. Also surface them as --status/--source/--since CLI flags.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nouvelles primitives de requête sur le graphe d'appels (shortest_path, dead_symbols) + sous-commandes CLI, et filtres gouvernance (status/source/since) pré-rerank dans search.py. +15 tests (95 verts). Support des nouveaux outils MCP data_to_code/code_path/dead_code côté bot.
🤖 Generated with Claude Code