3 Commits

Author SHA1 Message Date
ivall 9ab7d76319 Docs: no PRs written with small or open-weight models; PR checks refuses them in AI use
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).
2026-11-23 23:00:23 +01:00
ivall 63b9930636 Docs: what a PR needs to be merged - tests run, a regression run on a 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.
2026-11-23 22:56:29 +01:00
1bugproof 5a537b3efd Docs: contribution guidelines for people and AI agents
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 <noreply@anthropic.com>
2026-11-23 22:09:44 +01:00