Configure review automation
Set the organization's review behavior, then adjust repository settings where a repository needs different behavior.

Change organization settings#
- Open Settings → Review policy → Automation.
- Choose when Proofline should review.
- Decide whether to review draft pull requests.
- Set the quiet period after pushes if needed, and save your changes.
The quiet period lets closely spaced pushes settle before a review starts.
Review without posting to GitHub#
Turn on Shadow mode in Settings → Review policy → Automation to review pull requests without posting anything to GitHub. Reviews still run, and their results stay in Proofline: no Check, comment or pull request review appears on GitHub, and Proofline makes no other GitHub change for those repositories.
To change one repository, open its Settings → Automation page and choose On for this repository or Off for this repository under Shadow mode. Same as the organization follows the organization setting.
A review completed in shadow mode stays unpublished after you turn shadow mode off. Run a new review to post results to the pull request.
Read repository guidelines#
In Settings → Review policy → Code review, select Read repository guideline files to include agent rules in automatic pull request reviews.
To include other files:
- Open Repositories and select the repository.
- Open Settings → Guidance.
- Enter repository-relative file paths in Additional paths, one per line.
- Select Save review settings.
For example, add docs/review.md. Proofline reads guideline files at the merge base. A pull request's guideline edits apply after merge.
Clearing the organization setting stops guideline reads, including additional paths. Additional review guidance remains a separate setting on Settings → Review policy → Review rules.
Change repository settings#
Open Repositories, select a repository, then open Settings → Automation. Choose whether to review, when to review drafts, and which environments to review. Select Save review settings after changing a value.
Use Review scope to filter pull requests, authors, bots, and files. These groups remain visible while you edit.
The Settings → Review preferences page contains proposals from GitHub replies. Approve a proposal there to apply it to later reviews.
Under Trigger labels, choose existing GitHub labels and select Save trigger labels. Adding a selected label requests a review of the current head only when the person adding it has repository write access.
Configure code checks and comments#
In the organization's Code review settings, Review code changes in pull requests enables the code review alongside environment assessments. Flag disabled and focused tests and Flag debug residue apply where code review runs.
Flag stale doc comments reports a doc comment that the pull request leaves unchanged and that still documents a parameter the change removed from a public Python, JavaScript, TypeScript, Java or Rust function or method. Doc comments in other languages are not assessed. While the setting is on, a change that removes lines from a Go file leaves code review incomplete, and the Check names the cause. So does a doc comment that documents parameters of a form the review does not compare, such as a TypeScript namespace member, a Java overload or a method of a Rust trait implementation. It applies to reviews that start after you save it, and earlier reviews keep their results. Each repository's Automation page can follow the organization or turn it on or off.
Strictness sets how many findings become inline comments: Low posts fewer and High posts more. The Inline comment limit follows the strictness level unless you choose Set a limit, and Follow the strictness level returns to it. Additional findings remain on the Check. A review keeps the strictness and limit it started with. Each repository's Automation page can follow the organization or set its own strictness and limit. A strictness in the repository's .proofline.yaml file replaces both settings for reviews that read the file. A completed code review does not complete an environment assessment.
Configure deep reviews#
Set Deep Review availability, credits, and runtime in Settings → Review policy → Deep review. Use sensitive-path patterns or automatic risk escalation to request deeper investigation for selected changes.
Each repository's Automation page can restrict that policy. See Run a deep review for setup and manual requests.
Require a completed review before merging#
Open the repository's Settings → Merge gate page. Link an environment before enabling the gate, choose the blocking severity, and confirm the policy.
Add Proofline gate as a required check in GitHub's branch protection or ruleset. Enabling the policy does not change GitHub's rules.
An incomplete assessment, missing production evidence, or a blocked required check blocks the gate. Open supported findings at the selected severity also block it.
The policy applies to new pull request heads. Existing heads keep their recorded policy. Use View history to inspect recorded decisions.
Choose review coverage#
Each environment's review focus is on its Setup page. After you write the focus, select Recommend from focus under Risk domains. Review the recommended domain choices before saving.
You can edit domain choices while the recommendation runs. If you do, the result preserves your edits until you select Apply recommendation.
Enable experimental clarification questions#
An organization administrator can let Proofline ask about missing author intent during a manual deep review. Question selection is uncalibrated: it may ask unnecessary questions or miss useful ones.
- Open Settings → Review policy → Automation.
- Select Enable experimental clarification questions.
- Choose GitHub Check only or Direct question.
- Set Wait for an answer, in seconds.
- Select Save clarification settings.
Direct questions use the author’s linked Slack account in the organization’s configured review channel. If it is unavailable, Proofline comments on the pull request. Reply in the question’s thread with ANSWER: followed by at most 200 characters. Mention Proofline in Slack.
Check-only delivery uses an active Check and leaves a completed verdict unchanged. If you switch to GitHub Check only while a direct question is pending, Proofline sends no further message for it, and the question stays on the Check. When the wait ends, the review continues with recorded assumptions. A late answer is recorded but never starts another review automatically. Request a new manual deep review to use it with a fresh budget.
Clear Enable experimental clarification questions and save to stop new questions.
Resolve a save conflict#
If another session changes the settings, Proofline keeps your draft and asks you to reload the current settings. Review the current values before saving again.
Deployment protection also needs an environment and a supported delivery setup. See Configure deployment protection.