Alibaba Open Code Review v1.14.8 Hands-On Precheck: Verify Scope Before Review Noise
The hardest part of AI code review is often not a complete lack of findings. It is the stream of plausible-looking comments that still need to be checked one by one. Alibaba's Open Code Review splits the job into stages: code first determines the file scope and rules, then an LLM groups files, gathers context, and proposes comments.
For this test, I pinned v1.14.8, checked the npm package against the release, and ran delegate preview on two small fixtures. The result proves that the scope can be saved as reproducible JSON. It does not include a model review, so this article cannot tell us whether the tool reduces false positives, missed issues, or human effort. That distinction matters: a successful preview and a useful review are not the same result.
TL;DR
- v1.14.8 was the latest GitHub and npm release when the retained test ran. By 17:13 that day in Taipei, npm latest had moved to v1.14.9. The pinned installation still reported commit
8cabd573. - Both fixtures produced scope JSON successfully. This proves that tracked diffs were included, not that the findings were good.
- Delegation mode hands model work to the host agent. It does not mean code stays out of a model, nor does it remove account or usage costs.
- For now, use it for shadow reviews on non-sensitive fixtures, not as a blocking PR gate.
Pin the version and verify which binary you installed
Finding counts do not mean much if the binary and rule version being compared are unknown. This test used @alibaba-group/open-code-review@1.14.8. The npm registry returned this tarball:
https://registry.npmjs.org/@alibaba-group/open-code-review/-/open-code-review-1.14.8.tgz
The retained integrity value was:
sha512-iDtPdWl7SV1oatJ3r1G/eAJuadi9Y3YKzlIvCxeJXPUyStolsouuqQaNM+yhe64aTYPkkxRycqgcO+aVAfh/Lg==
After installation, ocr version returned:
open-code-review v1.14.8 (8cabd573) darwin/arm64
This receipt connects the npm package and platform to the commit in the v1.14.8 release. The official release also shows a verified tag signature, while the release workflow provides checksums and artifact attestations. This evidence raises confidence that the expected build was installed. It does not guarantee that the tool has no vulnerabilities.
What the two preview fixtures actually proved
Fixture A contained a JavaScript authentication diff plus a dist/ file excluded by .gitignore. After ocr delegate preview --format json ran with exit code 0, the output included only src/auth.js:
{"schema_version":"1","mode":"workspace","total_files":1,"reviewable_count":1,"excluded_count":0,"total_insertions":1,"total_deletions":1,"reviewable_files":[{"path":"src/auth.js","status":"modified","insertions":1,"deletions":1}],"excluded_files":[]}
Fixture B changed both English and Chinese properties files. Both appeared in the reviewable scope:
{"schema_version":"1","mode":"workspace","total_files":2,"reviewable_count":2,"excluded_count":0,"total_insertions":2,"total_deletions":2,"reviewable_files":[{"path":"locales/message_en.properties","status":"modified","insertions":1,"deletions":1},{"path":"locales/message_zh.properties","status":"modified","insertions":1,"deletions":1}],"excluded_files":[]}
To rerun the smallest version of the test, initialize a Git repository in a fresh temporary directory, commit the baseline files, modify the tracked files, then run this from the repository root:
npm exec --yes --package=@alibaba-group/open-code-review@1.14.8 -- \
ocr delegate preview --format json > preview.json 2> preview.stderr
printf 'exit=%s\n' "$?"
The retained receipt also contains the baseline and modified contents for both fixtures, the complete Git diffs, environment, stdout, stderr, and exit codes. In Fixture A, .gitignore excluded the untracked dist/app.js, so it appeared in neither the Git diff nor preview scope. This does not establish how every excluded-path rule behaves.
Neither run made an LLM call, so model token cost was 0. The full research session was not measured with a single timer and remains unknown. More importantly, the JSON contains no code-review findings. We cannot calculate precision, recall, false positives, missed issues, or triage time. These results provide no basis for claiming that Open Code Review is more accurate than a general-purpose agent.
You can use the same process to inspect a synthetic diff of your own. Do not include real secrets or connect it to production CI on the first run. Save the version, fixture, command, exit code, and raw JSON so you can tell which layer changed the next time you run it.
Where rules end and LLM judgment begins
The v1.14.8 architecture document describes native review clearly. A Git diff passes through six file filters that exclude binaries, secret paths, excluded paths, and unsupported extensions before rules are resolved for each file. This makes the boundary of which files may enter review easier to replay.
The rest is not a purely rule-based pipeline. Semantic grouping sends file names, statuses, and line counts to an LLM. Each group then starts an LLM tool loop that can read diffs and repository context as needed. A model may also relocate or filter comments at the end. Even with identical scope, the provider, model version, and context can change the findings.
In practice, retain four pieces of evidence for each review: the scope receipt, applied rules, model findings, and human disposition. The first two describe a relatively reproducible boundary. The latter two tell you whether the comments helped and how much human time they consumed. If you save only the final model summary, it is hard to tell whether a failure came from file selection, rules, the model, or human judgment.
Delegate needs no separate API key, but code still enters a model workflow
According to the official delegation documentation, OCR handles file selection and rule resolution, while the host agent performs the review. OCR therefore needs no separate LLM endpoint, but the overall workflow still uses a model.
The host agent reads the diff, explores context, and generates findings. It also uses its own login state or quota. Where the code goes, how long it is retained, and whether it can be deleted depend on the chosen host and account policy. This article does not select a single host provider, so retention, training policy, and actual cost remain unknown. Delegation should not be described as fully local or free.
Start with the responsibility boundary when comparing the three approaches:
| Approach | Who determines scope and rules | Who runs the model review | Main unknown |
|---|---|---|---|
| Native | OCR | OCR's configured provider | Provider policy plus token and session costs require separate checks |
| Delegate | OCR | Host agent | Host data policy, authentication, and quota |
| Direct agent review | Prompt or agent tooling | Host agent | No automatic OCR scope or rule receipt |
Delegate's clearest addition is the OCR scope and rule harness. This test did not produce paired outputs from the same model and fixture, so it cannot tell us whether review quality beats asking that model to inspect the diff directly.
Do not substitute finding count for human cost
Fewer findings do not necessarily mean a better review. Precision may improve, or the tool may simply miss more problems. To test whether noise falls, define ground truth for the fixture, mark every finding as true, false, or unclear, record missed issues, and measure the minutes a human spends making those calls.
The official benchmark explains how the project measures precision, recall, tokens, and speed, but it cannot stand in for your repository. Some Hacker News and Reddit users have also questioned false positives, quota use, whole-project scope, and incomplete comparisons. Those individual reports do not prove that the tool is bad either. Applying the same evidentiary standard to both sides keeps a convenient number from becoming the answer.
For the next shadow test, use a minimal measurement table: pin tool and model versions, use a fixed public fixture, retain raw output, then record disposition, missed issues, tokens, elapsed time, and triage time. If a field is unavailable, limit the conclusion to what you could measure.
A security filter is not a private-code guarantee
The secret-path filter excludes paths matching built-in patterns. Once ordinary source diffs pass the scope filter, a native provider or host agent may still read them. A secret filter does not imply that private code stays out of the model.
In September 2026, Open Code Review published GHSA-wwg6-qfxw-xffj. Before version 1.11.1, a malicious repository rule could read text files outside the repository on the review host and send their contents into an LLM prompt. Version 1.11.1 fixed the issue, so v1.14.8 is newer than the patched version. However, the official security policy supports only the latest release.
That is why a pinned research version and a long-term production version serve different needs. Pinning v1.14.8 makes the test reproducible. Before adoption, recheck the latest release, advisories, rule sources, and symlink boundaries. This test did not reproduce the exploit or cover every symlink edge case, so being newer than the patched version is not a blanket security guarantee.
Adoption decision: start in shadow mode, and know when to skip
If you want to know whether OCR adds observability to an existing agent review, run preview on a public or synthetic fixture first, then perform one bounded model review. Do not grant CI write permission, include real secrets, or let a provider failure block merges. Retaining the receipts also makes it safe to remove the temporary fixtures and session afterward.
Native fits users willing to manage an OCR provider, model, and token cap. Delegate fits users who already trust a host agent's data policy and want OCR's scope and rules. If organizational policy forbids sending code to the relevant model, raw output cannot be retained, costs are opaque, or human triage does not fall, skip it. Linting, SAST, and human review are the more honest choice in those cases.
The most defensible value today is that Open Code Review makes file scope and rules easier to inspect than a one-line prompt. Whether it reduces noise remains unanswered until fixed-model output, ground truth, and human review time are available. Finish that evidence trail before connecting it to a PR gate.
FAQ
Can I use Open Code Review without another API key?
You can run delegate preview first. In delegation mode, OCR does not need a separate LLM endpoint, but the host agent still needs its own model authentication and available quota. That does not mean account-free, free, or offline review.
Does preview exit 0 mean the code review passed?
No. It only means the preview command generated a scope successfully. It says nothing about model finding accuracy, missed issues, or human review time.
Is v1.14.8 still supported?
v1.14.8 was the latest GitHub release and npm version when the retained test ran. By 17:13 on December 4, 2026 (Taipei time), npm latest had moved to v1.14.9. The official security policy supports only the latest version, so do not treat the pinned test version as currently supported. Recheck releases and security advisories before installing.
Was this article helpful?



