Skip to content

Commit 3464d28

Browse files
Test Userclaude
andcommitted
fix(gitignore): add /.pr*/ pattern to prevent agent scratch dirs from being committed Refs #2763
PR-reviewer agents create directories like .pr2659/ at the repo root during review runs. Adding /.pr*/ to .gitignore prevents them from appearing in git status and being accidentally staged. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c22ed90 commit 3464d28

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ projects/odilo/
146146
/session-ses_*.md
147147
/security_audit_report_*.md
148148
/pr_review_files/
149+
# Agent scratch directories created at repo root (#2763)
150+
# Patterns like .pr2659/ are created by PR-reviewer agents.
151+
/.pr*/
149152
# Heredoc accidents (bare EOF/PYEOF files created by malformed shell heredocs)
150153
/EOF
151154
/PYEOF

0 commit comments

Comments
 (0)