diff --git a/.coderabbit.yaml b/.coderabbit.yaml index ab208dd..ce8af71 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -2,14 +2,8 @@ language: "en-US" early_access: false tone_instructions: | - This is a public Python SDK (comfy-python-sdk). CI already runs - `ruff check`, `ruff format --check`, and `mypy` on every PR — do not repeat - their findings or nitpick style/formatting. Focus on public API stability - (this SDK is consumed by external users, so flag breaking changes to - public method signatures or types), correct error handling for network - calls, and clear type hints on the public surface. Only comment on issues - introduced by this PR's changes; do not flag pre-existing problems in - moved, re-indented, or reformatted code. + Direct and technical. Lead with the concrete risk or breakage, not praise. + No compliments or filler — if a change is fine, say nothing. reviews: profile: "assertive" @@ -35,6 +29,16 @@ reviews: - "!.venv/**" path_instructions: + # Repo-wide review rules. These used to live in `tone_instructions`, but + # that field is capped at 250 characters by the CodeRabbit schema, which + # silently invalidated this whole file. + - path: "**" + instructions: | + CI already runs `ruff check`, `ruff format --check`, and `mypy` on + every PR — do not repeat their findings or nitpick style/formatting. + + Only comment on issues introduced by this PR's changes; do not flag + pre-existing problems in moved, re-indented, or reformatted code. - path: "src/comfy_sdk/**" instructions: | Public SDK surface. Focus on: