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: a task issue form and the 'ready for a contributor' label (refs #260) (#274)

Guy Shohamc8ee47d2b290
diff --git a/.github/ISSUE_TEMPLATE/task.yml b/.github/ISSUE_TEMPLATE/task.yml
new file mode 100644
index 000000000..02ee61e74
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/task.yml
@@ -0,0 +1,60 @@
+name: Task
+description: A small piece of work that a contributor can finish without asking questions
+body:
+ - type: markdown
+ attributes:
+ value: |
+ A task is **ready for a contributor** when every field below is filled in. The maintainer then adds the label
+ `ready for a contributor`. A contributor, human or agent, can take it and finish without a question.
+ If you cannot fill a field, use the Idea or feature request form instead.
+ - type: textarea
+ id: goal
+ attributes:
+ label: Goal
+ description: What changes, in one or two sentences. The result, not the history.
+ validations:
+ required: true
+ - type: textarea
+ id: files
+ attributes:
+ label: Files likely touched
+ description: Paths, one per line. Name the tests too.
+ placeholder: |
+ content/people.yaml
+ sim/Statecraft.Sim.Tests/RealContentTests.cs
+ validations:
+ required: true
+ - type: textarea
+ id: done
+ attributes:
+ label: Done when
+ description: Each check is a command that must pass, with the result you expect. Add what the change must do that a command cannot show.
+ placeholder: |
+ - dotnet test sim/Statecraft.sln passes with 0 warnings
+ - uv run scripts/oss/check_repo.py passes
+ validations:
+ required: true
+ - type: textarea
+ id: sources
+ attributes:
+ label: Sources already agreed
+ description: For a task that adds or changes a fact, give the links the contributor must use. Write "None, no facts change" if the task has no facts.
+ validations:
+ required: true
+ - type: textarea
+ id: signoff
+ attributes:
+ label: What needs maintainer sign-off
+ description: Decisions the contributor must not make alone, for example a golden hash change, a sensitive event or a new asset. Write "Nothing" if there are none.
+ validations:
+ required: true
+ - 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.
+ options:
+ - "No: .NET SDK and uv are enough"
+ - "Yes: Unity 6000.3.25f1 is needed"
+ validations:
+ required: true
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 141ea6f24..90bfbc807 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -11,6 +11,8 @@ Thanks for helping. This file covers how to get set up, the rules every change f
If 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.
+
## Licence of your contribution
There is no CLA and no sign-off. By opening a pull request you agree that your contribution is licensed under this repository's licences, as GitHub's Terms of Service (section D.6) also say:
diff --git a/scripts/oss/github/labels.tsv b/scripts/oss/github/labels.tsv
index bf4e1b4db..c35875d48 100644
--- a/scripts/oss/github/labels.tsv
+++ b/scripts/oss/github/labels.tsv
@@ -22,3 +22,4 @@ translation fbca04 Translations and right-to-left support
M4 b60205 Milestone M4: full 1948-1956 slice
in progress (maintainer) ededed Being built in the maintainer's pipeline; comment, but please don't open a competing PR
roadmap 3e4b9e A tracker for a milestone or era; detailed issues follow its design
+ready for a contributor 2da44e Every field of the Task form is filled; no question to the maintainer needed
diff --git a/scripts/oss/tests/test_labels.py b/scripts/oss/tests/test_labels.py
index 9a240f4a0..8f39c2230 100644
--- a/scripts/oss/tests/test_labels.py
+++ b/scripts/oss/tests/test_labels.py
@@ -3,6 +3,7 @@ from pathlib import Path
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.
LIVE = {
"accessibility": "f143ab", "bug": "d73a4a", "documentation": "0075ca", "duplicate": "cfd3d7",
"enhancement": "a2eeef", "good first issue": "7057ff", "help wanted": "008672", "invalid": "e4e669",
@@ -10,6 +11,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",
}
diff --git a/scripts/oss/tests/test_policies.py b/scripts/oss/tests/test_policies.py
index 6583a7c20..3ff6894cd 100644
--- a/scripts/oss/tests/test_policies.py
+++ b/scripts/oss/tests/test_policies.py
@@ -78,6 +78,15 @@ def test_historical_accuracy_form_requires_a_source():
assert any("security/advisories/new" in c["url"] for c in cfg["contact_links"])
+def test_task_form_has_every_field_and_all_are_required():
+ import yaml
+ form = yaml.safe_load(read(".github/ISSUE_TEMPLATE/task.yml"))
+ fields = {b["id"]: b for b in form["body"] if b["type"] != "markdown"}
+ assert set(fields) == {"goal", "files", "done", "sources", "signoff", "unity"}
+ assert all(f["validations"]["required"] is True for f in fields.values())
+ assert fields["unity"]["type"] == "dropdown"
+
+
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",