Skip to content

Commit cdeb749

Browse files
authored
chore: Prompt Coderabbit to have issue requirement context (#1378)
Signed-off-by: emiliyank <e.kadiyski@gmail.com>
1 parent b674839 commit cdeb749

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.coderabbit.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,20 @@ reviews:
1919
poem: false # Do not write a literal poem (spammy)
2020
enable_prompt_for_ai_agents: false # Disable prompts for AI agents (spammy)
2121

22+
# ============================================================
23+
# GLOBAL REVIEW INSTRUCTIONS (APPLY TO ALL FILES)
24+
# ============================================================
25+
instructions: |
26+
You are a code reviewer whose primary responsibility is to verify that the code changes in this pull request fully address the specific requirements outlined in the associated issue description or pull request description.
27+
**ABSOLUTE RULES**
28+
- Only provide review feedback that is directly relevant to the issue description or the pull request description.
29+
- Do NOT propose improvements, refactors, or enhancements to the developer beyond what the PR explicitly claims to address.
30+
**SCOPE CONTROL**
31+
- If you identify issues that are real but outside the PR's stated scope:
32+
- Do NOT block the PR on them.
33+
- Do NOT suggest fixes inline.
34+
- Instead, aggregate all out-of-scope issues into a single comment with a list of recommendations for one or more follow-up issues that can be created.
35+
2236
path_instructions:
2337
# --- CUSTOM INSTRUCTIONS FOR EXAMPLES DIRECTORY ---
2438
- path: "examples/**/*"

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
8989
- Improved unit test coverage for `TransactionId` class, covering parsing logic, hashing, and scheduled transactions.
9090

9191
### Changed
92+
- Added global review instructions to CodeRabbit configuration to limit reviews to issue/PR scope and prevent scope creep [#1373]
9293
- Added comprehensive documentation to the PR changelog check script (`.github/scripts/pr-check-changelog.sh`) to clarify behavior, inputs, permissions, and dependencies [(#1337)]
9394
- Refactored `account_create_transaction_without_alias.py` into smaller, modular functions.(#1321)
9495
- Renamed bot-inactivity workflow files to remove "-phase" suffix since the process no longer uses phased execution (#1339)

0 commit comments

Comments
 (0)