Skip to content
Future SliceFUTURE SLICE / Deep Reads
Back to articles

Inside Kitta’s Five-Stage, Domain-Specific Code Review

Kitta turns project review history into domain-specific checks and uses patch classification to select a five-stage review workflow. Examine the reported OpenAnolis results, their limits, and how Kitta’s human merge boundary differs from Qwen Code’s approval-dependent PR watch, which can verify and push changes.

Editorial note · AI-assisted

AI-assisted original explainer; sources are listed at the end. Worked examples and exercises were not run unless marked as tested. Diagrams are AI-generated. The cover is an editorial photo.

Based on Alibaba Cloud Native Community’s Kitta account and Qwen Team’s October 29, 2026 product update.

Laptop displaying source code
Photograph · Dawit / Unsplash

Key points

  • Kitta builds project-specific review assets from historical reviews and defect records, then combines those assets with workflows tailored to the change being reviewed.
  • In the reported OpenAnolis kernel deployment, review follows five stages; patch classification controls whether backport-specific checks apply, and maintainers retain the final merge decision.
  • Kitta’s authors report operational and domain-level metrics, but the supplied account does not define every metric or provide enough benchmark detail for independent reproduction.

The engineering problem: review capacity and project context

Alibaba Cloud Native Community’s article about Kitta, published November 6, 2026, describes a code-review bottleneck: more AI-assisted code output can mean more work for reviewers, while a general-purpose review agent may lack the project-specific knowledge needed to judge changes. The article cites a DORA study reporting associations with a 9% rise in code bug rate, 91% more code-review time and 154% larger average pull requests. Those are reported correlations, not evidence that AI assistance caused the changes.

Kitta’s design addresses a narrower engineering question: how can a review agent use local project knowledge and apply different checks to different kinds of changes, while leaving merge decisions to people?

Design: evidence assets, tailored checks and iteration

The Kitta account describes three connected parts.

First, the team derives project-level expert assets from historical reviews and defect records. Its described process collects and associates records, normalizes and denoises them, parses them semantically, and attempts isolated reproduction. The resulting assets include judgment criteria—such as defect patterns and project conventions—and validation samples containing problems, normal cases and expected conclusions. The stated purpose of reproduction is to verify that a pattern is not merely noise in the historical record.

Second, Kitta separates the review workflow—what to inspect—from domain knowledge—how to judge what it finds. For the OpenAnolis kernel setting, the article describes checks for semantic consistency, backport completeness, distribution conventions and integration risk. Kernel-specific knowledge is organized by subsystem. The account also describes a deeper review process that presumes a possible defect, traces the full-stack call chain, and then challenges the initial conclusion.

For backported patches, the design includes comparing the downstream adaptation with its upstream original and tracing upstream dependencies to look for missing fixes. Kitta also checks process-related material such as PR descriptions and their consistency with the code.

Third, the team describes both offline and online iteration. Offline, it evaluates against validation samples. Online, it analyzes review comments and developers’ subsequent code behavior, alongside comment acceptance monitoring, to inform knowledge updates and threshold adjustment. The account describes this as a calibration mechanism; it does not establish independently that this mechanism caused a particular improvement.

VISUAL NOTE
Selected document slices and their neighboring context enter a transparent reading window.
AI-generated concept illustrationFrom demonstration to evidence

The five-stage OpenAnolis workflow

In the described deployment, a review starts when a developer submits a PR or comments /check-code-review. Kitta then proceeds through five stages:

1. Classify the PR. It distinguishes self-developed patches from backports, using an upstream-patch declaration in the commit as one signal. This classification determines which later checks apply. Self-developed patches skip the backport completeness and consistency checks. 2. Check PR and commit-message conventions. Kitta checks the description, title, commit message and related material against OpenAnolis community specifications, providing suggestions when it finds a problem. 3. Check backport completeness. For backported changes, it traces upstream dependencies, identifies relevant upstream Fixes patches and checks whether each is included in the PR or already exists downstream. The article describes outcomes including no missing fix, a fix already present downstream, or a missing fix that the developer needs to supply. 4. Check backport consistency. For a backport with an upstream source, Kitta retrieves the original and compares modified files and code blocks, relevant context such as symbols and definitions, and functional semantics. It reports layered results, from consistent to text, semantic or broader inconsistency. 5. Review code quality. Kitta reports findings by severity, including Critical and Medium / Low, and returns LGTM when it finds no risk.

The source says Critical findings are usually attached as inline comments to relevant lines, and that developers must address them or explicitly identify them as false positives. Separately, its summary says security vulnerabilities and breakages must be blocked in CI, while other issues should be presented more selectively. These statements do not establish that every Critical finding automatically blocks CI. The account says maintainers make the final merge decision.

