You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d492b6a
Browse filesBrowse the repository at this point in the historyBrowse files
feat(cursor-review): approve_scope — gate auto-approve rounds 2+ on the delta since the last reviewed commit
Rounds after the first count a finding above approve_max_severity only when it
sits inside the verified incremental block, re-raises an unresolved earlier
thread, or is High/Critical anywhere. Other findings post as threads marked
non-blocking and are never auto-resolved. Round 1, an unavailable or discarded
block, and an unknown ledger fail closed to full; full keeps today's gate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .github/cursor-review/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -287,6 +287,7 @@ All optional except `workflows_ref` (required, no default) — pass them under
287
287
| `run_without_label` | `false` | Run on plain PR events instead of requiring the trigger label. Also requires widening the caller's `types:` — see [the setup guide](../../docs/callers/cursor-review.md). |
288
288
| `blocking` | `false` | Adds the fail-closed **Blocking gate** check: red while any cursor-review finding thread is unresolved and non-outdated, and red when the round that should have produced those threads did not land (including an over-cap skip). Blocking the merge additionally requires marking that check required in the caller's ruleset — see [the blocking section above](#optional-make-the-review-blocking). |
289
289
| `approve_max_severity` | `''` (off) | Opt-in auto-approve: `medium`, `low` or `nit` → the bot approves (pinned to the reviewed commit) when every finding is at or below it and requests changes when any is above; anything else fails the run. Read the trust model in [the setup guide](../../docs/callers/cursor-review.md#auto-approve) first — the approval is no stronger than push access. |
290
+
| `approve_scope` | `delta` | Rounds 2+ of auto-approve gate only on findings inside the verified incremental block, live re-raises of unresolved threads, and High/Critical anywhere; the rest post as threads marked non-blocking and are never auto-resolved. Fails closed to `full` (every finding counts) on round 1, an unavailable/discarded block, or an unknown ledger. |
290
291
| `defer_approval` | `false` | For a caller that runs cursor-approve after this workflow: an APPROVE outcome still reports `approve_gate` = `pass` but posts no approval and resolves no thread, and withdraws the approver's own earlier auto-approvals and requests for changes, so cursor-approve's decide is the only approver. |
291
292
| `max_rounds` | `5` | Per-PR review-round cap; `0` → none. Counts the posting identity's consolidated reviews since `needs-human-review` was last removed; at or over the cap the panel is skipped, the PR is labelled `needs-human-review`, one comment lists the latest round's open findings above the threshold, and the `approve_gate` output is `capped`. Fails open on a read error. See [the setup guide](../../docs/callers/cursor-review.md#round-cap-and-the-approve_gate-output). |
292
293
| `runs_on` | `'"ubuntu-latest"'` | JSON-encoded `runs-on` (same shape as `cursor-review-auto-label.yml`'s) for the four credential-free heavy jobs only: `diff-size`, `preflight`, the `review` panel and `consolidate`. The gate, ledger, Slack notices and every job holding the App token or `pull-requests: write` stay on GitHub-hosted `ubuntu-latest`. Those four run models with unsandboxed shell over PR code, so use a self-hosted pool only if each job gets a fresh pod (fresh filesystem and `$HOME`), holds no cloud identity or token, and can't reach private networks or the metadata server. The image must be linux/x64 with bash, git, curl, jq, python3, gh, tar and GNU coreutils. |
0 commit comments