Repository navigation
Commit the Registry-Rendered Agent Policy Files - #1209
Conversation
Adds the files the hub renders from this repository's registry entry. They are .github/agent-policy.json, which scripts/pr_review.py reads for when each review bot runs, plus .coderabbit.yaml and .pr_agent.toml, which carry the same choice to CodeRabbit and Qodo. They keep every bot on automatic review, as today. They matter once the account-level automatic review toggles go off: without them this repository would lose its reviews. Written by repo-config/configure.sh apply --checkout, so configure.sh check reads no agent-policy drift.
A repository's .coderabbit.yaml replaces CodeRabbit's central and UI settings, so without this key CodeRabbit pauses after five reviewed commits. Rendered by ProjectTemplate 2.0.1359.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
PR Summary by QodoCommit registry-rendered review bot policies
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1. CodeRabbit may skip default-branch PRs
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain, including the required CodeRabbit coverage for the default main branch.
No open issues 🎉
What changed in this PR
Adds rendered repository agent-policy files to preserve automatic Copilot, CodeRabbit, and Qodo reviews when account-level settings change.
Changes:
- Adds the central automatic review policy and branch coverage.
- Configures CodeRabbit for automatic reviews without a reviewed-commit pause limit.
- Enables automatic Qodo feedback.
- CodeRabbit’s configuration must include the repository’s default
mainbranch in addition todevelop.
| File | Summary | Findings |
|---|---|---|
.pr_agent.toml |
Enables automatic Qodo/PR-Agent feedback. | None |
.github/agent-policy.json |
Defines automatic review triggers, branch scopes, review rounds, and Copilot gating. | None |
.coderabbit.yaml |
Configures automatic CodeRabbit reviews and disables the reviewed-commit pause limit. | P1 / Moderate: Add ^main$ to base_branches so pull requests targeting the default branch receive CodeRabbit reviews. (1 vote) |
Review effort: Lite
|
Declined, disproved. @qodo-free-for-open-source-projects please dismiss finding 1, "CodeRabbit may skip default-branch PRs". It is disproved: CodeRabbit's The Copilot round's file-table finding asking to add |
I can't dismiss finding 1 ("CodeRabbit may skip default-branch PRs") right now. The findings index for this PR is empty, so I have no stable ID to match it to, and I don't want to close the wrong item. Could you confirm the finding in one of these ways?
I also haven't checked the CodeRabbit docs you cited. If you want that verified, I can look at the |
Adds the files ProjectTemplate 2.0.1359 renders from this repository's registry entry, written by
repo-config/configure.sh apply --checkoutandscripts/agent_policy.py write..github/agent-policy.jsonsays which review bots run, on which bases, and when. The hub'sscripts/pr_review.pyreads it..coderabbit.yamland.pr_agent.tomlcarry the same choice to CodeRabbit and Qodo..coderabbit.yamlalso setsauto_pause_after_reviewed_commits: 0, since a repository's file replaces CodeRabbit's central and UI settings and CodeRabbit otherwise pauses after five reviewed commits.Every bot stays on automatic review, as today. These files matter once the account-level automatic review toggles go off, since without them this repository would lose its reviews. Part of the review cutover tracked in ptr727/ProjectTemplate#3877.
Verification: the hub's
agent_policy.py write --dry-runreports all three filesunchangedagainst this branch, the policy validates againstspec/agent-policy.schema.json, and editorconfig-checker passes on the files.🤖 Generated with Claude Code
Summary by CodeRabbit
developbranch.