You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This keeps the main checkout clean and allows parallel sessions. If you are already inside a worktree directory, you do not need to create another one. Full guide: `agents/worktree_guide.md`
11
+
This keeps the main checkout clean and allows parallel sessions. If you are already inside a worktree directory, you do not need to create another one.
12
+
13
+
**Before creating a worktree**, check the worktree registry for existing ones — see the Git Worktrees section in `~/.claude/CLAUDE.md`. Bitsandbytes-specific naming conventions: `agents/worktree_guide.md`. General worktree guide: `~/git/lab_tools/worktree_guide.md`.
12
14
13
15
# MANDATORY: Check for existing PRs before starting work
Copy file name to clipboardExpand all lines: agents/dispatch_guide.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,27 @@ python3 agents/fetch_issues.py
12
12
13
13
Read `agents/github_tools_guide.md` for the full reference on how to use the query tools.
14
14
15
+
## Step 0: Check Existing Reviews on Open PRs
16
+
17
+
Before looking at issues, check whether there are open PRs from external contributors that need review. But **do not assume a PR needs review just because it is open** — check whether a review has already been posted.
18
+
19
+
```bash
20
+
# List open PRs
21
+
gh pr list --state open --limit 30
22
+
23
+
# For each external contributor PR, check for existing reviews
24
+
gh api repos/bitsandbytes-foundation/bitsandbytes/pulls/<NUMBER>/reviews \
-**No review exists at all** from a maintainer or agent
31
+
-**The author has pushed new commits** since the last review (check commit dates vs review dates)
32
+
-**The author has responded to review feedback** and the review needs a re-review
33
+
34
+
If a review already exists and the author has not responded or pushed changes, the ball is in the author's court — skip that PR. Do not generate a prompt to re-review work that has already been reviewed.
0 commit comments