-
Notifications
You must be signed in to change notification settings - Fork 14
chore: add repository CodeRabbit policy #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
6adf28b
chore: add repository CodeRabbit policy
esthor d5458bf
fix: keep repository reviews continuous
esthor 0d66bc6
fix: document the review pause policy
esthor 466771b
fix: enforce CodeRabbit pre-merge checks
esthor 81abe2f
fix: make CodeRabbit policy public-safe
esthor b14b1a4
Merge branch 'main' into esthor/configure-coderabbit
nehal-a2z File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,125 @@ | ||
| # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
|
|
||
| # This public repository owns a complete, versioned review policy. | ||
| inheritance: false | ||
|
|
||
| reviews: | ||
| profile: assertive | ||
|
|
||
| # Hold CodeRabbit approval until every CodeRabbit comment is resolved, | ||
| # including nitpicks and comments outside the diff, and pre-merge checks pass. | ||
| request_changes_workflow: true | ||
|
|
||
| pre_merge_checks: | ||
| override_requested_reviewers_only: true | ||
|
esthor marked this conversation as resolved.
|
||
| title: | ||
| mode: error | ||
| description: | ||
| mode: error | ||
| issue_assessment: | ||
|
esthor marked this conversation as resolved.
|
||
| mode: error | ||
| custom_checks: | ||
| - name: Agent guidance structure | ||
| mode: error | ||
| instructions: | | ||
| Pass when the pull request does not change skills, agent guidance, | ||
| native commands, or their manifests. Otherwise require all of these: | ||
| - SKILL.md files keep activation, routing, domain context, and workflow | ||
| framing concise. | ||
| - Detailed material is loaded through focused references when needed, | ||
| and repeatable deterministic operations use scripts or tools when | ||
| practical. | ||
| - Referenced files, scripts, tools, commands, and options exist and | ||
| agree with the repository and current public documentation. | ||
| - Changes follow the Agent Skills specification, the AGENTS.md open | ||
| format, and current public guidance for each declared host agent. | ||
| - Native commands, agents, and manifests remain behaviorally aligned | ||
| with their canonical skills. | ||
|
|
||
| review_status: true | ||
| review_details: true | ||
| in_progress_fortune: true | ||
| poem: true | ||
| enable_prompt_for_ai_agents: true | ||
|
|
||
| auto_review: | ||
| enabled: true | ||
| drafts: true | ||
| auto_incremental_review: true | ||
| auto_pause_after_reviewed_commits: 0 | ||
|
|
||
| finishing_touches: | ||
| unit_tests: | ||
| enabled: false | ||
| simplify: | ||
| enabled: true | ||
|
|
||
| tools: | ||
| actionlint: | ||
| enabled: true | ||
| zizmor: | ||
| enabled: true | ||
| skillspector: | ||
| enabled: true | ||
|
|
||
| path_instructions: | ||
|
esthor marked this conversation as resolved.
|
||
| - path: "skills/**/SKILL.md" | ||
| instructions: | | ||
| Keep skill Markdown focused on domain context, routing, and workflow framing. | ||
| Put repeatable deterministic operations in referenced scripts or tools when practical. | ||
| Use focused references for details that are only needed in some workflows. | ||
| Flag ambiguous or conflicting guidance. | ||
| Keep guidance portable across declared agents unless it is explicitly scoped. | ||
| Verify CLI commands and options against current public documentation. | ||
| Check the Agent Skills specification, the AGENTS.md open format, and the | ||
| current public documentation for every declared host agent. | ||
|
|
||
| - path: "commands/**/*.md" | ||
| instructions: | | ||
| Keep native commands behaviorally aligned with the corresponding canonical skill. | ||
| Flag stale CLI options and duplicated prerequisite logic. | ||
|
|
||
| - path: "agents/**/*.md" | ||
| instructions: | | ||
| Keep agent workflows behaviorally aligned with the corresponding canonical skill and commands. | ||
| Flag conflicting prerequisites, review scopes, or remediation guidance. | ||
|
|
||
| - path: "{.claude-plugin,.cursor-plugin}/**/*.json" | ||
| instructions: | | ||
| Verify manifest paths, versions, metadata, and packaged components against the repository tree. | ||
|
|
||
| - path: "{gemini-extension.json,plugin.json}" | ||
| instructions: | | ||
| Verify manifest paths, metadata, and packaged components against the repository tree. | ||
|
|
||
| - path: "{README.md,CHANGELOG.md,DISTRIBUTION_CHANNELS.md}" | ||
| instructions: | | ||
| Keep public installation commands, release status, and source-of-truth claims accurate and mutually consistent. | ||
|
|
||
| chat: | ||
| allow_non_org_members: false | ||
| auto_reply: true | ||
| integrations: | ||
| jira: | ||
| usage: disabled | ||
| linear: | ||
| usage: disabled | ||
|
|
||
| knowledge_base: | ||
| learnings: | ||
| scope: local | ||
| issues: | ||
| scope: local | ||
| jira: | ||
| usage: disabled | ||
| linear: | ||
| usage: disabled | ||
| pull_requests: | ||
| scope: local | ||
| mcp: | ||
| usage: disabled | ||
| automatic_repository_linking: false | ||
|
|
||
| issue_enrichment: | ||
| auto_enrich: | ||
| enabled: true | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.