A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
docs(oss): per-asset provenance, notices, LICENSING gaps closed, trademark policy
eyalgolana2cead25b893
diff --git a/ASSETS.portraits.yaml b/ASSETS.portraits.yamlnew file mode 100644index 000000000..f90a896b7--- /dev/null+++ b/ASSETS.portraits.yaml@@ -0,0 +1,191 @@+# GENERATED by scripts/oss/commons_licences.py from content/people.yaml and Wikimedia Commons. Do not edit+# by hand: re-run the script. A row is 'verified' only with an explicit US-status template.+rules:+- glob: promo/ref/people/David_Ben-Gurion.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:David_Ben-Gurion_(D597-087).jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Fritz Cohen+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/ben_gurion.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:David_Ben-Gurion_(D597-087).jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Fritz Cohen+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Aharon_Zisling.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Aharon_Zisling.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/zisling.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Aharon_Zisling.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Eliezer_Kaplan.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Eliezer_Kaplan.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/kaplan.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Eliezer_Kaplan.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Moshe_Sharett.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Moshe_Sharett_Portrait.jpg+ status: owner-verify+ commons: Public domain; PD-IsraelGov, PD-IsraelGov/en, PD-IsraelGov/lang, PD-IsraelGov/layout, PD-Layout+ artist: GPO Photographer+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/sharett.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Moshe_Sharett_Portrait.jpg+ status: owner-verify+ commons: Public domain; PD-IsraelGov, PD-IsraelGov/en, PD-IsraelGov/lang, PD-IsraelGov/layout, PD-Layout+ artist: GPO Photographer+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Haim-Moshe_Shapira.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Moshe_Shapira.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/shapira.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Moshe_Shapira.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Yitzhak_Gruenbaum.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Yitzhak_Gruenbaum_1948.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Israeli GPO phtographer+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/gruenbaum.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Yitzhak_Gruenbaum_1948.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Israeli GPO phtographer+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Pinchas_Rosen.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Pinchas_Rosen.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/rosen.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Pinchas_Rosen.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Mordechai_Bentov.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:MordechaiBentov.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/bentov.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:MordechaiBentov.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Bechor-Shalom_Sheetrit.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Bechor-Shalom_Shitreet.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: David Eldan+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/sheetrit.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Bechor-Shalom_Shitreet.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: David Eldan+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Yehuda_Leib_Maimon.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Yehuda_Leib_Maimon.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: David Eldan+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/maimon.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Yehuda_Leib_Maimon.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: David Eldan+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Peretz_Bernstein.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Peretz_Bernstein.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Teddy Brauner+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/bernstein.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Peretz_Bernstein.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Teddy Brauner+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/David_Remez.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:David_Remez_(cropped).jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Israeli GPO photographer+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/remez.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:David_Remez_(cropped).jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Israeli GPO photographer+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Yitzhak-Meir_Levin.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Yitzhak_Meir_Levin.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: unity/Assets/UI/Portraits/levin.jpg+ licence: Public-Domain+ source: https://commons.wikimedia.org/wiki/File:Yitzhak_Meir_Levin.jpg+ status: owner-verify+ commons: Public domain; PD-Israel, PD-Israel/en, PD-Israel/layout, PD-Layout, PD-old-warning-text+ artist: Théodore Brauner+ note: no explicit US status template on the Commons page+- glob: promo/ref/people/Moshe_Dayan_1962_CC0.jpg+ licence: CC0-1.0+ source: https://commons.wikimedia.org/wiki/File:Moshe_Dayan_met_mgr._A.C._Ramselaar_(cropped).jpg+ status: verified+ commons: CC0; Cc-zero+ artist: Joop van Bilsen (Anefo)diff --git a/ASSETS.yaml b/ASSETS.yamlnew file mode 100644index 000000000..9713de872--- /dev/null+++ b/ASSETS.yaml@@ -0,0 +1,92 @@+# Provenance of every image, video, font, audio, 3D-model and map-data file in this repository.+# scripts/oss/check_repo.py --only assets fails when such a file (by extension, or any file git treats as binary, or+# a file under content/map/ or StreamingAssets/map/) matches no rule, when a rule matches nothing (unless allow_empty),+# when a rule lacks glob/licence/source/status, or when a licence is not in scripts/oss/oss_policy.py ALLOWED_LICENCES.+# With --release (the release gate) it also fails on any row marked owner-verify or with licence unknown.+# Globs use fnmatch: '*' also matches '/'. Portrait rows live in ASSETS.portraits.yaml (scripts/oss/commons_licences.py).+# ai_generated: true marks AI output (the future Steam/itch.io disclosure is generated from it).+rules:+ # --- AI-generated concept art: CC0 / no rights claimed (LICENSING.md); published 2026-10-10 before D5 was checked ---+ - glob: "promo/final/0[1-8]-*.png"+ licence: CC0-1.0+ ai_generated: true+ source: "ElevenLabs Image API /v1/flows/image (GPT Image 2.5, Nano Banana Pro), prompts in promo/shots.json, generated 2026-10-08/09 by promo/gen.py; text fixes by promo/patch.py"+ status: owner-verify+ note: "Decision D5: the ElevenLabs Terms of Service for the account's plan at generation time, and the model providers' output terms, allow public redistribution. Concept art, not game footage. 04-cabinet-1948 and 08-defense-1955 are AI likenesses of real ministers made from public-domain reference sheets: never presented as photographs (docs/CONTENT_POLICY.md section 4)."+ - glob: "promo/ref/*-src.jpg"+ licence: CC0-1.0+ ai_generated: true+ source: "Earlier promo/gen.py outputs used as edit inputs for the *_fix shots in promo/shots.json (commit d42bd6b)"+ status: owner-verify+ note: "Decision D-P: the owner confirms these are our own earlier generations, not third-party screenshots; D5 applies."+ - glob: "docs/images/hero-concept-1936.jpg"+ licence: CC0-1.0+ ai_generated: true+ source: "Web copy of promo/final/03-gameplay-1936.png (published 2026-10-10); same provenance as promo/final"+ status: owner-verify+ note: "Owner-ruled README hero, captioned as concept art. Blocker if D5 disallows redistribution: the owner rules, an agent never drops it. D-H: no Civilization VII icon, logo or wordmark."+ # --- Reference sheets composed from the public-domain portraits ---+ - glob: "promo/ref/*-sheet.jpg"+ licence: Public-Domain+ source: "Reference sheets composed for the edit model (cabinet 1948, defense 1955) from the public-domain portraits in promo/ref/people/"+ status: owner-verify+ note: "Decision D-P: the owner confirms the sheets contain only the public-domain portraits and our plain layout."+ # --- Our own captures and drawings: CC BY 4.0 ---+ - glob: "promo/final/09-m2-flythrough.mp4"+ licence: CC-BY-4.0+ source: "In-engine Unity capture of the M2 map (MapCapture.Flythrough); terrain derived from Copernicus DEM (NOTICE)"+ status: verified+ - glob: "promo/final/10-m2-topdown.png"+ licence: CC-BY-4.0+ source: "In-engine Unity capture of the M2 map (MapCapture.TopDown); terrain derived from Copernicus DEM (NOTICE)"+ status: verified+ - glob: "promo/ref/geo-reference.png"+ licence: CC-BY-4.0+ source: "Drawn by promo/refmap.py from gazetteer coordinates"+ status: verified+ - glob: "docs/images/build-*.jpg"+ licence: CC-BY-4.0+ source: "Real screenshots of the game's own WebGL build, dated in the README caption; map derived from Copernicus DEM, portraits public domain"+ status: verified+ - glob: "docs/images/social-preview.jpg"+ licence: CC-BY-4.0+ source: "Crop of docs/images/build-m3-map.jpg, 1280x640, for the GitHub social preview (a real build image, not concept art)"+ status: verified+ - glob: "spikes/m0/evidence/*.jpg"+ licence: CC-BY-4.0+ source: "Screenshots of the M0 spike builds"+ status: verified+ # --- Fonts ---+ - glob: "unity/Assets/UI/Fonts/*.ttf"+ licence: OFL-1.1+ source: "https://github.com/octaviopardo/EBGaramond12 @ 106a4a6d377987459ae5e68673a4570f13b957fb (unity/Assets/UI/Fonts/SOURCE.txt)"+ status: verified+ # --- Map data ---+ - glob: "unity/Assets/StreamingAssets/map/heightmap.*"+ licence: Copernicus-DEM+ source: "Copernicus DEM GLO-30 via tools/dem_to_heightmap.py; attribution in NOTICE"+ status: verified+ - glob: "content/map/hexes.json"+ licence: CC-BY-SA-4.0+ source: "tools/hexgrid.py from the heightmap (Copernicus), CHELSA bio12 and IMS station normals; attributions in NOTICE; content/ is CC BY-SA 4.0"+ status: verified+ - glob: "content/map/precip_bio12.*"+ licence: CC0-1.0+ source: "CHELSA V2.1 bio12 1981-2010 via tools/precip_clip.py; citation in NOTICE"+ status: verified+ - glob: "content/map/precip_stations.json"+ licence: IMS-data.gov.il+ source: "Israel Meteorological Service, data.gov.il dataset 481, via tools/ims_normals.py; licence 'Other (Open)' with no licence URL"+ status: owner-verify+ note: "Decision D6 (the M3 plan's deferred 'Legal review of map-data licences' row). Published 2026-10-10 before the check."+ - glob: "content/map/settlement*.yaml"+ licence: CC-BY-SA-4.0+ source: "Coordinates from the Wikipedia API (prop=coordinates) and tools/settlement_hexes.py; per-settlement URLs and check dates in settlements_1948.yaml"+ status: verified+ # --- Reserved for the visual-v1 plan's baked textures (derived from the heightmap) ---+ - glob: "unity/Assets/Textures/*"+ licence: Copernicus-DEM+ source: "tools/terrain_bake.py from the Copernicus-derived heightmap (visual-v1 plan)"+ status: verified+ allow_empty: true+removed: []diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 49977d2c8..0a53e322a 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -45,6 +45,7 @@ Follow [docs/dev-setup.md](docs/dev-setup.md). In short:4. **Text the player sees** has no internal ids, gives dates as "15 May 1948", and shows money as "IL 1.2m" or "$1.2m". The tests enforce this.5. **Keep the pull request focused:** one change per PR, and no unrelated refactors.6. **Changelog.** If you change `sim/`, `content/` or `unity/` (tests excepted), add a line under `## [Unreleased]` in [CHANGELOG.md](CHANGELOG.md). CI's `Changelog` job checks it; the maintainer can add the `no-changelog` label to a change no player would notice.+7. **Provenance.** Every new image, video, font, audio, 3D-model or map-data file gets a row in [ASSETS.yaml](ASSETS.yaml) with its source, licence and status. CI's `Repo policy` job fails on a file with no row.## History and content rulesdiff --git a/LICENSES/YamlDotNet-MIT.txt b/LICENSES/YamlDotNet-MIT.txtnew file mode 100644index 000000000..56ef65cdd--- /dev/null+++ b/LICENSES/YamlDotNet-MIT.txt@@ -0,0 +1,21 @@+YamlDotNet 18.1.0 (https://github.com/aaubry/YamlDotNet), bundled in builds as YamlDotNet.dll.++Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014 Antoine Aubry and contributors++Permission is hereby granted, free of charge, to any person obtaining a copy of+this software and associated documentation files (the "Software"), to deal in+the Software without restriction, including without limitation the rights to+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies+of the Software, and to permit persons to whom the Software is furnished to do+so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/LICENSING.md b/LICENSING.mdindex fb39b4e44..aaa9d15dd 100644--- a/LICENSING.md+++ b/LICENSING.md@@ -4,21 +4,22 @@ Different parts of this repository are under different licences. Where a file is| What | Paths | Licence ||---|---|---|-| Code | `sim/`, `tools/` (Python), `unity/Assets/Scripts/`, `unity/Assets/Editor/`, `unity/Assets/Tests/`, `promo/*.py`, `spikes/` code | [MIT](LICENSE) |+| Code | `sim/`, `tools/` (Python), `scripts/`, `.github/`, `.gitignore`, `unity/Assets/Scripts/`, `unity/Assets/Editor/`, `unity/Assets/Tests/`, `promo/*.py`, `spikes/` code, and everything else under `unity/Assets/` not listed below (scenes such as `Map.unity`, `WebGLTemplates/`, `link.xml`, `*.inputactions`, `.meta` files) | [MIT](LICENSE) || Game content (text and data) | `content/` (events, people, offices, model, rules, map YAML/JSON), except the third-party map data below | [CC BY-SA 4.0](LICENSES/CC-BY-SA-4.0.txt), credit "Statecraft: Israel contributors". The text paraphrases its cited sources, many from Wikipedia (CC BY-SA), so share-alike applies; each entry lists its sources |-| Original docs, art and UI assets | `docs/`, `reports/` (our own text), `research_notes/` (our own text), `unity/Assets/UI/*.uxml`, `*.uss`, `strings.en.yaml`, `unity/Assets/Materials/`, `unity/Assets/Shaders/`, `unity/Assets/UI/*.asset`, `promo/ref/geo-reference.png` | [CC BY 4.0](LICENSES/CC-BY-4.0.txt), credit "Statecraft: Israel contributors" |-| Unity template-derived settings | `unity/Assets/Settings/` (URP assets, renderers, volume profiles) | Created from Unity's URP project template and edited; under the [Unity Companion License](https://unity.com/legal/licenses/unity-companion-license) |+| Original docs, art and UI assets | `docs/`, the root `*.md` files (except `LICENSE`), `ASSETS.yaml`, `ASSETS.portraits.yaml`, `promo/shots.json`, `promo/CREDITS.md`, `tools/README.md`, `reports/` (our own text), `research_notes/` (our own text), `unity/Assets/UI/*.uxml`, `*.uss`, `strings.en.yaml`, `unity/Assets/Materials/`, `unity/Assets/Shaders/`, `unity/Assets/UI/*.asset`, `promo/ref/geo-reference.png` | [CC BY 4.0](LICENSES/CC-BY-4.0.txt), credit "Statecraft: Israel contributors" |+| Unity template-derived files | `unity/Assets/Settings/` (URP assets, renderers, volume profiles), `spikes/m0/unity/Assets/Settings/`, `spikes/m0/unity/Assets/UI Toolkit/UnityThemes/`, and any Shader Graph generated from a Unity template (for example `unity/Assets/Shaders/StatecraftTerrain.shadergraph`, from "Terrain Simple") | Created from Unity's project or graph templates and edited; under the [Unity Companion License](https://unity.com/legal/licenses/unity-companion-license) (use with Unity), not MIT || AI-generated images | `promo/final/01`–`08`, `promo/ref/*-src.jpg`, `docs/images/hero-concept-1936.jpg` | Marked [CC0 1.0](LICENSES/CC0-1.0.txt). No rights are claimed. Purely AI-generated output may not be copyrightable. Made with the ElevenLabs Image API (see `promo/CREDITS.md`). |-| In-engine captures | `promo/final/09`, `10`, `docs/images/build-*.jpg` | CC BY 4.0. They show the Copernicus-derived terrain; see below. |+| In-engine captures | `promo/final/09`, `10`, `docs/images/build-*.jpg`, `docs/images/social-preview.jpg`, `spikes/m0/evidence/*.jpg` | CC BY 4.0. They show the Copernicus-derived terrain; see below. || Portraits | `unity/Assets/UI/Portraits/`, `promo/ref/people/`, `promo/ref/*-sheet.jpg` | Public-domain photographs from Wikimedia Commons, plus one CC0 file (Moshe Dayan, 1962). Per-file sources are in `content/people.yaml` and `promo/CREDITS.md`. || Fonts | `unity/Assets/UI/Fonts/` | EB Garamond, [SIL Open Font License 1.1](unity/Assets/UI/Fonts/OFL.txt) || Terrain heightmap | `unity/Assets/StreamingAssets/map/heightmap.*`, `content/map/hexes.json` (elevations) | Derived from Copernicus GLO-30 under the Copernicus DEM licence. Required notice: "produced using Copernicus WorldDEM-30 (c) DLR e.V. 2010-2014 and (c) Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA; all rights reserved" || Precipitation grid | `content/map/precip_bio12.*` | CHELSA V2.1, CC0 1.0 (Karger et al. 2017, 2021; see `tools/README.md`) || Rain-gauge data | `content/map/precip_stations.json` | Israel Meteorological Service, data.gov.il dataset 481, under the licence stated on the dataset ("Other (Open)") || Unity engine and packages | `unity/Packages/`, `unity/ProjectSettings/` | Configuration only. The Unity engine and its packages are under Unity's own terms and are not included. No Asset Store content is in this repository. |+| In every build | `YamlDotNet.dll` | MIT, Copyright (c) Antoine Aubry and contributors ([LICENSES/YamlDotNet-MIT.txt](LICENSES/YamlDotNet-MIT.txt)) |Historical facts are not owned by anyone. The text describing them paraphrases the cited sources. The research notes and reports quote short passages from their sources for commentary; those quotes remain © their authors.-Still being checked by the owner: the ElevenLabs terms for the AI images, the data.gov.il terms for the rain-gauge data, and the US public-domain status of each portrait. If any check fails, the file is replaced or removed.+Still being checked by the owner: the ElevenLabs terms for the AI images, the data.gov.il terms for the rain-gauge data, and the US public-domain status of each portrait (decisions D5, D6 and D-P in [docs/oss/DECISIONS.md](docs/oss/DECISIONS.md); per-file status in [ASSETS.yaml](ASSETS.yaml)). These files were published before the checks. If a check fails, the file is removed from the current tree; git history keeps it. Attribution texts: [NOTICE](NOTICE) and [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md)."Civilization" is a trademark of Take-Two Interactive. It is mentioned only to describe the genre. This project is not affiliated with or endorsed by its owners.diff --git a/NOTICE b/NOTICEnew file mode 100644index 000000000..6c7822b0a--- /dev/null+++ b/NOTICE@@ -0,0 +1,31 @@+Statecraft: Israel+Copyright (c) 2026 Eyal Golan and Statecraft: Israel contributors+https://github.com/eyalgolan/statecraft-israel++Code is MIT (LICENSE). Game content (content/) is CC BY-SA 4.0. Original docs, art and UI assets are CC BY 4.0.+AI-only images are CC0 / no rights claimed. Files derived from Unity's templates are under the Unity Companion License.+See LICENSING.md for the path-by-path map.++This product includes or is derived from the following third-party material. Per-file records: ASSETS.yaml,+ASSETS.portraits.yaml, THIRD-PARTY-NOTICES.md.++Terrain (Copernicus DEM licence, modified data):+produced using Copernicus WorldDEM-30 (c) DLR e.V. 2010-2014 and (c) Airbus Defence and Space GmbH 2014-2018+provided under COPERNICUS by the European Union and ESA; all rights reserved++Precipitation: CHELSA V2.1 bio12 (1981-2010), CC0 1.0. Karger, D.N., Conrad, O., Böhner, J., Kawohl, T., Kreft, H.,+Soria-Auza, R.W., Zimmermann, N.E., Linder, H.P. & Kessler, M. (2021) Climatologies at high resolution for the earth's+land surface areas. EnviDat. https://doi.org/10.16904/envidat.228.v2.1 ; Karger et al. (2017) Scientific Data 4, 170122.++Rain-gauge data: Israel Meteorological Service, meteorological data archive, data.gov.il dataset 481+(https://data.gov.il/dataset/481), licence "Other (Open)" as stated on the dataset.++Wikipedia (CC BY-SA 4.0): many facts in content/ cite English and Hebrew Wikipedia articles, and the 1948 settlement+coordinates come from the Wikipedia API; each entry lists its source URLs.++Portraits: public-domain and CC0 photographs from Wikimedia Commons; per-file records in ASSETS.portraits.yaml.++Fonts: EB Garamond, SIL Open Font License 1.1 (unity/Assets/UI/Fonts/OFL.txt).++Builds also contain YamlDotNet, Copyright (c) Antoine Aubry and contributors, MIT (LICENSES/YamlDotNet-MIT.txt), and+the Unity runtime, used under the Unity Terms of Service.diff --git a/README.md b/README.mdindex 2a845be7a..c66682677 100644--- a/README.md+++ b/README.md@@ -140,11 +140,11 @@ Nothing is generated live while you play.- **AI-generated images:** marked [CC0](LICENSES/CC0-1.0.txt), with no rights claimed.- **Third-party material:** fonts, public-domain portraits and the Unity engine and packages are under their own terms.-Details are in [LICENSING.md](LICENSING.md).+Details are in [LICENSING.md](LICENSING.md); attributions are in [NOTICE](NOTICE) and [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md), and every image's source is in [ASSETS.yaml](ASSETS.yaml).## Community and creditsQuestions and ideas go in [Discussions](https://github.com/eyalgolan/statecraft-israel/discussions); bugs and historical errors go in the [issue tracker](https://github.com/eyalgolan/statecraft-israel/issues). Report security problems privately ([SECURITY.md](SECURITY.md)). [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) applies everywhere.-Created by Eyal Golan. Source credits live with each fact in `content/`, and the portrait credits are in `content/people.yaml`.+Created by Eyal Golan. Source credits live with each fact in `content/`, the portrait credits are in `content/people.yaml`, and third-party credits are in [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md).diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.mdnew file mode 100644index 000000000..7ceca508b--- /dev/null+++ b/THIRD-PARTY-NOTICES.md@@ -0,0 +1,55 @@+# Third-party notices++Statecraft: Israel. Copyright (c) 2026 Eyal Golan and contributors.++**This file is not a licence.** The licences are in [`LICENSE`](LICENSE), [`LICENSING.md`](LICENSING.md) and+[`LICENSES/`](LICENSES/). This file records attribution and the obligations that come with third-party material, split+by what you are handling. Per-file provenance is in [`ASSETS.yaml`](ASSETS.yaml) and `ASSETS.portraits.yaml`; the+required attribution texts are in [`NOTICE`](NOTICE).++## The source tree (what a clone carries)++| Material | Where | Licence | Obligation |+|---|---|---|---|+| Copernicus DEM GLO-30 (derived heightmap, hex elevations) | `unity/Assets/StreamingAssets/map/`, `content/map/hexes.json` | Copernicus DEM licence | Keep the attribution text in `NOTICE` with the data and in any credits |+| CHELSA V2.1 bio12 | `content/map/precip_bio12.*` | CC0 1.0 | None; the citation in `NOTICE` is requested |+| IMS rain-gauge normals (data.gov.il dataset 481) | `content/map/precip_stations.json` | "Other (Open)" (data.gov.il) | Attribution in `NOTICE`; terms under owner review (decision D6) |+| Wikipedia text and coordinates | cited throughout `content/` | CC BY-SA 4.0 | Attribution (source URL per entry); share-alike, which is why `content/` is CC BY-SA 4.0 |+| Portraits (Wikimedia Commons) | `promo/ref/people/`, `unity/Assets/UI/Portraits/` | Public domain or CC0, per file | None legally; the per-file record in `ASSETS.portraits.yaml` is kept as provenance |+| EB Garamond | `unity/Assets/UI/Fonts/` | SIL Open Font License 1.1 | Keep `OFL.txt` with the fonts; do not sell the fonts on their own |+| Unity template-derived settings | `unity/Assets/Settings/`, `spikes/m0/unity/Assets/Settings/`, `spikes/m0/unity/Assets/UI Toolkit/UnityThemes/` | Unity Companion License | Use with Unity; see `LICENSING.md` |+| AI-generated concept art | `promo/final/01`–`08`, `promo/ref/*-src.jpg`, `docs/images/hero-concept-1936.jpg` | CC0 / no rights claimed (`LICENSING.md`); generator terms under owner review (D5) | Disclose as AI-generated (Steam and itch.io require it) |++Code dependencies are fetched at build or run time under their own licences and are not vendored: NuGet packages in+`sim/**/*.csproj` (YamlDotNet MIT; test-only: xUnit Apache-2.0, Microsoft.NET.Test.Sdk MIT, xunit.runner.visualstudio+Apache-2.0), Unity packages in `unity/Packages/manifest.json` (Unity Companion License or the Unity Terms of Service),+and Python packages declared inline in `tools/*.py` and `scripts/oss/*.py`.++You need your own Unity licence (Unity Personal is free within Unity's eligibility terms) to open or build `unity/`.++## Builds (what a WebGL or desktop build carries)++A build is a different artefact. It contains the Unity runtime, `YamlDotNet.dll`, the fonts, the portraits and the map+data. Before a build is handed to anyone, it must carry `LICENSE`, `NOTICE`, this file, `LICENSES/` and+`unity/Assets/UI/Fonts/OFL.txt`. `scripts/oss/package_web.sh` copies them into the build folder, has+`tools/package_release.py` (the sensitivity gate) zip it, and refuses to finish unless the zip lists every one of them+(see [`docs/RELEASING.md`](docs/RELEASING.md)).++## Third-party trademarks++Names below belong to their owners and are used only to say truthfully what this project uses, runs on or is compared+with. None of them endorses this project, and this repository ships none of their logos.++- Unity is a trademark of Unity Technologies.+- Civilization and Civilization VII are trademarks of Take-Two Interactive Software; they are named as a genre and style+ reference.+- ElevenLabs is a trademark of Eleven Labs, Inc.+- Steam is a trademark of Valve Corporation.+- Wikipedia and Wikimedia Commons are trademarks of the Wikimedia Foundation.+- Copernicus is a programme of the European Union.+- GitHub is a trademark of GitHub, Inc.++The State of Israel's emblem and flag are not used as project marks. Commercial use of the state emblem needs a permit+under Israel's 1949 Flag and Emblem Law (design spec §5.3); any build that shows it must record that permit here.++If you own a mark named here and something in this repository misuses it, open an issue and it will be fixed.diff --git a/TRADEMARK.md b/TRADEMARK.mdnew file mode 100644index 000000000..6845c3138--- /dev/null+++ b/TRADEMARK.md@@ -0,0 +1,46 @@+# Trademark policy++The licences in `LICENSING.md` give you broad rights over the code and the content. They say nothing about the name.+This page says what you may do with the name "Statecraft: Israel" and with the project's visual identity.++The short version: use the name to say accurately what your thing is or works with. Do not use it in a way that+suggests your thing is this project, or is endorsed by it.++## The mark++"Statecraft: Israel" and its logo and wordmark (when there is one) are unregistered marks of Eyal Golan, the maintainer.+No registration is claimed. The maintainer intends to sell the game, for example on Steam, under this name.++## What you may do without asking++- Say what your work is for: "a mod for Statecraft: Israel", "a map tool compatible with Statecraft: Israel".+- Say that you forked it: "a fork of Statecraft: Israel", "based on Statecraft: Israel".+- Write about it, stream it, review it and make videos of it, favourable or not.+- Redistribute unmodified builds under the name, if they really are unmodified.++## What needs permission++- Shipping a modified game, or a game built from this repository's code or content, under this name or a name that+ reads as an official edition ("Statecraft: Israel Gold", "Statecraft: Israel 2").+- Store pages, domains, company names or social accounts that a reader would take as official.+- Using the logo as your own product's identity.+- Saying that you are official, endorsed, certified or partnered.++## Forks++The licences let you fork this project, and this page does not limit that. Give your fork its own name and say in its+README that it began as a fork of Statecraft: Israel.++## Other people's marks++Other companies' names that appear in this repository, and their owners, are listed once, in+`THIRD-PARTY-NOTICES.md` under "Third-party trademarks". They are used only to say truthfully what the project uses or+is compared with. This repository ships none of their logos. The research notes and the image prompts name+*Civilization VII* as a style reference. The game uses no Civilization assets or names. The AI concept art in+`promo/final/` and `docs/images/hero-concept-1936.jpg` was prompted in that style; it is not game art, it carries no+Civilization logo or wordmark (checked by the owner, decision D-H), and it is captioned as concept art wherever it+appears.++## Asking++For anything not covered here, open an issue and ask.diff --git a/research_notes/README.md b/research_notes/README.mdnew file mode 100644index 000000000..ac6b89d79--- /dev/null+++ b/research_notes/README.md@@ -0,0 +1,12 @@+# Research notes++Working research for Statecraft: Israel: sources, findings and the reasoning behind design and content decisions.+They are kept public so the sourcing behind the game can be checked.++- Our own text here is CC BY 4.0 (see `LICENSING.md`).+- Quotations from books, articles, websites and store pages remain the work of their authors. They are quoted+ briefly, with a link, for research and commentary. This project does not license them to you; if you reuse one,+ check its source's terms.+- Notes are dated and are not kept up to date. The game's content files (`content/`) and their `sources:` fields are+ the authority for any fact the game uses.+- If a quotation here is yours and you want it shortened or removed, open an issue.diff --git a/scripts/oss/commons_licences.py b/scripts/oss/commons_licences.pynew file mode 100644index 000000000..deefb63b5--- /dev/null+++ b/scripts/oss/commons_licences.py@@ -0,0 +1,84 @@+# /// script+# requires-python = ">=3.11"+# dependencies = ["requests==2.32.5", "pyyaml==6.0.3"]+# ///+"""Write ASSETS.portraits.yaml: one provenance rule per portrait file, read from Wikimedia Commons (licence short name,+the licence templates on the file page, and the artist). A portrait is 'verified' only when it is public domain or+CC0 AND its page carries an explicit US-status template (PD-Israel alone does not settle US copyright). Anything else+is 'owner-verify'; a licence that is neither public domain nor CC0 is recorded as licence 'unknown', which the release+gate refuses outright.++Usage: uv run scripts/oss/commons_licences.py (network: commons.wikimedia.org, read-only)"""+from __future__ import annotations++import html+import re+import sys+from pathlib import Path+from urllib.parse import unquote, urlparse++ROOT = Path(__file__).resolve().parents[2]+UA = {"User-Agent": "statecraft-israel-licence-audit/1.0 (https://github.com/eyalgolan/statecraft-israel)"}+US_STATUS = ("PD-US", "PD-1996", "Cc-zero")+# Portrait files with no people.yaml record (promo/CREDITS.md lists Dayan as CC0).+EXTRA = [("promo/ref/people/Moshe_Dayan_1962_CC0.jpg",+ "https://commons.wikimedia.org/wiki/File:Moshe_Dayan_met_mgr._A.C._Ramselaar_(cropped).jpg")]+++def rule_for(path: str, source: str, licence_short: str, templates: list[str], artist: str) -> dict:+ names = [t.removeprefix("Template:") for t in templates]+ low = licence_short.lower()+ licence = "CC0-1.0" if low.startswith("cc0") else "Public-Domain" if low.startswith(("public domain", "pd")) \+ else "unknown"+ rule = {"glob": path, "licence": licence, "source": source, "status": "verified",+ "commons": f"{licence_short}; {', '.join(names)}",+ "artist": re.sub(r"<[^>]+>", "", html.unescape(artist)).strip()}+ if licence == "unknown":+ rule.update(status="owner-verify", note=f"Commons licence '{licence_short}' is not public domain or CC0")+ elif not any(n.startswith(US_STATUS) for n in names):+ rule.update(status="owner-verify", note="no explicit US status template on the Commons page")+ return rule+++def _commons(title: str, session) -> tuple[str, list[str], str]:+ j = session.get("https://commons.wikimedia.org/w/api.php", timeout=30, params={+ "action": "query", "titles": title, "prop": "imageinfo|templates", "iiprop": "extmetadata",+ "tlnamespace": 10, "tllimit": "max", "format": "json", "redirects": 1}).json()+ page = next(iter(j["query"]["pages"].values()))+ meta = (page.get("imageinfo") or [{}])[0].get("extmetadata", {})+ templates = [t["title"] for t in page.get("templates", [])+ if re.match(r"Template:(PD-|Cc-zero|Cc-by)", t["title"], re.I)]+ return meta.get("LicenseShortName", {}).get("value", "UNKNOWN"), templates, meta.get("Artist", {}).get("value", "")+++def main() -> int:+ import requests+ import yaml+ people = yaml.safe_load((ROOT / "content/people.yaml").read_text(encoding="utf-8"))["people"]+ pairs: list[tuple[str, str]] = []+ for p in people:+ portrait = p.get("portrait")+ if not portrait:+ continue+ pairs.append((portrait["file"], portrait["source"]))+ built = f"unity/Assets/UI/Portraits/{p['id']}.jpg"+ if (ROOT / built).exists():+ pairs.append((built, portrait["source"]))+ pairs += EXTRA+ s = requests.Session()+ s.headers.update(UA)+ rules = []+ for path, source in pairs:+ title = "File:" + unquote(urlparse(source).path.rsplit("File:", 1)[1]).replace("_", " ")+ short, templates, artist = _commons(title, s)+ rules.append(rule_for(path, source, short, templates, artist))+ print(f"{rules[-1]['status']:13} {path} [{rules[-1]['commons']}]")+ header = ("# GENERATED by scripts/oss/commons_licences.py from content/people.yaml and Wikimedia Commons. Do not edit\n"+ "# by hand: re-run the script. A row is 'verified' only with an explicit US-status template.\n")+ (ROOT / "ASSETS.portraits.yaml").write_text(+ header + yaml.safe_dump({"rules": rules}, sort_keys=False, allow_unicode=True, width=120), encoding="utf-8")+ return 0+++if __name__ == "__main__":+ sys.exit(main())diff --git a/scripts/oss/tests/test_commons_licences.py b/scripts/oss/tests/test_commons_licences.pynew file mode 100644index 000000000..9a2a85f74--- /dev/null+++ b/scripts/oss/tests/test_commons_licences.py@@ -0,0 +1,24 @@+import commons_licences as cl+++def test_public_domain_with_us_status_is_verified():+ r = cl.rule_for("p/a.jpg", "https://commons.wikimedia.org/wiki/File:A.jpg", "Public domain",+ ["Template:PD-Israel", "Template:PD-US-expired"], "<a href='x'>GPO</a>")+ assert r == {"glob": "p/a.jpg", "licence": "Public-Domain", "source": "https://commons.wikimedia.org/wiki/File:A.jpg",+ "status": "verified", "commons": "Public domain; PD-Israel, PD-US-expired", "artist": "GPO"}+++def test_public_domain_without_us_status_needs_the_owner():+ r = cl.rule_for("p/a.jpg", "s", "Public domain", ["Template:PD-Israel"], "")+ assert r["status"] == "owner-verify" and "no explicit US status" in r["note"]+++def test_cc0_is_verified():+ r = cl.rule_for("p/a.jpg", "s", "CC0", ["Template:Cc-zero"], "")+ assert r["licence"] == "CC0-1.0" and r["status"] == "verified"+++def test_share_alike_is_recorded_as_unknown_licence():+ r = cl.rule_for("p/a.jpg", "s", "CC BY-SA 4.0", ["Template:Cc-by-sa-4.0"], "")+ assert r["licence"] == "unknown" and r["status"] == "owner-verify"+ assert "not public domain or CC0" in r["note"]diff --git a/scripts/oss/tests/test_licensing.py b/scripts/oss/tests/test_licensing.pynew file mode 100644index 000000000..b9992a96b--- /dev/null+++ b/scripts/oss/tests/test_licensing.py@@ -0,0 +1,42 @@+from pathlib import Path++ROOT = Path(__file__).resolve().parents[3]+++def test_mit_licence_names_the_copyright_holder():+ text = (ROOT / "LICENSE").read_text(encoding="utf-8")+ assert "MIT License" in text and "Eyal Golan" in text+++def test_licence_texts_are_the_real_ones():+ for name, marker in (("CC-BY-4.0", "Attribution 4.0 International"),+ ("CC-BY-SA-4.0", "Attribution-ShareAlike 4.0 International"),+ ("CC0-1.0", "CC0 1.0 Universal")):+ assert marker in (ROOT / f"LICENSES/{name}.txt").read_text(encoding="utf-8"), name+ yaml_dot_net = (ROOT / "LICENSES/YamlDotNet-MIT.txt").read_text(encoding="utf-8")+ assert "Antoine Aubry" in yaml_dot_net and "Permission is hereby granted" in yaml_dot_net+++def test_licensing_table_covers_every_top_level_area():+ text = (ROOT / "LICENSING.md").read_text(encoding="utf-8")+ for d in ("sim/", "tools/", "scripts/", ".github/", "unity/Assets/", "content/", "docs/", "reports/",+ "research_notes/", "promo/", "spikes/", "ASSETS.yaml", "unity/Assets/Settings/", "unity/Packages/"):+ assert f"`{d}" in text, d+++def test_licensing_puts_unity_template_files_under_the_companion_licence():+ text = (ROOT / "LICENSING.md").read_text(encoding="utf-8")+ row = next(l for l in text.splitlines() if l.startswith("| Unity template-derived files"))+ assert "Unity Companion License" in row and "spikes/m0/unity/Assets/Settings/" in row and "not MIT" in row+++def test_licensing_points_at_decisions_and_assets():+ text = (ROOT / "LICENSING.md").read_text(encoding="utf-8")+ assert "docs/oss/DECISIONS.md" in text and "ASSETS.yaml" in text and "published before the checks" in text+++def test_notice_carries_the_required_attributions():+ text = (ROOT / "NOTICE").read_text(encoding="utf-8")+ assert "produced using Copernicus WorldDEM-30 (c) DLR e.V. 2010-2014" in text+ for s in ("CHELSA V2.1", "Israel Meteorological Service", "SIL Open Font License", "Wikipedia", "YamlDotNet"):+ assert s in text, sdiff --git a/scripts/oss/tests/test_policies.py b/scripts/oss/tests/test_policies.pyindex a28f090ff..a1d438e8c 100644--- a/scripts/oss/tests/test_policies.py+++ b/scripts/oss/tests/test_policies.py@@ -137,3 +137,13 @@ def test_small_doc_fixes_from_review():assert "](docs/CONTENT_POLICY.md)" in cocform = read(".github/ISSUE_TEMPLATE/historical_accuracy.yml")assert "https://github.com/eyalgolan/statecraft-israel/blob/main/docs/CONTENT_POLICY.md" in form # M7+++def test_trademark_qualifies_the_concept_art():+ text = read("TRADEMARK.md")+ assert "prompted in that style" in text and "D-H" in text+++def test_contributing_requires_a_provenance_row():+ text = read("CONTRIBUTING.md")+ assert "**Provenance.**" in text and "[ASSETS.yaml](ASSETS.yaml)" in text