# open-code-review | Alibaba | Knowledge Base | Instagit

Open-source & free — Battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in fine-tuned ruleset (NPE, thread-safety, XSS, SQL injection), OpenAI & Anthropic compatible.

GitHub Stars: 12.3k

Repository: https://github.com/alibaba/open-code-review

---

## Articles

### [How the Comment Reflection Module Improves Review Accuracy in Alibaba Open-Code-Review](/alibaba/open-code-review/how-does-the-comment-reflection-module-improve-review-accuracy)

Discover how Alibaba Open-Code-Review's comment reflection module boosts review accuracy by validating AI suggestions, catching errors before they reach developers, and ensuring precise comment positioning.

- Tags: deep-dive
- Published: 2026-08-06

### [What Is the Manifest Hash and Its Role in Session Integrity in Open‑Code‑Review](/alibaba/open-code-review/what-is-the-manifest-hash-and-its-role-in-session-integrity)

Understand the manifest hash in Open Code Review. This SHA-256 fingerprint ensures session integrity for review runs through deterministic verification and tamper detection.

- Tags: deep-dive
- Published: 2026-08-06

### [How OpenCodeReview Handles Large Changesets: Scalable Architecture Explained](/alibaba/open-code-review/how-does-open-code-review-handle-very-large-changesets)

Discover how OpenCodeReview scales to handle large changesets by batching, parallel processing, and streaming LLM responses. Learn about its efficient architecture.

- Tags: architecture
- Published: 2026-08-06

### [Open Code Review Agent Tools: Available Tools and Phase-Based Selection](/alibaba/open-code-review/what-tools-are-available-to-the-review-agent-and-how-are-they-selected)

Explore Open Code Review agent tools. Discover the six available tools and understand how they are automatically selected based on the review phase using plan_task and main_task flags.

- Tags: how-to-guide
- Published: 2026-08-06

### [How the Open Code Review Session Viewer Interface Works: Architecture, Security, and Data Flow](/alibaba/open-code-review/how-does-the-session-viewer-interface-work)

Explore the alibaba/open-code-review Session Viewer interface. Understand its three-layer HTTP server architecture, host-guard security, and data flow for browsing and replaying code reviews.

- Tags: architecture
- Published: 2026-08-06

### [How to Customize OpenCodeReview Output Format for JSON and Agent Workflows](/alibaba/open-code-review/how-to-customize-open-code-review-output-format-json-text-agent)

Customize OpenCodeReview output to JSON or agent format. Learn how to generate machine-readable data for CI pipelines and autonomous agents with simple command-line options.

- Tags: how-to-guide
- Published: 2026-08-06

### [Performance Implications of max-tools and max-git-procs Settings in Open Code Review](/alibaba/open-code-review/performance-implications-of-max-tools-and-max-git-procs-settings)

Optimize Open Code Review performance by understanding max-tools and max-git-procs. Learn how these settings impact LLM analysis and Git operations for faster scans and reduced latency.

- Tags: performance
- Published: 2026-08-06

### [OpenCodeReview Scan vs Review: Understanding the Difference Between OCR Commands](/alibaba/open-code-review/what-is-the-difference-between-scan-and-review-commands-in-open-code-review)

Understand the OpenCodeReview scan vs review commands. Discover how scan performs full-file analysis while review focuses on Git diffs for efficient code audits and reviews.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Debug Suboptimal Review Quality or Misplaced Comments in Open Code Review](/alibaba/open-code-review/how-to-debug-suboptimal-review-quality-or-misplaced-comments)

Debug suboptimal review quality or misplaced comments in Open Code Review by enabling debug mode. Trace issues from LLM output to final payload to identify generation, sanitization, or positioning problems.

- Tags: how-to-guide
- Published: 2026-08-06

### [Open Code Review Token Budget System: How to Configure max-tokens-budget](/alibaba/open-code-review/what-is-the-token-budget-system-and-how-to-configure-max-tokens-budget)

Configure Open Code Review's max-tokens-budget to control LLM token consumption. Understand the token budget system and prevent exceeding limits for efficient code reviews.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Provide Business Context Using Background Flags in Open-Code-Review](/alibaba/open-code-review/how-to-provide-business-context-using-background-flags)

Learn to provide business context in Open-Code-Review using background flags. Inject domain specific requirements into LLM prompts with --background or --background-file.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Exclude Specific Files or Patterns from OpenCodeReview: 3 Configuration Methods](/alibaba/open-code-review/how-to-exclude-specific-files-or-patterns-from-open-code-review)

Learn to exclude specific files from OpenCodeReview using CLI flags, rule.json, or default patterns. Master your code review filtering with three powerful methods.

- Tags: how-to-guide
- Published: 2026-08-06

### [Workspace, Range, and Commit Review Modes in Open Code Review: A Complete Comparison](/alibaba/open-code-review/what-are-the-differences-between-workspace-range-and-commit-review-modes)

Compare Open Code Review's Workspace, Range, and Commit modes. Understand differences in Git change sourcing, session resumption, and file analysis to choose the best review approach.

- Tags: comparison
- Published: 2026-08-06

### [How MCP Server Integration Enhances Code Review Agents in Open‑Code‑Review](/alibaba/open-code-review/how-does-mcp-server-integration-enhance-review-agent-capabilities)

Discover how MCP server integration enhances Open Code Review agents by enabling dynamic external tool registration for sandboxed functionality without core modifications.

- Tags: deep-dive
- Published: 2026-08-06

### [How to Set Up Custom Review Rules with Path Filtering in Open-Code-Review](/alibaba/open-code-review/how-to-set-up-custom-review-rules-with-path-filtering)

Learn to set up custom review rules with path filtering in Open-Code-Review. Control LLM instructions based on file paths using the rule priority chain for efficient code reviews.

- Tags: how-to-guide
- Published: 2026-08-06

### [What Is Delegation Mode in OpenCodeReview? How It Works With AI Agents](/alibaba/open-code-review/what-is-delegation-mode-in-open-code-review-and-how-does-it-work-with-ai-agents)

Discover delegation mode in OpenCodeReview. Learn how OCR selects files and creates review specs without LLMs, offloading AI analysis to host agents like Claude Code.

- Tags: deep-dive
- Published: 2026-08-06

### [How to Use the Session Resume Feature for Interrupted Reviews in Open Code Review](/alibaba/open-code-review/how-to-use-the-session-resume-feature-for-interrupted-reviews)

Learn to use Open Code Review's session resume feature to pick up interrupted reviews without re-scanning files. Save time and effort with the --resume flag.

- Tags: how-to-guide
- Published: 2026-08-06

### [Comment Positioning Module Explained: How Alibaba Open Code Review Achieves Precise AI Comment Placement](/alibaba/open-code-review/what-is-the-comment-positioning-module-and-its-accuracy-benefits)

Alibaba Open Code Review's comment positioning module precisely maps AI feedback to source code, boosting placement accuracy by 30% and eliminating misalignment. Learn how.

- Tags: internals
- Published: 2026-08-06

### [How to Configure Custom LLM Providers in Open Code Review](/alibaba/open-code-review/how-to-configure-custom-llm-providers-in-open-code-review)

Configure custom LLM providers in Open Code Review easily. Define them in config.json or use the interactive wizard for seamless integration.

- Tags: how-to-guide
- Published: 2026-08-06

### [How OpenCodeReview Handles File Bundling for Related Files: A Deep Dive into the Diff Resolution Pipeline](/alibaba/open-code-review/how-does-opencodereview-handle-file-bundling-for-related-files)

Discover how OpenCodeReview bundles related files, preserving semantic context for LLM analysis through its diff resolution pipeline. Learn about renaming, moving, and module linking.

- Tags: deep-dive
- Published: 2026-08-06

### [Key Data Models in Alibaba Open Code Review: A Complete Guide](/alibaba/open-code-review/what-are-the-key-data-models-used-in-open-code-review)

Explore Alibaba Open Code Review's key data models like Diff, ScanItem, and LlmComment. Understand the core structs powering the code review pipeline from diff parsing to LLM suggestions.

- Tags: deep-dive
- Published: 2026-08-04

### [How OpenCodeReview Integrates with CI/CD Pipelines: A Complete Technical Guide](/alibaba/open-code-review/how-does-open-code-review-integrate-with-ci-cd-pipelines)

Learn how OpenCodeReview integrates with CI/CD pipelines using its deterministic CLI tool. Automate code reviews and post comments natively on GitHub Actions, GitLab CI, and Bitbucket.

- Tags: how-to-guide
- Published: 2026-08-04

### [Extensibility Options for Open-Code-Review: A Complete Guide to Customizing Your Review Workflow](/alibaba/open-code-review/what-are-the-extensibility-options-for-open-code-review)

Explore Open Code Review extensibility options. Customize your workflow with agent plugins, MCP servers, dynamic tools, and rules. Integrate with Claude Code, OpenCode, Cursor, and more.

- Tags: how-to-guide
- Published: 2026-08-04

### [How Open‑Code‑Review Handles Pull Request Merging: A Technical Deep Dive](/alibaba/open-code-review/how-does-open-code-review-handle-pull-request-merging)

Discover how Open-Code-Review handles pull request merging by computing merge bases and generating diffs for LLM review without altering repository state. Learn the technical details.

- Tags: deep-dive
- Published: 2026-08-04

### [How to Set Up a Development Environment for OpenCodeReview: Complete Guide](/alibaba/open-code-review/what-is-the-recommended-way-to-set-up-a-development-environment-for-open-code-review)

Easily set up your development environment for alibaba/open-code-review. Follow our complete guide for Go and React setup, ensuring a smooth contribution experience.

- Tags: how-to-guide
- Published: 2026-08-04

### [How open-code-review Supports Different Programming Languages: Rule-Based Architecture Explained](/alibaba/open-code-review/how-does-open-code-review-support-different-programming-languages)

Discover how open-code-review supports diverse programming languages using a rule-based architecture. Get precise, idiomatic code reviews with LLM-powered contextual guidelines.

- Tags: architecture
- Published: 2026-08-04

### [Security Best Practices for Running Open‑Code‑Review: A Complete Deployment Guide](/alibaba/open-code-review/what-are-the-security-best-practices-for-running-open-code-review)

Secure your Open Code Review deployment with best practices. Learn to isolate credentials, verify signatures, and prevent secret leakage in CI pipelines.

- Tags: best-practices
- Published: 2026-08-04

### [How to Customize the Open-Code-Review Interface: A Developer's Guide](/alibaba/open-code-review/how-can-i-customize-the-open-code-review-interface)

