đ° New: Triage â a self-updating cross-repository queue that prioritizes pull requests by value and risk, so you always know what to review next. Explore Triage â
CodeRabbit Explain is CodeRabbitâs review workspace: it turns a pull request into a structured, navigable artifact you can read, question, and act on in one place.
|
CodeRabbit Explain was formerly called Change Stack. You may still see the old name in some places in the product.
A pull request arrives as a flat list of files in alphabetical order, and nothing about that order reflects how the change was built or how it should be read. You have to work out for yourself which files belong together, where to start, and which parts depend on others.CodeRabbit Explain is CodeRabbitâs review workspace. It takes the same pull request and presents it as a structured artifact: grouped into coherent areas, ordered so foundations come before the code that depends on them, with every finding, summary, and graph anchored to the exact lines it is about.You read the change, ask questions about it, and comment, approve, or merge without leaving the page, depending on what your Git provider supports. You can also carry a review into a Slack or Discord thread, which Collaborate in Slack and Discord covers.
A pull request's Overview in CodeRabbit Explain, in an example repository: its layers in the rail, a summary of what changed, and what blocks the merge. The Summary's chips also count the merge conflict, rated Critical.
Review a pull request
Every CodeRabbit review comment carries an Explain Change button above the walkthrough. You can also open CodeRabbit Explain from or from a link a teammate shares.
The "Explain Change" button in a CodeRabbit review comment
1
Open the overview
Start with Overview to see the change summary, merge readiness, and items that need your attention.
2
Choose how to move through the change
Use the layer rail for the intended reading order or switch to the file view when you already know where to look. See Navigate a change.
3
Read the changes and findings
Inspect the relevant diffs, then use Needs your attention and the finding filters to decide what matters. See Read changes and Understand findings.
4
Ask for context when you need it
Open chat from a layer, file, or range to ask about the code in front of you. See Ask about the change.
5
Finish the review
Comment, submit your review, apply an eligible suggestion, or merge when your provider supports the action. See Review and merge and Provider support.
Using CodeRabbit Explain is voluntary. A teammate who prefers their providerâs own review interface can ignore the button and keep reviewing there.
How a change is structured
CodeRabbit Explain builds the pull request into a stack of numbered layers. A layer is a checkpoint in the change: a coherent step, with the files and review context that belong to it. Inside a layer are the changed files, and inside those are ranges: spans of source lines that carry a summary, a finding, or a review anchor.The range is the level that makes the rest work. Because summaries and findings attach to source spans rather than to whole files, CodeRabbit Explain can put a summary beside the lines it describes, jump from a finding on a dependency graph to the code that produced it, and tell you whether that finding is still open three pushes later.
One layer of the same example pull request, with a critical finding anchored to the lines it describes
How the layers are chosen
CodeRabbit reads the change and groups it, rather than splitting it by file or folder. A layer is meant to be a step a developer would recognize, so a contract and the code that implements it and the tests that cover it belong in one layer, not three. The layers are numbered in the order someone would explain the change, which is roughly the order it was built rather than commit order or diff order. Where one layer genuinely depends on another, that relationship is recorded rather than inferred from the numbering.Two consequences are worth knowing. File and directory boundaries are treated as evidence, not as rules, so a layer can span directories and a single directory can split across layers. And because the grouping is produced by a model as part of the review, it is fixed for a given snapshot but can legitimately come out differently when a later review run regenerates it. CodeRabbit is asked to keep titles and ordering that still hold, but that is not guaranteed.
CodeRabbit Explain shows CodeRabbitâs review scope, not necessarily every file on the pull request. Files excluded by default ignore rules or by configured path filters do not appear in layers or file counts.
What you read is a snapshot; what you act on is live
This is the one idea worth carrying into every other page.CodeRabbit Explain displays a snapshot, which is one completed review run against one head commit, and keeps earlier snapshots rather than replacing them. Everything you read comes from the snapshot you have open. Everything you do, such as submitting a review, applying a suggestion, or merging, targets the live pull request as it exists right now.Those two things diverge the moment someone pushes. That gap is not an implementation detail leaking through; it is the reason the merge control refuses a stale artifact, the reason a chat thread keeps answering about the change as it stood when you opened it, and the reason a link you paste into a review thread may show your colleague a different snapshot next week. Snapshots and freshness covers it in full, including which capabilities are pinned and which are live.
Availability
CodeRabbit Explain is on by default. There is no plan to upgrade to and no flag to switch on. If CodeRabbit reviews your pull requests, the artifact is generated and the button is there. Being enabled is not a promise that every artifact is complete: a generation step can fail or still be running, and CodeRabbit Explain says so rather than presenting a thin result as a finished one. It is supported on GitHub, GitLab, Bitbucket, and Azure DevOps, and self-hosted GitHub, GitLab, and Azure DevOps instances count as their cloud counterparts. A small number of Azure DevOps organizations are excluded from it; if the button never appears for your organization on Azure DevOps, that is the reason.The interface labels CodeRabbit Explain a preview. It is on for everyone, and it is still changing.Two capabilities inside CodeRabbit Explain carry their own gates rather than following the feature: chat is offered when your organizationâs plan enables it, and tasks are offered when your plan, your repository write access, and the provider connection all allow it. You can have one without the other.
Azure DevOps CodeRabbit Explain artifacts are read-only. You can read the change, the findings, and the graphs, but no live action is offered there: commenting, submitting a review, applying a suggestion, or merging. See provider support for the full matrix.
Whatâs next
PR Walkthroughs
See how the walkthrough comment structures every review and feeds the layer summaries in CodeRabbit Explain.
Collaborate in Slack and Discord
Carry a review into a chat destination and keep it fed with pull request events.
Triage
Prioritize your pull request queue and open the changes that need attention directly in CodeRabbit Explain.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CodeRabbit","description":"Guides for CodeRabbit, the trust layer for agentic software development: review, prioritize, understand, and secure changes across pull requests, your IDE, CLI, and team chat.","colors":{"primary":"#FF570A","light":"#FF570A","dark":"#FF570A"},"logo":{"light":"https://mintcdn.com/coderabbit/qAZa_d7FrwPO_w-O/coderabbit-logo-light.svg?fit=max\u0026auto=format\u0026n=qAZa_d7FrwPO_w-O\u0026q=85\u0026s=d2bf9e91be0e760ec9cb468676fa6ab6","dark":"https://mintcdn.com/coderabbit/qAZa_d7FrwPO_w-O/coderabbit-logo-dark.svg?fit=max\u0026auto=format\u0026n=qAZa_d7FrwPO_w-O\u0026q=85\u0026s=feeb1667ed4a2768a15b271f130395c0","href":"/"},"favicon":{"light":"https://mintcdn.com/coderabbit/qAZa_d7FrwPO_w-O/favicon-light.svg?fit=max\u0026auto=format\u0026n=qAZa_d7FrwPO_w-O\u0026q=85\u0026s=c0b0fbea23b48949cc631606f2a30022","dark":"https://mintcdn.com/coderabbit/qAZa_d7FrwPO_w-O/favicon-dark.svg?fit=max\u0026auto=format\u0026n=qAZa_d7FrwPO_w-O\u0026q=85\u0026s=4db7fc04860b6907c7f236f05b37f5c6"},"api":{"openapi":"openapi.json","playground":{"display":"simple"},"examples":{"languages":["curl","python","javascript"]}},"navbar":{"primary":{"type":"button","label":"Sign up","href":"https://app.coderabbit.ai/login?free-trial="}},"footer":{"socials":{"x":"https://x.com/coderabbitai","linkedin":"https://www.linkedin.com/company/coderabbitai","github":"https://github.com/coderabbitai","discord":"https://discord.gg/GsXnASn26c"},"links":[{"header":"Resources","items":[{"label":"Blog","href":"https://coderabbit.ai/blog"},{"label":"Pricing","href":"https://www.coderabbit.ai/pricing"},{"label":"Changelog","href":"https://docs.coderabbit.ai/changelog"},{"label":"Support knowledge base","href":"https://kb.coderabbit.ai"}]},{"header":"Quick links","items":[{"label":"Schedule a demo","href":"https://www.coderabbit.ai/contact-us/sales"},{"label":"Get support","href":"https://docs.coderabbit.ai/support"},{"label":"Status page","href":"https://status.coderabbit.ai"},{"label":"Terms of service","href":"https://www.coderabbit.ai/terms-of-service"},{"label":"Privacy Policy","href":"https://coderabbit.ai/privacy-policy"}]}]},"seo":{"metatags":{"description":"Guides for CodeRabbit, the trust layer for agentic software development: review, prioritize, understand, and secure changes across pull requests, your IDE, CLI, and team chat.","og:type":"website","og:site_name":"CodeRabbit Documentation","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@coderabbitai","canonical":"https://docs.coderabbit.ai"}},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Geist"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":true},"integrations":{"gtm":{"tagId":"GTM-5BWLXJRC"},"posthog":{"apiKey":"phc_6fDZRN9hYzB83I7Fk2GNHYqas4WMIdGBQ58aZ6EOZR0"}},"banner":{"content":"đ° New: **Triage** â a self-updating cross-repository queue that prioritizes pull requests by value and risk, so you always know what to review next. [Explore Triage â](/triage)","dismissible":true,"type":"info","color":{"light":"#171717","dark":"#171717"}},"errors":{"404":{"redirect":false,"title":"Page Not Found. Sorry!","description":"Try **Search** or **Ask AI** to find what you're looking for.\nPress \u003ckbd>âK\u003c/kbd> (Mac) or \u003ckbd>Ctrl+K\u003c/kbd> (Windows/Linux) to open the search.\n\n\nNeed help? [Get support](/support)."}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Quickstart","icon":"rocket","hidden":false,"href":"/getting-started/quickstart"},{"anchor":"Blog","icon":"pen-line","hidden":true,"href":"https://coderabbit.ai/blog"},{"anchor":"Changelog","icon":"history","href":"/changelog"},{"anchor":"Support","icon":"life-buoy","href":"/support"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/coderabbit"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"coderabbit","hasAudioNarration":false,"actualSubdomain":"coderabbit","customDomains":["docs.coderabbit.ai"],"gitSource":{"type":"github","owner":"coderabbitai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b023a6cd48387065b1ff60b","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API and MCP","count":193},{"language":"default","tag":"API reference","count":179},{"language":"default","tag":"Review","count":148},{"language":"default","tag":"Tools","count":61},{"language":"default","tag":"Per-tool guides","count":59},{"language":"default","tag":"Admin","count":56},{"language":"default","tag":"Agents","count":49},{"language":"default","tag":"Coding Agent","count":48},{"language":"default","tag":"Configuration","count":46},{"language":"default","tag":"Languages","count":39}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","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":"site-roles","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"change-stack","slug":"/change-stack","pageMetadata":{"title":"CodeRabbit Explain","sidebarTitle":"Explain overview","description":"CodeRabbit Explain is CodeRabbit's review workspace: it turns a pull request into a structured, navigable artifact you can read, question, and act on in one place.","mode":"wide","href":"/change-stack/index"},"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: \"CodeRabbit Explain is CodeRabbitâs review workspace: it turns a pull request into a structured, navigable artifact you can read, question, and act on in one place.\"\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];const Hint=({type,children,headline,tip,href,cta})=>{const{Tooltip}=_provideComponents()||{};if(!Tooltip)_missingMdxReference(`Tooltip`,true);const TIPS={learnings:{headline:`Learnings`,tip:`Review preferences CodeRabbit learns from your chat conversations and applies automatically to future reviews.`,cta:`Learn about Learnings`,href:`/knowledge-base/learnings`,content:`Learnings`},walkthrough:{headline:`PR Walkthrough`,tip:`A structured comment posted by CodeRabbit at the top of every pull request, summarizing changes, sequence diagrams, review effort, and more.`,cta:`Learn about PR Walkthroughs`,href:`/pr-reviews/walkthroughs`,content:`Walkthrough`},\"finishing-touches\":{headline:`Finishing Touches`,tip:`Post-review agentic actions (Fix comments, writing unit tests, and more) you trigger from a PR comment or a checkbox in the Walkthrough.`,cta:`See all Finishing Touches`,href:`/finishing-touches`,content:`Finishing Touches`},\"coding-plan\":{headline:`Coding Plan`,tip:`A detailed, codebase-aware implementation plan CodeRabbit generates from an issue or description, ready to hand off to any coding agent.`,cta:`Learn about Coding Plans`,href:`/plan`,content:`Coding Plan`},\"knowledge-base\":{headline:`Knowledge Base`,tip:`The collected context sources CodeRabbit draws on during reviews: Learnings, Code Guidelines, issue trackers, connected MCP servers, and cross-repo analysis.`,cta:`Explore the Knowledge Base`,href:`/knowledge-base`,content:`Knowledge Base`},\"path-instructions\":{headline:`Path Instructions`,tip:`Custom review rules that only apply to files matching a glob pattern, e.g. 'src/controllers/**'.`,cta:`Configure path instructions`,href:`/pr-reviews/review-instructions`,content:`Path Instructions`},explain:{headline:`CodeRabbit Explain`,tip:`An improved code inspection interface that reorganizes a pull request from a flat file list into a structured, layer-by-layer walkthrough with range-specific summaries and diagrams when useful.`,cta:`Learn about CodeRabbit Explain`,href:`/change-stack`,content:`CodeRabbit Explain`},scope:{headline:`Scope`,tip:`A shared set of repositories and connections that controls what CodeRabbit Agent can access in a given Slack conversation.`,cta:`Learn about Scopes`,href:`/slack-agent/scopes`,content:`Scope`},\"coderabbit-agent\":{headline:`CodeRabbit Agent for Slack`,tip:`An AI agent built into Slack that investigates issues, generates implementation plans, and opens pull requests right from the Slack threads.`,cta:`Explore CodeRabbit Agent`,href:`/slack-agent`,content:`CodeRabbit Agent`},\"configuration-inheritance\":{headline:`Configuration Inheritance`,tip:`A setting that merges configuration values across multiple levels â repository YAML, central YAML, and UI settings â instead of using only the highest-priority source.`,cta:`Learn about Configuration Inheritance`,href:`/configuration/inheritance-and-merging`,content:`Configuration Inheritance`},\"central-configuration\":{headline:`Central configuration`,tip:`A configuration file in a repository named coderabbit that applies to every repository in your organization that has no configuration file of its own.`,cta:`Learn about central configuration`,href:`/configuration/central`,content:`central configuration`},\"global-overrides\":{headline:`Global overrides`,tip:`Settings an administrator pins for a whole organization or workspace in the web app. They replace the same settings from every other place, so repositories can't change them.`,cta:`Learn about global overrides`,href:`/configuration/global-overrides`,content:`global overrides`},\"coding-agent\":{headline:`Coding Agent`,tip:`Turns a user request, a review finding, a coding plan or a failing CI check into a task that CodeRabbit's agent implements in the cloud, then delivers as a commit or a stacked pull request for you to approve.`,cta:`Learn about Coding Agent`,href:`/code`,content:`Coding Agent`},triage:{headline:`Triage`,tip:`A single cross-repository queue of open pull requests, ranked by what each one needs next and what acting on it is worth.`,cta:`Learn about Triage`,href:`/triage`,content:`Triage`}};const defaults=TIPS[type]||{};return _jsx(Tooltip,{headline:headline??defaults.headline,tip:tip??defaults.tip,cta:cta??defaults.cta,href:href??defaults.href,children:children??defaults.content})};const EarlyAccessBadge=({tip=\"This feature is in early access. Enable it by setting `early_access: true` in your `.coderabbit.yaml`, or by toggling Early Access on the web interface.\",title=`Early Access`,cta=`View configuration`,href=`/reference/configuration#param-early-access`,disabled=false})=>{const{Badge,Tooltip}=_provideComponents()||{};if(!Badge)_missingMdxReference(`Badge`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsx(Tooltip,{tip,cta,href,children:_jsx(Badge,{icon:`flask-conical`,disabled:disabled||undefined,children:title})})};const AzureBadge=({tip=`This feature is available on Azure DevOps.`,title=`Azure`,cta,href,disabled=false})=>{const{Badge,Tooltip}=_provideComponents()||{};if(!Badge)_missingMdxReference(`Badge`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsx(Tooltip,{tip,cta,href,children:_jsx(Badge,{icon:`microsoft`,disabled:disabled||undefined,children:title})})};const BitbucketBadge=({tip=`This feature is available on Bitbucket.`,title=`Bitbucket`,cta,href,disabled=false})=>{const{Badge,Tooltip}=_provideComponents()||{};if(!Badge)_missingMdxReference(`Badge`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsx(Tooltip,{tip,cta,href,children:_jsx(Badge,{icon:`bitbucket`,disabled:disabled||undefined,children:title})})};const GitLabBadge=({tip=`This feature is available on GitLab.`,title=`GitLab`,cta,href,disabled=false})=>{const{Badge,Tooltip}=_provideComponents()||{};if(!Badge)_missingMdxReference(`Badge`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsx(Tooltip,{tip,cta,href,children:_jsx(Badge,{icon:`gitlab`,disabled:disabled||undefined,children:title})})};const GitHubBadge=({tip=`This feature is available on GitHub and GitHub Enterprise.`,title=`GitHub`,cta,href,disabled=false})=>{const{Badge,Tooltip}=_provideComponents()||{};if(!Badge)_missingMdxReference(`Badge`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsx(Tooltip,{tip,cta,href,children:_jsx(Badge,{icon:`github`,disabled:disabled||undefined,children:title})})};function _createMdxContent(props){const _components={a:`a`,em:`em`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Card,CardGroup,Frame,Heading,Info,OptimizedImage,Step,Steps,Warning,_MdxComponentBoundary}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_MdxComponentBoundary,{name:`GitHubBadge`,children:_jsx(GitHubBadge,{})}),` `,_jsx(_MdxComponentBoundary,{name:`GitLabBadge`,children:_jsx(GitLabBadge,{})}),` `,_jsx(_MdxComponentBoundary,{name:`BitbucketBadge`,children:_jsx(BitbucketBadge,{tip:`CodeRabbit Explain is available on Bitbucket with authenticated access.`})}),` `,_jsx(_MdxComponentBoundary,{name:`AzureBadge`,children:_jsx(AzureBadge,{tip:`Azure DevOps CodeRabbit Explain artifacts are read-only.`})}),` | `,_jsx(_MdxComponentBoundary,{name:`EarlyAccessBadge`,children:_jsx(EarlyAccessBadge,{title:`Preview`,tip:`CodeRabbit Explain is in preview and still changing.`})})]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`CodeRabbit Explain was formerly called Change Stack. You may still see the old name in some places in the product.`})}),`\n`,_jsx(_components.p,{children:`A pull request arrives as a flat list of files in alphabetical order, and nothing about that order reflects how the change was built or how it should be read. You have to work out for yourself which files belong together, where to start, and which parts depend on others.`}),`\n`,_jsx(_components.p,{children:`CodeRabbit Explain is CodeRabbitâs review workspace. It takes the same pull request and presents it as a structured artifact: grouped into coherent areas, ordered so foundations come before the code that depends on them, with every finding, summary, and graph anchored to the exact lines it is about.`}),`\n`,_jsxs(_components.p,{children:[`You read the change, ask questions about it, and comment, approve, or merge without leaving the page, depending on what your `,_jsx(_components.a,{href:`/change-stack/provider-support`,children:`Git provider supports`}),`. You can also carry a review into a Slack or Discord thread, which `,_jsx(_components.a,{href:`/change-stack/notifications`,children:`Collaborate in Slack and Discord`}),` covers.`]}),`\n`,_jsx(Frame,{caption:`A pull request's Overview in CodeRabbit Explain, in an example repository: its layers in the rail, a summary of what changed, and what blocks the merge. The Summary's chips also count the merge conflict, rated Critical.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-overview.png?fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=0c1cc23dad5c792e1055ae24aedc977e`,alt:`Change Stack Overview for web-app pull request #482, 10 files on feat/teammate-invitations, with Approve and Submit review buttons in the top bar. The left rail lists the Overview, Security blast radius, Security architecture impact, and three layers. Tiles show 3 layers, 10 files with 354 additions and 3 deletions, and 2 findings, 1 Critical and 1 Major. The summary of what changed in each layer ends with chips for 2 Critical, which include the merge conflict, and 1 Major. Below it are 2 items to act on, 1 blocking merge: the branch conflicts with its base, with Ask CodeRabbit to resolve and View on GitHub buttons, and a critical CodeRabbit finding on lines 15 to 16 of src/server/invitations/invitationService.ts, with a View comment button.`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`2524`,height:`2524`,\"data-path\":`assets/images/change-stack-overview.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-overview.png?w=280\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=cffe281ce1d870a6223c796a9729df5d 280w, https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-overview.png?w=560\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=b27b6428c87a13f4327b88b69c79a0b0 560w, https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-overview.png?w=840\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=1f37c1f7c42629e2cf6a308dadb18a69 840w, https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-overview.png?w=1100\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=be46b0fb69e21fa3c8e21b5a4aac9015 1100w, https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-overview.png?w=1650\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=6d47dba2a5afa3e4bde991dca6ce663d 1650w, https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-overview.png?w=2500\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=e69479c4ab4d3fb45f535f3d5865538c 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`review-a-pull-request`,children:`Review a pull request`}),`\n`,_jsxs(_components.p,{children:[`Every CodeRabbit review comment carries an `,_jsx(_components.strong,{children:`Explain Change`}),` button above the `,_jsx(_components.a,{href:`/pr-reviews/walkthroughs`,children:`walkthrough`}),`. You can also open CodeRabbit Explain from `,_jsx(_MdxComponentBoundary,{name:`Hint`,children:_jsx(Hint,{type:`triage`})}),` or from a link a teammate shares.`]}),`\n`,_jsx(Frame,{caption:`The \"Explain Change\" button in a CodeRabbit review comment`,children:_jsx(OptimizedImage,{width:`600`,src:`https://mintcdn.com/coderabbit/87g3IhnW2HbTwfiA/assets/images/change-stack-button.png?fit=max\u0026auto=format\u0026n=87g3IhnW2HbTwfiA\u0026q=85\u0026s=67e8e9964ad3658d72f2ea577f695a01`,alt:`CodeRabbit review comment showing the Explain Change button above the Walkthrough, Merge Risk, Security architecture risk, Pre-merge checks, and Finishing Touches sections`,\"data-og-width\":`2000`,\"data-og-height\":`739`,\"data-path\":`assets/images/change-stack-button.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/coderabbit/87g3IhnW2HbTwfiA/assets/images/change-stack-button.png?w=280\u0026fit=max\u0026auto=format\u0026n=87g3IhnW2HbTwfiA\u0026q=85\u0026s=739a805e15ba9434f9fd6f4ee7a9c220 280w, https://mintcdn.com/coderabbit/87g3IhnW2HbTwfiA/assets/images/change-stack-button.png?w=560\u0026fit=max\u0026auto=format\u0026n=87g3IhnW2HbTwfiA\u0026q=85\u0026s=3f5d9c8de9c482c228b62cb2c89b2488 560w, https://mintcdn.com/coderabbit/87g3IhnW2HbTwfiA/assets/images/change-stack-button.png?w=840\u0026fit=max\u0026auto=format\u0026n=87g3IhnW2HbTwfiA\u0026q=85\u0026s=2092d2d0ff09dde660ac284a9fcb5b53 840w, https://mintcdn.com/coderabbit/87g3IhnW2HbTwfiA/assets/images/change-stack-button.png?w=1100\u0026fit=max\u0026auto=format\u0026n=87g3IhnW2HbTwfiA\u0026q=85\u0026s=72bb021950ad808892cb17f33532d722 1100w, https://mintcdn.com/coderabbit/87g3IhnW2HbTwfiA/assets/images/change-stack-button.png?w=1650\u0026fit=max\u0026auto=format\u0026n=87g3IhnW2HbTwfiA\u0026q=85\u0026s=214025b4cc378a232ecd11d2de96ed89 1650w, https://mintcdn.com/coderabbit/87g3IhnW2HbTwfiA/assets/images/change-stack-button.png?w=2500\u0026fit=max\u0026auto=format\u0026n=87g3IhnW2HbTwfiA\u0026q=85\u0026s=950c8952acd2ae620df1e7e9ac39d9b3 2500w`})}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the overview`,children:_jsxs(_components.p,{children:[`Start with `,_jsx(_components.strong,{children:`Overview`}),` to see the change summary, merge readiness, and items that need your attention.`]})}),_jsx(Step,{title:`Choose how to move through the change`,children:_jsxs(_components.p,{children:[`Use the layer rail for the intended reading order or switch to the file view when you already know where to look. See `,_jsx(_components.a,{href:`/change-stack/navigation`,children:`Navigate a change`}),`.`]})}),_jsx(Step,{title:`Read the changes and findings`,children:_jsxs(_components.p,{children:[`Inspect the relevant diffs, then use `,_jsx(_components.strong,{children:`Needs your attention`}),` and the finding filters to decide what matters. See `,_jsx(_components.a,{href:`/change-stack/reading-diffs`,children:`Read changes`}),` and `,_jsx(_components.a,{href:`/change-stack/findings`,children:`Understand findings`}),`.`]})}),_jsx(Step,{title:`Ask for context when you need it`,children:_jsxs(_components.p,{children:[`Open chat from a layer, file, or range to ask about the code in front of you. See `,_jsx(_components.a,{href:`/change-stack/chat`,children:`Ask about the change`}),`.`]})}),_jsx(Step,{title:`Finish the review`,children:_jsxs(_components.p,{children:[`Comment, submit your review, apply an eligible suggestion, or merge when your provider supports the action. See `,_jsx(_components.a,{href:`/change-stack/reviewing`,children:`Review and merge`}),` and `,_jsx(_components.a,{href:`/change-stack/provider-support`,children:`Provider support`}),`.`]})})]}),`\n`,_jsx(_components.p,{children:`Using CodeRabbit Explain is voluntary. A teammate who prefers their providerâs own review interface can ignore the button and keep reviewing there.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-a-change-is-structured`,children:`How a change is structured`}),`\n`,_jsxs(_components.p,{children:[`CodeRabbit Explain builds the pull request into a `,_jsx(_components.strong,{children:`stack`}),` of numbered `,_jsx(_components.strong,{children:`layers`}),`. A layer is a checkpoint in the change: a coherent step, with the files and review context that belong to it. Inside a layer are the changed `,_jsx(_components.strong,{children:`files`}),`, and inside those are `,_jsx(_components.strong,{children:`ranges`}),`: spans of source lines that carry a summary, a finding, or a review anchor.`]}),`\n`,_jsx(_components.p,{children:`The range is the level that makes the rest work. Because summaries and findings attach to source spans rather than to whole files, CodeRabbit Explain can put a summary beside the lines it describes, jump from a finding on a dependency graph to the code that produced it, and tell you whether that finding is still open three pushes later.`}),`\n`,_jsx(Frame,{caption:`One layer of the same example pull request, with a critical finding anchored to the lines it describes`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-layer.png?fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=a3c5f0cfef8d200cd9135e391046d3a6`,alt:`Change Stack showing layer 2, Add the invitation API and emails, with the diff of invitationService.ts. A CodeRabbit comment on lines 15 to 16 sits right under the line that builds the invite token with Math.random and says that tokens generated this way are not cryptographically secure.`,\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`2092`,height:`2092`,\"data-path\":`assets/images/change-stack-layer.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-layer.png?w=280\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=75c5bf49728eaed1d23bc0de793ad1eb 280w, https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-layer.png?w=560\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=4ae6c0e6a10c5c137b57b93c8c916cb1 560w, https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-layer.png?w=840\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=a6ea5335d74de2b66012646bba8dba80 840w, https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-layer.png?w=1100\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=98dbbdcb493c703a1b374a18379ba273 1100w, https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-layer.png?w=1650\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=1d9d0d6e94eb1e50de44fc52b0a85abc 1650w, https://mintcdn.com/coderabbit/CVBNRUKgKs42eM6g/assets/images/change-stack-layer.png?w=2500\u0026fit=max\u0026auto=format\u0026n=CVBNRUKgKs42eM6g\u0026q=85\u0026s=d9efade73dd4d7018d20c9de2ae5f41c 2500w`})}),`\n`,_jsx(Heading,{level:`3`,id:`how-the-layers-are-chosen`,children:`How the layers are chosen`}),`\n`,_jsx(_components.p,{children:`CodeRabbit reads the change and groups it, rather than splitting it by file or folder. A layer is meant to be a step a developer would recognize, so a contract and the code that implements it and the tests that cover it belong in one layer, not three. The layers are numbered in the order someone would explain the change, which is roughly the order it was built rather than commit order or diff order. Where one layer genuinely depends on another, that relationship is recorded rather than inferred from the numbering.`}),`\n`,_jsx(_components.p,{children:`Two consequences are worth knowing. File and directory boundaries are treated as evidence, not as rules, so a layer can span directories and a single directory can split across layers. And because the grouping is produced by a model as part of the review, it is fixed for a given snapshot but can legitimately come out differently when a later review run regenerates it. CodeRabbit is asked to keep titles and ordering that still hold, but that is not guaranteed.`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`CodeRabbit Explain shows CodeRabbitâs review scope, not necessarily every file on the pull request. Files excluded by default ignore rules or by configured `,_jsx(_components.a,{href:`/pr-reviews/which-files`,children:`path filters`}),` do not appear in layers or file counts.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-read-is-a-snapshot-what-you-act-on-is-live`,children:`What you read is a snapshot; what you act on is live`}),`\n`,_jsx(_components.p,{children:`This is the one idea worth carrying into every other page.`}),`\n`,_jsxs(_components.p,{children:[`CodeRabbit Explain displays a `,_jsx(_components.strong,{children:`snapshot`}),`, which is one completed review run against one head commit, and keeps earlier snapshots rather than replacing them. Everything you read comes from the snapshot you have open. Everything you `,_jsx(_components.em,{children:`do`}),`, such as submitting a review, applying a suggestion, or merging, targets the `,_jsx(_components.strong,{children:`live`}),` pull request as it exists right now.`]}),`\n`,_jsxs(_components.p,{children:[`Those two things diverge the moment someone pushes. That gap is not an implementation detail leaking through; it is the reason the merge control refuses a stale artifact, the reason a chat thread keeps answering about the change as it stood when you opened it, and the reason a link you paste into a review thread may show your colleague a different snapshot next week. `,_jsx(_components.a,{href:`/change-stack/snapshots`,children:`Snapshots and freshness`}),` covers it in full, including which capabilities are pinned and which are live.`]}),`\n`,_jsx(Heading,{level:`2`,id:`availability`,children:`Availability`}),`\n`,_jsx(_components.p,{children:`CodeRabbit Explain is on by default. There is no plan to upgrade to and no flag to switch on. If CodeRabbit reviews your pull requests, the artifact is generated and the button is there. Being enabled is not a promise that every artifact is complete: a generation step can fail or still be running, and CodeRabbit Explain says so rather than presenting a thin result as a finished one. It is supported on GitHub, GitLab, Bitbucket, and Azure DevOps, and self-hosted GitHub, GitLab, and Azure DevOps instances count as their cloud counterparts. A small number of Azure DevOps organizations are excluded from it; if the button never appears for your organization on Azure DevOps, that is the reason.`}),`\n`,_jsxs(_components.p,{children:[`The interface labels CodeRabbit Explain a `,_jsx(_components.strong,{children:`preview`}),`. It is on for everyone, and it is still changing.`]}),`\n`,_jsxs(_components.p,{children:[`Two capabilities inside CodeRabbit Explain carry their own gates rather than following the feature: `,_jsx(_components.strong,{children:`chat`}),` is offered when your organizationâs `,_jsx(_components.a,{href:`/management/plans`,children:`plan`}),` enables it, and `,_jsxs(_components.strong,{children:[_jsx(_MdxComponentBoundary,{name:`Hint`,children:_jsx(Hint,{type:`coding-agent`})}),` tasks`]}),` are offered when your plan, your repository write access, and the provider connection all allow it. You can have one without the other.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Azure DevOps CodeRabbit Explain artifacts are `,_jsx(_components.strong,{children:`read-only`}),`. You can read the change, the findings, and the graphs, but no live action is offered there: commenting, submitting a review, applying a suggestion, or merging. See `,_jsx(_components.a,{href:`/change-stack/provider-support`,children:`provider support`}),` for the full matrix.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`whatâs-next`,children:`Whatâs next`}),`\n`,_jsxs(CardGroup,{cols:1,children:[_jsx(Card,{title:`PR Walkthroughs`,href:`/pr-reviews/walkthroughs`,icon:`list-tree`,horizontal:true,children:_jsx(_components.p,{children:`See how the walkthrough comment structures every review and feeds the layer summaries in CodeRabbit Explain.`})}),_jsx(Card,{title:`Collaborate in Slack and Discord`,href:`/change-stack/notifications`,icon:`bell`,horizontal:true,children:_jsx(_components.p,{children:`Carry a review into a chat destination and keep it fed with pull request events.`})}),_jsx(Card,{title:`Triage`,href:`/triage`,icon:`list-filter`,horizontal:true,children:_jsx(_components.p,{children:`Prioritize your pull request queue and open the changes that need attention directly in CodeRabbit Explain.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{Hint,EarlyAccessBadge,AzureBadge,BitbucketBadge,GitLabBadge,GitHubBadge,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":"CodeRabbit Explain","sidebarTitle":"Explain overview","description":"CodeRabbit Explain is CodeRabbit's review workspace: it turns a pull request into a structured, navigable artifact you can read, question, and act on in one place.","mode":"wide","href":"/change-stack/index"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[140,6514,")=>null;const EarlyAccessBadge=()=>null;const AzureBadge=()=>null;const BitbucketBadge=()=>null;const GitLabBadge=()=>null;const GitHubBadge=()=>null;function _"]]},"mdxExtracts":{"tableOfContents":[{"title":"Review a pull request","slug":"review-a-pull-request","depth":2,"children":[]},{"title":"How a change is structured","slug":"how-a-change-is-structured","depth":2,"children":[{"title":"How the layers are chosen","slug":"how-the-layers-are-chosen","depth":3,"children":[]}]},{"title":"What you read is a snapshot; what you act on is live","slug":"what-you-read-is-a-snapshot-what-you-act-on-is-live","depth":2,"children":[]},{"title":"Availability","slug":"availability","depth":2,"children":[]},{"title":"Whatâs next","slug":"whatâs-next","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/coderabbit/c83587702ff75216/inkeep.js","/_mintlify/custom/coderabbit/b7ecafa4358af1c7/yaml-editor.js","/_mintlify/custom/coderabbit/44fd990531d7b83e/acquisition.js"],"subdomain":"coderabbit","siteName":"CodeRabbit","title":"CodeRabbit Explain - CodeRabbit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T10:00:20.412Z","originalFileLocation":"change-stack/index.mdx"},"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=\"system\"}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=\"CodeRabbit Explain is CodeRabbit\u0026#x27;s review workspace: it turns a pull request into a structured, navigable artifact you can read, question, and act on in one place.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CodeRabbit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_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/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_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/coderabbit/d4muCEkFHyXyjg4k/_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/coderabbit/d4muCEkFHyXyjg4k/_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/coderabbit/d4muCEkFHyXyjg4k/_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/coderabbit/d4muCEkFHyXyjg4k/_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/coderabbit/d4muCEkFHyXyjg4k/_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/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"CodeRabbit Explain - CodeRabbit\">\u003cmeta data-mint-head property=\"og:description\" content=\"CodeRabbit Explain is CodeRabbit\u0026#x27;s review workspace: it turns a pull request into a structured, navigable artifact you can read, question, and act on in one place.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CodeRabbit Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.coderabbit.ai/change-stack\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://coderabbit.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=CodeRabbit+Explain\u0026amp;description=CodeRabbit+Explain+is+CodeRabbit%27s+review+workspace%3A+it+turns+a+pull+request+into+a+structured%2C+navigable+artifact+you+can+read%2C+question%2C+and+act+on+in+one+pla\u0026amp;theme=e25dc9e67170d7dae31e0b2f\u0026amp;signature=327fb81143ff7a151e65e49caf6330834f2143b85f29915b518e1c46a3b1d52f\">\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=\"CodeRabbit Explain - CodeRabbit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"CodeRabbit Explain is CodeRabbit\u0026#x27;s review workspace: it turns a pull request into a structured, navigable artifact you can read, question, and act on in one place.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://coderabbit.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=CodeRabbit+Explain\u0026amp;description=CodeRabbit+Explain+is+CodeRabbit%27s+review+workspace%3A+it+turns+a+pull+request+into+a+structured%2C+navigable+artifact+you+can+read%2C+question%2C+and+act+on+in+one+pla\u0026amp;theme=e25dc9e67170d7dae31e0b2f\u0026amp;signature=327fb81143ff7a151e65e49caf6330834f2143b85f29915b518e1c46a3b1d52f\">\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/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CodeRabbit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF570A\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.coderabbit.ai/change-stack\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/change-stack.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.coderabbit.ai/#organization\",\"name\":\"CodeRabbit\",\"url\":\"https://docs.coderabbit.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/coderabbit/qAZa_d7FrwPO_w-O/coderabbit-logo-light.svg?fit=max\u0026auto=format\u0026n=qAZa_d7FrwPO_w-O\u0026q=85\u0026s=d2bf9e91be0e760ec9cb468676fa6ab6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.coderabbit.ai#website\",\"name\":\"CodeRabbit\",\"url\":\"https://docs.coderabbit.ai\",\"publisher\":{\"@id\":\"https://docs.coderabbit.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.coderabbit.ai/change-stack#webpage\",\"url\":\"https://docs.coderabbit.ai/change-stack\",\"name\":\"CodeRabbit Explain\",\"description\":\"CodeRabbit Explain is CodeRabbit's review workspace: it turns a pull request into a structured, navigable artifact you can read, question, and act on in one place.\",\"dateModified\":\"2026-11-20T10:00:20.412Z\",\"isPartOf\":{\"@id\":\"https://docs.coderabbit.ai#website\"}},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.coderabbit.ai/change-stack#article\",\"headline\":\"CodeRabbit Explain\",\"name\":\"CodeRabbit Explain\",\"description\":\"CodeRabbit Explain is CodeRabbit's review workspace: it turns a pull request into a structured, navigable artifact you can read, question, and act on in one place.\",\"url\":\"https://docs.coderabbit.ai/change-stack\",\"mainEntityOfPage\":{\"@id\":\"https://docs.coderabbit.ai/change-stack#webpage\"},\"dateModified\":\"2026-11-20T10:00:20.412Z\",\"publisher\":{\"@id\":\"https://docs.coderabbit.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.coderabbit.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CodeRabbit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CodeRabbit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/change-stack.md","siteName":"CodeRabbit","nav":{"global":{"anchors":[{"anchor":"Quickstart","icon":"rocket","hidden":false,"href":"/getting-started/quickstart"},{"anchor":"Blog","icon":"pen-line","hidden":true,"href":"https://coderabbit.ai/blog"},{"anchor":"Changelog","icon":"history","href":"/changelog"},{"anchor":"Support","icon":"life-buoy","href":"/support"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/coderabbit"}]},"tabs":[{"tab":"Review","icon":"git-pull-request","pages":[{"title":"Review","href":""}]},{"tab":"Triage","icon":"list-filter","pages":[{"title":"Triage","href":"/triage"}]},{"tab":"Explain","icon":"layers","pages":[{"title":"CodeRabbit Explain","sidebarTitle":"Explain overview","mode":"wide","href":"/change-stack"},{"title":"Navigate a change","sidebarTitle":"Navigation","description":"Move between views, layers, and files, search the artifact, track what you have already read, and share a link that points where you mean.","href":"/change-stack/navigation"},{"title":"Read changes","href":"/change-stack/reading-diffs"},{"title":"Understand findings","sidebarTitle":"Findings","href":"/change-stack/findings"},{"title":"Review and merge","sidebarTitle":"Review and merge","href":"/change-stack/reviewing"},{"title":"Ask about the change","sidebarTitle":"Chat","href":"/change-stack/chat"},{"title":"Collaborate in Slack and Discord","sidebarTitle":"Slack and Discord collaboration","href":"/change-stack/notifications"},{"title":"Snapshots and freshness","sidebarTitle":"Snapshots","href":"/change-stack/snapshots"},{"title":"Provider support","href":"/change-stack/provider-support"}]},{"tab":"Verify","icon":"flask-conical","pages":[{"title":"Verify","href":"/verify"}]},{"tab":"Secure","icon":"shield-check","pages":[{"title":"Secure","href":"/security"}]},{"tab":"Agents","icon":"bot","menu":[{"item":"Coding Agent","icon":"square-code","description":"Delegate coding tasks from the web app","pages":[{"title":"Coding Agent","href":"/code"}]},{"item":"Agent for Slack","icon":"slack","description":"Ask, plan and open pull requests from Slack","pages":[{"title":"Agent for Slack","href":"/agent"}]},{"item":"Agent for Discord","icon":"discord","description":"The same agent in Discord","pages":[{"title":"Agent for Discord","href":"/discord-agent"}]},{"item":"Automations","icon":"workflow","description":"Triggers, instructions and destinations","pages":[{"title":"Automations","href":"/automations"}]}],"pages":[{"title":"Agents","href":"/code"}]},{"tab":"CLI and IDE","icon":"square-terminal","pages":[{"title":"CLI and IDE","href":"/cli-ide-overview"}]},{"tab":"API and MCP","icon":"braces","pages":[{"title":"API and MCP","href":"/api"}]},{"tab":"Admin","icon":"wrench","pages":[{"title":"Admin","href":"/management"}]}]},"basePath":"","title":"CodeRabbit Explain - CodeRabbit","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["10e4515597","07c022d89b","a74be98ba7"],"chunks":["BannerMarkdown-BOAJk9BH.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","Frame-D0FT0qQs.js","DynamicMarkdown-CQM9Bhbv.js","zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js"]}