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.

docs: fix drift between contributor docs and the code on main (#492)

Eyal Golanfbdeb1e28dca
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index d4ab51a6c..b6ef53c59 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -17,7 +17,7 @@
- [ ] Tests cover the change, and they fail without it.
- [ ] Test count did not go down, or this description explains why.
-- [ ] The goldens (`Hash1950`, `Hash1952`, smoke) did not move, or this description says why they moved and they were re-pinned in `sim/Statecraft.Sim.Tests/golden/manifest.txt` with `STATECRAFT_UPDATE_GOLDEN=1 dotnet test` (`docs/determinism.md`).
+- [ ] The goldens (`Hash1950`, `Hash1952`, smoke) did not move, or this description says why they moved and they were re-pinned in `sim/Statecraft.Sim.Tests/golden/manifest.txt` with `STATECRAFT_UPDATE_GOLDEN=1 dotnet test sim/Statecraft.sln` (`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.
diff --git a/docs/determinism.md b/docs/determinism.md
index edc80558a..f5c8f4773 100644
--- a/docs/determinism.md
+++ b/docs/determinism.md
@@ -65,7 +65,7 @@ them from a seed (default 1948) in Historical mode until `until:`, and `Scenario
scripted command passes. A command the sim rejects fails the test with the date, the order and the reason, and a step that never runs
fails too. To add one: write the file, run `STATECRAFT_UPDATE_GOLDEN=1 dotnet test sim/Statecraft.sln --filter ScenarioTests` (it adds the
manifest line and the snapshot), then run the tests plain. A scenario that moves is re-pinned with the hash goldens by the same
-command; its snapshot diff in the PR shows what moved, and the commit message says why. Two ship: `cautious` and `reckless`. They stay in 1948, before any change a
+command; its snapshot diff in the PR shows what moved, and the commit message says why. Two play the real content: `cautious` and `reckless`. They stay in 1948, before any change a
later era makes, so they move only when a 1948 rule or event does.
**MVP goldens (GDD v0.1, before cutover).** `mvp-slice` plays `MvpSlice.Load`, the real content with the loop switch on and
@@ -108,7 +108,7 @@ goldens (playtest 2 changed every line's casing with no hash change). They are s
`FinalWaveTests.AReloadedSaveReproducesTheLastTurnsCauses` checks a reloaded save gives the same last-turn Causes, and
`TheGoldenRunsCausesAreTheSameInEveryCulture` runs the 1952 golden under de-DE and ar-SA against the invariant culture.
-Each golden hash is pinned in `sim/Statecraft.Sim.Tests/golden/manifest.txt` (`hash1950`, `hash1952`, `smoke5`). The .NET tests
+Each golden hash is pinned in `sim/Statecraft.Sim.Tests/golden/manifest.txt` (`hash1950`, `hash1952`, `smoke5`, and the scenario and MVP lines above). The .NET tests
compare against it. These places must agree with it, and `GoldenManifestTests` fails naming the one that does not:
- `sim/Statecraft.Sim/GoldenRun.cs`, which Unity code and players compare against (the update command rewrites it);
- this file, `docs/RELEASING.md` and `tools/web_check.py`'s usage example (by hand).
@@ -120,7 +120,8 @@ compare against it. These places must agree with it, and `GoldenManifestTests` f
Verified on .NET, Unity editor Mono, a macOS IL2CPP player (Apple clang, no `-ffp-contract=off` needed) and a WebGL
IL2CPP player in Chrome (M3 Task 22). The platform checks below used the prior `73590e32` 1952 baseline. The issue #2
-content correction has been rechecked on .NET only; Unity/WebGL/macOS revalidation is still needed.
+content correction has since been rechecked on .NET, in the Unity EditMode tests and in WebGL (see below and
+`docs/visual-v1.md`); macOS revalidation is still needed.
Re-checked at the M3 merge candidate (2026-10-11, commit a099655):
- macOS IL2CPP player (`Build.Mac`, then `-batchmode -nographics -golden`): **exit 0**, printing
diff --git a/tools/README.md b/tools/README.md
index bc3a43037..a75e3367f 100644
--- a/tools/README.md
+++ b/tools/README.md
@@ -57,7 +57,7 @@ Run from the repo root; this installs every pinned dependency (rasterio included
uv run --with pytest==9.1.1 --with rasterio==1.5.2 --with numpy==2.5.3 --with pyyaml==6.0.3 --with pillow==12.3.0 --with requests==2.32.5 --with pyproj==3.8.0 pytest tools/tests -q
```
-Expected: `391 passed, 3 skipped` (one skipped is the headed browser check, two need skimage and scipy; add `--headed` and `--with websockets==15.0.1` to run it). Omitting a dependency (e.g. rasterio) silently drops tests or fails collection.
+Expected: `718 passed, 4 skipped` (one waits for `content/sites.yaml`, two need skimage and scipy, and one is the headed browser check; add `--headed` and `--with websockets==15.0.1` to run it). Omitting a dependency (e.g. rasterio) silently drops tests or fails collection.
## Required attribution (Copernicus DEM licence, modified data)