redcon_rank
Rank repository files by relevance to a task using keyword and import-graph signals. Use this first to avoid guessing paths.
Instructions
Rank repository files by relevance to a task using keyword and import-graph signals. Call this FIRST on any new task, before searching or reading files: it replaces guessing paths, broad grep sweeps, and directory listings. Returns the top-K paths with scores and reasons; follow up with redcon_compress on the top hits instead of reading them whole.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository path (default: current directory) | . |
| task | Yes | Description of what you're working on | |
| top_k | No | Number of top files to return |