Repository navigation
Commit the Registry-Rendered Agent Policy Files - #587
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.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
There was a problem hiding this comment.
🟢 Approval recommended
The supplied review record identifies no unresolved issues with the repository policy configuration.
No open issues 🎉
What changed in this PR
Adds registry-rendered repository policy files to preserve automatic Copilot, CodeRabbit, and Qodo reviews after account-level review settings change.
Changes:
- Defines automatic review triggers, branches, timing, rounds, and gating.
- Configures CodeRabbit reviews on
developwithout pausing after reviewed commits. - Enables Qodo automatic feedback.
| File | Description |
|---|---|
.pr_agent.toml |
Enables Qodo automatic feedback. |
.github/agent-policy.json |
Defines the repository-wide automatic review policy. |
.coderabbit.yaml |
Enables CodeRabbit automatic reviews on develop and prevents review-commit pausing. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #587 +/- ##
==========================================
Coverage ? 66.95%
==========================================
Files ? 11
Lines ? 2503
Branches ? 0
==========================================
Hits ? 1676
Misses ? 827
Partials ? 0
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:
|
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