diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 0000000..cae6309 --- /dev/null +++ b/.coderabbit.yaml @@ -0,0 +1,84 @@ +# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json +# +# Mirrors BMAD-METHOD's .coderabbit.yaml. Skill prose is reviewed upstream; +# here plugins/ and the marketplace files are release.py output, checked by +# --validate and test_release.py, so only the generator and its inputs are +# reviewed. + +language: en-US +early_access: true +tone_instructions: | + Skip subjective style nits. Flag real defects in release.py and its tests: + wrong output, unchecked failure paths, and validation gaps. Prefer cuts over + padding. + +reviews: + profile: chill + high_level_summary: false # don't post summary until explicitly invoked + request_changes_workflow: false + review_status: false + commit_status: false + collapse_walkthrough: true + poem: false + pre_merge_checks: + docstrings: + mode: 'off' + auto_review: + enabled: true + drafts: false + auto_incremental_review: false # always review the whole PR, not just new commits + base_branches: [main] + path_filters: + # --- Tool configs --- + - '!.coderabbit.yaml' + # --- Generated by release.py --- + - '!plugins/**' + - '!.agents/plugins/marketplace.json' + - '!.claude-plugin/marketplace.json' + - '!.cursor-plugin/marketplace.json' + # --- Build output and caches --- + - '!dist/**' + - '!**/__pycache__/**' + # --- Binary/media --- + - '!**/*.png' + - '!**/*.jpg' + - '!**/*.svg' + # --- AI assistant dirs --- + - '!.claude/**' + - '!.codex/**' + path_instructions: + - path: release.py + instructions: | + Plugin generator and validator. Check that every failure exits + non-zero with a clear message, that rewrites of bmod.toml change only + the intended keys, and that --validate rejects what the build would + never produce. + - path: test_release.py + instructions: | + Tests for release.py. Check that negative cases actually exercise the + failure they name and that tests stay offline (local sources, no + network clones). + - path: catalog.toml + instructions: | + Maps upstream sources and modules to plugins. Check that every module + belongs to exactly one plugin and that names match README.md. + - path: .github/workflows/** + instructions: | + CI workflow. Check least-privilege + permissions, and that failures fail the job. + - path: README.md + instructions: | + Check that commands and flags match release.py. + +knowledge_base: + code_guidelines: + enabled: true + filePatterns: + - README.md + +chat: + auto_reply: true + +issue_enrichment: + auto_enrich: + enabled: false