Turn on PR review
PR review is off for each newly connected repository. To turn it on, use the PR reviews switch on the repository’s Scan tab in Repositories. You need the Owner or Admin role to change it.When a review runs
A review runs when a pull request is opened, reopened, marked ready for review, or gets new commits.- Drafts aren’t reviewed until they’re ready.
- New commits cancel the older review.
- Pull requests from forks are reviewed.
- Enclave reviews every changed file, however large the pull request, except generated and vendored files. If it couldn’t review some files, its comment says which.
- When your monthly allowance runs out, Enclave comments to say it skipped the review.
@enclave-ai review on it. On GitLab, mention the account you connected instead, for example @enclave-bot review. On GitHub, you can also click Re-run on the Enclave / PR analysis check. Enclave reviews the latest commit even if it was already reviewed. It reacts 👀 to your comment, or replies with the reason it didn’t start a review. You can also ask Research: Run the Workflow "PR review".
What the review does
- Analyzes the changed code, and the dependencies if a manifest or lockfile changed.
- Drops issues that aren’t real, aren’t security issues, or don’t point at the change.
- Adjusts severity based on whether the code is reachable from the internet.
- Saves the findings to Risk and comments on the pull request.
Respond to a review
You can answer Enclave from the pull request. You need write access to the repository: write, maintain, or admin on GitHub, or the Developer role or higher on GitLab. Enclave ignores comments from everyone else and from bots.- Resolve a thread to dismiss its concern. Enclave stops counting the concern and updates the check, for example to
No open concerns (1 dismissed). Reopen the thread to restore the concern. - Reply on a thread. The agent that raised the concern reads your reply and answers in the thread. If the code shows the concern doesn’t hold, it dismisses the concern. On GitLab, it also resolves the thread. On GitHub, you resolve it yourself.
- Mention Enclave anywhere else. Mention
@enclave-aiin any comment on the pull request, or the connected account on GitLab. The agent behind the latest review answers where you wrote. If the pull request has no review yet, Enclave explains how to start one.
PR findings in Risk
Open Risk → PR findings to see every PR finding with its repository, pull request, and severity. Open a finding to see the issue, its impact, the fix, and the affected lines. Click Get fix prompt, then Copy prompt to paste it into your coding assistant. Open the ⋯ menu to Export PDF or Copy as markdown. PR findings don’t have a triage status, and closing the pull request doesn’t change them.Dependency analysis
When a pull request changes a manifest or lockfile, Enclave checks the changed packages for supply-chain risk, not just known CVEs. It looks for:- Compromised or malicious packages
- Typosquats and untrusted packages
- Attacks hidden in routine version bumps
- Known vulnerabilities
The binary
bun.lockb format isn’t supported.
To see the known vulnerabilities in the packages your repositories already pin, open Dependencies.