Customize the open-code-review interface by modifying React components, registering LLM providers, authoring YAML rules, or building plugins. Enhance your developer workflow with alibaba open-code-review.

- Tags: how-to-guide
- Published: 2026-08-04

### [Reporting and Analytics in Open Code Review: CLI, Telemetry, and CI Integration](/alibaba/open-code-review/what-kind-of-reporting-or-analytics-are-available-in-open-code-review)

Explore reporting and analytics in Open Code Review. Discover CLI inspection, OpenTelemetry for LLM metrics, and CI integration for streamlined code review processes.

- Tags: how-to-guide
- Published: 2026-08-04

### [How open-code-review Handles Diff Viewing and Annotation: A Deep Dive into the Go Implementation](/alibaba/open-code-review/how-does-open-code-review-handle-diff-viewing-and-annotation)

Discover how open-code-review efficiently handles diff viewing and annotation through a four-stage pipeline in its Go implementation. Explore structured diff parsing and interactive inline comments.

- Tags: deep-dive
- Published: 2026-08-04

### [Open-Code-Review Deployment Requirements: Complete Setup Guide](/alibaba/open-code-review/what-are-the-deployment-requirements-for-open-code-review)

Discover Open Code Review deployment requirements. Install Git, Node.js or pre-compiled binaries for Linux, macOS, or Windows. Build from source with Go 1.22+. Get the complete setup guide now.

- Tags: how-to-guide
- Published: 2026-08-04

### [How to Contribute to the Development of OpenCodeReview: A Complete Guide](/alibaba/open-code-review/how-can-i-contribute-to-the-development-of-open-code-review)

Contribute to open-code-review development. Fork the Alibaba repo, set up Go 1.25+, follow Conventional Commits, and submit a PR passing make test and CLA checks. Start contributing today!

- Tags: how-to-guide
- Published: 2026-08-04

### [What Notifications Does Open Code Review Support? Gerrit Integration Guide](/alibaba/open-code-review/what-kind-of-notifications-does-open-code-review-support)

Learn what notifications Open Code Review supports through Gerrit integration. Discover how to configure notifications like ALL, NONE, CC, and OWNER for your workflow.

- Tags: how-to-guide
- Published: 2026-08-04

### [How the Code Review Process Is Initiated in Open-Code-Review: CLI Pipeline Explained](/alibaba/open-code-review/how-is-the-code-review-process-initiated-in-open-code-review)

Initiate the code review process in Open-Code-Review using the `ocr review` CLI command. Discover the 12-step pipeline that validates, configures LLM, and analyzes diffs.

- Tags: how-to-guide
- Published: 2026-08-04

### [Performance Considerations for Open Code Review: Token Budgets and Resource Guards](/alibaba/open-code-review/what-are-the-performance-considerations-for-open-code-review)

Discover performance considerations for Open Code Review including token budgets and resource guards. Optimize LLM API usage and prevent memory overflow with these essential features.

- Tags: performance
- Published: 2026-08-04

### [How OpenCodeReview Manages Code Review Workflows: Architecture and Implementation](/alibaba/open-code-review/how-does-open-code-review-manage-code-review-workflows)

Discover how OpenCodeReview manages code review workflows with its deterministic-plus-agent pipeline. It generates AI comments and publishes feedback to GitHub, GitLab, and Gerrit.

- Tags: architecture
- Published: 2026-08-04

### [Key APIs Exposed by Open-Code-Review: CLI, Library, and HTTP Viewer](/alibaba/open-code-review/what-are-the-key-apis-exposed-by-open-code-review)

Explore Open Code Review's key APIs: CLI for terminal, Go packages for integration, and HTTP viewer for web inspection. Integrate and manage code reviews seamlessly.

- Tags: api-reference
- Published: 2026-08-04

### [What Database Does Open Code Review Use? Understanding the JSONL Log Architecture](/alibaba/open-code-review/what-database-is-used-by-open-code-review)

Discover how Open Code Review leverages JSONL log files instead of traditional databases for efficient data storage. Learn about its unique architecture.

- Tags: architecture
- Published: 2026-08-04

### [Where to Find the Entry Points for the OpenCodeReview Application](/alibaba/open-code-review/where-can-i-find-the-entry-points-for-the-open-code-review-application)

Discover OpenCodeReview application entry points. Find the Go binary launch at cmd/opencodereview/main.go and the npm installation at bin/ocr.js.

- Tags: getting-started
- Published: 2026-08-04

### [Main Components of the Open-Code-Review System: Architecture Deep Dive](/alibaba/open-code-review/what-are-the-main-components-of-the-open-code-review-system)

Explore the main components of the open-code-review system. Understand its architecture, from CLI parsing to LLM analysis, powered by ten Go packages. Dive into the alibaba/open-code-review repo.

- Tags: architecture
- Published: 2026-08-04

### [Open-Code-Review Architecture: Inside Alibaba's Modular Go CLI](/alibaba/open-code-review/how-is-the-architecture-of-open-code-review-structured)

Explore the Open-Code-Review architecture: four layers enabling deterministic file selection and LLM-powered code reviews via a Cobra Go CLI from Alibaba.

- Tags: architecture
- Published: 2026-08-04

### [Core Technology Stack of Open-Code-Review: A Deep Dive into Alibaba's AI-Powered CLI](/alibaba/open-code-review/what-is-the-core-technology-stack-of-open-code-review)

Explore the core technology stack of Open-Code-Review, Alibaba's AI-powered CLI. Discover how pure Go, LLM agents, and Node.js deliver augmented code reviews.

- Tags: deep-dive
- Published: 2026-08-04

### [How to Deploy the Open-Code-Review Session Viewer for Team Code Review Browsing](/alibaba/open-code-review/how-to-deploy-session-viewer-for-team-code-review-browsing)

Deploy the Open-Code-Review session viewer for seamless team code review browsing. Learn how to run the viewer command and configure access for efficient collaboration.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Use System Rules for Path-Based Review Customization in Open Code Review](/alibaba/open-code-review/how-to-use-system-rules-for-path-based-review-customization)

Customize your Open Code Review workflow with path-based system rules. Learn how to use glob patterns in YAML to define default review behavior for specific file paths.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Debug Review Quality Issues and Tool Call Traces in Open Code Review](/alibaba/open-code-review/how-to-debug-review-quality-issues-and-tool-call-traces)

Debug review quality issues and tool call traces in Open Code Review. Learn how to use OCR_DEBUG and session.jsonl to diagnose and fix problems effectively.

- Tags: how-to-guide
- Published: 2026-08-03

### [How the LLM Pool and Compression Optimization Works in Open-Code-Review](/alibaba/open-code-review/how-does-llm-pool-and-compression-optimization-work)

Discover how OpenCodeReview's LLM pool and compression optimization uses goroutine workers and memory compression for efficient asynchronous comment processing and token management.

- Tags: internals
- Published: 2026-08-03

### [How to Integrate with Gerrit Code Review System: OpenCodeReview Integration Guide](/alibaba/open-code-review/how-to-integrate-with-gerrit-code-review-system)

Integrate with Gerrit code review using OpenCodeReview. Discover our Python script for easy Gerrit ReviewInput payload conversion and REST API posting. Streamline your code review process.

- Tags: how-to-guide
- Published: 2026-08-03

### [How the Tool‑Calling Agent Architecture Works in Open‑Code‑Review](/alibaba/open-code-review/how-does-tool-calling-agent-architecture-work-internally)

Discover the tool calling agent architecture in open code review. Learn how LLMs invoke external utilities via schema-driven prompts and JSON function calls for efficient code analysis.

- Tags: internals
- Published: 2026-08-03

### [How to Filter Paths and File Types with Allowlist Configuration in Open Code Review](/alibaba/open-code-review/how-to-filter-paths-and-file-types-with-allowlist-configuration)

Learn how to filter paths and file types with allowlist configuration in Open Code Review. Optimize your code review process and ensure only relevant files are checked.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Use the OCR Scan Command for Full-File Auditing in OpenCodeReview](/alibaba/open-code-review/how-to-use-ocr-scan-command-for-full-file-auditing)

Leverage the ocr scan command for comprehensive full-file auditing in OpenCodeReview. Analyze entire codebases, prepare for migrations, and audit non-Git projects with this powerful tool.

- Tags: how-to-guide
- Published: 2026-08-03

### [How OpenCodeReview Compares to General Agent-Based Code Review for Precision and Recall](/alibaba/open-code-review/how-does-opencodereview-compare-to-general-agent-based-code-review)

Discover how OpenCodeReview achieves high precision and lower recall than general agent-based code review by filtering out noise to find real defects.

- Tags: deep-dive
- Published: 2026-08-03

### [How to Set Up MCP Server Integration for Extending Review Capabilities in Open Code Review](/alibaba/open-code-review/how-to-set-up-mcp-server-integration-for-extending-review-capabilities)

Integrate MCP servers with Open Code Review to extend review capabilities. Configure external servers in config.json to leverage tools via stdio transport for enhanced documentation and API access.

- Tags: how-to-guide
- Published: 2026-08-03

### [How the Comment Positioning and Reflection Module Improves Review Accuracy in Open Code Review](/alibaba/open-code-review/how-does-comment-positioning-and-reflection-module-improve-accuracy)

Discover how alibaba/open-code-review's comment positioning and reflection modules ensure AI feedback accuracy. Learn how deterministic engineering prevents position drift for precise code reviews.

- Tags: deep-dive
- Published: 2026-08-03

### [How OpenCodeReview Handles Large Diffs with Concurrent Sub-Agents](/alibaba/open-code-review/how-does-opencodereview-handle-large-diffs-with-concurrent-sub-agents)

Discover how OpenCodeReview efficiently handles large diffs using concurrent sub-agents. Learn about parallel processing, token budgeting, and file compression strategies for faster code reviews.

- Tags: deep-dive
- Published: 2026-08-03

### [How to Integrate OpenCodeReview with GitLab CI: A Complete Setup Guide](/alibaba/open-code-review/how-to-integrate-opencodereview-with-gitlab-ci)

Integrate OpenCodeReview with GitLab CI by running OCR's CLI in your pipeline and using a Python script to publish results as inline MR comments. Set up seamless code review today.

- Tags: how-to-guide
- Published: 2026-08-03

### [How the Session Viewer Works for Browsing and Replaying Code Reviews](/alibaba/open-code-review/how-does-session-viewer-work-for-browsing-and-replaying-reviews)

Explore and replay code review sessions with the alibaba/open-code-review session viewer. This read-only Web UI lets you browse JSONL files without external services or state modification.

