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
Revue should take review load off CodeRabbit, so it has to be about as good. This issue collects what is missing to get there.
What revue does today (main):
Triggers: webhook on PR opened/synchronize/reopened and on a comment that mentions @revue; revue pr, revue diff, an MCP server, and a trigger button in the web dashboard.
Input: the PR's unified diff from the forge API. ±40 lines of file context are added only when revue runs inside a checkout of the same repo, so the daemon reviews the bare diff.
Pipeline: Pass 0 Semgrep (optional) → Pass 1 "detective" prompt → Pass 2 "judge" prompt that returns JSON findings with a confidence score. One prompt holds the whole diff. The models get no tools.
Guidance: path rules from .revue.yaml, agent skills matched by changed file paths, and false positives stored from dashboard feedback (the judge prompt takes them, but run_pr_review passes an empty list).
Output: one COMMENT review with a summary and inline comments with suggestion blocks, on GitHub and Forgejo/Gitea. No commit status or check.
Every push reviews the full PR diff again and posts a new review. Revue does not read its earlier comments, replies to them, or the PR's title, description, linked issues or CI results.
Providers: Claude CLI, Gemini (CLI and API), Ollama, mesh-llm, OpenAI-compatible, tried in order.
Secrets are scrubbed from the diff before it is sent. Reviews and feedback are stored in SQLite/Postgres.
@coderabbitai You review this repo and you know how you work. I want revue to review as well as you do. Read the code on main (the issue body sums it up, correct it where it is wrong) and tell me what is missing.
List the gaps, ordered by how much each one costs in review quality. Keep nice-to-have features (poems, diagrams, reports) apart from what finds real bugs.
For each gap: what you do, what revue does instead, and where in src/ the change would land.
Say which of your results come from the model alone and which come from the context around it: repo checkout, code graph or search, linters and other tools, verification in a sandbox, learnings, linked issues, earlier review threads, incremental reviews.
Say what revue should not copy because a single-user, self-hosted tool does not need it.
#!/bin/bashprintf'%s\n''=== SERVER / DATABASE / MCP / ENTRY POINT OUTLINES ==='forfin src/server.rs src/db.rs src/mcp.rs src/main.rs src/providers/mod.rs src/scrubber.rs;do ast-grep outline "$f" --items all --view expanded;doneprintf'%s\n''=== TRIGGER, CONTEXT AND PERSISTENCE REFERENCES ==='
rg -n -C 4 'run_pr_review|run_diff_review|review_diff_content|fetch_pr_diff|review|feedback|comment|webhook|pull_request|synchronize|reopened|issue|commit|status|checkout|git|tool|semgrep|scrub|skill|config' src/server.rs src/db.rs src/mcp.rs src/main.rs src/providers/mod.rs src/scrubber.rs | head -1100
Length of output: 63663
Script executed:
#!/bin/bashprintf'%s\n''=== SERVER REVIEW PATHS ==='
nl -ba src/server.rs | sed -n '290,710p'printf'%s\n''=== SERVER INITIALISATION ==='
nl -ba src/server.rs | sed -n '730,855p'printf'%s\n''=== REVIEW DATABASE CALL SITES ==='
rg -n -C 4 '\.record_review\s*\(|\.get_false_positives\s*\(|\.record_feedback\s*\(|execute_review_pipeline\s*\(|run_pr_review\s*\(' src
printf'%s\n''=== CONFIG DEFAULTS ==='
nl -ba src/config.rs | sed -n '60,185p'printf'%s\n''=== PROVIDER IMPLEMENTATIONS ==='forfin src/providers/antigravity.rs src/providers/claude.rs src/providers/gemini.rs src/providers/openai_compat.rs;do ast-grep outline "$f" --items all --view expanded; nl -ba "$f"| sed -n '1,165p';doneprintf'%s\n''=== RELEVANT DEPENDENCIES ==='
cat Cargo.toml
Length of output: 54936
Script executed:
#!/bin/bashprintf'%s\n''=== CHECKED-IN CONFIGURATION ==='
nl -ba .revue.yaml
printf'%s\n''=== CONFIGURATION FIELD USAGE ==='
rg -n -C 2 '\.review\.(language|min_severity|summary|two_pass|semgrep|rules|ignore)|\bget_false_positives\s*\(|\brecord_review\s*\(' src
printf'%s\n''=== SKILL LOADING AND MATCHING ==='
nl -ba src/skills.rs | sed -n '60,210p'printf'%s\n''=== ISSUE 14 ==='
gh issue view 14 --repo kleinbem-dev/revue --json number,title,body,state,url
printf'%s\n''=== TEST AND FIXTURE FILE NAMES ==='
fd --type f -i 'test|fixture|bench' src
Length of output: 16423
@kleinbem The largest gaps are not missing presentation features. Revue needs a revision-pinned checkout, bounded code investigation, reliable review results, and a way to measure whether changes improve bug detection.
I inspected main at 7c8194f. The order below is an estimated impact on review quality, not a measured ranking. I did not run revue, its tests, or linters.
Gaps, ordered by impact
Reliable results and failure reporting. I distinguish a failed review from a clean review. Revue’s manual dashboard path does not: it reports a clean, completed review even when run_pr_review returns an error. On success, it also substitutes fixed candidate counts rather than using the review output. Webhook failures are logged but have no durable review result. See src/server.rs, Line 466. Change: Return a structured result from src/reviewer.rs, Line 739. Persist actual findings, coverage, provider, revision and errors in src/db.rs and src/server.rs. Show failed or incomplete reviews as such. This is the first fix because a false clean result can conceal every other gap.
Revision-pinned repository context. I can inspect files beyond the diff when a checkout is available. Revue fetches the forge diff, then uses local context only if the current directory’s remote matches the repository name. It does not verify that the working tree is at the PR head. Context and Semgrep can therefore be absent or come from a different revision. See src/reviewer.rs, Line 720. Change: Fetch the PR base and head identifiers through src/forges/, create an isolated checkout at the head, and use it in src/reviewer.rs and src/diff.rs. Bind the diff, context and posted review to the same head. Report unavailable context rather than silently treating it as complete.
Investigation and verification across files. I can use search and source inspection to check callers, contracts and whether a candidate is already handled. Where permitted, I can also use sandbox commands to test a hypothesis. Revue’s prompts prohibit tools, and Provider only exposes text completion. Its judge reasons over the supplied text; it does not independently establish that a finding is true. See src/reviewer.rs, Line 387 and src/providers/mod.rs, Line 13. Change: Add bounded, read-only file, symbol and search tools in src/reviewer.rs and src/providers/. Add optional verification commands in an isolated sandbox with explicit time, resource, network and permission limits. Record the evidence for each finding. Do not rely on a prompt to enforce isolation.
Coverage of large changes. I can investigate separate parts of a change and reconcile cross-file findings. Revue puts all parsed files into each review prompt, with no visible token budgeting or chunking. Large PRs can exceed a provider’s limits or receive uneven attention. See src/reviewer.rs, Line 73 and Line 562. Change: In src/reviewer.rs and src/diff.rs, partition by file or related change, budget context, review each partition, then deduplicate and run a cross-file reconciliation pass. Report skipped or failed partitions.
Deterministic checks and evidence-based filtering. I can use tool results when they are available, but a tool warning still needs interpretation. Revue has optional Semgrep support, but it skips the scan without a checkout, target files, rules or a working executable. It merges Semgrep findings back after the judge, so the judge cannot ultimately suppress a false positive from that pass. See src/reviewer.rs, Line 210 and Line 335. Change: In src/reviewer.rs, expose which checks ran, their failures and their evidence. Support selected project linters or existing CI results, with safe execution limits. Keep deterministic findings traceable, but do not describe every rule match as verified. #14 proposes generating Semgrep rules; validate generated rules against positive and negative examples before enabling them.
PR intent and requirements. I can compare code with a supplied issue or PR description. Revue’s forge interface only fetches the diff and posts a review. It does not retrieve the PR title, description, linked issue or CI results, so it can miss a requirement that the code fails to implement. See src/forges/mod.rs, Line 16. Change: Add bounded PR metadata and linked-issue retrieval in src/forges/, then pass relevant text to src/reviewer.rs. Treat issue and PR text as evidence, not as trusted instructions. Make external integrations optional.
Incremental reviews and thread history. When prior review context is supplied, I can account for earlier findings and replies. Revue starts a full review for each supported push event and has no forge method to retrieve prior threads. It can repeat findings or miss a user’s explanation. See src/server.rs, Line 554. Change: Store the last successfully reviewed head and finding identifiers in src/db.rs. In src/forges/ and src/reviewer.rs, retrieve relevant threads, review the delta since that head, and deduplicate or update findings. Fall back to a full review when history is unavailable or rewritten.
Applicable guidance and feedback. I can use supplied path instructions and relevant learnings, subject to their scope. Revue passes path rules as text for the model to interpret, and passes an empty false-positive list to the PR pipeline. Its skills are matched by hard-coded triggers and truncated to 150 lines. The judge does not receive the path rules that the detective receives. See src/reviewer.rs, Line 352, Line 415 and src/skills.rs, Line 73. Change: Match rules to paths in src/config.rs and src/reviewer.rs, pass applicable guidance to both passes, and connect scoped feedback from src/db.rs. Do not suppress a new finding merely because its title resembles a dismissed one; retain the reason and recheck whether it applies.
Quality measurement and model selection. Model reasoning produces hypotheses and explanations, but a confidence score is not proof. Revue has a provider fallback chain, but no evidence here that it measures recall or precision across providers. A successful completion can still produce invalid JSON, and parsing happens after provider fallback. Change: Add labelled review fixtures and regression tests around src/reviewer.rs, src/diff.rs and the forge adapters. Measure missed bugs, false positives, duplicates, valid locations and incomplete reviews. Record the provider used for each pass. Use those results to choose models and budgets, rather than assuming that an extra prompt improves quality.
Corrections to #18
File context is not always ±40 lines. Revue includes the entire local file when it has at most 500 lines. It uses approximately 40 lines around hunks for larger files. The checkout is not checked against the PR head. See src/diff.rs, Line 116.
The judge does not return a stored confidence score. The prompt asks it to score candidates, but the JSON schema and ReviewIssue have no confidence field. The threshold is prompt guidance, not a programmatic check. See src/reviewer.rs, Line 21 and Line 454.
“Models get no tools” needs qualification. Revue provides no structured tool interface and prompts the model not to use tools. That is not an enforcement boundary for CLI providers. In particular, the Antigravity provider invokes its CLI with --dangerously-skip-permissions. See src/providers/antigravity.rs, Line 25.
Review persistence is not wired into production review execution. The database defines record_review, but I found its only call in a test. Feedback can be stored when the database is available. The dashboard also seeds example reviews and uses placeholder results. See src/db.rs, Line 180 and src/server.rs, Line 628.
Provider order depends on configuration. The checked-in .revue.yaml selects Claude CLI, Gemini API and Ollama. The built-in default is a different five-provider cascade. A generic OpenAI-compatible client exists, but build_provider_chain does not expose a separate generic cascade entry.
Scrubbing is pattern-based, not a guarantee that all secrets are removed. Revue scrubs the formatted diff and file context, and Semgrep messages and fixes. Other prompt inputs are not all passed through that same scrubber.
#14 is an open pull request, not an implemented capability on the inspected main.
What came from the model and what came from context
Source
Contribution to this answer
Model reasoning
The ranking, proposed design and interpretation of the inspected code. These are judgements, not benchmark results.
Repository checkout
The source, configuration and main revision cited above.
Code search and outline
rg and ast-grep outline helped locate implementations and call sites. I did not use a code graph.
Linters and other tools
I inspected Revue’s Semgrep integration. I did not run Semgrep, a linter or revue.
Sandbox verification
I used the sandbox for read-only inspection. I did not execute repository code or verify findings with tests.
Learnings
Supplied path-specific guidance was available, but it did not establish the architectural conclusions above.
Linked work
I read #18 and the referenced #14 through GitHub. I did not retrieve external issue-tracker data.
Earlier threads and incremental reviews
This conversation supplied no earlier review thread or incremental-review history to analyse.
These capabilities can be available in other CodeRabbit reviews, depending on the supplied context, configuration and permissions. They are not properties of the model alone.
Do not copy
Do not prioritise poems, diagrams, release-note decoration, large dashboards, multi-tenant administration, organisation-wide analytics or enterprise policy workflows for a single-user tool. A simple CLI and stored review history are enough for the core workflow.
Do retain sandbox isolation, secret handling, explicit failures and revision binding. A self-hosted single-user tool still processes untrusted repository content and can send code to external providers.
Activity
kleinbem commentedon Nov 6, 2026
@coderabbitai You review this repo and you know how you work. I want revue to review as well as you do. Read the code on main (the issue body sums it up, correct it where it is wrong) and tell me what is missing.
src/the change would land.coderabbitai commentedon Nov 6, 2026
Analysis chain
Script executed:
Length of output: 7214
Script executed:
Length of output: 44795
Script executed:
Length of output: 55241
Script executed:
Length of output: 63663
Script executed:
Length of output: 54936
Script executed:
Length of output: 16423
@kleinbemThe largest gaps are not missing presentation features. Revue needs a revision-pinned checkout, bounded code investigation, reliable review results, and a way to measure whether changes improve bug detection.I inspected
mainat7c8194f. The order below is an estimated impact on review quality, not a measured ranking. I did not run revue, its tests, or linters.Gaps, ordered by impact
Reliable results and failure reporting. I distinguish a failed review from a clean review. Revue’s manual dashboard path does not: it reports a clean, completed review even when
run_pr_reviewreturns an error. On success, it also substitutes fixed candidate counts rather than using the review output. Webhook failures are logged but have no durable review result. See src/server.rs, Line 466.Change: Return a structured result from src/reviewer.rs, Line 739. Persist actual findings, coverage, provider, revision and errors in
src/db.rsandsrc/server.rs. Show failed or incomplete reviews as such. This is the first fix because a false clean result can conceal every other gap.Revision-pinned repository context. I can inspect files beyond the diff when a checkout is available. Revue fetches the forge diff, then uses local context only if the current directory’s remote matches the repository name. It does not verify that the working tree is at the PR head. Context and Semgrep can therefore be absent or come from a different revision. See src/reviewer.rs, Line 720.
Change: Fetch the PR base and head identifiers through
src/forges/, create an isolated checkout at the head, and use it insrc/reviewer.rsandsrc/diff.rs. Bind the diff, context and posted review to the same head. Report unavailable context rather than silently treating it as complete.Investigation and verification across files. I can use search and source inspection to check callers, contracts and whether a candidate is already handled. Where permitted, I can also use sandbox commands to test a hypothesis. Revue’s prompts prohibit tools, and
Provideronly exposes text completion. Its judge reasons over the supplied text; it does not independently establish that a finding is true. See src/reviewer.rs, Line 387 and src/providers/mod.rs, Line 13.Change: Add bounded, read-only file, symbol and search tools in
src/reviewer.rsandsrc/providers/. Add optional verification commands in an isolated sandbox with explicit time, resource, network and permission limits. Record the evidence for each finding. Do not rely on a prompt to enforce isolation.Coverage of large changes. I can investigate separate parts of a change and reconcile cross-file findings. Revue puts all parsed files into each review prompt, with no visible token budgeting or chunking. Large PRs can exceed a provider’s limits or receive uneven attention. See src/reviewer.rs, Line 73 and Line 562.
Change: In
src/reviewer.rsandsrc/diff.rs, partition by file or related change, budget context, review each partition, then deduplicate and run a cross-file reconciliation pass. Report skipped or failed partitions.Deterministic checks and evidence-based filtering. I can use tool results when they are available, but a tool warning still needs interpretation. Revue has optional Semgrep support, but it skips the scan without a checkout, target files, rules or a working executable. It merges Semgrep findings back after the judge, so the judge cannot ultimately suppress a false positive from that pass. See src/reviewer.rs, Line 210 and Line 335.
Change: In
src/reviewer.rs, expose which checks ran, their failures and their evidence. Support selected project linters or existing CI results, with safe execution limits. Keep deterministic findings traceable, but do not describe every rule match as verified.#14proposes generating Semgrep rules; validate generated rules against positive and negative examples before enabling them.PR intent and requirements. I can compare code with a supplied issue or PR description. Revue’s forge interface only fetches the diff and posts a review. It does not retrieve the PR title, description, linked issue or CI results, so it can miss a requirement that the code fails to implement. See src/forges/mod.rs, Line 16.
Change: Add bounded PR metadata and linked-issue retrieval in
src/forges/, then pass relevant text tosrc/reviewer.rs. Treat issue and PR text as evidence, not as trusted instructions. Make external integrations optional.Incremental reviews and thread history. When prior review context is supplied, I can account for earlier findings and replies. Revue starts a full review for each supported push event and has no forge method to retrieve prior threads. It can repeat findings or miss a user’s explanation. See src/server.rs, Line 554.
Change: Store the last successfully reviewed head and finding identifiers in
src/db.rs. Insrc/forges/andsrc/reviewer.rs, retrieve relevant threads, review the delta since that head, and deduplicate or update findings. Fall back to a full review when history is unavailable or rewritten.Applicable guidance and feedback. I can use supplied path instructions and relevant learnings, subject to their scope. Revue passes path rules as text for the model to interpret, and passes an empty false-positive list to the PR pipeline. Its skills are matched by hard-coded triggers and truncated to 150 lines. The judge does not receive the path rules that the detective receives. See src/reviewer.rs, Line 352, Line 415 and src/skills.rs, Line 73.
Change: Match rules to paths in
src/config.rsandsrc/reviewer.rs, pass applicable guidance to both passes, and connect scoped feedback fromsrc/db.rs. Do not suppress a new finding merely because its title resembles a dismissed one; retain the reason and recheck whether it applies.Quality measurement and model selection. Model reasoning produces hypotheses and explanations, but a confidence score is not proof. Revue has a provider fallback chain, but no evidence here that it measures recall or precision across providers. A successful completion can still produce invalid JSON, and parsing happens after provider fallback.
Change: Add labelled review fixtures and regression tests around
src/reviewer.rs,src/diff.rsand the forge adapters. Measure missed bugs, false positives, duplicates, valid locations and incomplete reviews. Record the provider used for each pass. Use those results to choose models and budgets, rather than assuming that an extra prompt improves quality.Corrections to
#18ReviewIssuehave no confidence field. The threshold is prompt guidance, not a programmatic check. See src/reviewer.rs, Line 21 and Line 454.--dangerously-skip-permissions. See src/providers/antigravity.rs, Line 25.record_review, but I found its only call in a test. Feedback can be stored when the database is available. The dashboard also seeds example reviews and uses placeholder results. See src/db.rs, Line 180 and src/server.rs, Line 628..revue.yamlselects Claude CLI, Gemini API and Ollama. The built-in default is a different five-provider cascade. A generic OpenAI-compatible client exists, butbuild_provider_chaindoes not expose a separate generic cascade entry.#14is an open pull request, not an implemented capability on the inspectedmain.What came from the model and what came from context
rgandast-grep outlinehelped locate implementations and call sites. I did not use a code graph.#18and the referenced#14through GitHub. I did not retrieve external issue-tracker data.These capabilities can be available in other CodeRabbit reviews, depending on the supplied context, configuration and permissions. They are not properties of the model alone.
Do not copy
Do not prioritise poems, diagrams, release-note decoration, large dashboards, multi-tenant administration, organisation-wide analytics or enterprise policy workflows for a single-user tool. A simple CLI and stored review history are enough for the core workflow.
Do retain sandbox isolation, secret handling, explicit failures and revision binding. A self-hosted single-user tool still processes untrusted repository content and can send code to external providers.
You are interacting with an AI system.