Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

repo: PR template asks for AI assistance, Refs vs Fixes and the goldens (fixes #264) (#267)

Guy Shoham67989d0c1caf
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 5a34d4808..4cc03204d 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -1,6 +1,10 @@
## What this changes
-<!-- One or two sentences. Link the issue: Fixes #123 -->
+<!-- One or two sentences. Link the issue: "Fixes #123" only if this PR completes the issue, otherwise "Refs #123". -->
+
+## AI assistance
+
+<!-- One line: the tool, and what it did. Example: "Claude Code drafted the test; I checked each fact against its source." Write "None" if no AI tool was used. -->
## Evidence
@@ -13,11 +17,12 @@
- [ ] Tests cover the change, and they fail without it.
- [ ] Test count did not go down, or this description explains why.
+- [ ] The goldens (`Hash1950`, `Hash1952`) did not move, or this description says why they moved (`docs/determinism.md`).
- [ ] `CHANGELOG.md` has a line under `## [Unreleased]` if this changes `sim/`, `content/` or `unity/`.
- [ ] Every fact added or changed in `content/` has `sources:` with a checked date (`docs/CONTENT_POLICY.md`).
- [ ] No quote is attributed to a real person unless it is sourced verbatim.
- [ ] Every new image, video, font, audio or map-data file has an `ASSETS.yaml` row.
- [ ] If `unity/` changed: Unity edit-mode tests ran locally, and their result is pasted above (CI does not run them).
- [ ] Nothing in the diff contains a credential, a Unity Cloud id or personal data.
-- [ ] AI-assisted parts are disclosed above, and I can defend every line (`CONTRIBUTING.md`).
+- [ ] AI-assisted parts are disclosed under "AI assistance", and I can defend every line (`CONTRIBUTING.md`).
- [ ] I contribute this under the repository's licences for the paths it changes (`LICENSING.md`).
diff --git a/scripts/oss/tests/test_policies.py b/scripts/oss/tests/test_policies.py
index f529d7062..90e500a46 100644
--- a/scripts/oss/tests/test_policies.py
+++ b/scripts/oss/tests/test_policies.py
@@ -88,6 +88,15 @@ def test_pr_template_has_evidence_and_no_cla_item():
assert "CLA" not in text and "contributors/" not in text
+def test_pr_template_asks_for_ai_disclosure_issue_link_and_goldens():
+ # Issue #264: the checklist pointed at a disclosure "above" that nothing asked for.
+ text = read(".github/pull_request_template.md")
+ assert "## AI assistance" in text and "disclosed under \"AI assistance\"" in text
+ assert "Fixes #" in text and "Refs #" in text and "only if this PR completes the issue" in text
+ assert "`Hash1950`" in text and "`Hash1952`" in text and "docs/determinism.md" in text
+ assert "## [Unreleased]" in text
+
+
def test_content_policy_claims_no_mechanism_that_does_not_exist():
# Review I1: living-people exclusion, share-alike refusal and a claim verifier have no code behind them.
text = " ".join(read("docs/CONTENT_POLICY.md").split())