- Tags: internals
- Published: 2026-08-03

### [How to Resume Interrupted Review Sessions in Open Code Review: A Complete Guide](/alibaba/open-code-review/how-to-resume-interrupted-review-sessions)

Easily resume interrupted review sessions in OpenCodeReview. Learn how to use the resume flag to pick up where you left off with this complete guide.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Configure Custom Review Rules and Filters in rule.json for Open Code Review](/alibaba/open-code-review/how-to-configure-custom-review-rules-and-filters-in-rule-json)

Learn to configure custom review rules and filters in rule.json for Alibaba's Open Code Review. Control file reviews and LLM instructions effectively.

- Tags: how-to-guide
- Published: 2026-08-03

### [How File Packaging and Intelligent Grouping Work in OpenCodeReview: A Complete Technical Guide](/alibaba/open-code-review/how-does-file-packaging-and-intelligent-grouping-work-in-opencodereview)

Learn how OpenCodeReview's file packaging and intelligent grouping efficiently process large repositories, optimizing LLM token usage for faster code reviews.

- Tags: deep-dive
- Published: 2026-08-03

### [How to Set Up OpenCodeReview in a GitHub Actions CI/CD Pipeline](/alibaba/open-code-review/how-to-set-up-opencodereview-in-github-actions-ci-cd-pipeline)

Integrate OpenCodeReview into GitHub Actions CI/CD. Automate AI code reviews on pull requests by adding a reusable workflow. Learn setup steps and LLM configuration.

- Tags: how-to-guide
- Published: 2026-08-03

### [How AI Coding Agent Integration Works in Open Code Review Delegate Mode](/alibaba/open-code-review/how-does-delegate-mode-work-for-ai-coding-agent-integration)

Learn how alibaba/open-code-review delegate mode integrates AI coding agents for intelligent review generation while handling essential engineering tasks. Explore this specialized workflow.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Integrate OpenCodeReview with Claude Code, Codex, or Cursor](/alibaba/open-code-review/how-to-integrate-opencodereview-with-claude-code-codex-or-cursor)

Integrate OpenCodeReview with Claude Code, Codex, or Cursor easily using delegation mode. OCR handles diff parsing and review formatting without custom code or extra API keys.

- Tags: how-to-guide
- Published: 2026-08-03

### [How OpenCodeReview's Hybrid Deterministic Engineering and Agent Architecture Works](/alibaba/open-code-review/how-does-opencodereview-hybrid-deterministic-engineering-and-agent-architecture-work)

Discover how OpenCodeReview's hybrid architecture uses isolated LLM agents and a central orchestrator for deterministic code reviews. Learn about its unique file-level agent system.

- Tags: architecture
- Published: 2026-08-03

### [How the `ocr scan` Command Audits Full Files Without Git Diffs in OpenCodeReview](/alibaba/open-code-review/how-does-the-scan-command-audit-full-files-without-git-diffs-in-opencodereview)

Discover how the ocr scan command audits full files without Git diffs in OpenCodeReview by reading complete file contents directly from the working tree. Learn more.

- Tags: how-to-guide
- Published: 2026-08-02

### [How to Resume an Interrupted Review Session in OpenCodeReview](/alibaba/open-code-review/how-to-resume-an-interrupted-review-session-in-opencodereview)

Quickly resume interrupted OpenCodeReview sessions. Find your session ID with ocr session list and use ocr review --resume <session-id> to pick up where you left off.

- Tags: how-to-guide
- Published: 2026-08-02

### [OpenCodeReview Scenario-Tuned Toolset: Complete Guide to All 6 Built-In Tools](/alibaba/open-code-review/what-tools-are-available-in-opencodereviews-scenario-tuned-toolset)

Explore the OpenCodeReview scenario-tuned toolset's 6 built-in tools: task_done, code_comment, file_read, file_read_diff, file_find, and code_search. Enhance your autonomous code review process.

- Tags: how-to-guide
- Published: 2026-08-02

### [How to Create a Custom Review Skill for Codex Integration with OpenCodeReview](/alibaba/open-code-review/how-to-create-a-custom-review-skill-for-codex-integration-with-opencodereview)

Learn how to create a custom review skill for OpenCodeReview and integrate it with Codex. This guide explains how to build executables that communicate via JSON for seamless Codex marketplace integration.

- Tags: how-to-guide
- Published: 2026-08-02

### [How Fine-Grained Rule Matching Works in OpenCodeReview: Layered Glob Resolution Explained](/alibaba/open-code-review/how-does-fine-grained-rule-matching-work-in-opencodereview)

Learn how OpenCodeReview uses layered glob resolution for fine-grained rule matching. Understand first-match-wins semantics and system-rule merging for efficient code reviews.

- Tags: internals
- Published: 2026-08-02

### [What Telemetry Data Does OpenCodeReview Collect Using OpenTelemetry? A Complete Technical Breakdown](/alibaba/open-code-review/what-telemetry-data-does-opencodereview-collect-using-opentelemetry)

Explore the telemetry data OpenCodeReview collects using OpenTelemetry. Understand spans, events, and metrics for detailed CLI tracing and performance insights. Configure easily.

- Tags: deep-dive
- Published: 2026-08-02

### [How to Configure Concurrency Limits for Large Repository Reviews in OpenCodeReview](/alibaba/open-code-review/how-to-configure-concurrency-limits-for-large-repository-reviews-in-opencodereview)

Learn to configure concurrency limits for OpenCodeReview large repository reviews. Use the --concurrency flag to optimize LLM processing and speed up code analysis.

- Tags: how-to-guide
- Published: 2026-08-02

### [What Is the Reflection Module in OpenCodeReview and Its Purpose?](/alibaba/open-code-review/what-is-the-reflection-module-in-opencodereview-and-its-purpose)

Discover the reflection module in OpenCodeReview, a powerful subsystem that validates LLM suggestions post-generation for accuracy and relevance to your code diffs.

- Tags: deep-dive
- Published: 2026-08-02

### [How to Integrate OpenCodeReview into a GitHub Actions CI Pipeline](/alibaba/open-code-review/how-to-integrate-opencodereview-into-a-github-actions-ci-pipeline)

Integrate OpenCodeReview into GitHub Actions CI easily. Leverage AI-powered code reviews and get instant feedback as inline comments on your pull requests.

- Tags: how-to-guide
- Published: 2026-08-02

### [How OpenCodeReview Achieves Higher Precision with Fewer Tokens Than Claude Code](/alibaba/open-code-review/how-does-opencodereview-achieve-higher-precision-with-fewer-tokens-than-claude-code)

Discover how OpenCodeReview achieves higher precision with fewer tokens than Claude Code by splitting code review into deterministic preprocessing and targeted LLM calls.

- Tags: deep-dive
- Published: 2026-08-02

### [How to Configure File Exclusion Patterns in OpenCodeReview for Generated Files](/alibaba/open-code-review/how-to-configure-file-exclusion-patterns-in-opencodereview-for-generated-files)

Learn to configure file exclusion patterns in OpenCodeReview using gitignore-style glob patterns. Exclude generated files effectively and optimize LLM token usage.

- Tags: how-to-guide
- Published: 2026-08-02

### [OpenCodeReview Workspace, Range, and Commit Review Modes: A Complete Comparison](/alibaba/open-code-review/what-are-the-differences-between-workspace-range-and-commit-review-modes-in-opencodereview)

Explore OpenCodeReview workspace, range, and commit review modes. Understand how each Git change mode impacts your LLM engine for efficient code reviews.

- Tags: comparison
- Published: 2026-08-02

### [How OpenCodeReview Handles Business Requirement Context for AI-Powered Code Reviews](/alibaba/open-code-review/how-does-opencodereview-handle-business-requirement-context-for-reviews)

Discover how OpenCodeReview integrates business requirement context into AI code reviews using CLI flags to enhance LLM prompts for more relevant feedback.

- Tags: how-to-guide
- Published: 2026-08-02

### [How to Use the Session Viewer in OpenCodeReview to Replay Reviews](/alibaba/open-code-review/how-to-use-the-session-viewer-in-opencodereview-to-replay-reviews)

Learn to replay past reviews using the OpenCodeReview Session Viewer. Launch `ocr viewer` to access the web UI and browse review sessions stored locally.

- Tags: how-to-guide
- Published: 2026-08-02

### [How the MCP Server Extends OpenCodeReview with External Tools: A Technical Deep-Dive](/alibaba/open-code-review/how-does-the-mcp-server-extend-opencodereview-with-external-tools)

Discover how the MCP server extends OpenCodeReview with external tools. Learn about its three-layer architecture: MCP Client, Provider Adapter, and Tool Registry Integration.

- Tags: deep-dive
- Published: 2026-08-02

### [What Review Rules Are Customizable in OpenCodeReview's JSON Config?](/alibaba/open-code-review/what-review-rules-are-customizable-in-opencodereviews-json-config)

Discover which OpenCodeReview rules you can customize using the JSON config. Tailor include/exclude file patterns and set custom LLM prompts for specific globs to enhance your code review process.

- Tags: how-to-guide
- Published: 2026-08-02

### [How to Configure Custom LLM Providers in OpenCodeReview: A Complete Guide](/alibaba/open-code-review/how-to-configure-custom-llm-providers-in-opencodereview)

Learn to configure custom LLM providers in OpenCodeReview. This guide shows how to add unique providers to your ~/.ocr/config.json for seamless integration.

- Tags: how-to-guide
- Published: 2026-08-02

### [How to Integrate OpenCodeReview with Claude Code via Plugins: A Complete Guide](/alibaba/open-code-review/how-to-integrate-opencodereview-with-claude-code-via-plugins)

Integrate OpenCodeReview with Claude Code using plugins. Install the CLI and load the official plugin to enable automated analysis and manual delegation workflows for efficient code reviews.

- Tags: how-to-guide
- Published: 2026-08-02

### [What Is Delegation Mode in OpenCodeReview and When to Use It](/alibaba/open-code-review/what-is-delegation-mode-in-opencodereview-and-its-use-cases)

Discover OpenCodeReview's Delegation Mode, an LLM-free output for machine-readable review specs. Learn its deterministic nature and when to leverage this powerful feature for external agents.

- Tags: deep-dive
- Published: 2026-08-02

### [How Smart File Bundling Groups Files for Concurrent Review in Open Code Review](/alibaba/open-code-review/how-does-smart-file-bundling-group-files-for-concurrent-review-in-opencodereview)

Discover how OpenCodeReview's smart file bundling groups files by language or directory and slices them into batches for efficient parallel LLM review.

