Open-source AI code review
Finds subtle bugs before they ship
Each possible issue is checked against your code, then argued against, before anything reaches the pull request. Only findings that hold up are posted.
Works with GitHub, GitLab and Forgejo.
Token refresh retries forever when the identity provider is down
Posted: Major
auth/refresh.ts:88Possible nil dereference in cache warmup
Dropped at Verified: cache is assigned on line 31, before the first read
Search query is built from user input
Dropped at Challenged: the column name comes from a fixed allowlist; values are bound parameters
Off-by-one when slicing a page of results
Dropped at Verified: start is (page − 1) × size, so the first page begins at 0
New dependency has a known advisory with no patched release
Posted: Blocks merge
go.modCancel and publish can race on the same review
Dropped at Challenged: both paths take the review row lock before writing
Illustrative example
How one review runs
- 1
Found
It maps the change, then explores each area with the repository’s own code: callers, tests and history.
- 2
Verified
Each candidate is checked again against the code. What it cannot confirm stays out of the inline comments.
- 3
Challenged
A separate pass argues against every remaining finding, on a different model if you choose.
- 4
Posted
Inline comments with severity and evidence, one summary, and suggestions you can commit.
Every review after the first
Later reviews read only the commits added since the last one. Findings keep their state across rounds, so nothing is posted twice and fixed issues close on their own.
- 2new findings in this round
- 1still open from the last review — blocks the merge
- 3fixed since the last review — resolved
- 4reported before — folded, not posted again
Ask in the thread
Comment on a pull request, an issue or a finding. Changes are delivered as a separate stacked pull request, never pushed to your branch. @winnowl help lists every command.
- @winnowl explain
- Explain a finding and the evidence behind it.
- @winnowl challenge <reason>
- Dispute a finding; a fresh verifier judges it with your reason.
- @winnowl resolve <why>
- Mark a finding fixed or not a problem; it is checked before it closes.
- @winnowl ignore
- Ignore a finding on this pull request; it stops blocking the merge.
- @winnowl fix
- Fix a finding in a stacked pull request, after you confirm.
- @winnowl generate tests
- Write tests for the change in a stacked pull request.
- @winnowl run <command>
- Run a command in a sandbox on the pull request and post the output.
- @winnowl propose learning <rule>
- Add a rule for later reviews of this repository, your organization or your own pull requests.
Also part of every review
Merge gate
A check run blocks the merge while blocking findings are unresolved or a new dependency has a known advisory.
Your team’s rules
Write rules in the repository, or add them from a review comment. Rules proposed by non-maintainers wait for approval.
Package facts, checked
Claims about libraries and versions are checked online and against release notes, and reused in later reviews once approved.
Models per stage
Pick a model for each stage, mix providers, or bring your own key for an organization, a repository or yourself.
Large and stacked pull requests
Large pull requests are reviewed in rounds until every file is covered. Stacked pull requests are reviewed one layer at a time.
Configuration in the repository
Settings live in .winnowl.yaml, with a JSON Schema for your editor, or in the console.
Open source, Apache-2.0
Run the whole platform on your own servers with Docker Compose and your own model keys, or use the hosted version.
Getting started
- 1
Install the app
Add it to your organization and choose which repositories it can see.
- 2
Open a pull request
The review shows up on it within a few minutes.