NO-ISSUE: Consolidate AI convention files into AGENTS.md - #294
NO-ISSUE: Consolidate AI convention files into AGENTS.md#294amir-yogev-gh wants to merge 2 commits into
Conversation
Fold .claude/rules/ content (controller patterns, common pitfalls, common tasks, configuration) into AGENTS.md so all AI tools can access it. Slim CLAUDE.md to @AGENTS.md. Add Copilot instructions. Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Amir Yogev <ayogev@redhat.com>
|
@amir-yogev-gh: This pull request explicitly references no jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: amir-yogev-gh The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Warning Review limit reached
Next review available in: 48 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: Repository: osac-project/coderabbit/.coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (6)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
Hi @amir-yogev-gh. Thanks for your PR. I'm waiting for a osac-project member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Amir Yogev <ayogev@redhat.com>
| - **`common-pitfalls.md`** — 10 common issues: regen, status loops, finalizers, AAP polling, NotFound, etc. | ||
| - **`common-tasks.md`** — Adding CRDs/fields, cross-repo change order, RBAC, debugging | ||
| - **`configuration.md`** — Environment variables for AAP, gRPC, namespaces, controller flags | ||
| ### Dual-Controller Pattern |
There was a problem hiding this comment.
AGENTS.md was intentionally kept minimal, with rules extracted to .claude/rules. Why revert that?
There was a problem hiding this comment.
CLAUDE.md is Claude specific. Using AGENTS.md file is a vendor agnostic approach.
You can still use CLAUDE.md just to reference AGENTS.md hence providing equal experience to other tools like Cursor and others.
|
Do we want to merge this one? |
|
I still don't understand why we need to grow |
|
Everything under |
Summary
.claude/rules/content (controller patterns, common pitfalls, common tasks, configuration) into AGENTS.md for tool-agnostic access@AGENTS.md(Claude auto-loads AGENTS.md via this reference).claude/rules/files (content now in AGENTS.md).github/copilot-instructions.mdfor GitHub Copilot supportPart of workspace-wide AI-readiness improvements (osac-workspace#60).
Assisted-by: Claude Code noreply@anthropic.com