- Tags: internals
- Published: 2026-08-02

### [How OpenCodeReview Achieves Line‑Level Precision for Comments: A Deep Dive into Diff Mapping](/alibaba/open-code-review/how-does-opencodereview-achieve-line-level-precision-for-comments)

Discover how OpenCodeReview achieves precise line-level comments by mapping new-side line numbers to old-revision coordinates through diff parsing and line-by-line walking.

- Tags: deep-dive
- Published: 2026-08-02

### [How OpenCodeReview Bundles Files for Large Changesets: A Deep Dive into the LLM Chunking Architecture](/alibaba/open-code-review/what-is-the-file-bundling-mechanism-in-opencodereview-for-large-changesets)

Discover how OpenCodeReview bundles files for large changesets by token-bounded chunking and LLM streaming. Learn about its efficient architecture.

- Tags: deep-dive
- Published: 2026-08-02

### [How OpenCodeReview's Deterministic Engineering Differs from General AI Agents](/alibaba/open-code-review/how-does-opencodereview-deterministic-engineering-differ-from-general-ai-agents)

Discover how OpenCodeReview's deterministic engineering uniquely contrasts with general AI agents. Learn about its hybrid architecture combining deterministic methods and LLM agents.

- Tags: deep-dive
- Published: 2026-08-02

### [How Resize and Refactor Detection Maintains Accurate Line Positioning in Open Code Review](/alibaba/open-code-review/how-does-resize-refactor-detection-work-for-line-positioning)

Discover how Open Code Review's resize and refactor detection maintains accurate line positioning using a lightweight offset tracking system for real time translation of original comment locations.

- Tags: internals
- Published: 2026-08-01

### [How to Migrate From Claude Code Skills to the New Plugin-Based Integration in Open Code Review](/alibaba/open-code-review/how-to-migrate-from-claude-code-skills-to-plugins)

Easily migrate from Claude Code skills to Open Code Review's new plugin integration. Follow simple steps to update commands and enhance your code review process.

- Tags: migration-guide
- Published: 2026-08-01

### [How to Enable OpenTelemetry Telemetry Logging in Open Code Review](/alibaba/open-code-review/what-is-opentelemetry-integration-and-enable-telemetry)

Learn how to enable OpenTelemetry tracing in Open Code Review. Configure telemetry logging for local debugging or production collectors with simple settings.

- Tags: how-to-guide
- Published: 2026-08-01

### [How the DEDUP Task Prevents Duplicate Findings Across Related Files in Open Code Review](/alibaba/open-code-review/how-does-dedup-task-prevent-duplicate-findings)

Learn how the DEDUP task in Alibaba Open Code Review prevents duplicate findings across related files by merging similar comments before reporting. Ensure cleaner review reports.

- Tags: internals
- Published: 2026-08-01

### [How to Troubleshoot and Debug Positioning Drift Issues in Review Comments](/alibaba/open-code-review/how-to-troubleshoot-debug-positioning-drift-issues)

Fix positioning drift in review comments by learning to troubleshoot malformed metadata, incorrect diff relocation, and file-path mismatches. Improve your Open Code Review experience.

- Tags: how-to-guide
- Published: 2026-08-01

### [How the PLAN_TASK Pre‑Pass Improves Review Quality and Efficiency in Alibaba Open Code Review](/alibaba/open-code-review/how-does-plan-task-pre-pass-improve-review)

Discover how the PLAN_TASK pre-pass in Alibaba Open Code Review filters noise and generates metadata for faster, more efficient, and higher-quality code reviews.

- Tags: deep-dive
- Published: 2026-08-01

### [What Is the Memory Compression Task and How Does It Optimize Token Usage in Open-Code-Review?](/alibaba/open-code-review/what-is-memory-compression-task-and-token-optimization)

Discover Open-Code-Review's memory compression task. Learn how it summarizes old messages to optimize token usage and maintain LLM conversation context efficiently.

- Tags: deep-dive
- Published: 2026-08-01

### [How the Comment Collector Aggregates Findings Across Multiple Review Batches in Alibaba Open Code Review](/alibaba/open-code-review/how-does-comment-collector-aggregate-findings)

Discover how Alibaba's Comment Collector aggregates findings across review batches using a snapshot-based, three-stage pipeline. Learn about its thread-safe, parallel processing for efficient code review.

- Tags: internals
- Published: 2026-08-01

### [Open Code Review Rule Sources: Custom, Project, Global, and System Differences Explained](/alibaba/open-code-review/difference-between-system-project-custom-global-rule-sources)

Understand Open Code Review rule sources: custom, project, global, and system. Learn how OCR applies rules with fixed priority for effective code reviews.

- Tags: deep-dive
- Published: 2026-08-01

### [How to Set Up Open Code Review in GitHub Actions, GitLab CI, and Other CI/CD Systems](/alibaba/open-code-review/how-to-set-up-open-code-review-in-ci-cd)

Learn to set up Open Code Review in GitHub Actions, GitLab CI, and other CI/CD systems. Integrate OCR seamlessly for automated code quality checks.

- Tags: how-to-guide
- Published: 2026-08-01

### [How Open Code Review's File Filtering System Determines Which Files Need Review](/alibaba/open-code-review/how-does-file-filtering-system-determine-files-for-review)

Learn how Open Code Review's file filtering system efficiently identifies files needing review using layered rules and pre-filters. Exclude generated, binary, and large files automatically.

- Tags: how-to-guide
- Published: 2026-08-01

### [Open Code Review Tool Registry Architecture: Bootstrap, MCP Registration, and Execution Phases](/alibaba/open-code-review/what-is-tool-registry-architecture-and-tool-configuration)

Explore the Open Code Review tool registry architecture. Learn about bootstrap, MCP registration, and execution phases for seamless tool configuration and LLM request handling.

- Tags: architecture
- Published: 2026-08-01

### [How the Open-Code-Review Session Viewer Browses and Replays Past Review Sessions](/alibaba/open-code-review/how-does-session-viewer-work-for-review-sessions)

Explore alibaba/open-code-review's session viewer. Easily browse and replay past review sessions with this read-only Web UI, stepping through every LLM interaction and comment.

- Tags: internals
- Published: 2026-08-01

### [How to Create Custom Review Rules with Path Filtering and Pattern Matching in Open‑Code‑Review](/alibaba/open-code-review/how-to-create-custom-review-rules-with-path-filtering-pattern-matching)

Master custom review rules in Open-Code-Review. Learn path filtering and pattern matching with rule.json to tailor LLM code reviews based on file paths. Boost your workflow today.

- Tags: how-to-guide
- Published: 2026-08-01

### [How the MCP Server Extension Adds External Tools to the Review Agent in Open Code Review](/alibaba/open-code-review/how-does-mcp-server-extension-add-external-tools)

Discover how the MCP server extension in Open Code Review integrates external tools into the review agent. Learn about its client operation, dynamic registration, and process routing for enhanced code review workflows.

- Tags: how-to-guide
- Published: 2026-08-01

### [How to Integrate Open Code Review with Claude Code Using the Plugin System](/alibaba/open-code-review/how-to-integrate-open-code-review-with-claude-code-plugin)

Easily integrate Open Code Review with Claude Code using the plugin system. Follow simple steps to add the plugin and start using review slash commands for seamless code collaboration.

- Tags: how-to-guide
- Published: 2026-08-01

### [How Delegation Mode Works Without LLM Configuration in OpenCodeReview](/alibaba/open-code-review/how-does-delegation-mode-work-and-when-to-use-it)

Learn how OpenCodeReview's delegation mode works without LLM configuration. Discover how it uses repository state and Git diffs to generate review specs for efficient code reviews.

- Tags: how-to-guide
- Published: 2026-08-01

### [How to Configure MaxTokensBudget to Control API Costs in Large Code Reviews](/alibaba/open-code-review/how-to-configure-token-budgets-for-api-cost-control)

Control API costs for large code reviews by setting maxTokensBudget. Learn how to configure token limits via config.yaml or CLI to cap consumption and automatically trim files.

- Tags: how-to-guide
- Published: 2026-08-01

### [`ocr review` vs `ocr scan`: The Difference Between Diff Review and Full-File Scan in Alibaba's Open Code Review Tool](/alibaba/open-code-review/what-is-difference-between-ocr-review-and-ocr-scan)

Understand the difference between ocr review and ocr scan in Alibaba's Open Code Review. Learn how diff review and full-file scan impact your code quality checks.

- Tags: comparison
- Published: 2026-08-01

### [How the Re‑Location Module Improves Comment Positioning Accuracy When Text‑Based Matching Fails](/alibaba/open-code-review/how-does-re-location-module-improve-comment-positioning-accuracy-when-text-based-matching-fails)

Discover how the re-location module enhances comment positioning accuracy in Open Code Review, even when text-based matching fails. Learn about its fallback strategies.

- Tags: internals
- Published: 2026-08-01

### [How File Bundling Works in Open Code Review for Grouping Related i18n Files](/alibaba/open-code-review/how-does-file-bundling-work-in-open-code-review-for-grouping-related-files-like-i18n-properties)

Learn how Open Code Review bundles i18n files using glob rules. Discover how OCR groups related files for isolated LLM agent processing, streamlining your code review.

- Tags: deep-dive
- Published: 2026-08-01

### [How Open Code Review's Deterministic Engineering Architecture Differs from General-Purpose AI Agents](/alibaba/open-code-review/how-does-open-code-review-deterministic-engineering-architecture-differ-from-general-purpose-ai-agents)

Discover how Open Code Review's deterministic architecture ensures reproducible results unlike general-purpose AI agents. Learn about its unique two-layer design for predictable code reviews and token budgets.

- Tags: deep-dive
- Published: 2026-08-01

### [How MCP Server Extensions Add External Tools to the Open Code Review Agent](/alibaba/open-code-review/how-do-mcp-server-extensions-allow-adding-external-tools-to-the-open-code-review-agent)

Learn how MCP server extensions integrate external tools into the Open Code Review agent by wrapping them in a Provider interface and exposing schemas to the LLM.

- Tags: how-to-guide
- Published: 2026-07-31

### [How Token Budgeting in Alibaba Open-Code-Review Prevents Excessive API Costs](/alibaba/open-code-review/how-does-token-budgeting-in-alibaba-open-code-review-help-prevent-excessive-api-costs)

Discover how token budgeting in alibaba open-code-review controls LLM costs with limits, filtering, and real-time accounting. Prevent excessive API spending effectively.

- Tags: performance
- Published: 2026-07-31

