AGENTS.md: rules for agents opening issues and pull requests #4155

Manually merged
github merged 1 commit from github-bot/gh-4155 into gh-pr/4155/base 2026-11-30 23:42:07 +00:00 AGit
Owner

@⁠iBooM72 on GitHub · 2026-11-30 16:50 UTC · original
iBooM72:docs/agent-pr-rules → main · +43 −0 · 1 files · 1 commits · merged 2026-11-30 23:37 UTC

Refs #4152 (item 6)

What it changes

AGENTS.md explains the code but not how to open issues and pull requests. This adds a section for contributors' agents. Your own workflow isn't affected.

  • Before coding: search issues and PRs, and list the open PRs that change the same file. If the work is already covered or claimed, stop, tell the user and suggest testing what's there.
  • The change: one change per PR, on a branch from the latest main, without unrelated files.
  • Posting: keep the template, which gh pr create --body skips. Get the user's approval, list only commands that were run, never make up results, and don't treat the label bot's green tick as a CI pass.
  • Afterwards: update the same PR if it conflicts, unless you ask for a new one. Put follow-up changes in a new PR, and don't post comments that only ask for a review or an update.

Agents can still ignore these rules, as nothing enforces them.

How it was tested

  • GPU and profile (Series X or S, resolution, DLSS, frame generation, ray tracing): not applicable, docs only
  • Before: no rules for opening issues or PRs
  • After: the new section. I ran its GitHub search and list commands; listing the PRs that change one file took about 34 seconds.
  • For shader changes, the wave sizes tested (32 and/or 64 lanes): not applicable
  • cargo test passed for the crates it touches: not run, as no crates changed. cargo xtask policy --staged passed before the commit.
  • CI: main (84bd61e2) already fails at Clippy, so check will probably fail here too. This PR changes no code.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #1053 and #1932 also add agent rules. Both add AGENTS.md as a new file and conflict with main, which already has one from #820. This adds a section to that file instead. #2636, #2825 and #3687 also change AGENTS.md; I tested merging this with each and found no conflicts. #831, #1577 and #3509 change it too, but already conflict with main.

🤖 Generated with Claude Code

**@⁠iBooM72** on GitHub · 2026-11-30 16:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4155) `iBooM72:docs/agent-pr-rules` → `main` · +43 −0 · 1 files · 1 commits · merged 2026-11-30 23:37 UTC Refs #4152 (item 6) ## What it changes `AGENTS.md` explains the code but not how to open issues and pull requests. This adds a section for contributors' agents. Your own workflow isn't affected. - **Before coding:** search issues and PRs, and list the open PRs that change the same file. If the work is already covered or claimed, stop, tell the user and suggest testing what's there. - **The change:** one change per PR, on a branch from the latest `main`, without unrelated files. - **Posting:** keep the template, which `gh pr create --body` skips. Get the user's approval, list only commands that were run, never make up results, and don't treat the `label` bot's green tick as a CI pass. - **Afterwards:** update the same PR if it conflicts, unless you ask for a new one. Put follow-up changes in a new PR, and don't post comments that only ask for a review or an update. Agents can still ignore these rules, as nothing enforces them. ## How it was tested - GPU and profile (Series X or S, resolution, DLSS, frame generation, ray tracing): not applicable, docs only - Before: no rules for opening issues or PRs - After: the new section. I ran its GitHub search and list commands; listing the PRs that change one file took about 34 seconds. - For shader changes, the wave sizes tested (32 and/or 64 lanes): not applicable - `cargo test` passed for the crates it touches: not run, as no crates changed. `cargo xtask policy --staged` passed before the commit. - CI: `main` (84bd61e2) already fails at Clippy, so `check` will probably fail here too. This PR changes no code. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #1053 and #1932 also add agent rules. Both add `AGENTS.md` as a new file and conflict with `main`, which already has one from #820. This adds a section to that file instead. #2636, #2825 and #3687 also change `AGENTS.md`; I tested merging this with each and found no conflicts. #831, #1577 and #3509 change it too, but already conflict with `main`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Search for existing work first, make one change per branch from the latest main, keep the template, never make up results, and get approval before posting.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 16:52:01 +00:00
github-bot changed target branch from main to gh-pr/4155/base 2026-11-30 23:41:44 +00:00
github manually merged commit c59496407e into gh-pr/4155/base 2026-11-30 23:41:46 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!4155
No description provided.