Quickstart
Rectifier reviews code changes and posts its findings. Connect your repositories once, then run it.
Connect your repositories
A dashboard admin does this once, on the Repositories tab:
GitHub: press Connect and install the rectifier GitHub App. If you do not own the organization, GitHub sends your request to its owners. After an owner approves it, press Connect on the organization's row to finish.
GitLab: invite
imbik-rectifierto your top-level group as a Reporter, then press Connect. You must own the group.Bitbucket: in your workspace's settings, make a workspace access token or an OAuth client with Client credentials authorization. The token needs Bitbucket Premium, and the OAuth client works on any plan. Give it permission to read repositories, write pull requests, read the account, and read and write webhooks. Press Connect, name the workspace, and paste the token, or the client's key and secret.
Azure DevOps: an admin of the Microsoft Entra tenant behind your organization adds Rectifier's app to it. In Azure DevOps, open Organization settings and Users, and add Rectifier's service principal with Basic access (it takes one of the 5 free Basic users). Add the private projects to review, and give it Contribute to pull requests on their repositories. Rectifier does not review public projects. Optionally give it View and Edit on Service Hooks, so Rectifier hears of a pull request at once rather than on its regular pass. Press Connect, name the organization, and sign in with Microsoft as a Project Collection Administrator. If the tenant step is not done, the dialog refuses the connect and shows where to find the app.
Step by step for each host: GitHub, GitLab, Bitbucket and Azure DevOps.
Running rectifier
There are 2 ways to use rectifier to review code: by commenting on a pull request on your code host, or with the rectifier CLI.
Option 1: Comment on a pull request
Write this on the pull request or merge request:
@imbik-rectifier review
On Bitbucket and Azure DevOps, write @rectifier review.
For more options, such as a light review or reviews that start without a comment, see Pull request reviews.
Option 2: Use the rectifier CLI
The CLI reviews changes in your checkout, before you push or open a pull request. The checkout's origin must be on github.com, gitlab.com or bitbucket.org. For a checkout on another host, rectifier review --local still works: see local mode in the CLI docs.
uv tool install imbik-rectifier # or: pipx install imbik-rectifier
export RECTIFIER_CLI_TOKEN=rct_... # from the dashboard's CLI tokens page
rectifier review # the branch
rectifier review --uncommitted # changes you did not commit
Keep the token in a password manager or keychain, not in a repository.
For more options, such as reviewing one commit, posting the review, or using it with a coding agent, see Rectifier CLI.