Repository navigation
Docs: contribution guidelines for people and AI agents - #212
Merged
Merged
Conversation
CONTRIBUTING.md: small single-purpose PRs (~400 changed lines, stacked when dependent), Area: commit subjects as in the history, tests with every logic change, licence and provenance rules, and an AI policy (disclose tool and model, the author answers for every line, tests actually run, AI test reports welcome). AGENTS.md: the same rules as instructions for coding agents, plus build and test commands and what an agent must never do. CLAUDE.md loads both. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1bugproof
force-pushed
the
docs/contribution-guidelines
branch
from
November 23, 2026 21:09
f9ede10 to
5a537b3
Compare
ivall
added a commit
that referenced
this pull request
Nov 23, 2026
… title, checked by PR checks CONTRIBUTING.md gets the merge requirements: both required checks green (CI, PR checks), the whole suite run on a GPU with its counts, and for a runtime change (crates/xcl/src outside tests) two xcl-smoke blocks from scripts/smoke.ps1 - built from main and from the PR's head commit with no uncommitted changes - with no device removal or crash. The maintainer runs the suite and a retail title again on every merged batch. - scripts/smoke.ps1: runs a title for a fixed time (network off, XCL_ACTIVITY) and prints the xcl-smoke block: commit, GPU, exit, frames shown, presents, device removals, crashes, peak commit. - .github/pull_request_template.md: Tested / Regression run / Not tested / AI use. - .github/workflows/pr-check.yml: refuses a description without those sections, and a runtime change without a smoke block made on the PR's head commit. - AGENTS.md / CLAUDE.md (from #212): the same rules for agents; AI use is disclosed in the PR's AI use section, a commit trailer is not required.
Collaborator
|
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 two |
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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