Skip to content

Commit the Registry-Rendered Agent Policy Files - #469

Merged
ptr727 merged 2 commits into
developfrom
feature/render-agent-policy
Nov 6, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/render-agent-policy

Conversation

@ptr727

@ptr727 ptr727 commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Adds the files ProjectTemplate 2.0.1359 renders from this repository's registry entry, written by repo-config/configure.sh apply --checkout and scripts/agent_policy.py write.

  • .github/agent-policy.json says which review bots run, on which bases, and when. The hub's scripts/pr_review.py reads it.
  • .coderabbit.yaml and .pr_agent.toml carry the same choice to CodeRabbit and Qodo. .coderabbit.yaml also sets auto_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-run reports all three files unchanged against this branch, the policy validates against spec/agent-policy.schema.json, and editorconfig-checker passes on the files.

🤖 Generated with Claude Code

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.
Copilot AI lite review requested due to automatic review settings November 6, 2026 19:17
@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.68%. Comparing base (9147331) to head (d8fbd26).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #469   +/-   ##
========================================
  Coverage    87.68%   87.68%           
========================================
  Files           11       11           
  Lines         1941     1941           
  Branches       252      252           
========================================
  Hits          1702     1702           
  Misses         166      166           
  Partials        73       73           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Static validation confirms the generated policies are internally consistent, but live trigger, base-branch, and account-level settings for the review bots require maintainer verification on a fresh pull request.

No open issues 🎉

What changed in this PR

Adds registry-rendered repository-level policy files to preserve automatic Copilot, CodeRabbit, and Qodo reviews when account-level defaults change.

Changes:

  • Adds the canonical automatic review policy and bot triggers.
  • Configures CodeRabbit reviews for develop and disables automatic pausing.
  • Enables Qodo automatic feedback.
File Description
.pr_agent.toml Enables Qodo automatic feedback.
.github/​agent-policy.json Defines automatic review behavior, bases, cadence, and gating for all three bots.
.coderabbit.yaml Enables CodeRabbit reviews for develop and disables automatic pausing.

Review effort: Lite

@ptr727

ptr727 commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Declined. The review headline asks for maintainer verification of the live bot behaviour after the account-level toggles change. That is not a defect in this diff: the files equal the hub render, which configure.sh check verifies. The live check is a planned step of the cutover, run on a fresh pull request after the toggles are turned off, and is tracked in ptr727/ProjectTemplate#3877.

@ptr727
ptr727 merged commit ad5a202 into develop Nov 6, 2026
15 checks passed
@ptr727
ptr727 deleted the feature/render-agent-policy branch November 6, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants