Skip to content

Reviewer

Reviews a teammate's open pull request and posts a comment-only review.

  • Reviews one teammate’s open PR per run and posts a comment-only review; never pushes, approves, or requests changes
  • Set reviewFilter.authors in its agent.json to your teammates’ logins (GitHub) or usernames (GitLab). With an empty list it reviews every open PR, including the ones vteam opened. Teammates can opt a PR out with the no-bot-review label
  • Reviews a PR again after new commits, focusing on what changed and not repeating its earlier comments
  • Works in phases: understands the change (and its ticket, if it has a tool to read your issue tracker), reads the changed files in full and their surroundings (one subagent per app on large diffs), runs the CI static checks that apply to the changed paths, then posts severity-tagged findings (🔴 blocking, 🟡 should fix, 🔵 consider) as inline comments only, with no summary
  • Tools: reading files, git diff/log/show/blame/fetch/status, subagents, and script runners for checks (npm run, pnpm run, just, make, go vet/go test). It never installs dependencies, so in a fresh checkout checks that need them are reported as not run. It cannot run gh or glab, so it cannot post anything itself
  • To give it ticket context, add your issue tracker’s MCP read tool (e.g. a Jira “get issue” tool) to its allowedTools
  • Uses opus by default; its memory keeps team conventions and the kinds of comments the team pushed back on
  • Default cron: every 30 minutes (*/30 * * * *)
Terminal window
vteam run reviewer

It never pushes. Per run:

  1. Lists the open PRs (gh pr list / the GitLab merge requests API) and keeps the ones the agent’s reviewFilter accepts: authors in authors (GitHub logins or GitLab usernames, case-insensitive; empty or missing means anyone), no drafts unless drafts: true, none labelled with one of skipLabels, and no PRs from forks. Oldest first.
  2. Skips every PR whose current head commit it already reviewed, and takes the first one left. A posted review ends with a hidden marker, <!-- vteam-review agent=<agent> sha=<head> -->, and vteam reads earlier reviews (GitHub) or notes (GitLab) to find it. GitHub or GitLab is the record: no state is kept anywhere else, so it works from any machine. A new push to the PR makes it reviewable again.
  3. Checks the PR branch out read-only and gives Claude the PR’s title, author, description, unresolved review threads, its diff as the platform shows it (when the diff is over 100 KB, the changed files only, and Claude reads the diff with git), and the line ranges each file can take a comment on. On a re-review, the prompt names the commit it reviewed last time so Claude focuses on what changed since.
  4. Posts Claude’s review as one comment-only review: never an approval or a change request. Each inline comment goes on its line of the diff, marked 🤖 **vteam reviewer:**. A comment on a line outside the diff moves to the nearest diff line of its file and starts with **Line N:**; only a comment on a file the PR does not touch goes into the review’s top-level comment, because neither platform can comment there. There is no summary: the top-level comment is one line (reviewed <sha>: N comments) plus a hidden marker that records the review. An interactive session’s submit is rejected until every comment sits on a commentable line, with the valid ranges in the error. On GitHub, if the API rejects the review’s inline comments, vteam posts it again with every comment in the top-level comment. On GitLab the top-level comment is a note and each inline comment its own diff discussion. If GitLab rejects any of them, vteam posts those in a separate comment.

A blocked or failed run posts nothing, so the PR is picked again next run. The reviewer creates no tasks, so the merge ensurer and the Overview’s pipeline stats never see the PRs it reviews.