rg-budget-search
When to Use
Use when searching a large repository with strict terminal-output budget, first files-only then bounded hits and exact spans.
Do Not Use When
Do not use when an AST structural query is required; use ast-grep for code-shape matching.
Required Inputs
Search pattern, target directory, file globs, and output budget.
Workflow
- Run a files-only search first.
- Narrow by path or glob.
- Read bounded hit spans.
- Record exactly which ranges were inspected.