Skip to content

ci: add AGENTS.md integrity check (thin caller of shared workflow)#1306

Merged
comfyui-wiki merged 1 commit into
mainfrom
ci/agents-md-integrity-caller
Jul 22, 2026
Merged

ci: add AGENTS.md integrity check (thin caller of shared workflow)#1306
comfyui-wiki merged 1 commit into
mainfrom
ci/agents-md-integrity-caller

Conversation

@mattmillerai

Copy link
Copy Markdown
Contributor

ELI-5

This repo has an AGENTS.md (the house rules for AI coding agents). This PR adds
a small CI check that makes sure that file stays healthy on every pull request —
it's short enough, has a CLAUDE.md shim pointing at it, no stray .cursorrules,
and so on. The actual checking logic doesn't live here; it lives once in
Comfy-Org/github-workflows and every repo calls it. This file is just the thin
"call that shared check" wire-up.

What & why

  • Adds .github/workflows/agents-md-integrity.yml, a thin caller of the reusable
    AGENTS.md Integrity workflow maintained centrally in Comfy-Org/github-workflows
    (single source of truth for the check logic).
  • The checker is loaded from a full-SHA-pinned ref (fe6b08e2…) rather than
    this repo's checkout, so the check is reproducible and can't be rewritten by a PR.
    The pin follows the github-workflows README convention (full SHA, not the v1
    tag — v1 predates this workflow).
  • All inputs stay at defaults; no secrets required.
  • This repo has been registered in the upstream AGENTS_MD_CALLERS variable, so the
    workflows repo will open SHA-bump PRs here automatically when the shared check
    changes (keep the uses: SHA and workflows_ref in 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 (no CODEOWNERS
file, which is warn-only since require_codeowners defaults to false). Adding a
CODEOWNERS DRI is intentionally out of scope for this PR. The check should
run green on this PR itself.

Follow-up (human/ops)

Make AGENTS.md integrity a required status check in this repo's branch protection.

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.
@mattmillerai mattmillerai added cursor-review Trigger Cursor automated review agent-coded PR authored by the agent-work loop labels Jul 21, 2026
@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 46 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 1a0c215d-997b-48f7-8382-b75948fd3fe5

📥 Commits

Reviewing files that changed from the base of the PR and between 78f7d2c and 71e7083.

📒 Files selected for processing (1)
  • .github/workflows/agents-md-integrity.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/agents-md-integrity-caller
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch ci/agents-md-integrity-caller

Comment @coderabbitai help to get the list of available commands.

@mattmillerai
mattmillerai marked this pull request as ready for review July 21, 2026 20:02
@mintlify

mintlify Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
comfy 🟢 Ready View Preview Jul 21, 2026, 8:04 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@comfyui-wiki
comfyui-wiki merged commit 008532d into main Jul 22, 2026
8 checks passed
@github-actions
github-actions Bot deleted the ci/agents-md-integrity-caller branch July 22, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-coded PR authored by the agent-work loop cursor-review Trigger Cursor automated review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants