Usage: rebar review-code [-h] [--base BASE] [--head HEAD] [--diff-file DIFF_FILE] [--reviewer REVIEWERS] [--output {json,text}] [--ref REF] [--source {attested,local}]

Run an LLM code review of a change (a git range or a diff file) and emit
aggregated structured findings. Requires the 'agents' extra and an API key.

options:
  -h, --help            show this help message and exit
  --base BASE           base git ref (default HEAD~1)
  --head HEAD           head git ref (default HEAD)
  --diff-file DIFF_FILE
                        review this unified-diff file instead of a git range
  --reviewer REVIEWERS  reviewer id, repeatable (default: deterministic
                        selection)
  --output, -o {json,text}
  --ref REF             a branch, tag, or commit SHA to verify against (default:
                        the reviewed --head)
  --source {attested,local}
                        attested (default) verifies a snapshot pinned at --ref,
                        signs the result, and records verified_at_sha. local
                        reads the in-place checkout, allows a dirty tree, and
                        never signs
