ci: add AGENTS.md integrity check (thin caller of shared workflow)#1306
Conversation
Add a thin PR-time caller that runs the reusable AGENTS.md integrity check maintained in Comfy-Org/github-workflows (the single source of truth). The checker is loaded from a full-SHA-pinned ref rather than this repo's checkout, so the check behavior is reproducible and bumped deliberately. Register this repo in the upstream AGENTS_MD_CALLERS variable so the workflows repo opens SHA-bump PRs here automatically when the shared check changes.
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 46 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
ELI-5
This repo has an
AGENTS.md(the house rules for AI coding agents). This PR addsa small CI check that makes sure that file stays healthy on every pull request —
it's short enough, has a
CLAUDE.mdshim pointing at it, no stray.cursorrules,and so on. The actual checking logic doesn't live here; it lives once in
Comfy-Org/github-workflowsand every repo calls it. This file is just the thin"call that shared check" wire-up.
What & why
.github/workflows/agents-md-integrity.yml, a thin caller of the reusableAGENTS.md Integrityworkflow maintained centrally inComfy-Org/github-workflows(single source of truth for the check logic).
fe6b08e2…) rather thanthis repo's checkout, so the check is reproducible and can't be rewritten by a PR.
The pin follows the
github-workflowsREADME convention (full SHA, not thev1tag —
v1predates this workflow).AGENTS_MD_CALLERSvariable, so theworkflows repo will open SHA-bump PRs here automatically when the shared check
changes (keep the
uses:SHA andworkflows_refin lockstep on those bumps).Verification
Before adding the caller, the pinned checker was run locally against a fresh export
of
origin/main: it passes with a single non-fatal warning (noCODEOWNERSfile, which is warn-only since
require_codeownersdefaults to false). Adding aCODEOWNERSDRI is intentionally out of scope for this PR. The check shouldrun green on this PR itself.
Follow-up (human/ops)
Make
AGENTS.md integritya required status check in this repo's branch protection.