Step-by-step: get a senior-level review on a GitHub PR.
Orkestral runs a senior staff-level review on any GitHub pull request. A reviewer agent fetches the PR and its diff, reads your project conventions, then returns a structured verdict: a summary, a rating, a recommendation, inline comments tied to real lines, and a file-by-file walkthrough. You read everything inside the app, apply fixes locally, and optionally post the whole thing back to GitHub as a single review.This page walks you through running a review end to end, reading the findings, and acting on them.
What you get
Inline comments
Up to 12 comments tied to exact diff lines, each with a kind, a severity, a why-it-matters message, and an optional code suggestion.
Verdict and rating
A 0 to 10 rating, a risk level, an effort estimate, and a recommendation: approve, request changes, or comment.
File walkthrough
One line per changed file describing what changed and how it is classified (feature, fix, refactor, and so on).
Tests assessment
What is covered, what is missing, and in which critical scenarios (auth, billing, sensitive data).
Before you start
A reviewer agent with an adapter
The review runs through an agent. Orkestral picks an agent whose role or name matches code-review or reviewer, and falls back to your CEO orchestrator. That agent must have an adapter configured (Claude, Codex, or Gemini). With no adapter, the review fails with a clear message pointing you to Agent settings, Adapter.
The matching CLI installed
The adapter shells out to a local CLI: claude, codex, or gemini. The binary must be installed and on your PATH, with valid credentials or an API key. If it is missing, the review fails with the CLI name and the exit code so you can fix it.
GitHub access to the repo
Orkestral fetches the PR metadata and the unified diff through the GitHub API. The repo must be reachable with your connected GitHub credentials.
A local workspace path (recommended)
If the workspace points at a local clone, the reviewer runs inside that directory. That lets it read package.json, lint and TypeScript configs, and neighbouring files to learn your conventions before commenting. It also unlocks applying suggestions to local files later.
Run a review
1
Open the code review surface
Go to the code review area of your workspace and start a new review. You provide the repository (owner/repo) and the pull request number.
2
Pick the reviewer (optional)
Leave the reviewer on auto to let Orkestral choose, or pick a specific agent. The chosen agent’s adapter and model drive the analysis. The agent’s own instructions (its AGENTS.md) are prepended to the review prompt, so a reviewer you have tuned for your stack carries that context in.
3
Add linked PRs for cross-stack reviews (optional)
If a change spans more than one repo (for example a backend PR plus a frontend PR), add them as linked PRs. The review then focuses on cross-stack problems: payload shapes that do not match, a field renamed on one side only, error codes the other side never handles, and races between deploys.
With linked PRs, each diff is truncated proportionally so the combined prompt stays manageable. A single PR keeps up to 1500 diff lines; multiple PRs share a budget, with at least 400 lines each.
4
Start the analysis
Launch the review. Orkestral returns immediately and the work continues in the background, so the surface stays responsive while the agent thinks.
5
Watch the phases
The review streams its progress through phases: fetch (pulling the PR and diff), prompt (assembling the diff and instructions), spawn (starting the CLI), analyzing (the agent reading the code), then parse (interpreting the response). For Claude the output streams token by token.
Need to stop early? Cancel the review. Orkestral sends SIGTERM to the CLI process, escalates to SIGKILL after two seconds if needed, and marks the review as cancelled.
How the reviewer thinks
Understanding the reviewer’s brief helps you trust (and challenge) its output.
What it focuses on
What it stays quiet about
Language
The prompt aims at real engineering problems, not codestyle:
Bugs: race conditions, off-by-one, unhandled null or undefined, stale useEffect deps, accidental mutation, inverted conditions, missing cleanup, swallowed errors.
Security: XSS, injection, hardcoded secrets, misconfigured CORS or CSRF, missing server-side validation.
Performance: N+1 queries, effects rerunning every render, unnecessary renders, heavy imports, memory leaks.
Architecture and contract: broken API shapes, duplicated state, severe coupling, side effects in the wrong place.
Tests: a critical path (auth, billing, sensitive data) or an obvious edge case left uncovered, named specifically.
The reviewer is told not to comment on things your tooling already handles or that amount to noise:
Formatting, spacing, quotes, trailing commas, line length.
Trivial naming nitpicks and obvious explicit type annotations.
Unused or unordered imports.
“Consider extracting this” or “add a comment” with no concrete benefit.
Hypothetical “if you ever need” suggestions.
It assumes your linter, formatter, and type-checker passed, because a team does not merge a red PR.
All prose (summary, comments, walkthrough, tests assessment) comes back in your active app language. Established technical terms stay in English (useEffect, race condition, null), but full sentences follow your locale.
When a local MCP config is available, the reviewer can call Orkestral tools mid-review, for example creating an issue when it finds a bug or searching your knowledge base to check a convention before commenting. If the MCP config cannot be built, the review still runs, just without those tools.
Read the findings
Once the review completes, work through it top to bottom.
1
Start with the verdict
Read the summary, then the recommendation and rating together:
approve: rating is 7 or higher with nothing critical.
request_changes: there is a critical finding, or the rating is 5 or lower.
comment: suggestions worth seeing, but nothing blocking.
The risk level (low, medium, high) and effort (small, medium, large) give you a quick sense of how much attention the PR needs.
2
Scan highlights and concerns
Highlights call out what the PR does well, specifically. Concerns list real technical risks. Use concerns as your checklist of what to verify before merging.
3
Read the tests assessment
This tells you what coverage exists and which critical scenarios are missing. Treat a named gap (for example “no test for the network-error path”) as a concrete to-do, not a generic nag.
4
Walk the files
The walkthrough has one entry per changed file with a one or two sentence summary and a change kind (feature, fix, refactor, docs, test, chore, style). Alongside it, Orkestral shows the files changed list with additions, deletions, and status (added, modified, deleted, renamed) parsed straight from the diff.
5
Open the inline comments
Each comment carries:
filePath and line pointing at the exact diff location.
kind: bug, suggestion, security, style, performance, or question.
severity: critical, warning, or info.
title and message explaining the problem, the why, and the real impact.
an optional suggestion (corrected code) and codeContext (a few surrounding lines).
The reviewer is capped at 12 inline comments by design. If a PR has more issues than that, it surfaces the ones that matter most rather than drowning you in nitpicks.
Act on a comment
1
Apply a suggestion locally
For a comment that includes a suggestion and a target line, apply it to the file in your local workspace. Orkestral replaces the target lines (lineStart to lineEnd) with the suggested code, writes the file, and marks that comment resolved.
This needs a workspace with a local path and the file present on disk. A comment with no target line cannot be applied automatically; fix it by hand instead.
2
Inspect the diff in-app
You can read the PR’s diff per file without leaving Orkestral, so you can cross-check a comment against the actual hunk it points to.
Post the review to GitHub
When you are happy with the result, push it back as a single GitHub review with inline comments.
1
Confirm the review is complete
Only a completed review can be posted. It also needs the PR’s head commit SHA, which Orkestral captures during the fetch phase. If that is missing, re-run the analysis.
2
Post it
Orkestral posts every comment that has a target line as an inline comment on the head commit. Comments with a suggestion render as a GitHub suggestion block your teammates can apply with one click. Each comment is prefixed with its kind and severity.
3
Check the summary body
The review body opens with a Code review by Orkestral heading, your summary, the risk level, the total comment count, and a breakdown by kind (bugs, security, suggestions, performance, style, questions). The review is posted with the COMMENT event, so it does not approve or block the PR on its own.
Troubleshooting
The agent has no adapter configured
Open the reviewer agent’s settings, go to Adapter, and pick Claude, Codex, or Gemini. Without one, the review cannot run.
The CLI failed (exit code shown)
The error includes the CLI name and its stderr. Confirm the binary is installed and on your PATH, that credentials or an API key are valid, and that the adapter is reachable.
Could not parse the response as JSON
The reviewer must return a single JSON block with no markdown or prose around it. Orkestral repairs common issues (trailing commas, smart quotes, stray comments) and extracts the first balanced object, but a chatty agent can still break it. Check the reviewer’s AGENTS.md to make sure it is not adding a preamble.
Could not fetch the PR from GitHub
Verify the owner/repo and PR number are correct and that your GitHub connection has access to that repository.
What to do next
Turn a finding into work
Let the reviewer open issues from bugs it finds, or create them yourself, and track the fixes as epics and issues.
Tune your reviewer agent
Sharpen the reviewer’s AGENTS.md with your team’s conventions so future reviews land closer to how you actually merge.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Orkestral","colors":{"primary":"#7c6cf0","light":"#a99bff","dark":"#6d28d9"},"logo":{"light":"https://mintcdn.com/orkestral/KK3moSHlDgrVKxCD/logo/light.svg?fit=max\u0026auto=format\u0026n=KK3moSHlDgrVKxCD\u0026q=85\u0026s=a50faf63ab2705b8e18ca5b16b5336f4","dark":"https://mintcdn.com/orkestral/KK3moSHlDgrVKxCD/logo/dark.svg?fit=max\u0026auto=format\u0026n=KK3moSHlDgrVKxCD\u0026q=85\u0026s=5422573099f73c74493b9ba302d6722e"},"favicon":{"light":"https://mintcdn.com/orkestral/KK3moSHlDgrVKxCD/logo/light.svg?fit=max\u0026auto=format\u0026n=KK3moSHlDgrVKxCD\u0026q=85\u0026s=a50faf63ab2705b8e18ca5b16b5336f4","dark":"https://mintcdn.com/orkestral/KK3moSHlDgrVKxCD/logo/dark.svg?fit=max\u0026auto=format\u0026n=KK3moSHlDgrVKxCD\u0026q=85\u0026s=5422573099f73c74493b9ba302d6722e"},"appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://orkestral.pro","label":"Website"}],"primary":{"type":"button","label":"Download","href":"https://orkestral.pro"}},"footer":{"socials":{"github":"https://github.com/Orkestral-AI"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"en/introduction"},{"language":"pt","href":"pt/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"orkestral","hasAudioNarration":false,"actualSubdomain":"orkestral","customDomains":["docs.orkestral.pro"],"gitSource":{"type":"github","owner":"orkestral-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10edff9ffae5051c416724"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae95950d5a6abdcaffaad31:success","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"en","tag":"Learn","count":32},{"language":"pt","tag":"Aprender","count":32},{"language":"en","tag":"Get started","count":9},{"language":"pt","tag":"Começar","count":9},{"language":"en","tag":"Power features","count":8},{"language":"pt","tag":"Recursos avançados","count":8},{"language":"en","tag":"Reference","count":7},{"language":"pt","tag":"Referência","count":7},{"language":"en","tag":"Day to day","count":6},{"language":"en","tag":"How-to guides","count":6},{"language":"pt","tag":"No dia a dia","count":6},{"language":"pt","tag":"Guias práticos","count":6},{"language":"en","tag":"Your org \u0026 agents","count":5},{"language":"pt","tag":"Sua org \u0026 agentes","count":5},{"language":"en","tag":"Administration","count":4},{"language":"en","tag":"Adapters","count":4},{"language":"pt","tag":"Administração","count":4},{"language":"pt","tag":"Adapters","count":4},{"language":"en","tag":"Projects \u0026 workflow","count":3},{"language":"pt","tag":"Projetos \u0026 fluxo","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:rgba(255, 255, 255, 0.09);border-radius:9999px;border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background-color:rgba(255, 255, 255, 0.18);background-clip:padding-box}*{scrollbar-width:thin;scrollbar-color:rgba(255, 255, 255, 0.12) transparent}"}]}
{"page":{"pagePath":"en/review-a-pull-request","slug":"/en/review-a-pull-request","pageMetadata":{"title":"Review a pull request","description":"Step-by-step: get a senior-level review on a GitHub PR.","href":"/en/review-a-pull-request"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Step-by-step: get a senior-level review on a GitHub PR.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,Heading,Info,Note,Step,Steps,Tab,Tabs,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Orkestral runs a senior staff-level review on any GitHub pull request. A reviewer agent fetches the PR and its diff, reads your project conventions, then returns a structured verdict: a summary, a rating, a recommendation, inline comments tied to real lines, and a file-by-file walkthrough. You read everything inside the app, apply fixes locally, and optionally post the whole thing back to GitHub as a single review.`}),`\n`,_jsx(_components.p,{children:`This page walks you through running a review end to end, reading the findings, and acting on them.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-get`,children:`What you get`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Inline comments`,icon:`comments`,children:_jsx(_components.p,{children:`Up to 12 comments tied to exact diff lines, each with a kind, a severity, a why-it-matters message, and an optional code suggestion.`})}),_jsx(Card,{title:`Verdict and rating`,icon:`gavel`,children:_jsx(_components.p,{children:`A 0 to 10 rating, a risk level, an effort estimate, and a recommendation: approve, request changes, or comment.`})}),_jsx(Card,{title:`File walkthrough`,icon:`list-check`,children:_jsx(_components.p,{children:`One line per changed file describing what changed and how it is classified (feature, fix, refactor, and so on).`})}),_jsx(Card,{title:`Tests assessment`,icon:`flask`,children:_jsx(_components.p,{children:`What is covered, what is missing, and in which critical scenarios (auth, billing, sensitive data).`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`A reviewer agent with an adapter`,icon:`user-gear`,id:`a-reviewer-agent-with-an-adapter`,children:_jsxs(_components.p,{children:[`The review runs through an agent. Orkestral picks an agent whose role or name matches `,_jsx(_components.code,{children:`code-review`}),` or `,_jsx(_components.code,{children:`reviewer`}),`, and falls back to your CEO orchestrator. That agent `,_jsx(_components.strong,{children:`must have an adapter configured`}),` (Claude, Codex, or Gemini). With no adapter, the review fails with a clear message pointing you to `,_jsx(_components.strong,{children:`Agent settings, Adapter`}),`.`]})}),_jsx(Accordion,{title:`The matching CLI installed`,icon:`terminal`,id:`the-matching-cli-installed`,children:_jsxs(_components.p,{children:[`The adapter shells out to a local CLI: `,_jsx(_components.code,{children:`claude`}),`, `,_jsx(_components.code,{children:`codex`}),`, or `,_jsx(_components.code,{children:`gemini`}),`. The binary must be installed and on your `,_jsx(_components.code,{children:`PATH`}),`, with valid credentials or an API key. If it is missing, the review fails with the CLI name and the exit code so you can fix it.`]})}),_jsx(Accordion,{title:`GitHub access to the repo`,icon:`github`,id:`github-access-to-the-repo`,children:_jsx(_components.p,{children:`Orkestral fetches the PR metadata and the unified diff through the GitHub API. The repo must be reachable with your connected GitHub credentials.`})}),_jsx(Accordion,{title:`A local workspace path (recommended)`,icon:`folder-open`,id:`a-local-workspace-path-recommended`,children:_jsxs(_components.p,{children:[`If the workspace points at a local clone, the reviewer runs `,_jsx(_components.strong,{children:`inside that directory`}),`. That lets it read `,_jsx(_components.code,{children:`package.json`}),`, lint and TypeScript configs, and neighbouring files to learn your conventions before commenting. It also unlocks applying suggestions to local files later.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`run-a-review`,children:`Run a review`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the code review surface`,children:_jsxs(_components.p,{children:[`Go to the code review area of your workspace and start a new review. You provide the repository (`,_jsx(_components.code,{children:`owner/repo`}),`) and the pull request number.`]})}),_jsx(Step,{title:`Pick the reviewer (optional)`,children:_jsxs(_components.p,{children:[`Leave the reviewer on `,_jsx(_components.strong,{children:`auto`}),` to let Orkestral choose, or pick a specific agent. The chosen agent’s adapter and model drive the analysis. The agent’s own instructions (its `,_jsx(_components.code,{children:`AGENTS.md`}),`) are prepended to the review prompt, so a reviewer you have tuned for your stack carries that context in.`]})}),_jsxs(Step,{title:`Add linked PRs for cross-stack reviews (optional)`,children:[_jsxs(_components.p,{children:[`If a change spans more than one repo (for example a backend PR plus a frontend PR), add them as `,_jsx(_components.strong,{children:`linked PRs`}),`. The review then focuses on cross-stack problems: payload shapes that do not match, a field renamed on one side only, error codes the other side never handles, and races between deploys.`]}),_jsx(Note,{children:_jsx(_components.p,{children:`With linked PRs, each diff is truncated proportionally so the combined prompt stays manageable. A single PR keeps up to 1500 diff lines; multiple PRs share a budget, with at least 400 lines each.`})})]}),_jsx(Step,{title:`Start the analysis`,children:_jsx(_components.p,{children:`Launch the review. Orkestral returns immediately and the work continues in the background, so the surface stays responsive while the agent thinks.`})}),_jsxs(Step,{title:`Watch the phases`,children:[_jsxs(_components.p,{children:[`The review streams its progress through phases: `,_jsx(_components.strong,{children:`fetch`}),` (pulling the PR and diff), `,_jsx(_components.strong,{children:`prompt`}),` (assembling the diff and instructions), `,_jsx(_components.strong,{children:`spawn`}),` (starting the CLI), `,_jsx(_components.strong,{children:`analyzing`}),` (the agent reading the code), then `,_jsx(_components.strong,{children:`parse`}),` (interpreting the response). For Claude the output streams token by token.`]}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`Need to stop early? Cancel the review. Orkestral sends `,_jsx(_components.code,{children:`SIGTERM`}),` to the CLI process, escalates to `,_jsx(_components.code,{children:`SIGKILL`}),` after two seconds if needed, and marks the review as cancelled.`]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`how-the-reviewer-thinks`,children:`How the reviewer thinks`}),`\n`,_jsx(_components.p,{children:`Understanding the reviewer’s brief helps you trust (and challenge) its output.`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`What it focuses on`,id:`what-it-focuses-on`,children:[_jsxs(_components.p,{children:[`The prompt aims at `,_jsx(_components.strong,{children:`real engineering problems`}),`, not codestyle:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Bugs`}),`: race conditions, off-by-one, unhandled null or undefined, stale `,_jsx(_components.code,{children:`useEffect`}),` deps, accidental mutation, inverted conditions, missing cleanup, swallowed errors.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Security`}),`: XSS, injection, hardcoded secrets, misconfigured CORS or CSRF, missing server-side validation.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Performance`}),`: N+1 queries, effects rerunning every render, unnecessary renders, heavy imports, memory leaks.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Architecture and contract`}),`: broken API shapes, duplicated state, severe coupling, side effects in the wrong place.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Tests`}),`: a critical path (auth, billing, sensitive data) or an obvious edge case left uncovered, named specifically.`]}),`\n`]})]}),_jsxs(Tab,{title:`What it stays quiet about`,id:`what-it-stays-quiet-about`,children:[_jsxs(_components.p,{children:[`The reviewer is told `,_jsx(_components.strong,{children:`not`}),` to comment on things your tooling already handles or that amount to noise:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Formatting, spacing, quotes, trailing commas, line length.`}),`\n`,_jsx(_components.li,{children:`Trivial naming nitpicks and obvious explicit type annotations.`}),`\n`,_jsx(_components.li,{children:`Unused or unordered imports.`}),`\n`,_jsx(_components.li,{children:`“Consider extracting this” or “add a comment” with no concrete benefit.`}),`\n`,_jsx(_components.li,{children:`Hypothetical “if you ever need” suggestions.`}),`\n`]}),_jsx(_components.p,{children:`It assumes your linter, formatter, and type-checker passed, because a team does not merge a red PR.`})]}),_jsx(Tab,{title:`Language`,id:`language`,children:_jsxs(_components.p,{children:[`All prose (summary, comments, walkthrough, tests assessment) comes back in your active app language. Established technical terms stay in English (`,_jsx(_components.code,{children:`useEffect`}),`, `,_jsx(_components.code,{children:`race condition`}),`, `,_jsx(_components.code,{children:`null`}),`), but full sentences follow your locale.`]})})]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`When a local MCP config is available, the reviewer can call Orkestral tools mid-review, for example creating an issue when it finds a bug or searching your knowledge base to check a convention before commenting. If the MCP config cannot be built, the review still runs, just without those tools.`})}),`\n`,_jsx(Heading,{level:`2`,id:`read-the-findings`,children:`Read the findings`}),`\n`,_jsx(_components.p,{children:`Once the review completes, work through it top to bottom.`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Start with the verdict`,children:[_jsxs(_components.p,{children:[`Read the `,_jsx(_components.strong,{children:`summary`}),`, then the `,_jsx(_components.strong,{children:`recommendation`}),` and `,_jsx(_components.strong,{children:`rating`}),` together:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`approve`}),`: rating is 7 or higher with nothing critical.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`request_changes`}),`: there is a critical finding, or the rating is 5 or lower.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`comment`}),`: suggestions worth seeing, but nothing blocking.`]}),`\n`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`risk level`}),` (low, medium, high) and `,_jsx(_components.strong,{children:`effort`}),` (small, medium, large) give you a quick sense of how much attention the PR needs.`]})]}),_jsx(Step,{title:`Scan highlights and concerns`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Highlights`}),` call out what the PR does well, specifically. `,_jsx(_components.strong,{children:`Concerns`}),` list real technical risks. Use concerns as your checklist of what to verify before merging.`]})}),_jsx(Step,{title:`Read the tests assessment`,children:_jsx(_components.p,{children:`This tells you what coverage exists and which critical scenarios are missing. Treat a named gap (for example “no test for the network-error path”) as a concrete to-do, not a generic nag.`})}),_jsx(Step,{title:`Walk the files`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`walkthrough`}),` has one entry per changed file with a one or two sentence summary and a change kind (`,_jsx(_components.code,{children:`feature`}),`, `,_jsx(_components.code,{children:`fix`}),`, `,_jsx(_components.code,{children:`refactor`}),`, `,_jsx(_components.code,{children:`docs`}),`, `,_jsx(_components.code,{children:`test`}),`, `,_jsx(_components.code,{children:`chore`}),`, `,_jsx(_components.code,{children:`style`}),`). Alongside it, Orkestral shows the `,_jsx(_components.strong,{children:`files changed`}),` list with additions, deletions, and status (added, modified, deleted, renamed) parsed straight from the diff.`]})}),_jsxs(Step,{title:`Open the inline comments`,children:[_jsx(_components.p,{children:`Each comment carries:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`filePath`}),` and `,_jsx(_components.strong,{children:`line`}),` pointing at the exact diff location.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`kind`}),`: bug, suggestion, security, style, performance, or question.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`severity`}),`: critical, warning, or info.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`title`}),` and `,_jsx(_components.strong,{children:`message`}),` explaining the problem, the why, and the real impact.`]}),`\n`,_jsxs(_components.li,{children:[`an optional `,_jsx(_components.strong,{children:`suggestion`}),` (corrected code) and `,_jsx(_components.strong,{children:`codeContext`}),` (a few surrounding lines).`]}),`\n`]}),_jsx(Warning,{children:_jsx(_components.p,{children:`The reviewer is capped at 12 inline comments by design. If a PR has more issues than that, it surfaces the ones that matter most rather than drowning you in nitpicks.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`act-on-a-comment`,children:`Act on a comment`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Apply a suggestion locally`,children:[_jsxs(_components.p,{children:[`For a comment that includes a suggestion and a target line, apply it to the file in your local workspace. Orkestral replaces the target lines (`,_jsx(_components.code,{children:`lineStart`}),` to `,_jsx(_components.code,{children:`lineEnd`}),`) with the suggested code, writes the file, and marks that comment `,_jsx(_components.strong,{children:`resolved`}),`.`]}),_jsx(Note,{children:_jsx(_components.p,{children:`This needs a workspace with a local path and the file present on disk. A comment with no target line cannot be applied automatically; fix it by hand instead.`})})]}),_jsx(Step,{title:`Inspect the diff in-app`,children:_jsx(_components.p,{children:`You can read the PR’s diff per file without leaving Orkestral, so you can cross-check a comment against the actual hunk it points to.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`post-the-review-to-github`,children:`Post the review to GitHub`}),`\n`,_jsxs(_components.p,{children:[`When you are happy with the result, push it back as a `,_jsx(_components.strong,{children:`single GitHub review`}),` with inline comments.`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Confirm the review is complete`,children:_jsx(_components.p,{children:`Only a completed review can be posted. It also needs the PR’s head commit SHA, which Orkestral captures during the fetch phase. If that is missing, re-run the analysis.`})}),_jsx(Step,{title:`Post it`,children:_jsxs(_components.p,{children:[`Orkestral posts every comment that has a target line as an inline comment on the head commit. Comments with a suggestion render as a GitHub `,_jsx(_components.code,{children:`suggestion`}),` block your teammates can apply with one click. Each comment is prefixed with its kind and severity.`]})}),_jsx(Step,{title:`Check the summary body`,children:_jsxs(_components.p,{children:[`The review body opens with a Code review by Orkestral heading, your summary, the risk level, the total comment count, and a breakdown by kind (bugs, security, suggestions, performance, style, questions). The review is posted with the `,_jsx(_components.code,{children:`COMMENT`}),` event, so it does not approve or block the PR on its own.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`The agent has no adapter configured`,icon:`triangle-exclamation`,id:`the-agent-has-no-adapter-configured`,children:_jsxs(_components.p,{children:[`Open the reviewer agent’s settings, go to `,_jsx(_components.strong,{children:`Adapter`}),`, and pick Claude, Codex, or Gemini. Without one, the review cannot run.`]})}),_jsx(Accordion,{title:`The CLI failed (exit code shown)`,icon:`terminal`,id:`the-cli-failed-exit-code-shown`,children:_jsxs(_components.p,{children:[`The error includes the CLI name and its stderr. Confirm the binary is installed and on your `,_jsx(_components.code,{children:`PATH`}),`, that credentials or an API key are valid, and that the adapter is reachable.`]})}),_jsx(Accordion,{title:`Could not parse the response as JSON`,icon:`brackets-curly`,id:`could-not-parse-the-response-as-json`,children:_jsxs(_components.p,{children:[`The reviewer must return a single JSON block with no markdown or prose around it. Orkestral repairs common issues (trailing commas, smart quotes, stray comments) and extracts the first balanced object, but a chatty agent can still break it. Check the reviewer’s `,_jsx(_components.code,{children:`AGENTS.md`}),` to make sure it is not adding a preamble.`]})}),_jsx(Accordion,{title:`Could not fetch the PR from GitHub`,icon:`github`,id:`could-not-fetch-the-pr-from-github`,children:_jsxs(_components.p,{children:[`Verify the `,_jsx(_components.code,{children:`owner/repo`}),` and PR number are correct and that your GitHub connection has access to that repository.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-to-do-next`,children:`What to do next`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Turn a finding into work`,icon:`list-check`,children:_jsx(_components.p,{children:`Let the reviewer open issues from bugs it finds, or create them yourself, and track the fixes as epics and issues.`})}),_jsx(Card,{title:`Tune your reviewer agent`,icon:`user-gear`,children:_jsxs(_components.p,{children:[`Sharpen the reviewer’s `,_jsx(_components.code,{children:`AGENTS.md`}),` with your team’s conventions so future reviews land closer to how you actually merge.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Review a pull request","description":"Step-by-step: get a senior-level review on a GitHub PR.","href":"/en/review-a-pull-request"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you get","slug":"what-you-get","depth":2,"children":[]},{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Run a review","slug":"run-a-review","depth":2,"children":[]},{"title":"How the reviewer thinks","slug":"how-the-reviewer-thinks","depth":2,"children":[]},{"title":"Read the findings","slug":"read-the-findings","depth":2,"children":[]},{"title":"Act on a comment","slug":"act-on-a-comment","depth":2,"children":[]},{"title":"Post the review to GitHub","slug":"post-the-review-to-github","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"What to do next","slug":"what-to-do-next","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"orkestral","siteName":"Orkestral","title":"Review a pull request - Orkestral","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/review-a-pull-request","matchLevel":0},"pt":{"href":"/pt/review-a-pull-request","matchLevel":1}}},"lastModified":"2026-06-11T11:37:01.570Z","originalFileLocation":"en/review-a-pull-request.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Step-by-step: get a senior-level review on a GitHub PR.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Orkestral\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/orkestral/dbqWnZOODtNee6yh/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/orkestral/dbqWnZOODtNee6yh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/orkestral/dbqWnZOODtNee6yh/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/orkestral/dbqWnZOODtNee6yh/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/orkestral/dbqWnZOODtNee6yh/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/orkestral/dbqWnZOODtNee6yh/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/orkestral/dbqWnZOODtNee6yh/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/orkestral/dbqWnZOODtNee6yh/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/orkestral/dbqWnZOODtNee6yh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Review a pull request - Orkestral\">\u003cmeta data-mint-head property=\"og:description\" content=\"Step-by-step: get a senior-level review on a GitHub PR.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Orkestral\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.orkestral.pro/en/review-a-pull-request\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://orkestral.mintlify.site/_mintlify/api/og/v2?division=How-to+guides\u0026amp;title=Review+a+pull+request\u0026amp;description=Step-by-step%3A+get+a+senior-level+review+on+a+GitHub+PR.\u0026amp;theme=cab6a4bc1c737eb91ce8b702\u0026amp;signature=660679a5ff2967ec9f0f49a512a126377b97b68b21dcd145b80fda21d9a06e01\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Review a pull request - Orkestral\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Step-by-step: get a senior-level review on a GitHub PR.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://orkestral.mintlify.site/_mintlify/api/og/v2?division=How-to+guides\u0026amp;title=Review+a+pull+request\u0026amp;description=Step-by-step%3A+get+a+senior-level+review+on+a+GitHub+PR.\u0026amp;theme=cab6a4bc1c737eb91ce8b702\u0026amp;signature=660679a5ff2967ec9f0f49a512a126377b97b68b21dcd145b80fda21d9a06e01\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/orkestral/dbqWnZOODtNee6yh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Orkestral\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7c6cf0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.orkestral.pro/en/review-a-pull-request\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/review-a-pull-request.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.orkestral.pro/en/review-a-pull-request\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.orkestral.pro/pt/review-a-pull-request\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.orkestral.pro/en/review-a-pull-request\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.orkestral.pro/#organization\",\"name\":\"Orkestral\",\"url\":\"https://docs.orkestral.pro\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/orkestral/KK3moSHlDgrVKxCD/logo/light.svg?fit=max\u0026auto=format\u0026n=KK3moSHlDgrVKxCD\u0026q=85\u0026s=a50faf63ab2705b8e18ca5b16b5336f4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.orkestral.pro#website\",\"name\":\"Orkestral\",\"url\":\"https://docs.orkestral.pro\",\"publisher\":{\"@id\":\"https://docs.orkestral.pro/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.orkestral.pro/en/review-a-pull-request#webpage\",\"url\":\"https://docs.orkestral.pro/en/review-a-pull-request\",\"name\":\"Review a pull request\",\"description\":\"Step-by-step: get a senior-level review on a GitHub PR.\",\"dateModified\":\"2026-06-11T11:37:01.570Z\",\"isPartOf\":{\"@id\":\"https://docs.orkestral.pro#website\"},\"breadcrumb\":{\"@id\":\"https://docs.orkestral.pro/en/review-a-pull-request#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.orkestral.pro/en/review-a-pull-request#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Learn\",\"item\":\"https://docs.orkestral.pro/en/chat\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How-to guides\",\"item\":\"https://docs.orkestral.pro/en/connect-a-repository\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Review a pull request\",\"item\":\"https://docs.orkestral.pro/en/review-a-pull-request\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.orkestral.pro/en/review-a-pull-request#article\",\"headline\":\"Review a pull request\",\"name\":\"Review a pull request\",\"description\":\"Step-by-step: get a senior-level review on a GitHub PR.\",\"url\":\"https://docs.orkestral.pro/en/review-a-pull-request\",\"mainEntityOfPage\":{\"@id\":\"https://docs.orkestral.pro/en/review-a-pull-request#webpage\"},\"dateModified\":\"2026-06-11T11:37:01.570Z\",\"publisher\":{\"@id\":\"https://docs.orkestral.pro/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.orkestral.pro#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Orkestral\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Orkestral\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/review-a-pull-request.md","siteName":"Orkestral","nav":{"global":null,"languages":[{"language":"en","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Introduction","href":"/en/introduction"},{"title":"Key concepts","href":"/en/key-concepts"},{"title":"Glossary","href":"/en/glossary"},{"title":"Installation","href":"/en/installation"},{"title":"Onboarding","href":"/en/onboarding"},{"title":"Quickstart","href":"/en/quickstart"},{"title":"Create your first workspace","href":"/en/first-workspace"},{"title":"Hire your first agent","href":"/en/first-agent"},{"title":"Watching agents work","href":"/en/watching-agents"}]},{"group":"Learn","pages":[{"group":"Day to day","icon":"gauge","expanded":false,"pages":[{"title":"Chat","href":"/en/chat"},{"title":"Issues \u0026 epics","href":"/en/issues"},{"title":"Code review","href":"/en/code-review"},{"title":"Inbox","href":"/en/inbox"},{"title":"Channels","href":"/en/channels"},{"title":"Approvals","href":"/en/approvals"}]},{"group":"Your org \u0026 agents","icon":"sitemap","expanded":false,"pages":[{"title":"The agent team","href":"/en/agents"},{"title":"Skills","href":"/en/skills"},{"title":"Delegation","href":"/en/delegation"},{"title":"Agent adapters","href":"/en/agent-adapters"},{"title":"Adapter manager","href":"/en/adapter-manager"}]},{"group":"Projects \u0026 workflow","icon":"folder-tree","expanded":false,"pages":[{"title":"Workspaces","href":"/en/workspaces"},{"title":"Sources","href":"/en/sources"},{"title":"Routines \u0026 goals","href":"/en/routines-goals"}]},{"group":"Power features","icon":"bolt","expanded":false,"pages":[{"title":"The Capsule (OEP)","href":"/en/capsule"},{"title":"The Forge","href":"/en/forge"},{"title":"Proven delivery","href":"/en/verified-delivery"},{"title":"Fast Apply","href":"/en/fast-apply"},{"title":"Knowledge base","href":"/en/knowledge-base"},{"title":"Observability","href":"/en/observability"},{"title":"Sentry","href":"/en/sentry"},{"title":"Integrations \u0026 MCP","href":"/en/integrations"}]},{"group":"How-to guides","icon":"wrench","expanded":false,"pages":[{"title":"Connect a repository","href":"/en/connect-a-repository"},{"title":"Hire and set up a team","href":"/en/hire-a-team"},{"title":"Run your first task","description":"Step-by-step: from a chat request to reviewed, completed work.","href":"/en/run-your-first-task"},{"title":"Review a pull request","href":"/en/review-a-pull-request"},{"title":"Build your knowledge base","description":"Step-by-step: generate and grow a workspace knowledge base.","href":"/en/build-your-knowledge-base"},{"title":"Connect an MCP server","href":"/en/connect-an-mcp-server"}]},{"group":"Administration","icon":"shield","expanded":false,"pages":[{"title":"Settings","href":"/en/settings"},{"title":"Accounts and Cloud","href":"/en/accounts"},{"title":"Data and privacy","href":"/en/data-and-privacy"},{"title":"Updates","href":"/en/updates"}]}]},{"group":"Reference","pages":[{"group":"Adapters","icon":"plug","expanded":false,"pages":[{"title":"Claude Code adapter","href":"/en/adapter-claude-code"},{"title":"Codex adapter","href":"/en/adapter-codex"},{"title":"Gemini adapter","href":"/en/adapter-gemini"},{"title":"Cursor adapter","href":"/en/adapter-cursor"}]},{"group":"MCP server","icon":"brain","expanded":false,"pages":[{"title":"MCP server","href":"/en/mcp-server"}]},{"group":"Integrations","icon":"puzzle-piece","expanded":false,"pages":[{"title":"GitHub","href":"/en/integration-github"},{"title":"Azure DevOps","href":"/en/integration-azure-devops"}]}]}]},{"language":"pt","pages":[{"title":"pt","href":"/pt/review-a-pull-request"}]}]},"basePath":"","title":"Review a pull request - Orkestral","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":[],"chunks":[]}