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

Merged
iBooM72 merged 1 commit from upstream-pr/4155 into main 2026-11-30 23:37:36 +00:00
iBooM72 commented 2026-11-30 16:50:27 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by iBooM72 on 2026-11-30T16:50:27Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5569707174 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4155). Originally posted by [iBooM72](https://github.com/iBooM72) on 2026-11-30T16:50:27Z. --- 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)
Sign in to join this conversation.
No reviewers
No labels
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.

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