# cc-steer evidence


Search the refined-pair evidence index by BM25, optionally MMR-reranked.


``` bash
cc-steer evidence [OPTIONS] QUERY
```


Full-text matches the query against each refined pair's verbatim steer, distilled direction, and the code correction the enrich stage grounded it with. `--rerank` reorders the shortlist by embedding relevance (requires the `embed` extra and VOYAGE_API_KEY).


<span class="gd-details-chevron" aria-hidden="true"></span>Full --help output


    Usage: cc-steer evidence [OPTIONS] QUERY

      Search the refined-pair evidence index by BM25, optionally MMR-reranked.

      Full-text matches the query against each refined pair's verbatim steer,
      distilled direction, and the code correction the enrich stage grounded it
      with. ``--rerank`` reorders the shortlist by embedding relevance (requires
      the ``embed`` extra and VOYAGE_API_KEY).

    Options:
      --repo TEXT      Restrict hits to one repository label.
      --limit INTEGER  Maximum hits to return.  [default: 10]
      --rerank         Re-rank the BM25 shortlist with the exemplar MMR embedder
                       (needs VOYAGE_API_KEY).
      --json           Emit the hits as one JSON array.
      --db FILE        Database path. Defaults to ~/.cc-steer/feedback.db.
      --help           Show this message and exit.


# Arguments


`QUERY: TEXT`  
Required.


# Options


`--repo: TEXT`  
Restrict hits to one repository label.

`--limit: INTEGER = 10`  
Maximum hits to return.

`--rerank`  
Re-rank the BM25 shortlist with the exemplar MMR embedder (needs VOYAGE_API_KEY).

`--json`  
Emit the hits as one JSON array.

`--db: FILE`  
Database path. Defaults to ~/.cc-steer/feedback.db.
