A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
docs(github): issue forms; a historical-accuracy report requires a source
eyalgolan9e14bfb7ba5d
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlnew file mode 100644index 000000000..2d653c8a5--- /dev/null+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -0,0 +1,48 @@+name: Bug report+description: The game or a tool behaves differently from what it should+labels: ["bug"]+body:+ - type: textarea+ id: what+ attributes:+ label: What happened+ description: What you expected, and what you got instead.+ validations:+ required: true+ - type: textarea+ id: repro+ attributes:+ label: Steps to reproduce+ placeholder: |+ 1. Start a new game+ 2. Open the Cabinet screen+ 3. ...+ validations:+ required: true+ - type: textarea+ id: logs+ attributes:+ label: Console or log output+ description: For the browser build, the lines from the developer console (GAME OK / TURN / errors).+ render: text+ - type: input+ id: version+ attributes:+ label: Commit SHA+ placeholder: git rev-parse --short HEAD+ validations:+ required: true+ - type: input+ id: env+ attributes:+ label: Platform+ placeholder: macOS 15, Chrome 140 (WebGL build) / Unity 6000.3.25f1+ validations:+ required: true+ - type: checkboxes+ id: nosecrets+ attributes:+ label: Before you submit+ options:+ - label: The text above contains no token, key or personal data.+ required: truediff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlnew file mode 100644index 000000000..78fb33d15--- /dev/null+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -0,0 +1,5 @@+blank_issues_enabled: false+contact_links:+ - name: Security vulnerability or conduct report+ url: https://github.com/eyalgolan/statecraft-israel/security/advisories/new+ about: Report privately. For a conduct report, start the title with "Conduct:". Do not open a public issue.diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.ymlnew file mode 100644index 000000000..fc6be91ba--- /dev/null+++ b/.github/ISSUE_TEMPLATE/feature_request.yml@@ -0,0 +1,20 @@+name: Idea or feature request+description: Something the game or its tools should do+labels: ["enhancement"]+body:+ - type: textarea+ id: problem+ attributes:+ label: What problem does this solve+ description: The situation in the game or the workflow, not the solution yet.+ validations:+ required: true+ - type: textarea+ id: proposal+ attributes:+ label: What you propose+ - type: textarea+ id: history+ attributes:+ label: Historical basis (for gameplay or content ideas)+ description: Sources for the history the idea models, if any.diff --git a/.github/ISSUE_TEMPLATE/historical_accuracy.yml b/.github/ISSUE_TEMPLATE/historical_accuracy.ymlnew file mode 100644index 000000000..5dbd47710--- /dev/null+++ b/.github/ISSUE_TEMPLATE/historical_accuracy.yml@@ -0,0 +1,37 @@+name: Historical accuracy+description: A fact in the game is wrong or its source does not support it+labels: ["historical-accuracy"]+body:+ - type: markdown+ attributes:+ value: |+ Read docs/CONTENT_POLICY.md first. Facts are open to correction with sources. The game's Israeli perspective is a+ stated design decision and is not changed through issues (section 1).+ - type: input+ id: where+ attributes:+ label: Where+ description: File and field, or the screen and date in the game.+ placeholder: content/events/altalena.yaml, text+ validations:+ required: true+ - type: textarea+ id: wrong+ attributes:+ label: What is wrong, and what it should say+ validations:+ required: true+ - type: textarea+ id: sources+ attributes:+ label: Sources+ description: At least one published book, article, official record or reputable reference the reader can check. Links, with page numbers where possible.+ validations:+ required: true+ - type: checkboxes+ id: conduct+ attributes:+ label: Conduct+ options:+ - label: I am disputing a fact with sources, not the game's perspective or a person (CODE_OF_CONDUCT.md).+ required: truediff --git a/scripts/oss/tests/test_policies.py b/scripts/oss/tests/test_policies.pyindex 471347206..3eae11782 100644--- a/scripts/oss/tests/test_policies.py+++ b/scripts/oss/tests/test_policies.py@@ -51,3 +51,14 @@ def test_contributing_names_every_ci_command_and_the_unity_gate():def test_changelog_has_unreleased_on_top():text = read("CHANGELOG.md")assert text.index("## [Unreleased]") == text.index("## [")+++def test_historical_accuracy_form_requires_a_source():+ import yaml+ form = yaml.safe_load(read(".github/ISSUE_TEMPLATE/historical_accuracy.yml"))+ body = {b.get("id"): b for b in form["body"]}+ assert body["sources"]["validations"]["required"] is True+ assert {"where", "wrong", "sources"} <= set(body)+ cfg = yaml.safe_load(read(".github/ISSUE_TEMPLATE/config.yml"))+ assert cfg["blank_issues_enabled"] is False+ assert any("security/advisories/new" in c["url"] for c in cfg["contact_links"])