Use the maintainer label event for the checked PR snapshot and verify it against live metadata. Keep the regular smoke requirement for later revisions and preserve the description and asset checks.
From a review of the check: it looked for crashes and device removals anywhere in the
description, so a PR fixing a crash on main failed on main's run, and nothing made the two
runs come from different commits. The checker is now scripts/pr_check.py: the PR's xcl-smoke
block must be its head commit with no uncommitted changes, the other a commit on main (the
compare API), both of the same title for the same time; crashes and device removals count in
the PR's run only, which must keep 80 % of main's frames and stay under 125 % of its peak
commit.
The workflow runs as pull_request_target with main's checker: a PR can no longer change what
checks it, and nothing of the PR is checked out or run (only its description and file list are
read through the API).
Game data: .gitignore keeps game packages, archives, executables, video, audio banks,
textures and dumps out, and the check refuses a PR adding one, a MicrosoftGame.config other
than the test title's, or any binary outside tests/data/ or over 1 MB.
XCL is low-level code (a recompiler, a console runtime, D3D12 memory and synchronisation):
small and local models get it subtly wrong, and every wrong PR costs a review. CONTRIBUTING.md
and AGENTS.md: code comes from frontier models; PRs written with Qwen, DeepSeek, Llama,
Mistral, Gemma, Phi or their distills are closed without a review. The PR checks workflow
refuses a description whose AI use names one of them (and now reads CRLF descriptions).
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.