### [How to Use the Open-Code-Review Session Viewer to Replay Completed Reviews](/alibaba/open-code-review/how-can-i-use-the-session-viewer-in-open-code-review-to-replay-completed-reviews)

Easily replay past reviews with the Open-Code-Review session viewer. Inspect LLM prompts and tool calls by rendering JSONL transcripts in your browser. Learn how now.

- Tags: how-to-guide
- Published: 2026-07-31

### [How CI Integrations in alibaba/open-code-review Automate Post-Review Workflows](/alibaba/open-code-review/how-do-ci-integrations-in-alibaba-open-code-review-facilitate-post-review-workflows)

Discover how alibaba/open-code-review CI integrations automate post-review workflows by triggering checks and posting LLM findings as inline comments.

- Tags: how-to-guide
- Published: 2026-07-31

### [How the Open-Code-Review Template System Optimizes Prompts for Code Reviews](/alibaba/open-code-review/how-does-the-template-system-in-open-code-review-optimize-prompts-for-code-reviews)

Optimize code reviews with the open-code-review template system. Learn how it efficiently separates static and dynamic data to minimize LLM token use, assembling prompts via JSON.

- Tags: deep-dive
- Published: 2026-07-31

### [How Review Rules in Open-Code-Review Filter Files Based on Path Patterns](/alibaba/open-code-review/how-can-review-rules-in-alibaba-open-code-review-filter-files-based-on-path-patterns)

Learn how alibaba/open-code-review uses review rules and file filters with glob patterns to intelligently select files for review, enhancing your workflow.

- Tags: how-to-guide
- Published: 2026-07-31

### [How to Configure Multiple LLM Providers for the Open Code Review CLI](/alibaba/open-code-review/how-to-configure-multiple-llm-providers-for-the-cli-in-open-code-review)

Configure multiple LLM providers for the Open Code Review CLI. Easily manage AI models like Anthropic and OpenAI using flexible JSON settings and simple commands.

- Tags: how-to-guide
- Published: 2026-07-31

### [How Telemetry in Alibaba Open-Code-Review Exports Metrics to OpenTelemetry Backends](/alibaba/open-code-review/how-does-telemetry-in-alibaba-open-code-review-export-metrics-to-opentelemetry-backends)

Discover how alibaba/open-code-review exports metrics to OpenTelemetry backends. Learn about its telemetry package, exporter configuration, and global provider registration.

- Tags: how-to-guide
- Published: 2026-07-31

### [How Open-Code-Review Detects File Relocation and Renamed Files](/alibaba/open-code-review/how-does-open-code-review-handle-file-relocation-and-moved-files-with-its-detection-mechanisms)

Learn how Open-Code-Review detects file relocation and renamed files. Discover its Git flags and parsing techniques for accurate diff analysis and CLI indicators.

- Tags: how-to-guide
- Published: 2026-07-31

### [How Diff Fingerprinting Detects Unchanged Files Across Review Sessions in Alibaba Open‑Code‑Review](/alibaba/open-code-review/how-does-diff-fingerprinting-in-alibaba-open-code-review-detect-unchanged-files-across-review-sessions)

Learn how diff fingerprinting in Alibaba Open Code Review instantly reuses comments on unchanged files across sessions using deterministic SHA-256 hashes for efficient code reviews.

- Tags: internals
- Published: 2026-07-31

### [Prioritization Logic for Matching Patterns in Open-Code-Review's Rule Resolver](/alibaba/open-code-review/what-is-the-prioritization-logic-for-matching-patterns-in-open-code-review-s-rule-resolver)

Understand Open-Code-Review's rule resolver prioritization logic. Discover how custom, project-local, global, and system layers use a first-match-wins strategy for glob patterns.

- Tags: internals
- Published: 2026-07-31

### [How the Tool Registry in Open-Code-Review Implements Tool Aliases](/alibaba/open-code-review/how-does-the-tool-registry-in-open-code-review-implement-tool-aliases)

Discover how the Open-Code-Review tool registry uses map entries to implement tool aliases for O(1) lookups, enhancing efficiency and flexibility for developers.

- Tags: internals
- Published: 2026-07-31

### [How Scenario-Tuned Prompts in Alibaba Open-Code-Review Reduce Token Consumption](/alibaba/open-code-review/how-do-scenario-tuned-prompts-in-alibaba-open-code-review-help-reduce-token-consumption)

Discover how scenario-tuned prompts in alibaba/open-code-review drastically cut token consumption. Learn about diff snippet optimization, rule application, and token threshold guards.

- Tags: performance
- Published: 2026-07-31

### [How Delegation Mode in Open-Code-Review Functions Without LLM Configuration](/alibaba/open-code-review/how-does-delegation-mode-in-open-code-review-function-without-requiring-llm-configuration)

Discover how open-code-review's delegation mode works without LLM configuration. It generates review specs using local Git operations and configuration parsing for efficient code reviews.

- Tags: internals
- Published: 2026-07-31

### [Scan vs Diff-Based Review in Alibaba Open Code Review: Key Differences Explained](/alibaba/open-code-review/what-is-the-difference-between-the-scan-command-and-diff-based-review-in-alibaba-open-code-review)

Understand the key differences between scan and diff based review in Alibaba Open Code Review. Learn when to use each command for efficient code analysis.

- Tags: deep-dive
- Published: 2026-07-31

### [How Alibaba Open-Code-Review Scales Concurrent Task Execution for Large Repositories](/alibaba/open-code-review/how-does-alibaba-open-code-review-scale-concurrent-task-execution-for-large-repositories)

Discover how Alibaba Open-Code-Review scales concurrent task execution for large repositories using batch processing, worker pools, and bounded resource usage to maximize throughput.

- Tags: performance
- Published: 2026-07-31

### [How Open-Code-Review's Session Resume Feature Handles Interrupted Code Reviews](/alibaba/open-code-review/how-does-open-code-review-s-session-resume-feature-handle-interrupted-code-reviews)

Learn how Open-Code-Review's session resume feature saves your progress in JSON-Lines files. Effortlessly pick up interrupted code reviews with the resume flag, avoiding redundant processing.

- Tags: how-to-guide
- Published: 2026-07-31

### [How Alibaba Open Code Review Uses Fine-Grained Rule Matching for Improved Review Precision](/alibaba/open-code-review/how-does-alibaba-open-code-review-use-fine-grained-rule-matching-for-improved-review-precision)

Discover how Alibaba Open Code Review boosts precision with fine-grained rule matching, hierarchical resolution, and detailed metadata. Learn more about this innovative approach.

- Tags: deep-dive
- Published: 2026-07-31

### [Deterministic File Selection Strategy in Open-Code-Review for Complete Coverage](/alibaba/open-code-review/what-is-the-deterministic-file-selection-strategy-in-open-code-review-for-complete-review-coverage)

Discover OpenCodeReview's deterministic file selection strategy. Ensure complete repository coverage with reproducible file sorting by modification time for every review.

- Tags: deep-dive
- Published: 2026-07-31

### [How Alibaba Open Code Review Implements Smart File Bundling for Large Changesets](/alibaba/open-code-review/how-does-alibaba-open-code-review-handle-smart-file-bundling-for-large-changesets)

Discover how Alibaba's Open Code Review uses smart file bundling to split large changesets into focused review units, optimizing LLM token limits and parallel processing.

- Tags: how-to-guide
- Published: 2026-07-31

### [How to Install the Portable Agent Skill for Different AI Coding Agents in OpenCodeReview](/alibaba/open-code-review/how-to-install-the-portable-agent-skill-for-different-ai-coding-agents-in-open-code-review)

Learn to install the portable agent skill for AI coding agents in OpenCodeReview. Integrate Claude Code, Codex, and Cursor for efficient code reviews using a simple YAML manifest.

- Tags: how-to-guide
- Published: 2026-07-31

### [How OpenTelemetry Telemetry Integration Works in OpenCodeReview](/alibaba/open-code-review/how-does-open-telemetry-telemetry-integration-work-with-open-code-review)

Learn how OpenTelemetry telemetry integration works in OpenCodeReview. Discover its span creation, event recording, metric emission, and shutdown processes, all configurable.

- Tags: deep-dive
- Published: 2026-07-31

### [OpenCodeReview Benchmark Metrics: How F1, Precision, and Recall Are Calculated](/alibaba/open-code-review/what-metrics-does-the-open-code-review-benchmark-measure-and-how-are-they-calculated)

Understand OpenCodeReview benchmark metrics like F1, precision, and recall. Learn how these key performance indicators are calculated for LLM code reviewers using true positives and false negatives.

- Tags: performance
- Published: 2026-07-31

### [How the VSCode Extension Communicates with the OpenCodeReview CLI: Message Passing Architecture Explained](/alibaba/open-code-review/how-does-the-vscode-extension-communicate-with-the-open-code-review-cli)

Discover how the VSCode extension communicates with the OpenCodeReview CLI using asynchronous message passing. Learn about the architecture and process execution.

- Tags: architecture
- Published: 2026-07-31

### [How to Integrate OpenCodeReview with GitHub Actions: Complete Setup Guide](/alibaba/open-code-review/how-to-integrate-open-code-review-with-github-actions)

Integrate OpenCodeReview with GitHub Actions for automated LLM code reviews. Get inline comments & summaries on PR diffs without exposing secrets. Perfect for alibaba/open-code-review.

- Tags: how-to-guide
- Published: 2026-07-31

### [What Distinguishes the Specialized Toolset from Generic Agent Toolkits in OpenCodeReview](/alibaba/open-code-review/what-distinguishes-the-specialized-toolset-from-generic-agent-toolkits-in-open-code-review)

Discover what distinguishes OpenCodeReview's specialized toolset from generic agent toolkits. Learn how scenario-tuned tools optimize code review for stability and predictability.

- Tags: deep-dive
- Published: 2026-07-31

### [How the OpenCodeReview Review Filter Task Deduplicates Findings](/alibaba/open-code-review/how-does-the-review-filter-task-deduplicate-findings-in-open-code-review)

Discover how OpenCodeReview's review filter task deduplicates findings using deterministic keys and hash maps, ensuring unique comments are posted to your VCS.

- Tags: internals
- Published: 2026-07-31

### [How Re-location Fixes Incorrect Comment Line Numbers in OpenCodeReview](/alibaba/open-code-review/how-does-re-location-fix-incorrect-comment-line-numbers-in-open-code-review)

Learn how OpenCodeReview's re-location algorithm and old_line_for() function fix incorrect comment line numbers by mapping static analysis to current diff positions for accurate inline comments.

- Tags: internals
- Published: 2026-07-31

