Discovery Mode
Discover mode is the deliberate break from native GitHub behavior.When to Use It
Use discover mode when you want:- broader candidate collection than one native result page
- ranking by activity or quality instead of GitHub order
- README-aware reranking
- explanation of why one repository ranked above another
The Contract
Discover mode is explicit:--mode discover, none of the discovery engine work should happen.
Depth
Supported depths:quickbalanceddeep
quick
- one seed search
- rerank only what came back
balanced
- seed search
- updated shard if needed
- one recent
pushedshard if needed
deep
- balanced behavior
- additional older pushed buckets
- star-bucket shards when the user did not already constrain stars
Ranking
Supported rank modes:nativequeryactivityqualityblended
--mode discover and omit --rank, gitquarry defaults to blended.
README Enrichment
--readme is enrichment-only.
It does not change retrieval mode by itself. Gitquarry first computes metadata ranking, then fetches README content only for a bounded top window.
Concurrency
Discover mode supports:1 because GitHub rate limiting makes serial behavior the safest default.