Evidence and decisions

AreaWhat the source reportsWhat that evidence supports—and its limit
Project knowledgeHistorical reviews and defects are processed into judgment criteria and validation samples, with isolated reproduction.Documents a traceability-oriented design; does not prove the historical record is complete or unbiased.
Scope of checksClassification controls which checks apply; self-developed patches skip the two backport-specific checks.Shows context-sensitive workflow design; does not establish that every relevant risk is covered.
Review authorityFindings are produced for developers and maintainers; maintainers make the final merge decision.Makes the reported decision boundary clear; does not guarantee that findings are correct or acted on appropriately.
IterationThe account describes offline validation and online observation of comments and subsequent code behavior.Establishes the stated feedback process, not an independent causal evaluation of its effect.
Reported deploymentThe article reports 70,000+ reviews, 97% “gatekeeping accuracy” and a 62% code merge rate.Gives operational figures as reported by the publisher; metric definitions and denominators are not fully specified in the supplied account.

For two OpenAnolis scenarios, the article reports backport-consistency comment acceptance of 70.4% and accuracy of 99.8%; for self-developed PR code-review comments, it reports acceptance of 41.8% and accuracy of 73.6%. These are distinct scenario-specific measures, not interchangeable estimates of overall review quality. The supplied account does not provide enough detail about metric definitions and labeling rules to reproduce them independently.

The article also reports review-quality improvement in six domains: operating-system kernel, 20.4%; compiler, 24.4%; file system, 17.0%; network system, 19.8%; cloud-native platform, 31.6%; and AI computing framework, 21.7%. It says its benchmark draws on LKML review data, the sashiko benchmark and OpenAnolis community data, and mentions comparisons with sashiko, review-prompts and qoder. These details describe data sources and comparison participants, but the supplied text does not specify enough about the improvement metric, baselines and evaluation procedure to independently interpret or reproduce the percentages. The reported results are the publisher’s account, not independent validation.

EXPLAINED IN SLICES

From demonstration to evidence

  1. Claim

    What exactly is being claimed?

  2. Scope

    Tasks · conditions · access

  3. Evidence

    What can be reproduced?

Editorial diagramKeep a demonstration, a proposed test and measured results separate. Record missing evidence before drawing a deployment conclusion.

Trade-offs and a contrast in action authority

The approach depends on usable project history, reliable examples and continued maintenance of domain knowledge. Cleaning and reproducing historical findings takes work; old conventions may become stale; and subsystem-specific rules do not automatically transfer to another repository. The source reports validation across six domains, but does not establish that the same results will hold for a new project or a different review policy.

A useful contrast comes from the Qwen Team’s October 29, 2026 Qwen Code update. Its /autofix-pr feature watches a pull request on the user’s own machine, checking for new changes every two minutes. When it responds to a failed build, review comment or branch conflict, it works in a separate worktree, runs the repository’s own checks, and only then commits and pushes its changes. The update distinguishes ordinary starts, which follow the user’s approval settings, from watches started with auto-execution chosen, which run fixes in the background. This describes specific product behavior, not a guarantee that every automated fix is safe.

The comparison is about permission, not equivalent implementations: Kitta’s account emphasizes review findings and a human merge decision; Qwen’s described watch can make and push changes under the selected approval mode. Teams should decide separately what evidence an agent may produce and what actions it may take. The more consequential the action, the more important it is to make its scope, verification and approval mode visible.

Our verdict

Kitta’s most transferable engineering lesson is to make review depend on verifiable project knowledge and checks suited to the change, rather than assuming generic code review is enough. Its five-stage OpenAnolis workflow shows how classification can limit unnecessary checks while still giving backports dedicated completeness and consistency review. Its reported figures are encouraging as deployment evidence, but the available metric and benchmark details do not support treating them as independently reproducible guarantees.

The authority boundary matters just as much as detection quality. A review comment, a CI block and a pushed code change are different levels of intervention. Define each explicitly, preserve a human route for resolving disagreement, and treat reported results as evidence to examine—not as a substitute for local validation.

Share this articleXSubscribe with RSSThe Weekly Slice
Was this useful?
Loading likes…

Original references

Kitta: Code Review Agent for Higher-Quality Code Reviewswww.alibabacloud.com · Nov 6, 2026Reference 1Qwen Code Weekly: /autofix-pr Keeps a PR Moving After You Open It, Scheduled Tasks Clear a Gate Before the Model Runs, qwen attach Brings a Background Session Back to the Terminalqwenlm.github.ioReference 2