### [How the Memory Compression Task Reduces Token Consumption in OpenCodeReview](/alibaba/open-code-review/how-does-the-memory-compression-task-reduce-token-consumption-in-open-code-review)

Discover how OpenCodeReview’s memory compression task slashes token use by summarizing lengthy conversation histories, retaining crucial context and cutting redundancy.

- Tags: internals
- Published: 2026-07-31

### [How the OpenCodeReview Session Viewer Web UI Stores and Replays Reviews](/alibaba/open-code-review/how-does-the-session-viewer-web-ui-in-open-code-review-store-and-replay-reviews)

Discover how the OpenCodeReview session viewer web UI stores and replays reviews. Learn about its append-only JSON Lines file storage and interactive task card replay.

- Tags: internals
- Published: 2026-07-31

### [How to Configure Custom LLM Providers Beyond Built-in Options in OpenCodeReview](/alibaba/open-code-review/how-to-configure-custom-llm-providers-beyond-built-in-options-in-open-code-review)

Configure custom LLM providers beyond built-in options for OpenCodeReview. Integrate any Anthropic or OpenAI-compatible LLM by editing your config.json file.

- Tags: how-to-guide
- Published: 2026-07-31

### [Extension Allowlist and Glob Exclude Patterns in OpenCodeReview: A Complete Guide](/alibaba/open-code-review/what-are-the-extension-allowlist-and-glob-exclude-patterns-in-open-code-review)

Master OpenCodeReview's extension allowlist and glob exclude patterns. Learn how this Go-powered filtering system optimizes your code analysis pipeline for efficiency and accuracy.

- Tags: how-to-guide
- Published: 2026-07-31

### [How OpenCodeReview's Template System Enables Custom Prompt Engineering](/alibaba/open-code-review/how-does-the-template-system-support-custom-prompt-engineering-for-open-code-review)

Discover how OpenCodeReview's template system allows custom prompt engineering. Separate LLM logic from prompt content to tailor system instructions, user prompts, and conversation flows without code changes.

- Tags: deep-dive
- Published: 2026-07-31

### [How to Create Custom Review Rules with Path Filtering in OpenCodeReview](/alibaba/open-code-review/how-to-create-custom-review-rules-with-path-filtering-in-open-code-review)

Learn to create custom review rules with path filtering in OpenCodeReview. Apply rules to specific files using include/exclude glob patterns for efficient code reviews.

- Tags: how-to-guide
- Published: 2026-07-31

### [How Delegation Mode Works in OpenCodeReview Without LLM Configuration](/alibaba/open-code-review/how-does-delegation-mode-work-in-open-code-review-without-llm-configuration)

Discover how OpenCodeReview's delegation mode generates deterministic review specs without LLM configuration. Learn to use the ocr delegate command for efficient code reviews.

- Tags: how-to-guide
- Published: 2026-07-31

### [Full-File Scan Mode vs Diff-Based Review in OpenCodeReview: What's the Difference?](/alibaba/open-code-review/what-s-the-difference-between-full-file-scan-mode-and-diff-based-review-in-open-code-review)

Understand full-file scan mode vs diff-based review in OpenCodeReview. Learn how each mode scans files and their benefits for efficient code analysis.

- Tags: deep-dive
- Published: 2026-07-31

### [How OpenCodeReview Manages Session Persistence for Interrupted Code Reviews](/alibaba/open-code-review/how-does-open-code-review-handle-session-management-for-interrupted-reviews-save-resume)

Learn how OpenCodeReview manages session persistence for interrupted code reviews. Save and resume your progress seamlessly with line-delimited JSON session files.

- Tags: how-to-guide
- Published: 2026-07-30

### [How Positioning and Reflection Modules Improve Comment Accuracy in OpenCodeReview](/alibaba/open-code-review/how-do-positioning-and-reflection-modules-improve-comment-accuracy-in-open-code-review)

Discover how OpenCodeReview's positioning and reflection modules enhance AI comment accuracy. Ensure precise code suggestions and eliminate outdated or hallucinated feedback.

- Tags: deep-dive
- Published: 2026-07-30

### [How OpenCodeReview Matches Review Rules to Files Using Its Template Engine](/alibaba/open-code-review/how-are-review-rules-matched-to-files-using-open-code-review-template-engine)

Discover how OpenCodeReview matches review rules to files using its template engine. Learn about layered resolvers, glob patterns, and LLM prompt injection for efficient code review.

- Tags: how-to-guide
- Published: 2026-07-30

### [Understanding the File Selection and Filtering System in OpenCodeReview](/alibaba/open-code-review/what-is-the-precise-file-selection-and-filtering-system-in-open-code-review)

Explore OpenCodeReview's precise file selection and filtering system. Learn how it uses ignore patterns, size limits, binary detection, and language filtering for efficient LLM reviews.

- Tags: deep-dive
- Published: 2026-07-30

### [File Bundling and Sub-Agent Isolation for Large Changesets in Alibaba Open Code Review](/alibaba/open-code-review/how-does-file-bundling-and-sub-agent-isolation-work-for-large-changesets)

Learn how Alibaba Open Code Review efficiently handles large changesets using file bundling and sub-agent isolation for faster, more scalable code reviews.

- Tags: architecture
- Published: 2026-07-30

### [How OpenCodeReview's Deterministic Engineering and Agent Hybrid Architecture Works](/alibaba/open-code-review/how-does-open-code-review-deterministic-engineering-and-agent-hybrid-architecture-work)

Discover how OpenCodeReview's deterministic engineering and agent hybrid architecture delivers reproducible code reviews using per-file pipelines, resource budgeting, and LLM tool-use loops.

- Tags: architecture
- Published: 2026-07-30

### [How Gitignore Processing Filters Files from Review in Open Code Review](/alibaba/open-code-review/how-gitignore-processing-filter-files-review-open-code-review)

Learn how Open Code Review uses gitignore processing and directory blocklists to filter files for LLM analysis. Exclude build artifacts and dependencies efficiently.

- Tags: how-to-guide
- Published: 2026-07-29

### [How Telemetry Integration with OpenTelemetry Works in Open Code Review](/alibaba/open-code-review/how-telemetry-integration-work-opentelemetry-open-code-review)

Discover how Open Code Review integrates OpenTelemetry for seamless telemetry. Learn to trace operations, record metrics, and manage shutdown via JSON config.

- Tags: how-to-guide
- Published: 2026-07-29

### [SkipPlan, SkipDedup, and SkipSummary Flags in Open Code Review](/alibaba/open-code-review/purpose-skipplan-skipdedup-skipsummary-flags-open-code-review)

Learn how SkipPlan, SkipDedup, and SkipSummary flags in alibaba/open-code-review optimize LLM phases. Reduce token usage and execution time by disabling planning, deduplication, and summarization.

- Tags: internals
- Published: 2026-07-29

### [How to Customize Review Rules with Path Filtering in Open Code Review](/alibaba/open-code-review/how-customize-review-rules-path-filtering-targeting-open-code-review)

Customize Open Code Review rules with path filtering and targeting using glob patterns. Learn to control scanning scope and merge custom rules with defaults via JSON files.

- Tags: how-to-guide
- Published: 2026-07-29

### [Difference Between Scan Template and Diff-Review Template in Open Code Review](/alibaba/open-code-review/difference-scan-template-diff-review-template-open-code-review)

Understand the difference between scan templates and diff-review templates in Alibaba's Open Code Review. Learn how each drives full-file analysis or incremental PR reviews for independent workflows.

- Tags: how-to-guide
- Published: 2026-07-29

### [CommentWorkerPool Architecture in Open Code Review: Asynchronous Comment Processing Explained](/alibaba/open-code-review/architecture-commentworkerpool-asynchronous-comment-processing-open-code-review)

Discover the CommentWorkerPool architecture in Open Code Review for efficient asynchronous comment processing. Learn how it offloads tasks, synchronizes per file, and aggregates results.

- Tags: architecture
- Published: 2026-07-29

### [How to Configure Custom LLM Providers in Open Code Review: A Complete Guide](/alibaba/open-code-review/how-configure-custom-llm-providers-beyond-built-in-open-code-review)

Learn to configure custom LLM providers in Open Code Review. Easily integrate external AI models by editing your config.json file with the ocr config set command.

- Tags: how-to-guide
- Published: 2026-07-29

### [Open Code Review Agent Tools: Architecture, Capabilities, and Performance Optimizations](/alibaba/open-code-review/what-tools-available-review-agent-how-optimized-open-code-review)

Discover Open Code Review agent tools like ocr_review and ocr_health. Learn about their architecture, capabilities, and performance optimizations including budget controls and safety guardrails for efficient resource management.

- Tags: architecture
- Published: 2026-07-29

### [How Fine-Grained Rule Matching Focuses the LLM's Attention in Open Code Review](/alibaba/open-code-review/how-fine-grained-rule-matching-focus-model-attention-open-code-review)

Discover how fine-grained rule matching in Open Code Review sharpens LLM attention by using file-specific prompt rules for precise code analysis and more effective reviews.

- Tags: deep-dive
- Published: 2026-07-29

### [How the MCP Server Extends the Open Code Review Agent with External Tools](/alibaba/open-code-review/how-mcp-server-extends-review-agent-external-tools-open-code-review)

Discover how the MCP server enhances the Open Code Review agent. Learn to extend agent capabilities with external tools and integrate them seamlessly for powerful code reviews.

- Tags: how-to-guide
- Published: 2026-07-29

### [Open Code Review Integrations with Claude Code, Codex, and Cursor](/alibaba/open-code-review/what-integrations-does-open-code-review-support-claude-code-codex-cursor)

Discover Open Code Review integrations for Claude Code, Codex, and Cursor. Leverage powerful AI code review capabilities directly within your IDE without separate API keys using Delegation Mode.

- Tags: architecture
- Published: 2026-07-29

### [How Open Code Review System Rules and Path Pattern Matching Work](/alibaba/open-code-review/what-are-system-rules-how-path-patterns-matched-open-code-review)

Discover how Open Code Review system rules and path pattern matching work by understanding how embedded JSON and Markdown files map file-path globs to instructions.

- Tags: how-to-guide
- Published: 2026-07-29

### [How Delegation Mode Works in Open Code Review Without LLM Configuration](/alibaba/open-code-review/how-does-delegation-mode-work-without-llm-configuration-open-code-review)

Discover how Open Code Review's delegation mode generates review specs using local Git operations and config files, no LLM needed. Streamline your workflow today.

- Tags: how-to-guide
- Published: 2026-07-29

