接入 OpenCodeReview 作为可选代码审查层 - #74
Merged
Merged
Conversation
- 新增 OpenCodeReview 规则文件,复用现有 codeReviewSkill 并默认排除敏感/生成范围。 - 新增本地 OCR wrapper 与 pnpm 命令,支持 diff review、required gate、scan 和 hard exclude 合并。 - 新增默认关闭的 PR workflow,支持 fork 跳过、非阻断状态 artifact、固定 OCR 版本和 blocking 开关。 - 更新 pre-push、README、agent-work 文档和 exec-plan 账本,说明自动审查触发条件与启用方式。
sunrisefromdark
marked this pull request as ready for review
July 6, 2026 09:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
codeReviewSkill.md审查口径pnpm ocr/code-review:ocr*命令验证
corepack pnpm typecheckcorepack pnpm testgit diff --checkcorepack pnpm code-review:preflightOCR_BIN=__missing_ocr__ corepack pnpm ocrOCR_BIN=echo corepack pnpm code-review:ocr -- --exclude src/generated/** --preview备注
本地未安装
ocrCLI,因此真实ocr rules check和 OCR preview 已记录为 skipped。启用 GitHub PR 审查前,需要配置OCR_REVIEW_ENABLED=true以及 OCR provider 的 URL、token 和 model。