01 / prospector
The prospector. Reads the repo and returns the small set of files and line ranges that matter for the goal — never writes. When the knowledge-base bridge is connected, prospector queries the code graph via the tome trio (tome_search / tome_describe / tome_call — injected into its session from the parent bridge) and falls back to grep/ast_grep when it isn't.
- Role
- Finds the relevant files and lines. Read-only, fast.
- Runs when
- When the goal touches code the parent model has not already loaded into context — i.e. the case where reading the whole repo would burn the budget before planning starts.
- Handoff
- passes findings
Tools
- read
- grep
- find
- ls
- ast_grep
- lsp_query
- comment_check
- web (2)
- cached (2)
- tome trio (3)
Example
reads repo → returns ["src/calc.js:12-48", "src/format.js:5-22", "package.json:scripts.test"]