-
Notifications
You must be signed in to change notification settings - Fork 0
ci: configure AI pull request reviews #1
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
2 commits
Select commit
Hold shift + click to select a range
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
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,40 @@ | ||
| # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
|
|
||
| language: "en-US" | ||
| tone_instructions: "Be concise. Focus on correctness, security, regressions, and missing tests. Avoid style-only comments." | ||
|
|
||
| reviews: | ||
| profile: "chill" | ||
| request_changes_workflow: false | ||
| high_level_summary: true | ||
| review_status: true | ||
| review_details: false | ||
| sequence_diagrams: false | ||
| estimate_code_review_effort: false | ||
| poem: false | ||
|
|
||
| path_filters: | ||
| - "!bun.lock" | ||
| - "!**/dist/**" | ||
|
|
||
| auto_review: | ||
| enabled: true | ||
| drafts: false | ||
| auto_incremental_review: true | ||
| labels: | ||
| - "!skip-ai-review" | ||
|
|
||
| finishing_touches: | ||
| docstrings: | ||
| enabled: false | ||
| unit_tests: | ||
| enabled: false | ||
| autofix: | ||
| enabled: false | ||
| fix_ci: | ||
| enabled: false | ||
| resolve_merge_conflict: | ||
| enabled: false | ||
|
|
||
| chat: | ||
| auto_reply: 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| # yaml-language-server: $schema=https://cubic.dev/schema/cubic-repository-config.schema.json | ||
|
|
||
| version: 1 | ||
|
|
||
| reviews: | ||
| enabled: true | ||
| sensitivity: medium | ||
| incremental_commits: true | ||
| check_drafts: false | ||
| architecture_diagrams: false | ||
| external_contributors_require_manual_review: false | ||
| resolve_threads_when_addressed: true | ||
|
|
||
| auto_approve_behavior: disabled | ||
| auto_approve: disabled | ||
| ultrareview: manual | ||
|
|
||
| custom_instructions: | | ||
| Act as the architecture-focused reviewer for ArchCode. | ||
| Focus on cross-file regressions, ownership violations, concurrency, | ||
| lifecycle correctness, security boundaries, and missing tests. | ||
| Avoid repeating style-only feedback likely covered by other reviewers. | ||
|
|
||
| ignore: | ||
| files: | ||
| - bun.lock | ||
| - dist/** | ||
| - apps/web/dist/** | ||
| pr_labels: | ||
| - skip-ai-review | ||
| max_changed_lines: 10000 | ||
|
|
||
| custom_rules: | ||
| - name: ArchCode architecture contract | ||
| description: > | ||
| Enforce the repository architecture, dependency boundaries, | ||
| runtime ownership rules, and validation requirements documented | ||
| in AGENTS.md. | ||
| file_paths: | ||
| - AGENTS.md | ||
|
|
||
| - name: Workspace dependency boundaries | ||
| description: > | ||
| Verify that apps/web does not depend on agent-core or server, | ||
| protocol and utils remain runtime-light, and new dependencies | ||
| follow the documented monorepo dependency graph. | ||
|
|
||
| - name: Session lifecycle ownership | ||
| description: > | ||
| Flag code that bypasses SessionExecutionManager as the sole owner | ||
| of execution lifecycle, admission, recovery, abort, and terminal state. | ||
| include: | ||
| - packages/agent-core/src/** | ||
|
|
||
| - name: Tool output security | ||
| description: > | ||
| Ensure raw tool outputs cannot bypass Registry finalization, | ||
| redaction, bounded artifact storage, or workspace security guards. | ||
| include: | ||
| - packages/agent-core/src/** | ||
|
|
||
| pr_descriptions: | ||
| generate: false | ||
|
|
||
| issues: | ||
| fix_with_cubic_buttons: false | ||
| pr_comment_fixes: false | ||
| fix_commits_to_pr: false | ||
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.