### [How the Open Code Review Scan Command Performs Full-File Scanning vs. Diff-Based Review](/alibaba/open-code-review/how-does-scan-command-perform-full-file-scanning-vs-diff-based-review-open-code-review)

Learn how Open Code Review scan performs full-file scanning versus diff-based review. Understand the command's approach to analyzing entire files or just changed code.

- Tags: how-to-guide
- Published: 2026-07-29

### [How the Comment Positioning and Reflection Module Improves Review Accuracy in Open Code Review](/alibaba/open-code-review/how-does-comment-positioning-reflection-module-improve-review-accuracy-open-code-review)

Enhance review accuracy in Open Code Review with the comment positioning and reflection module. It prevents off-by-one errors and synchronizes feedback across code changes.

- Tags: deep-dive
- Published: 2026-07-29

### [How Open Code Review Handles File Bundling for Large Changesets](/alibaba/open-code-review/how-does-open-code-review-handle-file-bundling-large-changesets)

Discover how Open Code Review effectively bundles files for large changesets using logical groups, batch strategies, and token limits to manage LLM prompts efficiently.

- Tags: how-to-guide
- Published: 2026-07-29

### [How Open Code Review's Deterministic Engineering Differs from General-Purpose Agent Code Review](/alibaba/open-code-review/how-does-open-code-review-deterministic-engineering-differ-general-purpose-agent-code-review)

Discover how Open Code Review's deterministic engineering guarantees predictable code coverage unlike general-purpose agent code review. Learn the key differences today.

- Tags: deep-dive
- Published: 2026-07-29

### [Where Are OpenCodeReview rule.json Files Located?](/alibaba/open-code-review/where-are-openai-rulejson-files-located)

Discover where OpenCodeReview rule.json files are located across CLI flags, project config, user config, and system defaults. Understand rule hierarchy for effective code reviews.

- Tags: how-to-guide
- Published: 2026-07-28

### [What Is the `--resume <session-id>` Command in OpenCodeReview?](/alibaba/open-code-review/what-is-the-resume-session-id-command-in-openai)

Learn how to use OpenCodeReview's --resume <session-id> command to restart interrupted reviews and reuse cached LLM results. Save time and reprocess only new code.

- Tags: how-to-guide
- Published: 2026-07-28

### [How to Configure PlanModeLineThreshold in OpenCodeReview](/alibaba/open-code-review/how-can-i-configure-planmodelinethreshold-in-openai)

Learn how to configure PlanModeLineThreshold in OpenCodeReview by setting the PLAN_MODE_LINE_THRESHOLD field in your task template JSON. Trigger the plan phase with your desired line change count.

- Tags: how-to-guide
- Published: 2026-07-28

### [What Is Position Drift in AI-Generated Code Review Comments?](/alibaba/open-code-review/what-is-position-drift-in-ai-generated-comments)

Understand position drift in AI code review comments. Learn how this issue causes incorrect feedback placement and discover solutions for accurate AI-assisted code analysis.

- Tags: deep-dive
- Published: 2026-07-28

### [How OpenCodeReview Improves the Accuracy of Comment Line Numbers](/alibaba/open-code-review/how-does-openai-improve-accuracy-of-comment-line-numbers)

OpenCodeReview stops off-by-one errors in comments by mapping analysis line numbers to original file revisions using a diff translator. Learn how it boosts accuracy.

- Tags: internals
- Published: 2026-07-28

### [Understanding the Memory Compression Task in Open Code Review: Preventing Context Window Overflow](/alibaba/open-code-review/what-is-the-purpose-of-memory-compression-task-after-main-review-loop)

Learn how the memory compression task in Open Code Review prevents context window overflow by summarizing older conversations, ensuring indefinite review loops without losing critical context.

- Tags: deep-dive
- Published: 2026-07-28

### [How OpenCodeReview Handles Files That Exceed Token Limits Using Memory Compression](/alibaba/open-code-review/how-does-openai-handle-files-that-exceed-token-limits-using-memory-compression)

Discover how OpenCodeReview addresses files exceeding LLM token limits. Learn about its approach to handling oversized inputs before language model processing.

- Tags: how-to-guide
- Published: 2026-07-28

### [What Is the Memory Compression Task in OpenCodeReview?](/alibaba/open-code-review/what-is-the-memory-compression-task-in-openai)

Learn about the Memory Compression Task in OpenCodeReview. Discover how this feature condenses conversations to bypass LLM context window limits and enable continuous code review of large codebases.

- Tags: deep-dive
- Published: 2026-07-28

### [How File Fingerprints Enable Session Resume in OpenCodeReview](/alibaba/open-code-review/how-are-file-fingerprints-used-for-session-resume-in-openai)

Learn how OpenCodeReview uses SHA256 file fingerprints to resume interrupted sessions, skipping re-processing and reusing previous review results for efficient code reviews.

- Tags: how-to-guide
- Published: 2026-07-28

### [How OpenCodeReview Resumes Interrupted Reviews: JSONL Checkpoint Architecture](/alibaba/open-code-review/how-does-openai-resume-interrupted-reviews)

OpenCodeReview resumes interrupted reviews using JSONL checkpoint architecture. Learn how it efficiently reuses processed files and validates your session for seamless progress.

- Tags: internals
- Published: 2026-07-28

### [Resume Functionality in OpenCodeReview: How to Restore Interrupted Code Reviews](/alibaba/open-code-review/what-is-the-resume-functionality-in-openai)

Easily resume interrupted code reviews in OpenCodeReview. Save LLM costs and time by persisting session logs and replaying checkpoints to skip reviewed files.

- Tags: how-to-guide
- Published: 2026-07-28

### [Can Review Rules Reference External Files in OpenCodeReview?](/alibaba/open-code-review/can-review-rules-reference-external-files-in-openai)

OpenCodeReview allows review rules to reference external files like .md or .txt for automatic rule loading, enhancing your code review process with security.

- Tags: how-to-guide
- Published: 2026-07-28

### [How to Define Custom Review Rules in OpenCodeReview: A Complete Configuration Guide](/alibaba/open-code-review/how-can-i-define-custom-review-rules-in-openai)

Define custom review rules in OpenCodeReview with this complete configuration guide. Learn to leverage its layered rule system for tailored analysis and efficient code reviews.

- Tags: how-to-guide
- Published: 2026-07-28

### [How Glob Pattern Matching Works with Review Rules in OpenCodeReview](/alibaba/open-code-review/how-does-glob-pattern-matching-work-with-review-rules-in-openai)

Learn how OpenCodeReview uses glob pattern matching to apply LLM review rules. Understand file path matching, brace expansion, and recursive wildcards with the doublestar library.

- Tags: how-to-guide
- Published: 2026-07-28

### [Understanding the Priority Levels for Review Rules in OpenCodeReview](/alibaba/open-code-review/what-are-the-priority-levels-for-review-rules-in-openai)

Discover the four-level priority chain for review rules in OpenCodeReview. Learn how custom commands, local configs, user settings, and system defaults are prioritized for efficient code reviews.

- Tags: deep-dive
- Published: 2026-07-28

### [How OpenCodeReview Filters Large Diffs to Prevent Token Limit Violations](/alibaba/open-code-review/how-does-openai-filter-large-diffs-to-prevent-token-limit-violations)

Discover how OpenCodeReview filters large diffs to prevent token limit violations by discarding exceeding files and logging omissions. Learn more about efficient code review.

- Tags: how-to-guide
- Published: 2026-07-28

### [What Is the Default Concurrency for File Processing in OpenCodeReview?](/alibaba/open-code-review/what-is-the-default-concurrency-for-file-processing-in-openai)

Discover the default concurrency for file processing in OpenCodeReview. Learn how OpenCodeReview handles 8 parallel file workers by default for efficient code reviews.

- Tags: faq
- Published: 2026-07-28

### [How OpenCodeReview Handles Large Changesets with File Bundling and Concurrency](/alibaba/open-code-review/how-does-openai-handle-large-changesets-with-file-bundling-and-concurrency)

OpenCodeReview efficiently handles large changesets using file bundling and concurrency. Discover how it scales pull requests and maximizes parallelism.

- Tags: internals
- Published: 2026-07-28

### [How to Skip the Plan Phase in OpenCodeReview](/alibaba/open-code-review/can-the-plan-phase-be-skipped-in-openai)

Skip the plan phase in OpenCodeReview with --no-plan or SkipPlan true. Save LLM calls and get full code reviews faster. Learn how.

- Tags: how-to-guide
- Published: 2026-07-28

### [How Plan Guidance Is Injected Into Main Task Prompts in OpenCodeReview](/alibaba/open-code-review/how-is-plan-guidance-injected-into-main-task-prompts-in-openai)

Discover how OpenCodeReview injects plan guidance into Main Task prompts dynamically, using runtime generated instructions from the Planner component via a {{PLAN_GUIDANCE}} placeholder.

- Tags: internals
- Published: 2026-07-28

### [When Is the Plan Phase Triggered in OpenCodeReview: Execution Logic and Thresholds Explained](/alibaba/open-code-review/when-is-the-plan-phase-triggered-in-openai)

Discover when the OpenCodeReview Plan Phase triggers. Learn about execution logic and line thresholds to optimize your code review workflow.

- Tags: internals
- Published: 2026-07-28

### [What Is the Plan Phase in OpenCodeReview?](/alibaba/open-code-review/what-is-the-plan-phase-in-openai)

Understand the Plan Phase in OpenCodeReview, an optional LLM-powered step for generating review guidance. Learn how it enhances code review efficiency and can be configured or skipped.

- Tags: deep-dive
- Published: 2026-07-28

### [How the OpenCodeReview Agent's Two-Phase Execution Works](/alibaba/open-code-review/how-does-the-openai-agent-two-phase-execution-work)

Discover how the OpenCodeReview agent's two-phase execution pipeline separates planning and analysis for efficient code reviews. Learn about conditional planning and error handling.

- Tags: internals
- Published: 2026-07-28

### [How to Create a Custom LLM Provider for OpenCodeReview: A Step-by-Step Guide](/alibaba/open-code-review/how-can-i-create-a-custom-llm-provider-for-open-code-review)

Learn to create a custom LLM provider for OpenCodeReview. Follow this step-by-step guide to configure and set your unique AI model for enhanced code review. Get started now.

- Tags: how-to-guide
- Published: 2026-07-27

### [OpenCodeReview Supported LLM Providers: Complete List and Configuration Guide](/alibaba/open-code-review/what-are-the-supported-llm-providers-for-open-code-review)

Discover OpenCodeReview's supported LLM providers like OpenAI, Anthropic, and Google Vertex AI. Get the complete list and configuration guide to enhance your code reviews.

