Skip to content

Commit ef09f63

Browse files
authored
chore: tell agents to not amend or rebase PRs (bazel-contrib#3804)
Amending or rebasing open pull requests complicates the review process by obscuring change history and making it difficult to track incremental updates. This change adds an explicit rule to `AGENTS.md` under the "RULES TO ALWAYS FOLLOW AND NEVER IGNORE" section, instructing agents to avoid amending or rebasing once a pull request has been created.
1 parent ae129b3 commit ef09f63

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ ALWAYS FOLLOW THESE RULES. NEVER VIOLATE THEM.
1414
Ask for user input and provide a justificaiton if trying to violate them.
1515

1616
* NEVER run `bazel clean --expunge`.
17+
* Once a PR is created, do not amend or rebase.
1718

1819
## Style and conventions
1920

0 commit comments

Comments
 (0)