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.

content: Kiryat Shmona and Beit Shemesh join the yishuv sites, with their fields (refs #785) (#944)

Beridc3daadd46a9
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 328c1c398..a0f8a2b86 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,12 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIB
## [Unreleased]
+### Added
+- Kiryat Shmona (founded 18 July 1949) and Beit Shemesh (15 December 1950, the National Library's December 1950
+ under the monthly turn) join the yishuv sites in `content/sites.yaml`, each with a field site in its hex; the
+ founding days are the owner's (#785), and the rows stay draft. The reference player builds them in id order, so
+ Mefalsim is built in March 1950 and the goldens move (refs #785, #782).
+
### Fixed
- The Cabinet's Hebrew "already holds" refusal uses the holder's office title, including the feminine form for a woman;
English is unchanged (#990).
diff --git a/content/sites.yaml b/content/sites.yaml
index 56de20eed..a104b035d 100644
--- a/content/sites.yaml
+++ b/content/sites.yaml
@@ -15,6 +15,11 @@
# The yishuv rows are sourced facts. The field rows are design placements, not facts (Q-FIELD-1). The build turns and cost
# are labelled design values in rules.yaml mvp: (Q-CUT-1, owner, 15 October 2026; R-LOOP-005). The loader reads this file
# only when eras.yaml systems.loop is gdd. Research: #459, research_notes/GDD objectives/designated-site-1.md.
+# Kiryat Shmona and Beit Shemesh join them (owner, 17 October 2026, #782: "Sign off now"; settlements note rows 7 and
+# 16). Their founding days are the owner's (#785, issuecomment-6237624501), from the research note posted there. Their
+# sources carry that note's checked date (17 October 2026, when AI agents re-fetched every page), except the Central Bureau
+# of Statistics file, which keeps the settlements note's 14 October 2026, as do their field rows; no person has re-read
+# them, so the rows stay draft.
sites:
- id: mefalsim
name: Mefalsim
@@ -126,6 +131,92 @@ sites:
sources:
- { url: "https://www.cbs.gov.il/he/publications/doclib/2019/ishuvim/bycode2024.xlsx", checked: 2026-10-14 }
status: draft
+ - id: kiryat_shmona
+ name: Kiryat Shmona
+ name_he: קריית שמונה
+ # Hex from the Central Bureau of Statistics point 33.21316 N, 35.57461 E (tools/hexgrid.py; Hebrew Wikipedia 214 m
+ # away). No 1948 settlement in the hex. On the Lebanon line hex lebanon_adl in map/armistice_hexes_1949.yaml
+ # (display only; a site may sit on one, #378, question 2). Founded "on the remains of the Arab village Halsa"
+ # (Yad Ben-Zvi), al-Khalisa, abandoned in 1948 (Hebrew Wikipedia; "depopulated", English Wikipedia; settlements
+ # note, row 7). The owner signed off on the site (#782, Q-SENS-1); any text that names the village goes through
+ # D-F1 review.
+ q: 14
+ r: 2
+ kinds: [yishuv]
+ # 18 July 1949, the first families and the start of the settlement (owner, #785): 14 families of immigrants from
+ # Yemen arrived (Hebrew Wikipedia, citing Goldstein, not read), and the municipality's chronology gives the same day
+ # for the decision to make the place a settlement, first called Kiryat Yosef. It is the only day two independent
+ # sources give (Task 5.0, criterion 2). [Conflict] The municipality's name page gives 21 July 1949 as the
+ # establishment day, and its chronology also lists the arrival of 18 families on 8 and on 21 July 1949 (one source,
+ # not used). Hebrew Wikipedia dates the ma'abara to 26 December 1949 (citing Gelber, not read; one source). The CBS
+ # file gives the year 1950.
+ founded: 1949-07-18
+ sources:
+ # Hebrew Wikipedia, the revision read for the note: the first 14 families on 18 July 1949; the ma'abara on 26
+ # December 1949.
+ - { url: "https://he.wikipedia.org/w/index.php?oldid=44043359", checked: 2026-10-17 }
+ # English Wikipedia, the revision read for the note: 18 July 1949 (the same line of evidence as the Hebrew
+ # article).
+ - { url: "https://en.wikipedia.org/w/index.php?oldid=1376419614", checked: 2026-10-17 }
+ # Kiryat Shmona Municipality, "Main dates and events": 18.07.49, the decision to make it a settlement named Kiryat
+ # Yosef.
+ - { url: "https://www.k-8.co.il/he/faq/3/", checked: 2026-10-17 }
+ # Kiryat Shmona Municipality, "The evolution of a name": established on 21.7.49 (the conflict above).
+ - { url: "https://www.k-8.co.il/he/05-04-2020-%D7%92%D7%9C%D7%92%D7%95%D7%9C%D7%95-%D7%A9%D7%9C-%D7%A9%D7%9D/", checked: 2026-10-17 }
+ # Yad Ben-Zvi, "Israel Revealed to the Eye", Kiryat Shmona: established in July 1949.
+ - { url: "https://israelalbum.org.il/mercazim/%D7%A7%D7%A8%D7%99%D7%99%D7%AA-%D7%A9%D7%9E%D7%95%D7%A0%D7%94/", checked: 2026-10-17 }
+ # Central Bureau of Statistics, localities file 2024: the founding year (1950) and the coordinates of the hex.
+ - { url: "https://www.cbs.gov.il/he/publications/doclib/2019/ishuvim/bycode2024.xlsx", checked: 2026-10-14 }
+ status: draft
+ - id: kiryat_shmona_field
+ name: Kiryat Shmona fields
+ # For the native reviewer (#564): "the fields of Kiryat Shmona".
+ name_he: שדות קריית שמונה
+ # Design placement (Q-FIELD-1, owner, #782), not a historical field: the hex is the yishuv's.
+ q: 14
+ r: 2
+ kinds: [field]
+ sources:
+ - { url: "https://www.cbs.gov.il/he/publications/doclib/2019/ishuvim/bycode2024.xlsx", checked: 2026-10-14 }
+ status: draft
+ - id: beit_shemesh
+ name: Beit Shemesh
+ name_he: בית שמש
+ # Hex from the Central Bureau of Statistics point 31.73178 N, 34.98828 E (tools/hexgrid.py; Hebrew Wikipedia 562 m
+ # away, the same hex). No 1948 settlement in the hex; next to the Jordan line hexes jordan_adl_a_latrun and
+ # jordan_adl_bc_south (display only). No source read places it on a village (settlements note, row 16).
+ q: -3
+ r: 24
+ kinds: [yishuv]
+ # December 1950, when the transit camp Ma'abarat Har-Tuv was set up (National Library), the town's start. The owner
+ # accepted the month (#785): under the monthly turn the founding is the 15th, 15 December 1950. The Ministry of
+ # Education sheet gives 1950, as a ma'abara. Wikipedia's day, 6 December 1950, rests on Wikipedia alone (two copies
+ # of its wording are not independent) and is not used. [GAP] No source dates the first families separately.
+ founded: 1950-12-15
+ sources:
+ # National Library of Israel, "Ma'abarot": Ma'abarat Har-Tuv was established in December 1950. The live page
+ # answers scripted requests with 403; the text was read in the Internet Archive copy of 12 October 2026,
+ # https://web.archive.org/web/20261012142858/https://www.nli.org.il/he/discover/israel/zionism/zionism-history/maabarot
+ - { url: "https://www.nli.org.il/he/discover/israel/zionism/zionism-history/maabarot", checked: 2026-10-17 }
+ # Ministry of Education, development-towns sheet: Beit Shemesh was established in 1950 as a ma'abara.
+ - { url: "https://meyda.education.gov.il/files/Pop/0files/geography_adam_sviva/70-shana/ari-pitoah.pdf", checked: 2026-10-17 }
+ # Hebrew Wikipedia, the revision read for the note: 6 December 1950 (not used, above); first called Ma'abarat
+ # Har-Tuv.
+ - { url: "https://he.wikipedia.org/w/index.php?oldid=43925345", checked: 2026-10-17 }
+ # Central Bureau of Statistics, localities file 2024: the founding year (1950) and the coordinates of the hex.
+ - { url: "https://www.cbs.gov.il/he/publications/doclib/2019/ishuvim/bycode2024.xlsx", checked: 2026-10-14 }
+ status: draft
+ - id: beit_shemesh_field
+ name: Beit Shemesh fields
+ # For the native reviewer (#564): "the fields of Beit Shemesh".
+ name_he: שדות בית שמש
+ # Design placement (Q-FIELD-1, owner, #782), not a historical field: the hex is the yishuv's.
+ q: -3
+ r: 24
+ kinds: [field]
+ sources:
+ - { url: "https://www.cbs.gov.il/he/publications/doclib/2019/ishuvim/bycode2024.xlsx", checked: 2026-10-14 }
+ status: draft
- id: gilat
name: Gilat
name_he: גילת
diff --git a/docs/RELEASING.md b/docs/RELEASING.md
index 317157cb5..b9167ac52 100644
--- a/docs/RELEASING.md
+++ b/docs/RELEASING.md
@@ -19,8 +19,8 @@ GitHub Releases page (and, from M4, on itch.io). Steps 1–3 are a normal pull r
"$UNITY" -batchmode -CI false -GITHUB_ACTIONS false -TF_BUILD false -quit -projectPath unity -buildTarget WebGL -executeMethod Statecraft.Game.EditorTools.Build.Web -compression gzip -shareable -logFile "$PWD/unity-build-web-gz.log"
git checkout -- unity/Assets/Settings unity/ProjectSettings/ProjectSettings.asset
golden_expect=(); while read -r name hash; do [[ -z "$name" || "$name" == \#* ]] || golden_expect+=(--expect "GOLDEN OK $name $hash"); done < sim/Statecraft.Sim.Tests/golden/manifest.txt
- # one GOLDEN OK line per manifest golden (#394), e.g. "GOLDEN OK hash1950 7cf678b6b2b3d55dc0fee7b2efdee9ec7688cdf18964dcaa6e5a7c0018e34a51"
- # and "GOLDEN OK hash1952 f9f47f5c783b7dc8d6f47e5e3e048de5899d79e6d55614ee8e6f0331d0fb3cd5"
+ # one GOLDEN OK line per manifest golden (#394), e.g. "GOLDEN OK hash1950 69ac13846f1420619e9578b119f56e8927e64eb472b8c4f14f2a8d0dc4f70eb1"
+ # and "GOLDEN OK hash1952 b34faec68a0a76fc046c6015fbfbfe70a2c56258a71b021214522d0a30379d04"
uv run tools/web_check.py unity/Builds/Web-gzip --query "golden&smoke=5" "${golden_expect[@]}" \
--expect "SMOKE OK 5 turns 1948-10-15 3005405d64abc6e7418fa1f0d35c36ce5f64ed3af7c5a4c24a73d5dfdb16121f"
uv run tools/web_check.py unity/Builds/Web-gzip --startscreen new --timeout 300 --stall 90
diff --git a/docs/determinism.md b/docs/determinism.md
index eb2e9a921..bd5d962b6 100644
--- a/docs/determinism.md
+++ b/docs/determinism.md
@@ -28,9 +28,9 @@ final `GameState.Hash()` is pinned:
| Run | Ends | Hash |
|---|---|---|
-| to 1950-01-01 (`Hash1950`) | 1950-01-15, turn 20 | `7cf678b6b2b3d55dc0fee7b2efdee9ec7688cdf18964dcaa6e5a7c0018e34a51` |
-| to 1952-01-01 (`Hash1952`) | 1952-01-15, turn 44 (the game's end) | `f9f47f5c783b7dc8d6f47e5e3e048de5899d79e6d55614ee8e6f0331d0fb3cd5` |
-| to the game's end (`mvp-end`) | 1952-01-15, turn 44 | `f9f47f5c783b7dc8d6f47e5e3e048de5899d79e6d55614ee8e6f0331d0fb3cd5` |
+| to 1950-01-01 (`Hash1950`) | 1950-01-15, turn 20 | `69ac13846f1420619e9578b119f56e8927e64eb472b8c4f14f2a8d0dc4f70eb1` |
+| to 1952-01-01 (`Hash1952`) | 1952-01-15, turn 44 (the game's end) | `b34faec68a0a76fc046c6015fbfbfe70a2c56258a71b021214522d0a30379d04` |
+| to the game's end (`mvp-end`) | 1952-01-15, turn 44 | `b34faec68a0a76fc046c6015fbfbfe70a2c56258a71b021214522d0a30379d04` |
`hash1952` stops at the first turn on or after 1 January 1952, which is the game's last turn, so it is the same run as
`mvp-end` (`DeterminismTests.TheWholeGameToItsEndIsFixed`). Both names are kept (spec 2026-10-12 section 3 step 6): a
@@ -286,3 +286,6 @@ The hash reads the state keys, so it never sees a record outside its window. An
| GDD Phase 3 PR 3 | scenario-mvp-absorb-first | `a77a8f20` | same (was `b16a8740`) |
| GDD Phase 4 PR 5 | 1952 | `f9f47f5c` | dry swamp and the Hula event (R-SWAMP-001, R-SWAMP-002, #789), rebased on the housing condition (#855) and the alternate-timeline stack (#960, #966, #972): `hula_drainage` now fires only while the player's works at the Hula swamp site are in progress, and the reference player drains no swamp, so the card leaves `fired[]` and `chosen{}` (it fired on 1951-03-15 with `continue_works`). Without that choice's effects security ends at 0.5061 (was 0.5361) and intl_standing at 0.83 (was 0.78), which moves morale (0.4916, was 0.4946) and stability (0.4432, was 0.4487) through the effects web (was `94969472`) |
| GDD Phase 4 PR 5 | mvp-end | `f9f47f5c` | same; the same run as hash1952 (was `94969472`) |
+| GDD Phase 4 PR 1 (Kiryat Shmona, Beit Shemesh) | 1950 | `69ac1384` | Kiryat Shmona and Beit Shemesh join the yishuv sites (Q-SITE-1, owner, #782 and #785), re-pinned on main after #871, #855 and #968. The reference player takes the yishuv sites in ordinal id order before any field or camp, so its veteran builds Beit Shemesh on 1949-06-15, Gilat on 1949-09-15 and Kiryat Shmona on 1949-12-15, and is building Mefalsim at the cut (`mefalsim=b,1,4`; it was plowing Beit Kama's field). The first-new-yishuv objective no longer completes inside the run, so its card does not fire and the score is 0 (was 100); the debt is IL 1.5m higher (IL 2m for the build in progress instead of IL 0.5m for the field) (was `7cf678b6`) |
+| GDD Phase 4 PR 1 (Kiryat Shmona, Beit Shemesh) | 1952 | `b34faec6` | same; Mefalsim is built on 1950-03-15 (was 1949-09-15) and Re'im on 1950-06-15 (was 1949-12-15). The six fields are plowed after them, in ordinal id order: Beit Kama 1950-08-15, Beit Shemesh 1950-10-15, Gilat 1950-12-15, Kiryat Shmona 1951-02-15, Mefalsim 1951-04-15 and Re'im 1951-06-15, so Camp 80 is built on 1951-09-15 (was 1950-11-15) and Tzrifin on 1951-12-15 (was 1951-02-15). The objective completes on 1950-03-15, after its reference date, so the score (100) does not change. The debt is IL 5m higher (2 x IL 2m for the yishuvim, 2 x IL 0.5m for their fields), and the Food stock ends 2 units higher (2738, was 2736), which lifts food_supply in the fifth decimal and stability in the sixth (was `f9f47f5c`) |
+| GDD Phase 4 PR 1 (Kiryat Shmona, Beit Shemesh) | mvp-end | `b34faec6` | same; the same run as hash1952 (was `f9f47f5c`) |
diff --git a/docs/gdd/build-yishuv.md b/docs/gdd/build-yishuv.md
index cdffdd14b..324186fa1 100644
--- a/docs/gdd/build-yishuv.md
+++ b/docs/gdd/build-yishuv.md
@@ -7,10 +7,10 @@ As a player of the MVP, I want to send a group of halutzim to build a new yishuv
## Rules
- Building is allowed only at designated sites, listed with their sources in `content/sites.yaml`. The first slice had one: Mefalsim, founded on 12 June 1949, the day of the ceremony of going onto the land [S4][S5]. The owner chose it on #378 [S3].
-- Since the GDD phase of pioneer sites (#785) the MVP has four yishuv sites: Mefalsim, Beit Kama (18 April 1949), Re'im (20 October 1949) and Gilat (4 December 1949) [S4][S6]. The owner took the plan's recommendation on #782 [S7]. The Re'im and Mefalsim records cover the founding only.
+- Since the GDD phase of pioneer sites (#785) the MVP has six yishuv sites: Mefalsim, Beit Kama (18 April 1949), Re'im (20 October 1949), Gilat (4 December 1949), Kiryat Shmona (18 July 1949) and Beit Shemesh (15 December 1950) [S4][S6]. The owner took the plan's recommendation on #782 [S7], and set the last two days on #785 [S10]: Kiryat Shmona's is the only day two independent sources give, and Beit Shemesh's is the National Library's December 1950 under the monthly turn. The Re'im and Mefalsim records cover the founding only.
- Each site has one or more kinds: `yishuv`, `field`, `swamp`, `military_camp` or `hakhshara`. A pioneer action is accepted only at a site of its kind, so `build_yishuv` is refused at a field site (R-SITE-004). A camp site names the city it trains for. At most one `yishuv` site sits in a hex; a site of another kind may share it, as each yishuv's field site does (R-SITE-005). Plowing is in [fields-and-swamps.md](fields-and-swamps.md); draining and building camps come with later PRs of that phase.
- A site is available from the game's start. It may sit on an armistice line hex, as Mefalsim's hex does [S3].
-- The map roster supplements this slice: the owner approved Kiryat Shmona and Beit Shemesh as designated founding sites on 17 October 2026 ([#856](https://github.com/eyalgolan/statecraft-israel/pull/856#issuecomment-6233524779)). The owner's sensitivity sign-off for them is open (#782), so they join Phase four's site list only once it is given; until then the yishuv sites are the four above. They do not replace Mefalsim or its objective. Historical founding and opening dates in the roster are reference dates, not new automatic availability gates [S8].
+- The map roster supplements this slice: the owner approved Kiryat Shmona and Beit Shemesh as designated founding sites on 17 October 2026 ([#856](https://github.com/eyalgolan/statecraft-israel/pull/856#issuecomment-6233524779)). The owner gave the sensitivity sign-off for them on #782 [S7], so they are among the six above. They do not replace Mefalsim or its objective. Historical founding and opening dates in the roster are reference dates, not new automatic availability gates [S8].
- Moving a location in the authoring tool must preserve its identity and reference evidence, update the authored site binding consistently, and surface dependent references before saving [S8][S9].
- `PioneerWork(unit, build_yishuv, site)` sends an idle halutz unit to build. It costs IL 2m, a placeholder paid in full at once, borrowing what the Treasury lacks (owner decision on #378 [S3]), and no Attention, because unit orders are free (D-A6). The unit works from where it stands (R-SITE-001).
- It is refused, with the state unchanged, for an unknown unit, a unit that is not a halutz or already has a project (one project per unit, D-D6), an unknown action or site, a site being built or built (one unit per site), or the legacy loop (R-SITE-001).
@@ -41,10 +41,11 @@ As a player of the MVP, I want to send a group of halutzim to build a new yishuv
- [S3] GDD Phase 1 plan for PR 5 and the owner's decisions, https://github.com/eyalgolan/statecraft-israel/issues/378, checked 2026-10-14
- [S4] Haim Gvati, 100 Years of Settlement, vol. 2, list of all Jewish rural settlements, https://benyehuda.org/read/14684, checked 2026-10-14
- [S5] Yad Ben-Zvi, "Israel Revealed to the Eye", Kibbutz Mefalsim, https://israelalbum.org.il/mercazim/%D7%A7%D7%99%D7%91%D7%95%D7%A5-%D7%9E%D7%A4%D7%9C%D7%A1%D7%99%D7%9D/, checked 2026-10-14
-- [S6] Settlements founded in 1949-1951, rows 22, 23 and 25, research_notes/GDD objectives/settlements-1949-51.md
+- [S6] Settlements founded in 1949-1951, rows 7, 16, 22, 23 and 25, research_notes/GDD objectives/settlements-1949-51.md
- [S7] GDD Phase 4 owner answers, https://github.com/eyalgolan/statecraft-israel/issues/782, checked 2026-10-17
- [S8] MVP location roster and historical-reference versus site-availability rules, docs/locations.md
- [S9] Internal map-authoring workflow, docs/gdd/map-editor.md
+- [S10] Owner decision on the founding days of Kiryat Shmona and Beit Shemesh, with the research note, https://github.com/eyalgolan/statecraft-israel/issues/785#issuecomment-6237624501, checked 2026-10-17
## Open questions
diff --git a/docs/gdd/fields-and-swamps.md b/docs/gdd/fields-and-swamps.md
index c2537840f..58a6a428e 100644
--- a/docs/gdd/fields-and-swamps.md
+++ b/docs/gdd/fields-and-swamps.md
@@ -6,7 +6,7 @@ As a player of the MVP, I want to send a group of halutzim to plow the fields of
## Rules
-- Each of the four yishuv sites has one field site in its hex: Mefalsim, Beit Kama, Re'im and Gilat fields. They are design placements, not historical fields (`Q-FIELD-1`, the owner took the plan's recommendations on #782 [S3]).
+- Each of the six yishuv sites has one field site in its hex: Mefalsim, Beit Kama, Re'im, Gilat, Kiryat Shmona and Beit Shemesh fields. They are design placements, not historical fields (`Q-FIELD-1`, the owner took the plan's recommendations on #782 [S3]).
- `PioneerWork(unit, plow_fields, site)` sends an idle halutz unit to plow a field site. It follows the build rules: one project per unit, one unit per site, paid in full at once with borrowing, and no Attention (R-FIELD-001, R-SITE-001).
- A field is ready only once the yishuv in its hex is built. Before that the order is refused with the state unchanged (R-FIELD-001).
- Plowing takes 3 turns, counting the turn of the order, and costs IL 0.5m. Both are design values the owner may override (`Q-FIELD-3` [S3]).
diff --git a/sim/Statecraft.Sim.Tests/EventRetimingTests.cs b/sim/Statecraft.Sim.Tests/EventRetimingTests.cs
index 07ae562e1..61836834e 100644
--- a/sim/Statecraft.Sim.Tests/EventRetimingTests.cs
+++ b/sim/Statecraft.Sim.Tests/EventRetimingTests.cs
@@ -67,8 +67,8 @@ public class EventRetimingTests
[InlineData("armistice_jordan", "1949-04-15")]
[InlineData("austerity_1949", "1949-05-15")]
[InlineData("armistice_syria", "1949-08-15")]
- [InlineData("first_new_yishuv", "1949-09-15")] // R-OBJ-003: the turn the reference player builds Mefalsim (1950-03-15 before GDD Phase 4 PR 6's veteran; 1949-03-15 before GDD Phase 4 PR 1, when it was the only site; 1949-06-15 before GDD Phase 3 PR 1)
[InlineData("frumkin_commission", "1950-01-15")]
+ [InlineData("first_new_yishuv", "1950-03-15")] // R-OBJ-003: the turn the reference player builds Mefalsim (1949-09-15 before Kiryat Shmona and Beit Shemesh joined the sites, #785; 1950-03-15 before GDD Phase 4 PR 6's veteran; 1949-03-15 before GDD Phase 4 PR 1, when it was the only site; 1949-06-15 before GDD Phase 3 PR 1)
[InlineData("maabarot_policy", "1950-04-15")]
[InlineData("law_of_return", "1950-07-15")]
[InlineData("clothing_rationing_1950", "1950-07-15")]
diff --git a/sim/Statecraft.Sim.Tests/ObjectivesTests.cs b/sim/Statecraft.Sim.Tests/ObjectivesTests.cs
index dfe000b28..2343b1ee7 100644
--- a/sim/Statecraft.Sim.Tests/ObjectivesTests.cs
+++ b/sim/Statecraft.Sim.Tests/ObjectivesTests.cs
@@ -257,8 +257,8 @@ eras:
Assert.Empty(card.Tags);
}
- // R-OBJ-001 to R-OBJ-003 in the golden run: the reference player builds Mefalsim on 15 March 1949, three months before its
- // 12 June 1949 founding, so the first new yishuv scores 100 and the early bonus (D-B2), and its card fires and is answered.
+ // R-OBJ-001 to R-OBJ-003 in the golden run: the reference player builds Mefalsim on 15 March 1950, after its 12 June 1949
+ // founding, so the first new yishuv scores 100 with no early bonus (D-B2), and its card fires and is answered.
// Since GDD Phase 3 PR 1 the cities start with every job filled (Q-START-1), so the player trains its halutz group on the
// first turn instead of on 15 August 1948 (ReferencePlayerTests); before, it built on 15 June 1949 and scored 100.
[Fact]
@@ -268,8 +268,9 @@ eras:
var built = s.Sites["mefalsim"].BuiltOn!.Value;
// Since Phase 4 PR 1 (#785) the reference player builds the yishuv sites in id order, one after another as its halutzim
// come free: Beit Kama and Gilat first. Since Phase 4 PR 6 (#790) its group is a veteran after Beit Kama and builds in
- // 3 turns, so Mefalsim is built in September 1949, three months after its founding date (12 June 1949); it was March 1950.
- Assert.Equal(new DateTime(1949, 9, 15), built);
+ // 3 turns, so Mefalsim was built in September 1949 (March 1950 before that). Since Beit Shemesh and Kiryat Shmona joined
+ // the sites (#785), they come before Mefalsim in id order, so it is built in March 1950, after its 12 June 1949 founding.
+ Assert.Equal(new DateTime(1950, 3, 15), built);
Assert.Equal(built, s.Objectives["first_new_yishuv"]);
Assert.Equal(100, s.Score); // D-B6; no D-B2 bonus, as it is built after the reference date
Assert.Equal("continue", s.ChosenOptions["first_new_yishuv"]);
diff --git a/sim/Statecraft.Sim.Tests/ProjectsTests.cs b/sim/Statecraft.Sim.Tests/ProjectsTests.cs
index de4313492..105429e46 100644
--- a/sim/Statecraft.Sim.Tests/ProjectsTests.cs
+++ b/sim/Statecraft.Sim.Tests/ProjectsTests.cs
@@ -218,7 +218,9 @@ public class ProjectsTests
// R-SITE-001, R-SITE-003, R-SITE-004
[Theory]
[InlineData("beit_kama")]
+ [InlineData("beit_shemesh")]
[InlineData("gilat")]
+ [InlineData("kiryat_shmona")]
[InlineData("mefalsim")]
[InlineData("reim")]
public void EveryYishuvSiteBuildsAsMefalsimDoes(string site)
diff --git a/sim/Statecraft.Sim.Tests/ReferencePlayerTests.cs b/sim/Statecraft.Sim.Tests/ReferencePlayerTests.cs
index bdb56f9a0..37796846d 100644
--- a/sim/Statecraft.Sim.Tests/ReferencePlayerTests.cs
+++ b/sim/Statecraft.Sim.Tests/ReferencePlayerTests.cs
@@ -98,29 +98,33 @@ public class ReferencePlayerTests
s.Units.Add(8, new Unit(8, "halutz", -3, 19));
s.NextId = 9;
s.Treasury = 10;
- // Two groups, four yishuv sites (Q-SITE-1, #785): each group takes the next free site in ordinal id order.
+ // Two groups, six yishuv sites (Q-SITE-1, #785): each group takes the next free site in ordinal id order.
var builds = ReferencePlayer.Commands(Mvp, s).OfType<PioneerWork>().ToList();
- Assert.Equal(new[] { (7, "build_yishuv", "beit_kama"), (8, "build_yishuv", "gilat") }, builds.Select(b => (b.Unit, b.Action, b.Site)));
+ Assert.Equal(new[] { (7, "build_yishuv", "beit_kama"), (8, "build_yishuv", "beit_shemesh") }, builds.Select(b => (b.Unit, b.Action, b.Site)));
Assert.Empty(Simulation.Step(Mvp, s, ReferencePlayer.Commands(Mvp, s)).Rejected);
var oneLeft = s.Clone();
oneLeft.Units.Add(9, new Unit(9, "halutz", -3, 19)); // a site being built names its unit (SiteWork, R-VET-002)
oneLeft.NextId = 10;
oneLeft.Sites["beit_kama"] = new SiteWork("beit_kama", 9, 3, null);
+ oneLeft.Sites["beit_shemesh"] = SiteWork.Built("beit_shemesh", new DateTime(1949, 6, 15));
oneLeft.Sites["gilat"] = SiteWork.Built("gilat", new DateTime(1949, 6, 15));
+ oneLeft.Sites["kiryat_shmona"] = SiteWork.Built("kiryat_shmona", new DateTime(1949, 6, 15));
oneLeft.Sites["mefalsim"] = SiteWork.Built("mefalsim", new DateTime(1949, 6, 15));
// One yishuv site left: the first group takes it, and the second plows the first ready field (R-FIELD-001).
var last = ReferencePlayer.Commands(Mvp, oneLeft).OfType<PioneerWork>().ToList();
- Assert.Equal(new[] { (7, "build_yishuv", "reim"), (8, "plow_fields", "gilat_field") }, last.Select(b => (b.Unit, b.Action, b.Site)));
+ Assert.Equal(new[] { (7, "build_yishuv", "reim"), (8, "plow_fields", "beit_shemesh_field") }, last.Select(b => (b.Unit, b.Action, b.Site)));
var none = oneLeft.Clone();
none.Sites["reim"] = new SiteWork("reim", 7, 3, null);
- // Every yishuv site taken: the idle group plows the first ready field, gilat_field (beit_kama is still being built,
- // so its field is not ready).
+ // Every yishuv site taken: the idle group plows the first ready field, beit_shemesh_field (beit_kama is still being
+ // built, so its field is not ready).
var plow = Assert.Single(ReferencePlayer.Commands(Mvp, none).OfType<PioneerWork>());
- Assert.Equal((8, "plow_fields", "gilat_field"), (plow.Unit, plow.Action, plow.Site));
+ Assert.Equal((8, "plow_fields", "beit_shemesh_field"), (plow.Unit, plow.Action, plow.Site));
Assert.Empty(Simulation.Step(Mvp, none, ReferencePlayer.Commands(Mvp, none)).Rejected);
// Every ready field taken too: the idle group builds the first camp site (R-CAMP-001).
+ none.Sites["beit_shemesh_field"] = SiteWork.Built("beit_shemesh_field", new DateTime(1949, 6, 15));
none.Sites["gilat_field"] = SiteWork.Built("gilat_field", new DateTime(1949, 6, 15));
+ none.Sites["kiryat_shmona_field"] = SiteWork.Built("kiryat_shmona_field", new DateTime(1949, 6, 15));
none.Sites["mefalsim_field"] = SiteWork.Built("mefalsim_field", new DateTime(1949, 6, 15));
var camp = Assert.Single(ReferencePlayer.Commands(Mvp, none).OfType<PioneerWork>());
Assert.Equal((8, "build_camp", "camp_80"), (camp.Unit, camp.Action, camp.Site));
diff --git a/sim/Statecraft.Sim.Tests/SitesContentTests.cs b/sim/Statecraft.Sim.Tests/SitesContentTests.cs
index cc373e22e..e5fe08b69 100644
--- a/sim/Statecraft.Sim.Tests/SitesContentTests.cs
+++ b/sim/Statecraft.Sim.Tests/SitesContentTests.cs
@@ -71,18 +71,31 @@ public class SitesContentTests
/// <summary>R-SITE-004, Q-SITE-1 and Q-SITE-2 (owner, 17 October 2026, #782: "take all of the plan's recommendations"): the
/// MVP's yishuv sites are the four of the settlements note whose founding day two sources agree on (criteria 1, 2 and 4 of
- /// Task 5.0). Each is founded inside the MVP's years and cites at least two sources with a checked date.</summary>
+ /// Task 5.0). Each is founded inside the MVP's years and cites at least two sources with a checked date. Kiryat Shmona and
+ /// Beit Shemesh join them (owner, 17 October 2026, #782 "Sign off now"); their days are the owner's (#785,
+ /// issuecomment-6237624501): 18 July 1949, and December 1950 under the monthly turn, 15 December 1950.</summary>
[Fact]
public void TheMvpYishuvSitesAreTheSourcedList()
{
var c = ContentLoader.Load(RealContentTests.ContentRoot());
var yishuvim = c.Sites.Where(x => x.Kinds.Contains("yishuv")).ToList();
- Assert.Equal(new[] { "beit_kama", "gilat", "mefalsim", "reim" }, yishuvim.Select(x => x.Id).OrderBy(x => x, StringComparer.Ordinal));
+ Assert.Equal(new[] { "beit_kama", "beit_shemesh", "gilat", "kiryat_shmona", "mefalsim", "reim" }, yishuvim.Select(x => x.Id).OrderBy(x => x, StringComparer.Ordinal));
var founded = yishuvim.ToDictionary(x => x.Id, x => x.Founded);
Assert.Equal(new DateTime(1949, 4, 18), founded["beit_kama"]);
+ Assert.Equal(new DateTime(1950, 12, 15), founded["beit_shemesh"]);
Assert.Equal(new DateTime(1949, 12, 4), founded["gilat"]);
+ Assert.Equal(new DateTime(1949, 7, 18), founded["kiryat_shmona"]);
Assert.Equal(new DateTime(1949, 6, 12), founded["mefalsim"]);
Assert.Equal(new DateTime(1949, 10, 20), founded["reim"]);
+ // Each hex is the one tools/hexgrid.py gives for the row's sourced point (the CBS point for the two that joined, rows 7
+ // and 16 of the settlements note), so moving a row to another hex is a content change a test sees.
+ var hexes = yishuvim.ToDictionary(x => x.Id, x => (x.Q, x.R));
+ Assert.Equal((-8, 28), hexes["beit_kama"]);
+ Assert.Equal((-3, 24), hexes["beit_shemesh"]);
+ Assert.Equal((-10, 30), hexes["gilat"]);
+ Assert.Equal((14, 2), hexes["kiryat_shmona"]);
+ Assert.Equal((-10, 27), hexes["mefalsim"]);
+ Assert.Equal((-12, 29), hexes["reim"]);
Assert.All(yishuvim, x => Assert.True(x.Sources.Count(s => s.Checked != default) >= 2, x.Id));
}
diff --git a/sim/Statecraft.Sim.Tests/SwampTests.cs b/sim/Statecraft.Sim.Tests/SwampTests.cs
index 62ef4ae15..5fbe66910 100644
--- a/sim/Statecraft.Sim.Tests/SwampTests.cs
+++ b/sim/Statecraft.Sim.Tests/SwampTests.cs
@@ -188,9 +188,11 @@ options:
var c = ContentLoader.Load(RealContentTests.ContentRoot());
var s = GoldenRun.Play(c, new DateTime(1951, 2, 1));
Assert.DoesNotContain("hula_drainage", s.FiredEvents);
+ // The reference player's orders come first, so it does not hand the new group one of its own builds.
+ var orders = GoldenRun.Orders(c, s);
var id = s.NextId++;
s.Units.Add(id, new Unit(id, "halutz", 14, 3));
- var r = Step(c, s, GoldenRun.Orders(c, s).Append(Drain(id, "hula")).ToArray());
+ var r = Step(c, s, orders.Append(Drain(id, "hula")).ToArray());
Assert.Empty(r.Rejected);
Assert.Equal(new DateTime(1951, 3, 15), r.State.Date);
Assert.Contains("hula_drainage", r.State.FiredEvents);
diff --git a/sim/Statecraft.Sim.Tests/golden/hash1950.txt b/sim/Statecraft.Sim.Tests/golden/hash1950.txt
index 101f250fd..9b8447a9d 100644
--- a/sim/Statecraft.Sim.Tests/golden/hash1950.txt
+++ b/sim/Statecraft.Sim.Tests/golden/hash1950.txt
@@ -44,7 +44,7 @@ pop{
sit[
housing_crisis
treasury=0 [0000000000000000]
-debt=78.00032828298673 [4053800560EB2C47]
+debt=79.50032828298673 [4053E00560EB2C47]
fx=94.52989672613671 [4057A1E9D3F540F0]
rung=2;cf=0;
mob=0.05 [3FA999999999999A]
@@ -59,7 +59,6 @@ fired[
austerity_1949
bernadotte_assassination
elections_1949
- first_new_yishuv
first_truce
frumkin_commission
idf_founding
@@ -84,7 +83,6 @@ chosen{
austerity_1949=impose
bernadotte_assassination=outlaw
elections_1949=hold
- first_new_yishuv=continue
first_truce=accept
idf_founding=one_army
jerusalem_ceasefire=keep
@@ -119,12 +117,9 @@ units[
1:veteran_halutz@-3,19/6
site{
beit_kama=done,1949-03-15
- beit_kama_field=b,1,1
- gilat=done,1949-06-15
- mefalsim=done,1949-09-15
- reim=done,1949-12-15
+ beit_shemesh=done,1949-06-15
+ gilat=done,1949-09-15
+ kiryat_shmona=done,1949-12-15
+ mefalsim=b,1,4
next=2
-obj{
- first_new_yishuv=1949-09-15
-score=100
food=3003,1001,0
\ No newline at end of file
diff --git a/sim/Statecraft.Sim.Tests/golden/hash1952.txt b/sim/Statecraft.Sim.Tests/golden/hash1952.txt
index 62100927f..79950825e 100644
--- a/sim/Statecraft.Sim.Tests/golden/hash1952.txt
+++ b/sim/Statecraft.Sim.Tests/golden/hash1952.txt
@@ -1,6 +1,6 @@
1952-01-15;1948;Historical;44;
ind{
- food_supply=0.8556115107122045 [3FEB612B6412E1DF]
+ food_supply=0.8556594723429 [3FEB618FF947363F]
housing=0.08504947742483628 [3FB5C5CD7414E141]
intl_standing=0.8300000000000003 [3FEA8F5C28F5C292]
morale=0.49156077649131324 [3FDF75BB54C1B318]
@@ -45,11 +45,11 @@ sit[
fx_crisis
housing_crisis
treasury=0 [0000000000000000]
-debt=182.89012071283815 [4066DC7BDE6EE43A]
+debt=187.89012071283815 [40677C7BDE6EE43A]
fx=-12.990431328096559 [C029FB19D0A63796]
rung=2;cf=0;
mob=0.05 [3FA999999999999A]
-stab=0.44317459732760256 [3FDC5CF8FC7C2952]
+stab=0.443175596528242 [3FDC5CFD2D5E5780]
att=4 [4010000000000000]
fired[
altalena
@@ -138,17 +138,21 @@ units[
1:veteran_halutz@-3,19/6
site{
beit_kama=done,1949-03-15
- beit_kama_field=done,1950-02-15
- camp_80=done,1950-11-15
- gilat=done,1949-06-15
- gilat_field=done,1950-04-15
- mefalsim=done,1949-09-15
- mefalsim_field=done,1950-06-15
- reim=done,1949-12-15
- reim_field=done,1950-08-15
- tzrifin=done,1951-02-15
+ beit_kama_field=done,1950-08-15
+ beit_shemesh=done,1949-06-15
+ beit_shemesh_field=done,1950-10-15
+ camp_80=done,1951-09-15
+ gilat=done,1949-09-15
+ gilat_field=done,1950-12-15
+ kiryat_shmona=done,1949-12-15
+ kiryat_shmona_field=done,1951-02-15
+ mefalsim=done,1950-03-15
+ mefalsim_field=done,1951-04-15
+ reim=done,1950-06-15
+ reim_field=done,1951-06-15
+ tzrifin=done,1951-12-15
next=2
obj{
- first_new_yishuv=1949-09-15
+ first_new_yishuv=1950-03-15
score=100
-food=2736,1390,0
\ No newline at end of file
+food=2738,1390,0
\ No newline at end of file
diff --git a/sim/Statecraft.Sim.Tests/golden/manifest.txt b/sim/Statecraft.Sim.Tests/golden/manifest.txt
index 493450e6a..edf9442fb 100644
--- a/sim/Statecraft.Sim.Tests/golden/manifest.txt
+++ b/sim/Statecraft.Sim.Tests/golden/manifest.txt
@@ -2,10 +2,10 @@
# Tests read this file. To accept a deliberate change: STATECRAFT_UPDATE_GOLDEN=1 dotnet test sim/Statecraft.sln
# rewrites this file, the snapshots and the GoldenRun.cs constants; then update docs/determinism.md and tools/web_check.py
# (GoldenManifestTests names any place that is out of date) and add a row to the rebaseline history.
-hash1950 7cf678b6b2b3d55dc0fee7b2efdee9ec7688cdf18964dcaa6e5a7c0018e34a51
-hash1952 f9f47f5c783b7dc8d6f47e5e3e048de5899d79e6d55614ee8e6f0331d0fb3cd5
+hash1950 69ac13846f1420619e9578b119f56e8927e64eb472b8c4f14f2a8d0dc4f70eb1
+hash1952 b34faec68a0a76fc046c6015fbfbfe70a2c56258a71b021214522d0a30379d04
smoke5 3005405d64abc6e7418fa1f0d35c36ce5f64ed3af7c5a4c24a73d5dfdb16121f
scenario-reckless 8041988a2c6b5b72a8351fd79ab07c2afca0672f686586cc8b7f9777c2061038
scenario-cautious 6507ddc31437eaf8b0a8858a84c539860dcd7a6febacb0f1d142cb59489e2a9f
scenario-mvp-absorb-first a77a8f20063c741a680a964e3824946dfee27b5675b9cead5e23bbf4bd146183
-mvp-end f9f47f5c783b7dc8d6f47e5e3e048de5899d79e6d55614ee8e6f0331d0fb3cd5
+mvp-end b34faec68a0a76fc046c6015fbfbfe70a2c56258a71b021214522d0a30379d04
diff --git a/sim/Statecraft.Sim.Tests/golden/mvp-end.txt b/sim/Statecraft.Sim.Tests/golden/mvp-end.txt
index 62100927f..79950825e 100644
--- a/sim/Statecraft.Sim.Tests/golden/mvp-end.txt
+++ b/sim/Statecraft.Sim.Tests/golden/mvp-end.txt
@@ -1,6 +1,6 @@
1952-01-15;1948;Historical;44;
ind{
- food_supply=0.8556115107122045 [3FEB612B6412E1DF]
+ food_supply=0.8556594723429 [3FEB618FF947363F]
housing=0.08504947742483628 [3FB5C5CD7414E141]
intl_standing=0.8300000000000003 [3FEA8F5C28F5C292]
morale=0.49156077649131324 [3FDF75BB54C1B318]
@@ -45,11 +45,11 @@ sit[
fx_crisis
housing_crisis
treasury=0 [0000000000000000]
-debt=182.89012071283815 [4066DC7BDE6EE43A]
+debt=187.89012071283815 [40677C7BDE6EE43A]
fx=-12.990431328096559 [C029FB19D0A63796]
rung=2;cf=0;
mob=0.05 [3FA999999999999A]
-stab=0.44317459732760256 [3FDC5CF8FC7C2952]
+stab=0.443175596528242 [3FDC5CFD2D5E5780]
att=4 [4010000000000000]
fired[
altalena
@@ -138,17 +138,21 @@ units[
1:veteran_halutz@-3,19/6
site{
beit_kama=done,1949-03-15
- beit_kama_field=done,1950-02-15
- camp_80=done,1950-11-15
- gilat=done,1949-06-15
- gilat_field=done,1950-04-15
- mefalsim=done,1949-09-15
- mefalsim_field=done,1950-06-15
- reim=done,1949-12-15
- reim_field=done,1950-08-15
- tzrifin=done,1951-02-15
+ beit_kama_field=done,1950-08-15
+ beit_shemesh=done,1949-06-15
+ beit_shemesh_field=done,1950-10-15
+ camp_80=done,1951-09-15
+ gilat=done,1949-09-15
+ gilat_field=done,1950-12-15
+ kiryat_shmona=done,1949-12-15
+ kiryat_shmona_field=done,1951-02-15
+ mefalsim=done,1950-03-15
+ mefalsim_field=done,1951-04-15
+ reim=done,1950-06-15
+ reim_field=done,1951-06-15
+ tzrifin=done,1951-12-15
next=2
obj{
- first_new_yishuv=1949-09-15
+ first_new_yishuv=1950-03-15
score=100
-food=2736,1390,0
\ No newline at end of file
+food=2738,1390,0
\ No newline at end of file
diff --git a/sim/Statecraft.Sim/GoldenRun.cs b/sim/Statecraft.Sim/GoldenRun.cs
index 240684410..fef820d03 100644
--- a/sim/Statecraft.Sim/GoldenRun.cs
+++ b/sim/Statecraft.Sim/GoldenRun.cs
@@ -16,13 +16,13 @@ namespace Statecraft.Sim
/// <summary>Final hash of Play(content, Until1950). Changing it is a deliberate rules or content change: the value
/// is pinned in sim/Statecraft.Sim.Tests/golden/manifest.txt, and STATECRAFT_UPDATE_GOLDEN=1 dotnet test rewrites
/// both (docs/determinism.md). Say why in the commit message.</summary>
- public const string Hash1950 = "7cf678b6b2b3d55dc0fee7b2efdee9ec7688cdf18964dcaa6e5a7c0018e34a51";
+ public const string Hash1950 = "69ac13846f1420619e9578b119f56e8927e64eb472b8c4f14f2a8d0dc4f70eb1";
public static readonly DateTime Until1950 = new DateTime(1950, 1, 1);
/// <summary>Final hash of Play(content, Until1952): the M3 content range (to 31 December 1951). The GDD game ends on
/// 15 January 1952 (R-LOOP-004), the first turn on or after Until1952, so this is also the mvp-end run.</summary>
- public const string Hash1952 = "f9f47f5c783b7dc8d6f47e5e3e048de5899d79e6d55614ee8e6f0331d0fb3cd5";
+ public const string Hash1952 = "b34faec68a0a76fc046c6015fbfbfe70a2c56258a71b021214522d0a30379d04";
public static readonly DateTime Until1952 = new DateTime(1952, 1, 1);
diff --git a/tools/web_check.py b/tools/web_check.py
index d9dbb3b77..6792da6d6 100644
--- a/tools/web_check.py
+++ b/tools/web_check.py
@@ -8,7 +8,7 @@ fail on a failure line or a timeout. Uses Chrome for Testing from the Playwright
--enable-logging=stderr --v=1 as INFO:CONSOLE... "text", source: ...
Usage (from the repo root):
- uv run tools/web_check.py unity/Builds/Web-disabled --query "golden" --expect "GOLDEN OK hash1950 7cf678b6b2b3d55dc0fee7b2efdee9ec7688cdf18964dcaa6e5a7c0018e34a51" --expect "GOLDEN OK hash1952 f9f47f5c783b7dc8d6f47e5e3e048de5899d79e6d55614ee8e6f0331d0fb3cd5"
+ uv run tools/web_check.py unity/Builds/Web-disabled --query "golden" --expect "GOLDEN OK hash1950 69ac13846f1420619e9578b119f56e8927e64eb472b8c4f14f2a8d0dc4f70eb1" --expect "GOLDEN OK hash1952 b34faec68a0a76fc046c6015fbfbfe70a2c56258a71b021214522d0a30379d04"
Options: --query Q (page URL query, without '?'), --expect TEXT (repeatable), --fail REGEX (default: GOLDEN FAIL|SMOKE FAIL|BOOT FAIL),
--timeout SECONDS (default 300), --stall SECONDS (fail when no console message arrives for that long; 0 = off),
--swiftshader (software WebGL when there is no GPU), --dpr N (default 1), --shots DIR (reassemble the player's