- Tags: api-reference
- Published: 2026-07-27

### [How OpenCodeReview Handles Large Changesets: Architecture and Scaling Strategies](/alibaba/open-code-review/how-does-open-code-review-handle-large-changesets-with-its-architecture)

Discover how OpenCodeReview manages large code changes. Learn about its architecture, batching strategies, and parallel processing for efficient review of massive pull requests.

- Tags: architecture
- Published: 2026-07-27

### [What Is the Output Writer Stage in OpenCodeReview?](/alibaba/open-code-review/what-is-the-role-of-the-output-writer-stage-in-open-code-review)

Explore the Output Writer stage in OpenCodeReview. Learn how it transforms LLM comments into actionable output, resolving line numbers and providing human-readable text or JSON.

- Tags: internals
- Published: 2026-07-27

### [How OpenCodeReview Achieves Higher Precision and Lower Token Consumption Than General‑Purpose Agents](/alibaba/open-code-review/how-does-open-code-review-achieve-higher-precision-and-lower-token-consumption-than-general-purpose-agents)

Discover how OpenCodeReview achieves superior precision and drastically lower token consumption than general LLM agents through deterministic engineering and scenario tuning. Reduce costs significantly.

- Tags: deep-dive
- Published: 2026-07-27

### [How to Set Up OpenCodeReview to Use Local Models with Ollama](/alibaba/open-code-review/how-do-i-set-up-open-code-review-to-use-local-models-with-ollama)

Learn how to set up OpenCodeReview with local models using Ollama. Configure OCR to connect to your local Ollama instance and run your preferred LLMs for enhanced code reviews.

- Tags: how-to-guide
- Published: 2026-07-27

### [OpenCodeReview Configuration File Location: Complete Guide to Settings Management](/alibaba/open-code-review/where-is-the-open-code-review-configuration-file-located)

Find the OpenCodeReview configuration file at ~/.opencodereview/config.json. Learn about global settings for LLM endpoints, language, and telemetry.

- Tags: how-to-guide
- Published: 2026-07-27

### [How to Use Include Patterns to Bypass Default Exclusions in OpenCodeReview](/alibaba/open-code-review/how-can-i-use-include-patterns-to-bypass-default-exclusions-in-open-code-review)

Learn to bypass default exclusions in OpenCodeReview using include patterns. This guide shows how additive patterns override ignored files, ensuring critical code is reviewed.

- Tags: how-to-guide
- Published: 2026-07-27

### [Default Path Exclusions for Test Files in OpenCodeReview: Built-in Patterns Explained](/alibaba/open-code-review/what-are-the-default-path-exclusions-for-test-files-in-open-code-review)

OpenCodeReview automatically excludes test files with default patterns like *_test.go and *.test.{js,jsx,ts,tsx}. Learn about these built-in exclusions before your review starts.

- Tags: how-to-guide
- Published: 2026-07-27

### [How Review Rules Are Defined and Stored in OpenCodeReview: The Layered Architecture Explained](/alibaba/open-code-review/how-are-review-rules-defined-and-where-are-they-stored-in-open-code-review)

Understand how OpenCodeReview defines and stores review rules using its layered architecture. Discover custom CLI flags, project-level and global JSON files, and system defaults for efficient code review management.

- Tags: architecture
- Published: 2026-07-27

### [The Three Zones for Context Partitioning in OpenCodeReview](/alibaba/open-code-review/what-are-the-three-zones-for-context-partitioning-in-open-code-review)

Discover the three context partitioning zones freezing, compressing, and activating LLM conversations in OpenCodeReview. Maintain critical context within token limits for efficient code reviews.

- Tags: deep-dive
- Published: 2026-07-27

### [How OpenCodeReview Manages Context Window Overflow and Memory Compression](/alibaba/open-code-review/how-does-open-code-review-manage-context-window-overflow-and-memory-compression)

OpenCodeReview prevents context window overflow using sliding-window chunking, budget enforcement, and dynamic LLM summarization. Learn how it preserves review continuity for massive pull requests.

- Tags: how-to-guide
- Published: 2026-07-27

### [How to Customize the Tools Used by OpenCodeReview: Complete Configuration Guide](/alibaba/open-code-review/how-can-i-customize-the-tools-used-by-open-code-review)

Customize OpenCodeReview tools by creating a .open-code-review.yaml file. Define custom commands and parsers for your linters and static analyzers in this complete configuration guide.

- Tags: how-to-guide
- Published: 2026-07-27

### [OpenCodeReview Built-In Tools: Complete Guide to File Operations, Search, and Review Actions](/alibaba/open-code-review/what-are-the-built-in-tools-provided-by-open-code-review)

Explore OpenCodeReview's built-in tools for file operations, search, and review actions. Inspect files, search code, and submit feedback with seven native JSON-RPC tools.

- Tags: how-to-guide
- Published: 2026-07-27

### [What Tools Are Available in the Plan Phase of OpenCodeReview?](/alibaba/open-code-review/what-tools-are-available-in-the-plan-phase-of-open-code-review)

Discover the three essential tools available in OpenCodeReview's Plan Phase: code_search, file_read_diff, and file_find for effective pre-review context gathering.

- Tags: how-to-guide
- Published: 2026-07-27

### [How OpenCodeReview Handles Comment Positioning and Re-Location](/alibaba/open-code-review/how-does-open-code-review-handle-comment-positioning-and-re-location)

Learn how OpenCodeReview resolves LLM comment positioning and re-location using its three-stage resolver and LLM fallback mechanism for accurate code snippet matching.

- Tags: how-to-guide
- Published: 2026-07-27

### [How Review Rules Are Resolved in OpenCodeReview: Layered Configuration Explained](/alibaba/open-code-review/how-are-review-rules-resolved-in-open-code-review)

Learn how OpenCodeReview resolves review rules using a four-layer priority hierarchy from CLI flags to system defaults. Understand configurable options for efficient code review.

- Tags: internals
- Published: 2026-07-27

### [Understanding the Five-Gate Filter for File Selection in OpenCodeReview](/alibaba/open-code-review/what-is-the-five-gate-filter-for-file-selection-in-open-code-review)

Discover the five-gate filter for file selection in OpenCodeReview. This sequential system validates files for review, optimizing your code analysis workflow. Learn how it works today.

- Tags: deep-dive
- Published: 2026-07-27

### [How OpenCodeReview Combines Deterministic Engineering and AI for Code Review](/alibaba/open-code-review/how-does-open-code-review-combine-deterministic-engineering-with-ai-for-code-review)

Discover how OpenCodeReview merges deterministic engineering and AI for predictable, auditable code reviews. Learn about its unique approach to LLM orchestration and resource management.

- Tags: how-to-guide
- Published: 2026-07-27

### [How to Integrate OCR as a Claude Code Skill or Cursor Plugin: A Complete Guide](/alibaba/open-code-review/how-to-integrate-ocr-as-claude-code-skill-or-cursor-plugin)

Integrate OCR for AI-assisted code reviews in Claude Code or Cursor. Follow this guide to install the CLI and add the review command file for zero-code setup.

- Tags: how-to-guide
- Published: 2026-07-24

### [LLM Providers and Models Supported by Default in Open Code Review](/alibaba/open-code-review/what-llm-providers-and-models-are-supported-by-default-in-ocr)

Discover which LLM providers and models Open Code Review supports by default. Seamlessly integrate with Anthropic, OpenAI, DashScope, DeepSeek, and more.

- Tags: api-reference
- Published: 2026-07-24

### [How to Customize Review Rules in OCR to Match Your Organization's Coding Standards](/alibaba/open-code-review/how-to-customize-ocr-review-rules-for-organization-coding-standards)

Customize review rules in OCR using layered resolvers to match your organization's coding standards. Apply custom CLI files, project configs, and user settings for flexible code review.

- Tags: how-to-guide
- Published: 2026-07-24

### [How Open Code Review Handles Large Repositories with Thousands of Changed Files](/alibaba/open-code-review/how-ocr-handles-large-repositories-with-thousands-of-changed-files)

Discover how Open Code Review efficiently manages large repositories with thousands of changed files. Learn about its five-stage pipeline, file filtering, and processing optimizations.

- Tags: performance
- Published: 2026-07-24

### [Benchmarking Methodology Used to Evaluate Open Code Review's Performance: Dataset Construction and Metrics](/alibaba/open-code-review/what-benchmarking-methodology-was-used-to-evaluate-ocr-performance)

Discover the benchmarking methodology used to evaluate Open Code Review's performance. Learn about its dataset construction and key metrics like Precision, Recall, and F1.

- Tags: performance
- Published: 2026-07-24

### [How OCR Compares to General‑Purpose Agents for Code Review Quality and Token Usage](/alibaba/open-code-review/ocr-vs-general-purpose-agents-code-review-quality-token-usage)

Compare Open Code Review OCR to general purpose agents for code review quality and token usage. OCR uses 9x fewer tokens and achieves higher precision and F1 scores.

- Tags: comparison
- Published: 2026-07-24

### [How to Debug Review Agent Issues Using the 'rules' Command in OCR](/alibaba/open-code-review/how-to-debug-ocr-review-agent-issues-using-rules-command)

Discover how to debug review agent issues with the ocr rules check command. Identify matching review rules, source locations, and glob patterns to fix skipped files or incorrect rule applications in Alibaba's Open Code Review.

- Tags: how-to-guide
- Published: 2026-07-24

### [What Tools Are Available to the OCR Review Agent and How Are They Selected](/alibaba/open-code-review/what-tools-are-available-to-ocr-review-agent-and-how-they-are-selected)

Discover the seven built-in tools for OCR review agents like file_read, code_search, and file_find. Learn how LLM requests drive tool selection via registry lookup.

- Tags: deep-dive
- Published: 2026-07-24

### [How the OCR Session Viewer Web Interface Works and What Data It Stores](/alibaba/open-code-review/how-ocr-session-viewer-web-interface-operates-and-what-data-it-stores)

Explore the OCR session viewer web interface. Learn how this embedded HTTP server visualizes code review sessions by scanning JSONL transcripts for insights.

- Tags: internals
- Published: 2026-07-24

### [How OCR’s Comment Positioning and Reflection Module Enhances Issue Accuracy](/alibaba/open-code-review/how-ocr-s-comment-positioning-and-reflection-module-enhances-issue-accuracy)

Discover how OCR's comment positioning and reflection module boosts issue accuracy by preventing duplicate comments and ensuring precise code line mapping.

- Tags: deep-dive
- Published: 2026-07-24

