Repository navigation
feat(review-core): calibrate blocking rules and add R2 OpenCode cross-review - #44
Conversation
…-review Add explicit Blocking vs. Advisory calibration so PR title/description wording mismatches stay advisory instead of blocking merges. When OPENCODE_CROSS_REVIEW_MODEL is configured and a PR touches high-risk paths, run both OpenCode models in parallel and merge their verdicts.
AI Code Review (opencode /
|
|
@Pigbibi needs a human: merging this repository deploys; owner approval needed. |
|
Autoland: escalated to the owner: merging this repository deploys; owner approval needed |
AI assistance
antigravity@macbook(Gemini) under owner direction.Changes
packages/review-core/provider.mjs:## Blocking vs. Advisory CalibrationtobuildReviewMessagesso PR title/description wording scope mismatches, prose polish, and style preferences are reported aslow(advisory) rather than blocking merges.mergeCrossReviewVerdictsand optionalOPENCODE_CROSS_REVIEW_MODELdual-model cross-review inexecuteReviewWithFallbackwhencrossReviewis enabled (validates the cross-review model differs fromOPENCODE_MODEL).adapters/cloudflare-workflow/worker.mjs:crossReview: requiredProviderCountForReview(...) > 1toexecuteReviewWithFallbackso high-risk paths automatically trigger dual-model cross-review when configured.tests/review-core.test.mjs:Verification
npm test: all 79 tests passed.