A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Content: the seven IDF starting rows take Ben-Gurion's 15 May 1948 figures (refs #1240) (#1276)
Eyal Golan26bdaac0de36
diff --git a/changelog.d/1240.md b/changelog.d/1240.mdnew file mode 100644index 000000000..597bef99e--- /dev/null+++ b/changelog.d/1240.md@@ -0,0 +1,9 @@+### Changed++- The seven IDF starting brigades take Ben-Gurion's diary figures for 15 May 1948 (owner, 21 October 2026; refs #1240),+ a primary source dated to the game's first day, in place of en.wiki's undated brigade table, which stays as each row's+ second source: Golani 4,095 (3,573 + 522 paid recruits), Carmeli 2,289, Alexandroni 3,588, Kiryati 2,504, Givati+ 3,229, Harel 1,300 and Negev 1,300 (the Palmach in each). A new Historical game starts them at 4, 2, 4, 3, 3, 1 and 1+ units (was 5, 2, 5, 1, 5, 1 and 2). The rows stay `to_verify` until a person checks the figures against the diary page.+ Every golden moves (re-pinned, docs/determinism.md): Golani's 4 against the Syrian 3 is under the reference player's+ 3:2, so the reference run no longer attacks.diff --git a/content/map/units_1948.yaml b/content/map/units_1948.yamlindex 5f7b5c126..8e826796a 100644--- a/content/map/units_1948.yaml+++ b/content/map/units_1948.yaml@@ -58,9 +58,13 @@# side other than israel gives it. An IDF brigade gives it where research_notes/M4 war mode/war-1948.md (section 1,# #906) has a size: no primary order of battle gives the 15 May strengths, so a secondary source may, the row cites it# and carries `status: to_verify`, and a primary source replaces it when one turns up (owner, 20 October 2026, #743).+# Ben-Gurion's diary for 15 May 1948 is that primary source for Golani, Carmeli, Alexandroni, Kiryati, Givati, Harel+# and Negev (owner, 21 October 2026, #1240); en.wiki's table stays as their second source. They keep+# `status: to_verify` until a person checks the figures against the diary page.# hidden: a unit the sources name but do not place; the map does not draw it (owner ruling, 2026-10-11).# status: draft = sourced and checked against the cited text, not yet by a historian. to_verify = as draft, with a-# secondary-source strength that a primary source must replace (above).+# secondary-source strength that a primary source must replace, or a primary-source strength no person has checked+# yet (above; #1240).# reviewed_by and reviewed_on (both or neither, beside status): a person's sign-off, their GitHub handle and the day; only# that person writes them (owner, 15 October 2026, #375; docs/HISTORIAN_REVIEW.md).units:@@ -76,16 +80,18 @@ units:formed: 22 February 1948first_commander: Moshe Mannsector: "Much of the Lower Galilee and the Jezreel Valley, the Jordan Valley and the Hula Valley; headquarters in Yavne'el. In December 1948 it moved to the southern front, at the Julis camp."- wikipedia_only: true+ wikipedia_only: falsestatus: to_verifyto_verify:- - "The 15 May strength is a secondary-source figure, allowed until a primary order of battle turns up (owner, 20 October 2026, on #743): en.wiki's brigade table, citing Ben-Gurion's War Diaries, gives no date for the sizes (research_notes/M4 war mode/war-1948.md, section 1). Replace it from a primary source."+ - "The 15 May strength is Ben-Gurion's diary figure for 15 May 1948 (owner, 21 October 2026, #1240), read by an agent, not yet by a person. A person opens the diary page (strength.sources), confirms the figure, and only then marks the row fact-checked."strength:- value: 4500+ value: 4095as_of: '1948-05-15'- note: "The brigade's size in en.wiki's brigade table of the 1948 war. The table gives no date; as_of is 15 May 1948, the day the owner's ruling of 20 October 2026 (#743) gives the brigade strengths for."+ note: "Ben-Gurion's diary for 15 May 1948: \"Golani has 3,573 + 522 paid recruits\". The value counts both, 3,573 + 522 = 4,095: the diary lists the 522 paid recruits under Golani, as enlisted men of the brigade on the day (an agent's reading, flagged for the owner on #1240; without them the value would be 3,573, 4 units either way). Until #1240 the row gave en.wiki's undated brigade-table figure, 4,500 (the second source)."sources:- # en.wiki, 1948 Arab-Israeli War, the brigade table: Golani 4,500. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).+ # Ben-Gurion's diary, 15 May 1948, the Ben-Gurion Archive's English transcription, item 221910 (the live page https://bengurionarchive.bgu.ac.il/en/node/8733 refused connections on 2026-10-21, so the Wayback copy is cited): "Palmach – about 6,000, of whom 1,300 are in Harel [...], 1,300 in the Negev, 1,200 in the north, 1,000 women; Golani has 3,573 + 522 paid recruits; Carmeli 2,289; Alexandroni 3,588; Kiriati 2,504; Givati 3,229; Etsiyyoni 3,166 – the total for all brigades is about 24,400."+ - {url: 'https://web.archive.org/web/20240203024717/https://bengurionarchive.bgu.ac.il/en/node/8733', checked: '2026-10-21'}+ # Secondary, superseded by the diary (#1240): en.wiki, 1948 Arab-Israeli War, the brigade table: Golani 4,500, undated. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).- {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-13'}anchors:- place: "Yavne'el"@@ -129,13 +135,15 @@ units:wikipedia_only: falsestatus: to_verifyto_verify:- - "The 15 May strength is a secondary-source figure, allowed until a primary order of battle turns up (owner, 20 October 2026, on #743): en.wiki's brigade table, citing Ben-Gurion's War Diaries, gives no date for the sizes (research_notes/M4 war mode/war-1948.md, section 1). Replace it from a primary source."+ - "The 15 May strength is Ben-Gurion's diary figure for 15 May 1948 (owner, 21 October 2026, #1240), read by an agent, not yet by a person. A person opens the diary page (strength.sources), confirms the figure, and only then marks the row fact-checked."strength:- value: 2000+ value: 2289as_of: '1948-05-15'- note: "The brigade's size in en.wiki's brigade table of the 1948 war. The table gives no date; as_of is 15 May 1948, the day the owner's ruling of 20 October 2026 (#743) gives the brigade strengths for."+ note: "Ben-Gurion's diary for 15 May 1948: \"Carmeli 2,289\". Until #1240 the row gave en.wiki's undated brigade-table figure, 2,000 (the second source)."sources:- # en.wiki, 1948 Arab-Israeli War, the brigade table: Carmeli 2,000. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).+ # Ben-Gurion's diary, 15 May 1948, the Ben-Gurion Archive's English transcription, item 221910 (the live page https://bengurionarchive.bgu.ac.il/en/node/8733 refused connections on 2026-10-21, so the Wayback copy is cited): "Palmach – about 6,000, of whom 1,300 are in Harel [...], 1,300 in the Negev, 1,200 in the north, 1,000 women; Golani has 3,573 + 522 paid recruits; Carmeli 2,289; Alexandroni 3,588; Kiriati 2,504; Givati 3,229; Etsiyyoni 3,166 – the total for all brigades is about 24,400."+ - {url: 'https://web.archive.org/web/20240203024717/https://bengurionarchive.bgu.ac.il/en/node/8733', checked: '2026-10-21'}+ # Secondary, superseded by the diary (#1240): en.wiki, 1948 Arab-Israeli War, the brigade table: Carmeli 2,000, undated. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).- {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-13'}vehicles:- type: gun_65mm@@ -202,13 +210,15 @@ units:wikipedia_only: falsestatus: to_verifyto_verify:- - "The 15 May strength is a secondary-source figure, allowed until a primary order of battle turns up (owner, 20 October 2026, on #743): en.wiki's brigade table, citing Ben-Gurion's War Diaries, gives no date for the sizes (research_notes/M4 war mode/war-1948.md, section 1). Replace it from a primary source."+ - "The 15 May strength is Ben-Gurion's diary figure for 15 May 1948 (owner, 21 October 2026, #1240), read by an agent, not yet by a person. A person opens the diary page (strength.sources), confirms the figure, and only then marks the row fact-checked."strength:- value: 5200+ value: 3588as_of: '1948-05-15'- note: "The brigade's size in en.wiki's brigade table of the 1948 war. The table gives no date; as_of is 15 May 1948, the day the owner's ruling of 20 October 2026 (#743) gives the brigade strengths for."+ note: "Ben-Gurion's diary for 15 May 1948: \"Alexandroni 3,588\". Until #1240 the row gave en.wiki's undated brigade-table figure, 5,200 (the second source)."sources:- # en.wiki, 1948 Arab-Israeli War, the brigade table: Alexandroni 5,200. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).+ # Ben-Gurion's diary, 15 May 1948, the Ben-Gurion Archive's English transcription, item 221910 (the live page https://bengurionarchive.bgu.ac.il/en/node/8733 refused connections on 2026-10-21, so the Wayback copy is cited): "Palmach – about 6,000, of whom 1,300 are in Harel [...], 1,300 in the Negev, 1,200 in the north, 1,000 women; Golani has 3,573 + 522 paid recruits; Carmeli 2,289; Alexandroni 3,588; Kiriati 2,504; Givati 3,229; Etsiyyoni 3,166 – the total for all brigades is about 24,400."+ - {url: 'https://web.archive.org/web/20240203024717/https://bengurionarchive.bgu.ac.il/en/node/8733', checked: '2026-10-21'}+ # Secondary, superseded by the diary (#1240): en.wiki, 1948 Arab-Israeli War, the brigade table: Alexandroni 5,200, undated. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).- {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-13'}anchors:- place: Netanya (Camp Dora)@@ -247,13 +257,15 @@ units:wikipedia_only: falsestatus: to_verifyto_verify:- - "The 15 May strength is a secondary-source figure, allowed until a primary order of battle turns up (owner, 20 October 2026, on #743): en.wiki's brigade table, citing Ben-Gurion's War Diaries, gives no date for the sizes (research_notes/M4 war mode/war-1948.md, section 1). Replace it from a primary source."+ - "The 15 May strength is Ben-Gurion's diary figure for 15 May 1948 (owner, 21 October 2026, #1240), read by an agent, not yet by a person. A person opens the diary page (strength.sources), confirms the figure, and only then marks the row fact-checked."strength:- value: 1400+ value: 2504as_of: '1948-05-15'- note: "The brigade's size in en.wiki's brigade table of the 1948 war. The table gives no date; as_of is 15 May 1948, the day the owner's ruling of 20 October 2026 (#743) gives the brigade strengths for."+ note: "Ben-Gurion's diary for 15 May 1948: \"Kiriati 2,504\" (the transcription's spelling). Until #1240 the row gave en.wiki's undated brigade-table figure, 1,400 (the second source)."sources:- # en.wiki, 1948 Arab-Israeli War, the brigade table: Kiryati 1,400. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).+ # Ben-Gurion's diary, 15 May 1948, the Ben-Gurion Archive's English transcription, item 221910 (the live page https://bengurionarchive.bgu.ac.il/en/node/8733 refused connections on 2026-10-21, so the Wayback copy is cited): "Palmach – about 6,000, of whom 1,300 are in Harel [...], 1,300 in the Negev, 1,200 in the north, 1,000 women; Golani has 3,573 + 522 paid recruits; Carmeli 2,289; Alexandroni 3,588; Kiriati 2,504; Givati 3,229; Etsiyyoni 3,166 – the total for all brigades is about 24,400."+ - {url: 'https://web.archive.org/web/20240203024717/https://bengurionarchive.bgu.ac.il/en/node/8733', checked: '2026-10-21'}+ # Secondary, superseded by the diary (#1240): en.wiki, 1948 Arab-Israeli War, the brigade table: Kiryati 1,400, undated. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).- {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-13'}anchors:- place: Tel Aviv@@ -284,13 +296,15 @@ units:wikipedia_only: falsestatus: to_verifyto_verify:- - "The 15 May strength is a secondary-source figure, allowed until a primary order of battle turns up (owner, 20 October 2026, on #743): en.wiki's brigade table, citing Ben-Gurion's War Diaries, gives no date for the sizes (research_notes/M4 war mode/war-1948.md, section 1). Replace it from a primary source."+ - "The 15 May strength is Ben-Gurion's diary figure for 15 May 1948 (owner, 21 October 2026, #1240), read by an agent, not yet by a person. A person opens the diary page (strength.sources), confirms the figure, and only then marks the row fact-checked."strength:- value: 5000+ value: 3229as_of: '1948-05-15'- note: "The brigade's size in en.wiki's brigade table of the 1948 war. The table gives no date; as_of is 15 May 1948, the day the owner's ruling of 20 October 2026 (#743) gives the brigade strengths for."+ note: "Ben-Gurion's diary for 15 May 1948: \"Givati 3,229\". Until #1240 the row gave en.wiki's undated brigade-table figure, 5,000 (the second source)."sources:- # en.wiki, 1948 Arab-Israeli War, the brigade table: Givati 5,000. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).+ # Ben-Gurion's diary, 15 May 1948, the Ben-Gurion Archive's English transcription, item 221910 (the live page https://bengurionarchive.bgu.ac.il/en/node/8733 refused connections on 2026-10-21, so the Wayback copy is cited): "Palmach – about 6,000, of whom 1,300 are in Harel [...], 1,300 in the Negev, 1,200 in the north, 1,000 women; Golani has 3,573 + 522 paid recruits; Carmeli 2,289; Alexandroni 3,588; Kiriati 2,504; Givati 3,229; Etsiyyoni 3,166 – the total for all brigades is about 24,400."+ - {url: 'https://web.archive.org/web/20240203024717/https://bengurionarchive.bgu.ac.il/en/node/8733', checked: '2026-10-21'}+ # Secondary, superseded by the diary (#1240): en.wiki, 1948 Arab-Israeli War, the brigade table: Givati 5,000, undated. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).- {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-13'}vehicles:- type: gun_65mm@@ -466,13 +480,15 @@ units:wikipedia_only: falsestatus: to_verifyto_verify:- - "The 15 May strength is a secondary-source figure, allowed until a primary order of battle turns up (owner, 20 October 2026, on #743): en.wiki's brigade table, citing Ben-Gurion's War Diaries, gives no date for the sizes (research_notes/M4 war mode/war-1948.md, section 1). Replace it from a primary source."+ - "The 15 May strength is Ben-Gurion's diary figure for 15 May 1948 (owner, 21 October 2026, #1240), read by an agent, not yet by a person. A person opens the diary page (strength.sources), confirms the figure, and only then marks the row fact-checked."strength:- value: 1400+ value: 1300as_of: '1948-05-15'- note: "The brigade's size in en.wiki's brigade table of the 1948 war. The table gives no date; as_of is 15 May 1948, the day the owner's ruling of 20 October 2026 (#743) gives the brigade strengths for."+ note: "Ben-Gurion's diary for 15 May 1948: \"Palmach – about 6,000, of whom 1,300 are in Harel\". Harel was a Palmach brigade (number: 10th Brigade (Palmach)), so the value reads the diary's Palmach in Harel as the brigade's strength; the diary gives no other figure for Harel. Until #1240 the row gave en.wiki's undated brigade-table figure, 1,400 (the second source)."sources:- # en.wiki, 1948 Arab-Israeli War, the brigade table: Harel 1,400. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).+ # Ben-Gurion's diary, 15 May 1948, the Ben-Gurion Archive's English transcription, item 221910 (the live page https://bengurionarchive.bgu.ac.il/en/node/8733 refused connections on 2026-10-21, so the Wayback copy is cited): "Palmach – about 6,000, of whom 1,300 are in Harel [...], 1,300 in the Negev, 1,200 in the north, 1,000 women; Golani has 3,573 + 522 paid recruits; Carmeli 2,289; Alexandroni 3,588; Kiriati 2,504; Givati 3,229; Etsiyyoni 3,166 – the total for all brigades is about 24,400."+ - {url: 'https://web.archive.org/web/20240203024717/https://bengurionarchive.bgu.ac.il/en/node/8733', checked: '2026-10-21'}+ # Secondary, superseded by the diary (#1240): en.wiki, 1948 Arab-Israeli War, the brigade table: Harel 1,400, undated. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).- {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-13'}vehicles:- type: jeep@@ -570,13 +586,15 @@ units:wikipedia_only: falsestatus: to_verifyto_verify:- - "The 15 May strength is a secondary-source figure, allowed until a primary order of battle turns up (owner, 20 October 2026, on #743): en.wiki's brigade table, citing Ben-Gurion's War Diaries, gives no date for the sizes (research_notes/M4 war mode/war-1948.md, section 1). Replace it from a primary source."+ - "The 15 May strength is Ben-Gurion's diary figure for 15 May 1948 (owner, 21 October 2026, #1240), read by an agent, not yet by a person. A person opens the diary page (strength.sources), confirms the figure, and only then marks the row fact-checked."strength:- value: 2400+ value: 1300as_of: '1948-05-15'- note: "The brigade's size in en.wiki's brigade table of the 1948 war. The table gives no date; as_of is 15 May 1948, the day the owner's ruling of 20 October 2026 (#743) gives the brigade strengths for."+ note: "Ben-Gurion's diary for 15 May 1948: \"Palmach – about 6,000, of whom 1,300 are in Harel [...], 1,300 in the Negev\". The Negev Brigade was the Palmach's brigade in the Negev (number: 12th Brigade (Palmach)), so the value reads the diary's Palmach in the Negev as the brigade's strength; the diary gives no other figure for it. Until #1240 the row gave en.wiki's undated brigade-table figure, 2,400 (the second source)."sources:- # en.wiki, 1948 Arab-Israeli War, the brigade table: Negev 2,400. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).+ # Ben-Gurion's diary, 15 May 1948, the Ben-Gurion Archive's English transcription, item 221910 (the live page https://bengurionarchive.bgu.ac.il/en/node/8733 refused connections on 2026-10-21, so the Wayback copy is cited): "Palmach – about 6,000, of whom 1,300 are in Harel [...], 1,300 in the Negev, 1,200 in the north, 1,000 women; Golani has 3,573 + 522 paid recruits; Carmeli 2,289; Alexandroni 3,588; Kiriati 2,504; Givati 3,229; Etsiyyoni 3,166 – the total for all brigades is about 24,400."+ - {url: 'https://web.archive.org/web/20240203024717/https://bengurionarchive.bgu.ac.il/en/node/8733', checked: '2026-10-21'}+ # Secondary, superseded by the diary (#1240): en.wiki, 1948 Arab-Israeli War, the brigade table: Negev 2,400, undated. The size column cites Ben-Gurion, War Diaries 1947-1949, Arabic edition, trans. Samir Jabbour (Institute of Palestine Studies, Beirut, 1994), p. 303 (the research note, section 1, #906).- {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-13'}headgear: [wool_cap, steel_helmet, wool_cap]headgear_sources:diff --git a/docs/RELEASING.md b/docs/RELEASING.mdindex 7eed61673..5272dfab5 100644--- a/docs/RELEASING.md+++ b/docs/RELEASING.md@@ -27,10 +27,10 @@ macOS IL2CPP parity check is not an MVP release gate."$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.assetgolden_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 73eb50db39dbc9ee569c18a5e0a68e55a2b88980d06da76e5f5bfffe22997675"- # and "GOLDEN OK hash1952 b389b2786ac6b7c4c5bd3662cb7e96868d351a585e866a8660191c3db8ffff4a"+ # one GOLDEN OK line per manifest golden (#394), e.g. "GOLDEN OK hash1950 a1ad42117a8523a79cf36cc03f33c63fbe887820d7f6fb89a834f2f952510548"+ # and "GOLDEN OK hash1952 9cbd73eda1440e1ee3e1ee565cf81960f2e7ee5595e55bdb4ed661f1d5e0ab40"uv run tools/web_check.py unity/Builds/Web-gzip --query "golden&smoke=5" "${golden_expect[@]}" \- --expect "SMOKE OK 5 turns 1948-10-15 e5a66f9c2c0c0718d7969289fcc8dd005dedddd37a7c25adfffdc45e2e8b29cd"+ --expect "SMOKE OK 5 turns 1948-10-15 ed761c3b9c4e9b76520af20080b2a7c8b984a1f44f1d52e5127aae1baa992a8d"uv run tools/web_check.py unity/Builds/Web-gzip --startscreen new --timeout 300 --stall 90uv run tools/web_check.py unity/Builds/Web-gzip --startscreen recording --timeout 300 --stall 90uv run tools/web_check.py unity/Builds/Web-gzip --startscreen new --query lang=he --timeout 300 --stall 90@@ -60,7 +60,7 @@ macOS IL2CPP parity check is not an MVP release gate."$UNITY" -batchmode -CI false -GITHUB_ACTIONS false -TF_BUILD false -quit -projectPath unity -buildTarget WebGL -executeMethod Statecraft.Game.EditorTools.Build.Web -compression gzip -decompressionFallback -shareable -out Builds/Web-pages -logFile "$PWD/unity-build-web-pages.log"git checkout -- unity/Assets/Settings unity/ProjectSettings/ProjectSettings.assetuv run tools/web_check.py unity/Builds/Web-pages --query "golden&smoke=5" "${golden_expect[@]}" \- --expect "SMOKE OK 5 turns 1948-10-15 e5a66f9c2c0c0718d7969289fcc8dd005dedddd37a7c25adfffdc45e2e8b29cd"+ --expect "SMOKE OK 5 turns 1948-10-15 ed761c3b9c4e9b76520af20080b2a7c8b984a1f44f1d52e5127aae1baa992a8d"uv run tools/web_check.py unity/Builds/Web-pages --startscreen new --timeout 300 --stall 90uv run tools/web_check.py unity/Builds/Web-pages --startscreen recording --timeout 300 --stall 90uv run tools/web_check.py unity/Builds/Web-pages --startscreen new --query lang=he --timeout 300 --stall 90diff --git a/docs/determinism.md b/docs/determinism.mdindex b4c0ebf67..9bf473394 100644--- a/docs/determinism.md+++ b/docs/determinism.md@@ -36,9 +36,9 @@ final `GameState.Hash()` is pinned:| Run | Ends | Hash ||---|---|---|-| to 1950-01-01 (`Hash1950`) | 1950-01-15, turn 20 | `73eb50db39dbc9ee569c18a5e0a68e55a2b88980d06da76e5f5bfffe22997675` |-| to 1952-01-01 (`Hash1952`) | 1952-01-15, turn 44 (the game's end) | `b389b2786ac6b7c4c5bd3662cb7e96868d351a585e866a8660191c3db8ffff4a` |-| to the game's end (`mvp-end`) | 1952-01-15, turn 44 | `b389b2786ac6b7c4c5bd3662cb7e96868d351a585e866a8660191c3db8ffff4a` |+| to 1950-01-01 (`Hash1950`) | 1950-01-15, turn 20 | `a1ad42117a8523a79cf36cc03f33c63fbe887820d7f6fb89a834f2f952510548` |+| to 1952-01-01 (`Hash1952`) | 1952-01-15, turn 44 (the game's end) | `9cbd73eda1440e1ee3e1ee565cf81960f2e7ee5595e55bdb4ed661f1d5e0ab40` |+| to the game's end (`mvp-end`) | 1952-01-15, turn 44 | `9cbd73eda1440e1ee3e1ee565cf81960f2e7ee5595e55bdb4ed661f1d5e0ab40` |`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@@ -47,7 +47,7 @@ player check enumerate the manifest, so it and every scenario are checked withouA further value is pinned for the browser smoke run (`?smoke=5`: the golden seed, five turns played through the UI's ownbuttons, answering each event with its first option while the turn's Attention pays for it, the rest left to their-ministers): `SMOKE OK 5 turns 1948-10-15 e5a66f9c2c0c0718d7969289fcc8dd005dedddd37a7c25adfffdc45e2e8b29cd`.+ministers): `SMOKE OK 5 turns 1948-10-15 ed761c3b9c4e9b76520af20080b2a7c8b984a1f44f1d52e5127aae1baa992a8d`.It depends on the UI path as well as the sim (which option is first, the turn grid), so re-record it when either changes.Check every WebGL build with every manifest entry (plus the UI-path smoke line) with:@@ -58,7 +58,7 @@ while read -r name hash; dogolden_expect+=(--expect "GOLDEN OK $name $hash")done < sim/Statecraft.Sim.Tests/golden/manifest.txtuv run tools/web_check.py unity/Builds/Web-<compression> --query "golden&smoke=5" "${golden_expect[@]}" \- --expect "SMOKE OK 5 turns 1948-10-15 e5a66f9c2c0c0718d7969289fcc8dd005dedddd37a7c25adfffdc45e2e8b29cd"+ --expect "SMOKE OK 5 turns 1948-10-15 ed761c3b9c4e9b76520af20080b2a7c8b984a1f44f1d52e5127aae1baa992a8d"```**When a golden moves.** The test fails with the lines that changed, grouped by section (`[ind]`, `[pol]`, `[bud]`,@@ -342,3 +342,11 @@ The hash reads the state keys, so it never sees a record outside its window. An| Combined #1186 + #791 (C20) | mvp-end | `72b8e8014c96c943e390f0fd109df68b78f59e5560b05c2d231e1fbe599d1280` | The same full run and combined #1186 + #791 state as hash1952 (was `452c65ece470e844f6898151c4d9328aa0b2e59df82db4763214d43a8e8ea7f1`). || GDD Phase 4 PR 7 (#791) on combat (#747) | 1952 | `b389b278` | #1226 merged with main after combat (#747). As in the rows above, the first-new-yishuv objective becomes the all-six `yishuvim` infrastructure part, recorded 15 July 1951 instead of 15 February 1951, and neither corridor completes, so the shared 100-point base is unpaid and the snapshot's `score=100` line goes (a zero score is not written). Only those two `obj{`/score lines move; hash1950, smoke5 and the four scenario goldens equal main (was `d9922fc9`) || GDD Phase 4 PR 7 (#791) on combat (#747) | mvp-end | `b389b278` | same as 1952 (was `d9922fc9`) |+| #1240: the seven IDF rows re-sourced to Ben-Gurion's diary of 15 May 1948, owner 21 Oct 2026 | 1950 | `a1ad4211` | The seven IDF starting rows take the diary's 15 May strengths, so the starting units move: Golani 5 -> 4, Alexandroni 5 -> 4, Kiryati 1 -> 3, Givati 5 -> 3, Negev 2 -> 1 (Carmeli 2 and Harel 1 unchanged). Unit 0 (Golani, 4 on 10,9) against the Syrian 3 on 10,10 is now 133 percent, under the reference player's 150, so the run has no engagement: unit 0 ends at 4, not 3, the Syrian unit 9 stays in `units[`, the Arms stay at 12 (was 8), and the RNG is never drawn, so the snapshot's header shows the seed, 1948. Nothing else in the snapshot moves (was `73eb50db`) |+| #1240: the seven IDF rows re-sourced to Ben-Gurion's diary of 15 May 1948, owner 21 Oct 2026 | 1952 | `9cbd73ed` | same (was `b389b278`) |+| #1240: the seven IDF rows re-sourced to Ben-Gurion's diary of 15 May 1948, owner 21 Oct 2026 | mvp-end | `9cbd73ed` | same as 1952 (was `b389b278`) |+| #1240: the seven IDF rows re-sourced to Ben-Gurion's diary of 15 May 1948, owner 21 Oct 2026 | smoke5 | `ed761c3b` | same starting strengths; the smoke run gives no attack (was `e5a66f9c`) |+| #1240: the seven IDF rows re-sourced to Ben-Gurion's diary of 15 May 1948, owner 21 Oct 2026 | scenario-reckless | `574c8a19` | same starting strengths; only those five `units[` lines move (was `8d644f6e`) |+| #1240: the seven IDF rows re-sourced to Ben-Gurion's diary of 15 May 1948, owner 21 Oct 2026 | scenario-cautious | `00ec7ec2` | same as reckless (was `b4e5caa1`) |+| #1240: the seven IDF rows re-sourced to Ben-Gurion's diary of 15 May 1948, owner 21 Oct 2026 | scenario-mvp-absorb-first | `ac5f51bb` | same as reckless (was `7d37c0d0`) |+| #1240: the seven IDF rows re-sourced to Ben-Gurion's diary of 15 May 1948, owner 21 Oct 2026 | scenario-mvp-defeat | `f2ad1114` | same as reckless; the defeat is unchanged (was `7bd5158f`) |diff --git a/docs/rules/mvp.md b/docs/rules/mvp.mdindex d4e21aaf1..fd7437a4e 100644--- a/docs/rules/mvp.md+++ b/docs/rules/mvp.md@@ -148,7 +148,7 @@ R-UNIT-001: A military unit is a group at formation scale, one token per formatiR-UNIT-002: A unit's side, strength, order and order target are written into the state hash only when they are not at their default ("" or 0), after its service (R-LOOP-002's rule), so a halutz unit's hash text, and every golden, is unchanged.-R-UNIT-006: A new Historical game places one military unit per row of `map/units_1948.yaml` that is not `hidden`, has `service: army` (the squadron and the ships stay presentation-only tokens, Q-UNIT-5), has a `strength` whose `as_of` is the start day, and has an anchor window [from, to) covering the start. The unit stands on the hex that holds the first such anchor's coordinates, by the map's projection and cube rounding (`tools/hexgrid.py`, Unity's `HexPicker`), precomputed by `tools/unit_anchor_hexes.py` into `map/unit_anchor_hexes.yaml`, which the sim reads (no projection maths in the sim, docs/determinism.md); the token may stand one hex away (`UnitPlacer`), which is presentation. Every IDF brigade is a `veteran_soldier`; an Arab force takes its side's one military type, a labelled design value of class infantry with 3 movement points. Its strength is the row's people in population units, the nearest unit with a half up and never below 1 (`people_per_unit` 1,000: Golani's 4,500 is 5, Kiryati's 1,400 is 1). The units take ids 0 upward in the file's order, before any other unit (owner, 20 October 2026, #743: "all five defaults"). The file is in the content hash (Q-START-1), and so is the hex file. The loader refuses a starting row whose anchor is off the map or not on land or has no row in the hex file, a hex row for an anchor the unit file does not have, or whose side has no single military type, naming the file and the row. A shareable build refuses while any row a unit starts from is not `fact-checked` (Q-START-3): `Statecraft.Cli --release-gate`, `Build -shareable` and `tools/package_release.py` name them.+R-UNIT-006: A new Historical game places one military unit per row of `map/units_1948.yaml` that is not `hidden`, has `service: army` (the squadron and the ships stay presentation-only tokens, Q-UNIT-5), has a `strength` whose `as_of` is the start day, and has an anchor window [from, to) covering the start. The unit stands on the hex that holds the first such anchor's coordinates, by the map's projection and cube rounding (`tools/hexgrid.py`, Unity's `HexPicker`), precomputed by `tools/unit_anchor_hexes.py` into `map/unit_anchor_hexes.yaml`, which the sim reads (no projection maths in the sim, docs/determinism.md); the token may stand one hex away (`UnitPlacer`), which is presentation. Every IDF brigade is a `veteran_soldier`; an Arab force takes its side's one military type, a labelled design value of class infantry with 3 movement points. Its strength is the row's people in population units, the nearest unit with a half up and never below 1 (`people_per_unit` 1,000: Golani's 4,095 is 4, Kiryati's 2,504 is 3). The units take ids 0 upward in the file's order, before any other unit (owner, 20 October 2026, #743: "all five defaults"). The file is in the content hash (Q-START-1), and so is the hex file. The loader refuses a starting row whose anchor is off the map or not on land or has no row in the hex file, a hex row for an anchor the unit file does not have, or whose side has no single military type, naming the file and the row. A shareable build refuses while any row a unit starts from is not `fact-checked` (Q-START-3): `Statecraft.Cli --release-gate`, `Build -shareable` and `tools/package_release.py` name them.R-UNIT-007: Open mode starts no forces (Q-START-2, owner, 15 October 2026); `Simulation.NewGame` refuses Open mode until milestone M4.diff --git a/docs/units.md b/docs/units.mdindex 442a52ae0..da72da687 100644--- a/docs/units.md+++ b/docs/units.md@@ -170,16 +170,26 @@ turns up." The figures are the brigade table of `research_notes/M4 war mode/war-1948 war article, whose size column cites Ben-Gurion's War Diaries (Arabic edition, 1994, p. 303). The table gives nodate; `as_of` is 15 May 1948, the day the ruling gives the strengths for.+**Ben-Gurion's diary for 15 May 1948 (#1240).** The owner's ruling of 21 October 2026 replaces seven of the table's+figures with the diary's for the day, a primary source: the Ben-Gurion Archive's English transcription, item 221910+([Wayback copy](https://web.archive.org/web/20240203024717/https://bengurionarchive.bgu.ac.il/en/node/8733), checked+2026-10-21): "Palmach – about 6,000, of whom 1,300 are in Harel [...], 1,300 in the Negev, 1,200 in the north, 1,000+women; Golani has 3,573 + 522 paid recruits; Carmeli 2,289; Alexandroni 3,588; Kiriati 2,504; Givati 3,229; Etsiyyoni+3,166 – the total for all brigades is about 24,400." Golani counts the 522 paid recruits (4 units either way); Harel and+Negev, Palmach brigades, take the diary's Palmach in Harel and in the Negev. en.wiki's table stays as each row's second+source. The rows stay `to_verify` until a person checks the seven figures against the page; then they can be marked+`fact-checked`.+| Row | Strength (15 May) ||---|---|-| Golani | 4,500 |-| Carmeli | 2,000 |-| Alexandroni | 5,200 |-| Kiryati | 1,400 |-| Givati | 5,000 |-| Harel | 1,400 |+| Golani | 4,095 (diary: 3,573 + 522 paid recruits; the table gave 4,500) |+| Carmeli | 2,289 (diary; the table gave 2,000) |+| Alexandroni | 3,588 (diary; the table gave 5,200) |+| Kiryati | 2,504 (diary; the table gave 1,400) |+| Givati | 3,229 (diary; the table gave 5,000) |+| Harel | 1,300 (diary, the Palmach in Harel; the table gave 1,400) || Yiftach | 4,500 (the table counts some Golani men in it) |-| Negev | 2,400 |+| Negev | 1,300 (diary, the Palmach in the Negev; the table gave 2,400) |- **No figure, no strength:** Etzioni, the 7th, the 8th and Oded have no size in the note, so their rows give none andstay `status: draft`.@@ -197,8 +207,8 @@ defaults"). The unit stands on the hex holding the anchor's coordinates, by thedesign value with 3 movement points: `egyptian_army`, `arab_legion` (Jordan), `syrian_army`, `iraqi_army`,`arab_liberation_army`. These ids are the sim's, not names shown to the player (Q-UI-2, Q-START-4).- **Strength** is the row's people in 1,000-person population units, the nearest unit with a half up, never below 1.-- **Who starts:** Golani 5, Carmeli 2 (at Haifa, its sector seat), Alexandroni 5, Kiryati 1, Givati 5, Harel 1,- Negev 2; Egypt 10, the Arab Legion 5, Syria 3, Iraq 3, the ALA 4. Nothing starts for Etzioni (no sourced strength),+- **Who starts:** Golani 4, Carmeli 2 (at Haifa, its sector seat), Alexandroni 4, Kiryati 3, Givati 3, Harel 1,+ Negev 1 (#1240); Egypt 10, the Arab Legion 5, Syria 3, Iraq 3, the ALA 4. Nothing starts for Etzioni (no sourced strength),the 7th and Yiftach (no window on 15 May), Oded, the 8th and the Lebanese row (hidden), or the squadron and the twoships (tokens only, Q-UNIT-5).- **Release gate:** every row the sim starts a unit from must be `fact-checked` before a shareable build carries itdiff --git a/sim/Statecraft.Sim.Tests/CombatTests.cs b/sim/Statecraft.Sim.Tests/CombatTests.csindex cc2d78bdf..0bc0f16f5 100644--- a/sim/Statecraft.Sim.Tests/CombatTests.cs+++ b/sim/Statecraft.Sim.Tests/CombatTests.cs@@ -309,12 +309,14 @@ public class CombatTests}// R-COMBAT-005: over the reference war run (the goldens' run to the game's end), step 2 run on each turn's end state, with- // its standing attacks, changes only the units, the Arms and the RNG. The run has engagements, so the test is not empty.+ // its standing attacks, changes only the units, the Arms and the RNG. The run has engagements, so the test is not empty:+ // since #1240 the real start has none (Golani's 4 against the Syrian 3 is under the policy's 3:2), so unit 0 starts at+ // its old 5 (ReferencePlayerTests.AtFive).[Fact]public void CombatTouchesOnlyCombatants(){var c = Real;- var s = Simulation.NewGame(c, GoldenRun.Seed, Mode.Historical);+ var s = ReferencePlayerTests.AtFive(Simulation.NewGame(c, GoldenRun.Seed, Mode.Historical));int engagements = 0;for (int turn = 0; turn < 1000 && s.Date < c.End && s.GameOver == null; turn++){diff --git a/sim/Statecraft.Sim.Tests/ReferencePlayerTests.cs b/sim/Statecraft.Sim.Tests/ReferencePlayerTests.csindex 711b27641..be2a33fdc 100644--- a/sim/Statecraft.Sim.Tests/ReferencePlayerTests.cs+++ b/sim/Statecraft.Sim.Tests/ReferencePlayerTests.cs@@ -22,20 +22,31 @@ public class ReferencePlayerTestsreturn s;}+ /// <summary>Unit 0 (Golani, at 10,9 next to the Syrian 3 at 10,10) at strength 5, its start before #1240. Ben-Gurion's+ /// diary gives it 4 (owner, 21 October 2026, #1240), 133 percent against the Syrians, under the attack policy's 150, so+ /// the real start sends no attack; the tests of the policy on the real map set the old 5 to keep one.</summary>+ internal static GameState AtFive(GameState s)+ {+ var u = s.Units[0];+ Assert.Equal(("veteran_soldier", 10, 9, 4), (u.Type, u.Q, u.R, u.Strength));+ s.Units[0] = new Unit(u.Id, u.Type, u.Q, u.R, u.Service, u.Side, 5, u.Order, u.OrderTarget);+ return s;+ }+/// <summary>It sends no AssignWorkers: R-CITY-009's default fills the jobs on the housing step, and an order would turn/// that city's default off (GDD Phase 3 PR 5; before it, the player sent min(jobs, civilians) itself).</summary>[Fact]public void ItSendsHistoricalAIsOrdersThenTrainsOneHalutzGroupAndLeavesTheJobsToTheDefault(){- var s = Start();+ var s = AtFive(Start());s.Cities["tel_aviv"] = s.Cities["tel_aviv"].WithCounts(248, 96, 0); // the start fills every job (Q-START-1): free 10var orders = ReferencePlayer.Commands(Mvp, s);var history = HistoricalAI.Commands(Mvp, s);Assert.Equal(history.Select(x => x.Kind), orders.Take(history.Count).Select(x => x.Kind));Assert.Equal(history.Count + 2, orders.Count);Assert.DoesNotContain(orders, x => x is AssignWorkers);- // The attack policy (#747): unit 0 (strength 5, on 10,9) meets the Syrian unit next to it (3, on the valley's 10,10)- // at 166 percent, past the policy's 150.+ // The attack policy (#747): unit 0 (strength 5 here, on 10,9) meets the Syrian unit next to it (3, on the valley's+ // 10,10) at 166 percent, past the policy's 150.var attack = Assert.IsType<UnitOrder>(orders[history.Count]);Assert.Equal((0, Combat.Attack, (int?)10, (int?)10), (attack.Unit, attack.Order, attack.Q, attack.R));var train = Assert.IsType<Train>(orders.Last());@@ -199,12 +210,13 @@ public class ReferencePlayerTests[Fact]public void ItSendsNoOrderWhenTheJobsAreFilledOrAttentionIsShort(){- var s = Simulation.NewGame(Mvp, GoldenRun.Seed, Mode.Historical);+ var s = AtFive(Simulation.NewGame(Mvp, GoldenRun.Seed, Mode.Historical));var full = s.Clone();full.Cities["tel_aviv"] = full.Cities["tel_aviv"].WithCounts(120, 106, 0); // all 106 jobs filledAssert.DoesNotContain(ReferencePlayer.Commands(Mvp, full), x => x is AssignWorkers);var tired = s.Clone();tired.Attention = 0;+ Assert.NotEmpty(ReferencePlayer.Commands(Mvp, tired));Assert.All(ReferencePlayer.Commands(Mvp, tired), x => Assert.Equal(Combat.Attack, Assert.IsType<UnitOrder>(x).Order)); // unit orders are free (D-A6)tired.Arms = 0;Assert.Empty(ReferencePlayer.Commands(Mvp, tired)); // and the attack needs the Armsdiff --git a/sim/Statecraft.Sim.Tests/StartingForcesTests.cs b/sim/Statecraft.Sim.Tests/StartingForcesTests.csindex f3faa2fe2..469e4d5e2 100644--- a/sim/Statecraft.Sim.Tests/StartingForcesTests.cs+++ b/sim/Statecraft.Sim.Tests/StartingForcesTests.cs@@ -42,13 +42,13 @@ public class StartingForcesTests{Assert.Equal(new[]{- ("golani", "Yavne'el", "veteran_soldier", "israel", 5, 10, 9),+ ("golani", "Yavne'el", "veteran_soldier", "israel", 4, 10, 9),("carmeli", "Haifa", "veteran_soldier", "israel", 2, 5, 8),- ("alexandroni", "Netanya (Camp Dora)", "veteran_soldier", "israel", 5, 0, 15),- ("kiryati", "Tel Aviv", "veteran_soldier", "israel", 1, -3, 19),- ("givati", "Gedera", "veteran_soldier", "israel", 5, -5, 23),+ ("alexandroni", "Netanya (Camp Dora)", "veteran_soldier", "israel", 4, 0, 15),+ ("kiryati", "Tel Aviv", "veteran_soldier", "israel", 3, -3, 19),+ ("givati", "Gedera", "veteran_soldier", "israel", 3, -5, 23),("harel", "Sha'ar HaGai", "veteran_soldier", "israel", 1, -2, 23),- ("negev", "Nir Am (Mekorot camp)", "veteran_soldier", "israel", 2, -9, 27),+ ("negev", "Nir Am (Mekorot camp)", "veteran_soldier", "israel", 1, -9, 27),("egyptian_expeditionary_force", "Gaza", "egyptian_army", "egypt", 10, -11, 27),("arab_legion", "Ramallah", "arab_legion", "jordan", 5, 0, 22),("syrian_army", "South of Lake Tiberias, before Samakh", "syrian_army", "syria", 3, 10, 10),diff --git a/sim/Statecraft.Sim.Tests/golden/hash1950.txt b/sim/Statecraft.Sim.Tests/golden/hash1950.txtindex 42941ac42..cd79bb8f5 100644--- a/sim/Statecraft.Sim.Tests/golden/hash1950.txt+++ b/sim/Statecraft.Sim.Tests/golden/hash1950.txt@@ -1,4 +1,4 @@-1950-01-15;8709371129873692656;Historical;20;+1950-01-15;1948;Historical;20;ind{food_supply=0.8886718750000001 [3FEC700000000001]housing=0.106156810303452 [3FBB2D17BC8041AE]@@ -114,15 +114,16 @@ city{tiberias=6,2,8,2,1,c0.18928571428571433 [3FC83A83A83A83AA]zikhron_yaakov=2,1,2,1,1,c0.35 [3FD6666666666666]units[- 0:veteran_soldier@10,9|side=israel|strength=3+ 0:veteran_soldier@10,9|side=israel|strength=41:veteran_soldier@5,8|side=israel|strength=2- 2:veteran_soldier@0,15|side=israel|strength=5- 3:veteran_soldier@-3,19|side=israel|strength=1- 4:veteran_soldier@-5,23|side=israel|strength=5+ 2:veteran_soldier@0,15|side=israel|strength=4+ 3:veteran_soldier@-3,19|side=israel|strength=3+ 4:veteran_soldier@-5,23|side=israel|strength=35:veteran_soldier@-2,23|side=israel|strength=1- 6:veteran_soldier@-9,27|side=israel|strength=2+ 6:veteran_soldier@-9,27|side=israel|strength=17:egyptian_army@-11,27|side=egypt|strength=108:arab_legion@0,22|side=jordan|strength=5+ 9:syrian_army@10,10|side=syria|strength=310:iraqi_army@9,11|side=iraq|strength=311:arab_liberation_army@12,4|side=ala|strength=413:veteran_halutz@-3,19/6@@ -135,4 +136,4 @@ cproj[15:housing@tel_aviv,-3,19/4,3FDB851EB851EB88next=16food=3003,1001,0-arms=8\ No newline at end of file+arms=12\ No newline at end of filediff --git a/sim/Statecraft.Sim.Tests/golden/hash1952.txt b/sim/Statecraft.Sim.Tests/golden/hash1952.txtindex 2e1690b0b..2f3688c02 100644--- a/sim/Statecraft.Sim.Tests/golden/hash1952.txt+++ b/sim/Statecraft.Sim.Tests/golden/hash1952.txt@@ -1,4 +1,4 @@-1952-01-15;8709371129873692656;Historical;44;+1952-01-15;1948;Historical;44;ind{food_supply=0.8555635490815091 [3FEB60C6CEDE8D7F]housing=0.08527449992708651 [3FB5D48CB45E9D83]@@ -135,15 +135,16 @@ city{tiberias=6,2,13,2,0,c0 [0000000000000000]zikhron_yaakov=2,1,4,1,0,c0 [0000000000000000]units[- 0:veteran_soldier@10,9|side=israel|strength=3+ 0:veteran_soldier@10,9|side=israel|strength=41:veteran_soldier@5,8|side=israel|strength=2- 2:veteran_soldier@0,15|side=israel|strength=5- 3:veteran_soldier@-3,19|side=israel|strength=1- 4:veteran_soldier@-5,23|side=israel|strength=5+ 2:veteran_soldier@0,15|side=israel|strength=4+ 3:veteran_soldier@-3,19|side=israel|strength=3+ 4:veteran_soldier@-5,23|side=israel|strength=35:veteran_soldier@-2,23|side=israel|strength=1- 6:veteran_soldier@-9,27|side=israel|strength=2+ 6:veteran_soldier@-9,27|side=israel|strength=17:egyptian_army@-11,27|side=egypt|strength=108:arab_legion@0,22|side=jordan|strength=5+ 9:syrian_army@10,10|side=syria|strength=310:iraqi_army@9,11|side=iraq|strength=311:arab_liberation_army@12,4|side=ala|strength=413:veteran_halutz@-3,19/6@@ -166,4 +167,4 @@ next=19obj{yishuvim=1951-07-15food=2734,1390,0-arms=8\ No newline at end of file+arms=12\ No newline at end of filediff --git a/sim/Statecraft.Sim.Tests/golden/manifest.txt b/sim/Statecraft.Sim.Tests/golden/manifest.txtindex c67b4902c..699a12a0e 100644--- a/sim/Statecraft.Sim.Tests/golden/manifest.txt+++ b/sim/Statecraft.Sim.Tests/golden/manifest.txt@@ -2,11 +2,11 @@# 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 73eb50db39dbc9ee569c18a5e0a68e55a2b88980d06da76e5f5bfffe22997675-hash1952 b389b2786ac6b7c4c5bd3662cb7e96868d351a585e866a8660191c3db8ffff4a-smoke5 e5a66f9c2c0c0718d7969289fcc8dd005dedddd37a7c25adfffdc45e2e8b29cd-scenario-reckless 8d644f6eea2abe2d1fccafec82191994769c6c2feb480a3ca3bc045d6089c6a5-scenario-cautious b4e5caa1fec69c7b8883226e01d40283aed0999e405f162d2f197f8943c64267-scenario-mvp-absorb-first 7d37c0d0a4740bd3c74191feb138de24351bebca4682c27d6597373b8478091b-mvp-end b389b2786ac6b7c4c5bd3662cb7e96868d351a585e866a8660191c3db8ffff4a-scenario-mvp-defeat 7bd5158f52e0743533c930a583aed9e2cc146220016aa0532fdefef21f2e9905+hash1950 a1ad42117a8523a79cf36cc03f33c63fbe887820d7f6fb89a834f2f952510548+hash1952 9cbd73eda1440e1ee3e1ee565cf81960f2e7ee5595e55bdb4ed661f1d5e0ab40+smoke5 ed761c3b9c4e9b76520af20080b2a7c8b984a1f44f1d52e5127aae1baa992a8d+scenario-reckless 574c8a19ef2869168781290b0e9b8333dd0b1b89889fd8473aed76c3ef22f37e+scenario-cautious 00ec7ec25dc43c30c1836998c39dd4dcdab8ec32a6f8865c0a0d94e4f97436f5+scenario-mvp-absorb-first ac5f51bb1cbe71f1853c6c85d8c93bf745224017187368f0ec243c39ba013186+mvp-end 9cbd73eda1440e1ee3e1ee565cf81960f2e7ee5595e55bdb4ed661f1d5e0ab40+scenario-mvp-defeat f2ad11143797be1b3d6a06c21b86b2ecfbfcdbe7a72a1fdeba801491cd59619cdiff --git a/sim/Statecraft.Sim.Tests/golden/mvp-end.txt b/sim/Statecraft.Sim.Tests/golden/mvp-end.txtindex 2e1690b0b..2f3688c02 100644--- a/sim/Statecraft.Sim.Tests/golden/mvp-end.txt+++ b/sim/Statecraft.Sim.Tests/golden/mvp-end.txt@@ -1,4 +1,4 @@-1952-01-15;8709371129873692656;Historical;44;+1952-01-15;1948;Historical;44;ind{food_supply=0.8555635490815091 [3FEB60C6CEDE8D7F]housing=0.08527449992708651 [3FB5D48CB45E9D83]@@ -135,15 +135,16 @@ city{tiberias=6,2,13,2,0,c0 [0000000000000000]zikhron_yaakov=2,1,4,1,0,c0 [0000000000000000]units[- 0:veteran_soldier@10,9|side=israel|strength=3+ 0:veteran_soldier@10,9|side=israel|strength=41:veteran_soldier@5,8|side=israel|strength=2- 2:veteran_soldier@0,15|side=israel|strength=5- 3:veteran_soldier@-3,19|side=israel|strength=1- 4:veteran_soldier@-5,23|side=israel|strength=5+ 2:veteran_soldier@0,15|side=israel|strength=4+ 3:veteran_soldier@-3,19|side=israel|strength=3+ 4:veteran_soldier@-5,23|side=israel|strength=35:veteran_soldier@-2,23|side=israel|strength=1- 6:veteran_soldier@-9,27|side=israel|strength=2+ 6:veteran_soldier@-9,27|side=israel|strength=17:egyptian_army@-11,27|side=egypt|strength=108:arab_legion@0,22|side=jordan|strength=5+ 9:syrian_army@10,10|side=syria|strength=310:iraqi_army@9,11|side=iraq|strength=311:arab_liberation_army@12,4|side=ala|strength=413:veteran_halutz@-3,19/6@@ -166,4 +167,4 @@ next=19obj{yishuvim=1951-07-15food=2734,1390,0-arms=8\ No newline at end of file+arms=12\ No newline at end of filediff --git a/sim/Statecraft.Sim.Tests/golden/scenario-cautious.txt b/sim/Statecraft.Sim.Tests/golden/scenario-cautious.txtindex 6268cb396..593ce0422 100644--- a/sim/Statecraft.Sim.Tests/golden/scenario-cautious.txt+++ b/sim/Statecraft.Sim.Tests/golden/scenario-cautious.txt@@ -101,13 +101,13 @@ city{tiberias=6,2,6,2,0,c0.35 [3FD6666666666666]zikhron_yaakov=2,1,2,1,0,c0.35 [3FD6666666666666]units[- 0:veteran_soldier@10,9|side=israel|strength=5+ 0:veteran_soldier@10,9|side=israel|strength=41:veteran_soldier@5,8|side=israel|strength=2- 2:veteran_soldier@0,15|side=israel|strength=5- 3:veteran_soldier@-3,19|side=israel|strength=1- 4:veteran_soldier@-5,23|side=israel|strength=5+ 2:veteran_soldier@0,15|side=israel|strength=4+ 3:veteran_soldier@-3,19|side=israel|strength=3+ 4:veteran_soldier@-5,23|side=israel|strength=35:veteran_soldier@-2,23|side=israel|strength=1- 6:veteran_soldier@-9,27|side=israel|strength=2+ 6:veteran_soldier@-9,27|side=israel|strength=17:egyptian_army@-11,27|side=egypt|strength=108:arab_legion@0,22|side=jordan|strength=59:syrian_army@10,10|side=syria|strength=3diff --git a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-absorb-first.txt b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-absorb-first.txtindex 8423d65a9..43651adff 100644--- a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-absorb-first.txt+++ b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-absorb-first.txt@@ -115,13 +115,13 @@ city{tiberias=6,2,8,2,1,c0.18928571428571433 [3FC83A83A83A83AA]zikhron_yaakov=2,1,2,1,1,c0.35 [3FD6666666666666]units[- 0:veteran_soldier@10,9|side=israel|strength=5+ 0:veteran_soldier@10,9|side=israel|strength=41:veteran_soldier@5,8|side=israel|strength=2- 2:veteran_soldier@0,15|side=israel|strength=5- 3:veteran_soldier@-3,19|side=israel|strength=1- 4:veteran_soldier@-5,23|side=israel|strength=5+ 2:veteran_soldier@0,15|side=israel|strength=4+ 3:veteran_soldier@-3,19|side=israel|strength=3+ 4:veteran_soldier@-5,23|side=israel|strength=35:veteran_soldier@-2,23|side=israel|strength=1- 6:veteran_soldier@-9,27|side=israel|strength=2+ 6:veteran_soldier@-9,27|side=israel|strength=17:egyptian_army@-11,27|side=egypt|strength=108:arab_legion@0,22|side=jordan|strength=59:syrian_army@10,10|side=syria|strength=3diff --git a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-defeat.txt b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-defeat.txtindex cd625875b..573cf2b0f 100644--- a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-defeat.txt+++ b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-defeat.txt@@ -134,13 +134,13 @@ city{tiberias=6,2,13,2,0,c0 [0000000000000000]zikhron_yaakov=2,1,4,1,0,c0 [0000000000000000]units[- 0:veteran_soldier@10,9|side=israel|strength=5+ 0:veteran_soldier@10,9|side=israel|strength=41:veteran_soldier@5,8|side=israel|strength=2- 2:veteran_soldier@0,15|side=israel|strength=5- 3:veteran_soldier@-3,19|side=israel|strength=1- 4:veteran_soldier@-5,23|side=israel|strength=5+ 2:veteran_soldier@0,15|side=israel|strength=4+ 3:veteran_soldier@-3,19|side=israel|strength=3+ 4:veteran_soldier@-5,23|side=israel|strength=35:veteran_soldier@-2,23|side=israel|strength=1- 6:veteran_soldier@-9,27|side=israel|strength=2+ 6:veteran_soldier@-9,27|side=israel|strength=17:egyptian_army@-11,27|side=egypt|strength=108:arab_legion@0,22|side=jordan|strength=59:syrian_army@10,10|side=syria|strength=3diff --git a/sim/Statecraft.Sim.Tests/golden/scenario-reckless.txt b/sim/Statecraft.Sim.Tests/golden/scenario-reckless.txtindex 85875180d..36eb71c6c 100644--- a/sim/Statecraft.Sim.Tests/golden/scenario-reckless.txt+++ b/sim/Statecraft.Sim.Tests/golden/scenario-reckless.txt@@ -99,13 +99,13 @@ city{tiberias=6,2,6,2,0,c0.35 [3FD6666666666666]zikhron_yaakov=2,1,2,1,0,c0.35 [3FD6666666666666]units[- 0:veteran_soldier@10,9|side=israel|strength=5+ 0:veteran_soldier@10,9|side=israel|strength=41:veteran_soldier@5,8|side=israel|strength=2- 2:veteran_soldier@0,15|side=israel|strength=5- 3:veteran_soldier@-3,19|side=israel|strength=1- 4:veteran_soldier@-5,23|side=israel|strength=5+ 2:veteran_soldier@0,15|side=israel|strength=4+ 3:veteran_soldier@-3,19|side=israel|strength=3+ 4:veteran_soldier@-5,23|side=israel|strength=35:veteran_soldier@-2,23|side=israel|strength=1- 6:veteran_soldier@-9,27|side=israel|strength=2+ 6:veteran_soldier@-9,27|side=israel|strength=17:egyptian_army@-11,27|side=egypt|strength=108:arab_legion@0,22|side=jordan|strength=59:syrian_army@10,10|side=syria|strength=3diff --git a/sim/Statecraft.Sim/GoldenRun.cs b/sim/Statecraft.Sim/GoldenRun.csindex 8e831d89b..b5941b50f 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 = "73eb50db39dbc9ee569c18a5e0a68e55a2b88980d06da76e5f5bfffe22997675";+ public const string Hash1950 = "a1ad42117a8523a79cf36cc03f33c63fbe887820d7f6fb89a834f2f952510548";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 = "b389b2786ac6b7c4c5bd3662cb7e96868d351a585e866a8660191c3db8ffff4a";+ public const string Hash1952 = "9cbd73eda1440e1ee3e1ee565cf81960f2e7ee5595e55bdb4ed661f1d5e0ab40";public static readonly DateTime Until1952 = new DateTime(1952, 1, 1);diff --git a/tools/tests/test_units_1948.py b/tools/tests/test_units_1948.pyindex a09ed93eb..25eb98fbf 100644--- a/tools/tests/test_units_1948.py+++ b/tools/tests/test_units_1948.py@@ -187,9 +187,10 @@ def test_strength_has_one_value_and_a_source():# Owner, 20 October 2026, on #743: "the 15 May 1948 IDF brigade strengths may come from secondary sources, since no# primary order of battle gives them. Every row cites its source, carries `status: to_verify`, and is replaced when a# primary source turns up." The figures are the brigade table of research_notes/M4 war mode/war-1948.md, section 1-# (#906); the brigades it gives no size for get none.-IDF_STRENGTH = {'golani': 4500, 'carmeli': 2000, 'alexandroni': 5200, 'kiryati': 1400, 'givati': 5000, 'harel': 1400,- 'yiftach': 4500, 'negev': 2400}+# (#906); the brigades it gives no size for get none. Owner, 21 October 2026, #1240: seven of them take Ben-Gurion's+# diary for 15 May 1948 instead (Golani 3,573 + 522 paid recruits); they stay `to_verify` until a person checks them.+IDF_STRENGTH = {'golani': 4095, 'carmeli': 2289, 'alexandroni': 3588, 'kiryati': 2504, 'givati': 3229, 'harel': 1300,+ 'yiftach': 4500, 'negev': 1300}def test_idf_brigade_strengths_are_secondary_and_to_verify():diff --git a/tools/web_check.py b/tools/web_check.pyindex 084003329..4aeb9c9b0 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 73eb50db39dbc9ee569c18a5e0a68e55a2b88980d06da76e5f5bfffe22997675" --expect "GOLDEN OK hash1952 b389b2786ac6b7c4c5bd3662cb7e96868d351a585e866a8660191c3db8ffff4a"+ uv run tools/web_check.py unity/Builds/Web-disabled --query "golden" --expect "GOLDEN OK hash1950 a1ad42117a8523a79cf36cc03f33c63fbe887820d7f6fb89a834f2f952510548" --expect "GOLDEN OK hash1952 9cbd73eda1440e1ee3e1ee565cf81960f2e7ee5595e55bdb4ed661f1d5e0ab40"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'sdiff --git a/unity/Assets/Tests/EditMode/UnitsFromStateTests.cs b/unity/Assets/Tests/EditMode/UnitsFromStateTests.csindex 14f508891..c5001795d 100644--- a/unity/Assets/Tests/EditMode/UnitsFromStateTests.cs+++ b/unity/Assets/Tests/EditMode/UnitsFromStateTests.cs@@ -121,14 +121,14 @@ public class UnitsFromStateTestsAssert.IsNotEmpty(army);foreach (var t in army) Assert.AreEqual(3, t.Figures, $"{t}: full strength");var big = s.Units.Values.Where(u => u.Side == "israel").OrderByDescending(u => u.Strength).ThenBy(u => u.Id).First();- Assert.AreEqual(5, big.Strength, "the largest brigades start at 5 units (docs/units.md, the starting forces)");+ Assert.AreEqual(4, big.Strength, "the largest brigades start at 4 units (docs/units.md, the starting forces; #1240)");var row = C.StartingForces[big.Id].Row;- foreach (var (strength, figures) in new[] { (5, 3), (4, 3), (3, 2), (2, 2), (1, 1) })+ foreach (var (strength, figures) in new[] { (4, 3), (3, 3), (2, 2), (1, 1) }){var u = s.Units[big.Id];s.Units[big.Id] = new Unit(u.Id, u.Type, u.Q, u.R, u.Service, u.Side, strength, u.Order, u.OrderTarget);var t = Army(UnitRoster.FromState(units, C, s, _ => true, moved.At)).Single(x => x.Unit.Id == row);- Assert.AreEqual(figures, t.Figures, $"{row} at {strength} of 5");+ Assert.AreEqual(figures, t.Figures, $"{row} at {strength} of 4");Assert.AreEqual(figures, t.Headgear.Count, "one headgear per figure");}}