Repository navigation
Commit the Registry-Rendered Agent Policy Files - #305
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:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #305 +/- ##
========================================
Coverage 85.89% 85.89%
========================================
Files 3 3
Lines 695 695
========================================
Hits 597 597
Misses 98 98
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟡 Changes recommended
The configuration omits the repository’s default branch from CodeRabbit’s base-branch patterns, leaving an active mismatch that prevents automatic reviews for PRs targeting main.
1 open issue
What changed in this PR
This pull request adds the registry-rendered agent policy files that preserve automatic review coverage and permit operational in-place commits on develop.
Changes:
- Adds the canonical review and checkout-guard policy.
- Configures CodeRabbit and Qodo automatic reviews.
- Disables CodeRabbit’s reviewed-commit pause limit.
- Issue: CodeRabbit is limited to
developand does not include the repository’s defaultmainbranch, unlike the shared policy.
| File | Summary |
|---|---|
.pr_agent.toml |
Enables automatic Qodo feedback. |
.github/agent-policy.json |
Defines review bots, branch coverage, gating, and the develop primary-checkout guard. |
.coderabbit.yaml |
Configures CodeRabbit automatic review behavior and reviewed-commit pause handling; should also include main in base_branches. |
Review effort: Lite

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.
As an operational repository, the policy also carries a
guardsection listingdevelopunderprimaryCheckout.commitInPlace.branches. Once this file reachesmain, the fleet's write guard lets an agent commit in place ondevelopin the primary checkout, the operational model's standard workflow.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. Automated review tools are configured to run when a change is opened and after each push.