Skip to content

docs: no-duplicate PR rule for agents - #116

Draft
DevVig wants to merge 1 commit into
mainfrom
cursor/no-duplicate-pr-rule-1685
Draft

DevVig wants to merge 1 commit into
mainfrom
cursor/no-duplicate-pr-rule-1685

Conversation

@DevVig

@DevVig DevVig commented Oct 6, 2026

Copy link
Copy Markdown
Owner

What

Append a "Before opening a pull request" section to AGENTS.md so agents search existing PRs first and keep at most one open PR per task.

Why

Agents were opening parallel PRs for the same work (including fallback/review-policy drafts and renamed branches). This rule is the repo's agent instruction for that.

How was this tested?

  • Listed open PRs (gh pr list --state open) and searched for an existing no-duplicate / AGENTS.md PR covering this task; none matched.
  • Confirmed the appended markdown matches the requested rule text.
  • No application code changed.

Checklist

  • cargo fmt / clippy -D warnings / cargo test pass locally (N/A — docs-only)
  • Protocol changes update both mb-protocol and docs/protocol.md (N/A)
  • Adapter PRs: the adapter checklist is satisfied (N/A)
  • Nothing added to the daemon's idle footprint (CPU, RSS, network)
Open in Web Open in Cursor 

Tell agents to search open PRs first and keep at most one open PR per task, including fallback/review-policy work and multi-repo rollouts.

Co-authored-by: Jonathan Borgwing <DevVig@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants