Revert "PYTHON-5768 Add AGENTS.md w/copilot instructions" (#2744)#2754
Conversation
Agent-Logs-Url: https://github.com/mongodb/mongo-python-driver/sessions/9c84412d-17da-48e6-8a7e-8e13f12d7142 Co-authored-by: aclark4life <72164+aclark4life@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Reverts #2744 by moving Copilot review guidance back into .github/copilot-instructions.md and removing the separate AGENTS.md file.
Changes:
- Restores full Copilot review instructions content in
.github/copilot-instructions.md. - Deletes
AGENTS.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| When reviewing code, focus on: | ||
|
|
||
| Follow the repository instructions defined in `AGENTS.md` when working in this codebase. | ||
| ## Security Critical Issues |
There was a problem hiding this comment.
There is still a template copy at custom-instructions/repo/.github/copilot-instructions.md that references AGENTS.md, which this PR deletes. Consider updating/removing that template file (or aligning it with the restored instructions here) to avoid broken references and confusion for anyone using the template.
|
We still want to keep the AGENTS.md file. |
|
@Jibola This PR reverts the addition of an |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2754 +/- ##
==========================================
+ Coverage 82.25% 87.82% +5.57%
==========================================
Files 140 141 +1
Lines 24167 24396 +229
Branches 4127 4172 +45
==========================================
+ Hits 19878 21426 +1548
+ Misses 3409 2069 -1340
- Partials 880 901 +21 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |

Reverts #2744, which split Copilot review instructions out of
.github/copilot-instructions.mdinto a separateAGENTS.mdfile.Changes in this PR
.github/copilot-instructions.mdto its original full contentAGENTS.mdTest Plan
No functional code changes; documentation/config files only.
Checklist
Checklist for Author
Checklist for Reviewer