AGENTS.md: rules for agents opening issues and pull requests #4155
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4155"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by iBooM72 on 2026-11-30T16:50:27Z.
Refs #4152 (item 6)
What it changes
AGENTS.mdexplains the code but not how to open issues and pull requests. This adds a section for contributors' agents. Your own workflow isn't affected.main, without unrelated files.gh pr create --bodyskips. Get the user's approval, list only commands that were run, never make up results, and don't treat thelabelbot's green tick as a CI pass.Agents can still ignore these rules, as nothing enforces them.
How it was tested
cargo testpassed for the crates it touches: not run, as no crates changed.cargo xtask policy --stagedpassed before the commit.main(84bd61e2) already fails at Clippy, socheckwill probably fail here too. This PR changes no code.Checked for overlap
AGENTS.mdas a new file and conflict withmain, which already has one from #820. This adds a section to that file instead. #2636, #2825 and #3687 also changeAGENTS.md; I tested merging this with each and found no conflicts. #831, #1577 and #3509 change it too, but already conflict withmain.🤖 Generated with Claude Code