Docs: contribution guidelines for people and AI agents #209
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/212"
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 ivall/xcl. Originally posted by 1bugproof on 2026-11-23T21:07:15Z.
The repository has no contribution guidelines, and many PRs are written with AI tools. This adds rules that keep PRs easy to review without turning AI away. Most of them write down what the history already does:
Area:commit subjects, PR descriptions that name the hardware tested and what was not tested,skip_testfor GPU tests, and the GPL-2.0-only rules fromHANDOFF.md.What is in it
CONTRIBUTING.md:cargo fmt, since the tree is not rustfmt-cleanArea: outcome, each one builds, fixups squashedHANDOFF.md/docs/specs/are left to the maintainerAGENTS.md: the same rules written as instructions for coding agents, plus build and test commands, known pitfalls (Windows only, PowerShell UTF-8) and a list of things an agent never does.CLAUDE.md: loadsAGENTS.mdandCONTRIBUTING.mdfor Claude Code.Tested
gpu::recomp::runner::skip_testhelper they name were checked against the tree ateaa36b6.Not tested
HANDOFF.mdare proposals. Adjust them as you see fit.AI use
🤖 Generated with Claude Code
Imported from ivall/xcl. Originally posted by ivall on 2026-11-23T21:57:53Z.
Merged (
163b55e), thanks - this is the base of the contribution rules now. On top of it (63b9930): a What a PR needs to be merged section in CONTRIBUTING.md (both required checks green, the whole suite run on a GPU with its counts, and for a runtime change twoxcl-smokeblocks from the newscripts/smoke.ps1, built from main and from the PR's head commit, with no device removal or crash), a PR template with a Regression run section, and aPR checksworkflow that refuses a description without them. One change to your text: AI use is disclosed in the PR's AI use section; theCo-Authored-Bytrailer is welcome but no longer required (CLAUDE.md, AGENTS.md).