A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
repo: a needs-unity label and a Unity question in the issue forms (refs #258) (#288)
Guy Shoham9bdb10668bff
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.ymlindex fc6be91ba..46e5f07fc 100644--- a/.github/ISSUE_TEMPLATE/feature_request.yml+++ b/.github/ISSUE_TEMPLATE/feature_request.yml@@ -18,3 +18,13 @@ body:attributes:label: Historical basis (for gameplay or content ideas)description: Sources for the history the idea models, if any.+ - type: dropdown+ id: unity+ attributes:+ label: Needs Unity?+ description: Unity is needed to run the Unity EditMode tests or to open `unity/`. See docs/dev-setup.md. Your best guess is enough; the maintainer sets the `needs-unity` label.+ options:+ - "No: .NET SDK and uv are enough"+ - "Yes: Unity 6000.3.25f1 is needed"+ validations:+ required: truediff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 90bfbc807..7508b1f0f 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -11,7 +11,7 @@ Thanks for helping. This file covers how to get set up, the rules every change fIf you're unsure where to start, open an issue first and describe what you want to do.-**Picking an issue.** Issues with the label `ready for a contributor` are the easiest to start. They come from the **Task** issue form: a goal, the files likely touched, the commands that must pass, the agreed sources, what needs the maintainer's sign-off, and whether Unity is needed. When every field is filled, you can finish the work without asking the maintainer. If a field is missing or unclear, ask in the issue before you start.+**Picking an issue.** Issues with the label `ready for a contributor` are the easiest to start. They come from the **Task** issue form: a goal, the files likely touched, the commands that must pass, the agreed sources, what needs the maintainer's sign-off, and whether Unity is needed. When every field is filled, you can finish the work without asking the maintainer. If a field is missing or unclear, ask in the issue before you start. The label `needs-unity` marks an issue you cannot finish without Unity (see "Without Unity" in [docs/dev-setup.md](docs/dev-setup.md)); `area: unity` only says the issue touches `unity/`.## Licence of your contributiondiff --git a/docs/dev-setup.md b/docs/dev-setup.mdindex fdbff41bb..fac4a9146 100644--- a/docs/dev-setup.md+++ b/docs/dev-setup.md@@ -26,6 +26,8 @@ Unity, a Unity licence and macOS are only needed for `unity/`. The sim, the cont`scripts/check.sh` runs all five in one go, cheapest first, plus a sim build with warnings as errors. It stops at the first failure and shows the end of its output. It takes the base ref as its argument (default `origin/main`); set `CHECK_NO_CHANGELOG=1` if the PR has the `no-changelog` label.+The label `needs-unity` marks an issue you cannot finish without Unity. Its acceptance needs the Unity editor, a player build or the WebGL check. The label `area: unity` is different: it says which code the issue touches, not what you must have to finish it. An issue without `needs-unity` can be finished with the commands above.+Not possible without Unity and not in CI: the Unity EditMode tests, player builds, `tools/web_check.py` and the visual profiles below. If your change touches `unity/`, or `sim/` code that Unity compiles, say in the PR that you could not run them. The maintainer runs them (`CONTRIBUTING.md`, "Unity EditMode tests are not in CI").## Builds and browser checks (M3)diff --git a/scripts/oss/github/labels.tsv b/scripts/oss/github/labels.tsvindex c35875d48..ce73eedd2 100644--- a/scripts/oss/github/labels.tsv+++ b/scripts/oss/github/labels.tsv@@ -23,3 +23,4 @@ M4 b60205 Milestone M4: full 1948-1956 slicein progress (maintainer) ededed Being built in the maintainer's pipeline; comment, but please don't open a competing PRroadmap 3e4b9e A tracker for a milestone or era; detailed issues follow its designready for a contributor 2da44e Every field of the Task form is filled; no question to the maintainer needed+needs-unity e99695 Acceptance needs the Unity editor, a player build or the WebGL checkdiff --git a/scripts/oss/tests/test_labels.py b/scripts/oss/tests/test_labels.pyindex 8f39c2230..8bf6ecf6e 100644--- a/scripts/oss/tests/test_labels.py+++ b/scripts/oss/tests/test_labels.py@@ -4,6 +4,7 @@ ROOT = Path(__file__).resolve().parents[3]LABELS = ROOT / "scripts/oss/github/labels.tsv"# The labels that exist on github.com/eyalgolan/statecraft-israel (read with `gh label list`, 2026-10-11), with colours.# "ready for a contributor" is added with the Task form (#260); it exists after apply_github_settings.sh runs.+# "needs-unity" is added with #258 and exists the same way.LIVE = {"accessibility": "f143ab", "bug": "d73a4a", "documentation": "0075ca", "duplicate": "cfd3d7","enhancement": "a2eeef", "good first issue": "7057ff", "help wanted": "008672", "invalid": "e4e669",@@ -11,7 +12,7 @@ LIVE = {"no-changelog": "cfd3d7", "spam": "000000", "area: sim": "5319e7", "area: tools": "bfd4f2","area: unity": "222222", "area: art": "f9d0c4", "area: design": "c5def5", "research": "0e8a16","translation": "fbca04", "M4": "b60205", "in progress (maintainer)": "ededed", "roadmap": "3e4b9e",- "ready for a contributor": "2da44e",+ "ready for a contributor": "2da44e", "needs-unity": "e99695",}diff --git a/scripts/oss/tests/test_policies.py b/scripts/oss/tests/test_policies.pyindex 3ff6894cd..533bb25df 100644--- a/scripts/oss/tests/test_policies.py+++ b/scripts/oss/tests/test_policies.py@@ -87,6 +87,18 @@ def test_task_form_has_every_field_and_all_are_required():assert fields["unity"]["type"] == "dropdown"+def test_task_and_feature_forms_ask_the_same_unity_question():+ import yaml+ forms = {}+ for name in ("task", "feature_request"):+ form = yaml.safe_load(read(f".github/ISSUE_TEMPLATE/{name}.yml"))+ field = {b["id"]: b for b in form["body"] if b["type"] != "markdown"}["unity"]+ assert field["type"] == "dropdown" and field["validations"]["required"] is True, name+ forms[name] = field["attributes"]["options"]+ assert forms["task"] == forms["feature_request"]+ assert read("docs/dev-setup.md").count("needs-unity") >= 1 and "needs-unity" in read("CONTRIBUTING.md")++def test_content_policy_states_the_owner_rules_and_only_real_mechanisms():text = read("docs/CONTENT_POLICY.md")for s in ("Israeli framing", "Every fact is sourced", "No invented quotes", "How to dispute a fact",