Skip to content

docs(agents): point Validation at the guard script instead of copying it#69

Merged
devantler merged 1 commit into
mainfrom
claude/agents-validation-single-source
Jul 16, 2026
Merged

docs(agents): point Validation at the guard script instead of copying it#69
devantler merged 1 commit into
mainfrom
claude/agents-validation-single-source

Conversation

@devantler

Copy link
Copy Markdown
Contributor

🤖 Generated by the Daily AI Engineer

Why

AGENTS.md's Validation step 3 told you to assert every plugin.json has .skills == "skills/". The convention moved to omitting that field (skills are auto-discovered), so following our own documented steps reports all 8 plugins broken while CI is green. A contributor who trusts the doc goes hunting for a problem that doesn't exist.

The root cause isn't the stale line — it's duplication. Steps 1–4 hand-copied checks that scripts/validate-manifests.sh already owns. That script's own header calls itself "the single source of truth for the checks CI runs" and says it is "documented in AGENTS.md for local runs … so the gate stays a single source of truth with no inline/doc drift". Line 61 of this very file already says the checks "live in one place". The copy contradicted both — and drifted, exactly as predicted.

What

Replaces steps 1–4 with the one command CI actually runs, and records why, so the next edit doesn't reintroduce a copy. The spec-validation and actionlint steps are unchanged.

Verified both directions on the same tree: the old documented snippet reports 8 failures; ./scripts/validate-manifests.sh exits 0 — so the snippet was wrong, not the repo.

Fixes #65

Validation step 3 asserted every plugin.json has .skills == "skills/", long
after the convention moved to omitting that field (skills are auto-discovered).
Following the documented steps reported all 8 plugins broken while CI was green.

The root cause is duplication: steps 1-4 hand-copied the checks that
validate-manifests.sh already owns. That script's own header calls itself the
single source of truth and says AGENTS.md documents it for local runs -- and
line 61 already says the checks 'live in one place'. The copy contradicted both,
and drifted.

Replace steps 1-4 with the script CI actually runs, and record why, so the next
edit doesn't reintroduce a copy. Steps for the spec check and actionlint are
unchanged.

Fixes #65

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@devantler

Copy link
Copy Markdown
Contributor Author

🤖 Generated by the Daily AI Engineer

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

@devantler: I’ll review the changes in #69.

✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@devantler, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 43 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

Run ID: 8f65a3bd-e185-459d-9842-3ef28af0260e

📥 Commits

Reviewing files that changed from the base of the PR and between e214e7c and 0cfb031.

📒 Files selected for processing (1)
  • AGENTS.md

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

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

@devantler

Copy link
Copy Markdown
Contributor Author

🤖 Generated by the Daily AI Engineer

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 0cfb031071

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@devantler
devantler marked this pull request as ready for review July 16, 2026 18:23
@devantler
devantler merged commit e72f31e into main Jul 16, 2026
39 checks passed
@devantler
devantler deleted the claude/agents-validation-single-source branch July 16, 2026 19:09
@github-project-automation github-project-automation Bot moved this from 🫴 Ready to ✅ Done in 🌊 Project Board Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

Fix stale AGENTS.md Validation step 3 (.skills=="skills/" contradicts auto-discovery convention)

1 participant