pr-review daemon to define Charlie’s pull request review policy in your repository. Installation creates a normal pull request, so your team can inspect the policy before Charlie uses it.
You are done when the daemon files are on the repository’s default branch and Charlie has loaded the policy, which usually happens within a few minutes. The daemon can then activate when a pull request event or explicit request matches its watch policy.
Before you start
Complete the Charlie GitHub integration for this repository so Charlie can access it. Inviting@CharlieHelps is optional. It lets teammates request reviews through GitHub’s reviewer picker or pull request comments. Learn more about Charlie’s GitHub identities. Make sure someone on your team can merge the installation pull request.
1. Install the daemon
Installing from the dashboard is the fastest option. You can also ask Charlie on Slack, GitHub, or Linear, or use the daemons CLI for a local workflow. Each method installs the same reference policy.- Dashboard
- Ask Charlie
- CLI
- Open the Charlie dashboard.
- Navigate to the Overview page.
- Click Add daemon for the desired repository.
- Click Add daemon to repo for the
pr-reviewdaemon. - Open the installation pull request.
2. Review the installation pull request
The referencepr-review daemon adds three files:
DAEMON.mddefines when reviews run and the policy shared by the whole review.correctness.mdlooks for evidence-backed correctness problems.repository-guidance.mdchecks applicable repository instructions and durable local conventions.
If you are unsure, keep the reference defaults. You can change them after seeing the first review.
Optional changes before your first review
Most teams should merge the reference policy unchanged. Consider these two changes now only if they match how your team already reviews pull requests.-
Review every push. Add this condition to the
watchsection inDAEMON.md:This increases review frequency and cost. Without it, follow-up reviews require an explicit request. For a middle ground, review only substantial updates; see Cost controls. -
Allow decision reviews. Update the review outcomes in
DAEMON.mdto permitAPPROVEorREQUEST_CHANGESin addition toCOMMENT. Define a clear threshold for each outcome so Charlie knows when it is appropriate.
For the first review, leave the lanes, suppressions, evidence rules, presentation, and rereview policy unchanged. Starting from a known baseline makes later changes easier to evaluate.
3. Merge the installation pull request
Merge the installation pull request into the repository’s default branch. Charlie loads the policy from the default branch, so changes in an open pull request are not used yet. Charlie loads the policy within a few minutes after the daemon files reach the default branch. A matching pull request event or explicit request can then activate the daemon. Installation does not automatically review pull requests that are already open. Explicitly request a review for an existing pull request, or wait for a new configured event.4. Confirm your first review
Choose a small, representative pull request and requestCharlieHelps as a reviewer or ask CharlieHelps for a review in a pull request comment. The explicit request uses the same repository-owned policy as automatic reviews.
When a finding qualifies, the reference policy publishes a COMMENT review. When the review is clean, Charlie adds one +1 reaction to the pull request body.
You can also open Dashboard > Activity to confirm that Charlie handled the request. If the expected review activity or GitHub output does not appear, see Troubleshoot PR reviews.
Next steps
- Configure PR reviews to change cadence, review lanes, outcomes, presentation, or follow-up behavior.
- Control PR review costs to tune review frequency and scope.
- Troubleshoot PR reviews if a review does not run or the result is unexpected.