You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The free-plan notice handling proved harder than expected; drop it from
the prompts and the post-review hook for now.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: agents/code-reviewer.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,6 @@ If CodeRabbit CLI install or authentication fails, report the exact failure, the
19
19
20
20
If CodeRabbit reports a rate limit, share the exact message, stop, and offer to re-run the review once the limit resets. Waiting for the limit is part of the workflow; a manual review is not a substitute.
21
21
22
-
If CodeRabbit mentions that the review is going to run on the free plan, the account may be signed in without the right organization, since organization membership is what unlocks the paid plan. Pause and ask the user whether to re-authenticate with the correct organization via `coderabbit auth login --agent` and re-run, or continue with the free review. Follow the user's choice.
23
-
24
-
This notice often arrives as a `status` event inside the agent output while the review is already running, for example a message saying the repository will be reviewed for free and no organization will be billed. When that happens, let the review finish, include the notice in the summary, and offer to re-authenticate with the right organization and re-run if the user expected an organization review.
Copy file name to clipboardExpand all lines: commands/coderabbit-review.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,10 +39,6 @@ coderabbit auth status --agent
39
39
40
40
Only continue after `coderabbit auth status --agent` succeeds.
41
41
42
-
If CodeRabbit mentions that the review is going to run on the free plan, the account may be signed in without the right organization, since organization membership is what unlocks the paid plan. Pause and ask the user whether to re-authenticate with the correct organization via `coderabbit auth login --agent` and re-run, or continue with the free review. Follow the user's choice.
43
-
44
-
This notice often arrives as a `status` event inside the agent output while the review is already running, for example a message saying the repository will be reviewed for free and no organization will be billed. When that happens, let the review finish, include the notice in the summary, and offer to re-authenticate with the right organization and re-run if the user expected an organization review.
45
-
46
42
## Build Review Command
47
43
48
44
Default to all changes:
@@ -71,7 +67,7 @@ Before using `-c`, confirm each file exists and is relevant to the review.
71
67
72
68
## Present Results
73
69
74
-
Parse CodeRabbit agent output. Ignore routine status events in the user-facing summary, but surface plan and billing notices, such as a status message saying the review runs for free or that no organization will be billed. If the CLI returns an error, report it directly and do not substitute a manual review. If the error is an install or authentication failure, guide the user through fixing the setup step by step, then resume the review once setup succeeds. If the error is a rate limit, share the exact message, stop, and offer to re-run the review once the limit resets.
70
+
Parse CodeRabbit agent output. Ignore status events in the user-facing summary. If the CLI returns an error, report it directly and do not substitute a manual review. If the error is an install or authentication failure, guide the user through fixing the setup step by step, then resume the review once setup succeeds. If the error is a rate limit, share the exact message, stop, and offer to re-run the review once the limit resets.
" The output also includes a notice that this review ran on the free tier and no organization was billed. Surface that notice to the user; if they expected an organization review, offer to re-authenticate with the right organization via coderabbit auth login --agent and re-run the review.";
@@ -86,8 +75,7 @@ if (isCodeRabbitReviewCommand(command)) {
86
75
// State is best-effort; the primary injection below still happens.
87
76
}
88
77
emit(
89
-
"The CodeRabbit review for this request is complete and came back clean, meaning the changes passed review. Present a clean-result summary: what was reviewed (files changed, lines, scope), what it was checked for (bugs, security issues, code quality risks), confirmation that the changes passed, and suggested next steps such as running tests, committing, or opening a PR. Then finish the response there; the review request is fulfilled, so a second AI or manual pass over the same diff is not needed. Linters, type checkers, and tests remain available whenever the project workflow calls for them."+
90
-
(freeTier ? FREE_TIER_NOTE : ""),
78
+
"The CodeRabbit review for this request is complete and came back clean, meaning the changes passed review. Present a clean-result summary: what was reviewed (files changed, lines, scope), what it was checked for (bugs, security issues, code quality risks), confirmation that the changes passed, and suggested next steps such as running tests, committing, or opening a PR. Then finish the response there; the review request is fulfilled, so a second AI or manual pass over the same diff is not needed. Linters, type checkers, and tests remain available whenever the project workflow calls for them.",
91
79
);
92
80
}else{
93
81
try{
@@ -96,8 +84,7 @@ if (isCodeRabbitReviewCommand(command)) {
96
84
// No stale clean-state to clear.
97
85
}
98
86
emit(
99
-
"The CodeRabbit review for this request is complete. Present the parsed results grouped by severity and finish the response there; the review request is fulfilled. A second AI or manual pass over the same diff is not needed. Linters, type checkers, and tests remain available whenever the project workflow calls for them."+
100
-
(freeTier ? FREE_TIER_NOTE : ""),
87
+
"The CodeRabbit review for this request is complete. Present the parsed results grouped by severity and finish the response there; the review request is fulfilled. A second AI or manual pass over the same diff is not needed. Linters, type checkers, and tests remain available whenever the project workflow calls for them.",
Copy file name to clipboardExpand all lines: skills/code-review/SKILL.md
+1-10Lines changed: 1 addition & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,15 +87,6 @@ coderabbit auth status --agent
87
87
88
88
Only continue after authentication succeeds.
89
89
90
-
If CodeRabbit mentions that the review is going to run on the free plan, the account may be signed in without the right organization, since organization membership is what unlocks the paid plan. Pause and ask the user whether to:
91
-
92
-
1. Re-authenticate with the correct organization via `coderabbit auth login --agent`, then re-run the review.
93
-
2. Continue with the free review as is.
94
-
95
-
Follow the user's choice before running or continuing the review.
96
-
97
-
This notice often arrives as a `status` event inside the agent output while the review is already running, for example: `"This looks like a public open-source repository. CodeRabbit will review it for free, and no organization will be billed. Free OSS limits apply."` When that happens, let the review finish, include the notice in the summary, and offer to re-authenticate with the right organization and re-run if the user expected an organization review.
98
-
99
90
## Run Review
100
91
101
92
Default review:
@@ -130,7 +121,7 @@ If `AGENTS.md`, `cursor.md`, or `.coderabbit.yaml` exists in the repository root
130
121
131
122
- Parse agent-readable CodeRabbit output.
132
123
- Collect issues and group them by severity.
133
-
- Ignore routine status events in the user-facing summary, but surface plan and billing notices, such as a status message saying the review runs for free or that no organization will be billed.
124
+
- Ignore status events in the user-facing summary.
134
125
- If an error event or CLI failure occurs, report the exact failure and next step.
135
126
- If the review fails, help the user fix the CodeRabbit setup rather than substituting a manual review.
136
127
- If CodeRabbit reports a rate limit, share the exact message and stop. Offer to re-run the review once the limit resets, including any reset time the message provides. A manual review is not a substitute while waiting.
0 commit comments