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: 1948 war-period decision events (playtest 1 E)

eyalgolanfa98632fdc2b
diff --git a/content/events/altalena.yaml b/content/events/altalena.yaml
new file mode 100644
index 000000000..8db555d38
--- /dev/null
+++ b/content/events/altalena.yaml
@@ -0,0 +1,30 @@
+id: altalena
+title: The Altalena
+text: 'The Altalena, a ship carrying arms for the Irgun, has reached Kfar Vitkin. The government agreed that a fifth of the arms would go to the Irgun''s battalion in Jerusalem, but Menachem Begin asks that the rest equip Irgun battalions inside the IDF. The government demands that all the weapons be handed over. {defense_minister} must decide.'
+anchor: hard
+tags: [security, war-casualties]
+office: defense_minister
+# 20 June 1948: the ship reached Kfar Vitkin and the government empowered the army to use force if necessary. 21 June:
+# Dan Even's ultimatum and fighting at Kfar Vitkin; the ship ran aground off Tel Aviv. 22 June: Ben-Gurion ordered it
+# shelled; Yitzhak Rabin commanded on shore. 16 Irgun and 3 IDF dead; Irgun units in the IDF were disbanded and their men
+# dispersed (en.wiki "Altalena Affair" and "1948 in Israel" agree). Research notes facts-1948.md section 2.
+from: 1948-06-20
+to: 1948-06-23
+options:
+ - id: enforce
+ text: Order the army to take the arms, by force if necessary
+ historical: true
+ recommended: true
+ effects:
+ - { target: security, delta: 0.03 }
+ - { target: morale, delta: -0.05 }
+ - id: compromise
+ # Begin's second request, put on the table and rejected as an army within an army (en.wiki "Altalena Affair").
+ text: Give the remaining arms to Irgun battalions inside the IDF
+ effects:
+ - { target: security, delta: -0.05 }
+ - { target: morale, delta: 0.02 }
+sources:
+ - { url: "https://en.wikipedia.org/wiki/Altalena_Affair", checked: 2026-10-10 }
+ - { url: "https://en.wikipedia.org/wiki/1948_in_Israel", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/bernadotte_assassination.yaml b/content/events/bernadotte_assassination.yaml
new file mode 100644
index 000000000..8c7c756ad
--- /dev/null
+++ b/content/events/bernadotte_assassination.yaml
@@ -0,0 +1,34 @@
+id: bernadotte_assassination
+title: The Mediator Assassinated
+text: 'Lehi gunmen have assassinated the UN mediator, Count Folke Bernadotte, in Jerusalem, a day after he completed his second plan. {prime_minister} must decide how the government answers the armed groups still outside the IDF: Lehi, and the Irgun battalions in Jerusalem.'
+anchor: hard
+tags: [security, terror]
+office: prime_minister
+# Assassinated 17 September 1948 in Katamon, Jerusalem, by Lehi (en.wiki "Folke Bernadotte", "1948 in Israel"; a footnote
+# on en.wiki "Lehi" gives 16 September, an outlier). His second plan was completed on 16 September. About 200 Lehi members
+# were arrested; Yellin-Mor and Shmuelevitz on 29 September. Dates [C]: emergency regulations about 20 September (a UN cable
+# of 21 September; an en.wiki photo caption), the Prevention of Terrorism Ordinance No. 33 on 23 September (en.wiki "Prevention
+# of Terror Ordinance", used here; en.wiki "Lehi" says three days after). The IDF gave the Jerusalem Irgun 24 hours to disband
+# from 12:00 on 20 September (daat.ac.il [S]); JVL says its battalions disbanded on 20 September, a US consul's report says
+# the Irgun agreed on 21 September (FRUS [S]). Research notes facts-1948.md section 6.
+from: 1948-09-17
+to: 1948-09-24
+options:
+ - id: outlaw
+ text: Outlaw Lehi, arrest its members and order the Irgun in Jerusalem to disband into the IDF
+ historical: true
+ recommended: true
+ effects:
+ - { target: intl_standing, delta: 0.03 }
+ - { target: security, delta: 0.02 }
+ - id: investigate_only
+ # Game assumption: the notes name no advocate for this option.
+ text: Investigate the killing without a general crackdown
+ effects:
+ - { target: intl_standing, delta: -0.10 }
+sources:
+ - { url: "https://en.wikipedia.org/wiki/Folke_Bernadotte", checked: 2026-10-10 }
+ - { url: "https://en.wikipedia.org/wiki/Lehi_(militant_group)", checked: 2026-10-10 }
+ - { url: "https://en.wikipedia.org/wiki/Prevention_of_Terror_Ordinance", checked: 2026-10-10 }
+ - { url: "https://jewishvirtuallibrary.org/the-founding-of-the-israel-defense-forces", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/elections_1949.yaml b/content/events/elections_1949.yaml
new file mode 100644
index 000000000..8dcaa7b59
--- /dev/null
+++ b/content/events/elections_1949.yaml
@@ -0,0 +1,31 @@
+id: elections_1949
+title: Electing the Constituent Assembly
+text: 'The Declaration of Independence called for elected institutions by 1 October, and the war has already forced the vote to be postponed. The Provisional State Council has set the assembly at 120 seats, elected nationwide by proportional representation. A national registration, taken under curfew on 8 November, will build the voters'' roll. {prime_minister} must decide whether the vote goes ahead on 25 January.'
+anchor: hard
+office: prime_minister
+# 5 November 1948: the Provisional State Council set the assembly at 120 seats with nationwide PR (en.wiki and he.wiki
+# election pages). The vote was postponed twice because of the war; the dates of those decisions are a gap. Registration
+# date [C]: 8 November 1948 (CBS, population.yaml; en.wiki and he.wiki election pages) vs "8 or 11" (en.wiki "1948 in
+# Israel"); it ran under a seven-hour curfew (he.wiki). The registration has no sourced alternative, so it is folded in
+# here, not a choice of its own (notes section 10). The vote: 25 January 1949, turnout 86.9% (en.wiki).
+# Research notes facts-1948.md sections 10 and 11.
+from: 1948-11-05
+to: 1949-01-26
+options:
+ - id: hold
+ text: Hold the election on 25 January
+ historical: true
+ recommended: true
+ effects:
+ - { target: morale, delta: 0.03 }
+ - { target: intl_standing, delta: 0.03 }
+ - id: postpone
+ # Game assumption: a plausible alternative given the two real postponements, but no one is recorded arguing for it.
+ # The legislatures in legislatures.yaml are fixed, so postponing does not move the Knesset's first sitting.
+ text: Postpone the election again until the armistices are signed
+ effects:
+ - { target: intl_standing, delta: -0.05 }
+sources:
+ - { url: "https://en.wikipedia.org/wiki/1949_Israeli_Constituent_Assembly_election", checked: 2026-10-10 }
+ - { url: "https://he.wikipedia.org/wiki/הבחירות_לאספה_המכוננת", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/first_truce.yaml b/content/events/first_truce.yaml
new file mode 100644
index 000000000..f47049f30
--- /dev/null
+++ b/content/events/first_truce.yaml
@@ -0,0 +1,34 @@
+id: first_truce
+title: The First Truce
+text: 'The Security Council has called for a four-week cease-fire, supervised by the UN mediator, Count Folke Bernadotte. Neither side may bring fighting men or war material into the country during the truce, and the Council has raised Chapter VII if its terms are broken. {prime_minister} must decide whether Israel accepts.'
+anchor: hard
+office: prime_minister
+# Security Council Resolution 50, 29 May 1948. Israel's acceptance went to the UN on 10 June (Eban's letter, S/834), with
+# reservations on immigration, food for Jerusalem and blockades; the truce took effect on 11 June and lasted 28 days.
+# End date [C]: 8 July (en.wiki "1948 Arab-Israeli War") vs 9 July (JVL/IDF, he.wiki); both agree Egypt renewed fighting
+# on 8 July. Research notes facts-1948.md section 1.
+# Accepting does not lower the security level: the truce lasted four weeks, and keeping weekly turns puts the Altalena
+# and the Ten Days on their own weeks (game design).
+from: 1948-06-01
+to: 1948-06-11
+options:
+ - id: accept
+ text: Accept the truce from 11 June
+ historical: true
+ recommended: true
+ effects:
+ # The IDF reorganised and trained, and arms arrived from Europe, especially Czechoslovakia (JVL/IDF).
+ - { target: security, delta: 0.04 }
+ - { target: intl_standing, delta: 0.03 }
+ - id: refuse
+ # Game assumption: the notes found no Israeli voice for refusing. The morale cost (an army short of arms, under the
+ # Chapter VII warning) is a design inference.
+ text: Refuse the truce and keep fighting
+ effects:
+ - { target: intl_standing, delta: -0.08 }
+ - { target: morale, delta: -0.03 }
+sources:
+ - { url: "https://en.wikipedia.org/wiki/United_Nations_Security_Council_Resolution_50", checked: 2026-10-10 }
+ - { url: "https://www.jewishvirtuallibrary.org/israel-accepts-the-truce-letter-from-ambassador-eban-to-the-secretary-general-s-834", checked: 2026-10-10 }
+ - { url: "https://www.jewishvirtuallibrary.org/the-first-truce-1948", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/idf_founding.yaml b/content/events/idf_founding.yaml
new file mode 100644
index 000000000..2a923512a
--- /dev/null
+++ b/content/events/idf_founding.yaml
@@ -0,0 +1,29 @@
+id: idf_founding
+title: One Army
+text: 'The Haganah is becoming the Israel Defense Forces, while the Irgun and Lehi still keep their own units. {defense_minister} proposes an order that forbids any armed force other than the IDF.'
+anchor: hard
+tags: [security]
+office: defense_minister
+# Date of the order [C]: Ben-Gurion signed it on 26 May 1948 (MoD/IDF Archives; en.wiki "1948 in Israel"), the date used
+# here; JVL says it was issued on 28 May 1948. Both agree it was published in Official Gazette No. 3 of 31 May 1948, so the
+# window ends then. The Irgun agreed with the government on 1 June 1948 to dissolve into the IDF, Jerusalem excepted
+# (en.wiki "1948 in Israel" [S]; JVL). Research notes facts-1948.md section 3a.
+from: 1948-05-26
+to: 1948-06-01
+options:
+ - id: one_army
+ text: Issue the order and bring every armed force into the IDF
+ historical: true
+ recommended: true
+ effects:
+ - { target: security, delta: 0.03 }
+ - id: separate_units
+ # Game assumption: the notes name no one who argued for this; it is the status quo the order ended.
+ text: Leave the Irgun and Lehi units outside the IDF for now
+ effects:
+ - { target: security, delta: -0.03 }
+sources:
+ - { url: "https://archives.mod.gov.il/sites/English/Exhibitions/David_Ben_Gurion_and_the_IDF/Pages/The-establishment-of-the-IDF.aspx", checked: 2026-10-10 }
+ - { url: "https://jewishvirtuallibrary.org/the-founding-of-the-israel-defense-forces", checked: 2026-10-10 }
+ - { url: "https://en.wikipedia.org/wiki/1948_in_Israel", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/jerusalem_military_government.yaml b/content/events/jerusalem_military_government.yaml
new file mode 100644
index 000000000..6cce575b7
--- /dev/null
+++ b/content/events/jerusalem_military_government.yaml
@@ -0,0 +1,29 @@
+id: jerusalem_military_government
+title: Jerusalem
+text: 'Count Bernadotte has suggested demilitarising Jerusalem. The alternative is to declare the part of Jerusalem held by the IDF Israel-occupied territory, under a military governor, Dov Yosef. {prime_minister} must decide.'
+anchor: hard
+tags: [security]
+office: prime_minister
+# 2 August 1948: the government rejected Bernadotte's suggestion, declared the Jerusalem area under its control
+# Israel-occupied territory and appointed Dov Yosef Military Governor (Official Gazette No. 12; JVL, en.wiki "Dov Yosef").
+# Research notes facts-1948.md section 5 (companion events) and 13b.
+from: 1948-08-02
+to: 1948-08-03
+options:
+ - id: military_government
+ text: Declare military government and appoint Dov Yosef governor
+ historical: true
+ recommended: true
+ # Effects are game assumptions: the notes give none for this event.
+ effects:
+ - { target: security, delta: 0.02 }
+ - { target: intl_standing, delta: -0.02 }
+ - id: accept_demilitarisation
+ text: Accept the demilitarisation of Jerusalem
+ effects:
+ - { target: security, delta: -0.03 }
+ - { target: intl_standing, delta: 0.02 }
+sources:
+ - { url: "https://www.jewishvirtuallibrary.org/jerusalem-declared-israel-occupied-city-government-proclamation", checked: 2026-10-10 }
+ - { url: "https://en.wikipedia.org/wiki/Dov_Yosef", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/latrun_proposal.yaml b/content/events/latrun_proposal.yaml
new file mode 100644
index 000000000..7eec6b351
--- /dev/null
+++ b/content/events/latrun_proposal.yaml
@@ -0,0 +1,33 @@
+id: latrun_proposal
+title: Latrun
+text: '{prime_minister} proposes to the cabinet that the IDF attack and take Latrun, where the July attacks failed. Most ministers, among them Kaplan, Rosen and Shapira, oppose it.'
+anchor: hard
+tags: [security]
+office: prime_minister
+# Ben-Gurion's diary, 26 September 1948 (Ben-Gurion Archive, primary): the cabinet rejected the proposal. Vote [C]: 7-5 in
+# the diary (against: Rosen, Moshe Shapira, Levin, Bernstein, Kaplan, Remez and "Sharett (Sheetrit?)"; for: Maimon,
+# Gruenbaum, Zisling, Bentov and Ben-Gurion) vs "by a majority of one" (Lior Lavid, BGU, citing Bar-Zohar). The diary,
+# a primary source, is used; the text names only ministers on its list without a question mark. On 29 September he told
+# the General Staff an attack was possible but not at this time [S]. Research notes facts-1948.md section 13a.
+from: 1948-09-24
+to: 1948-09-27
+options:
+ - id: accept_vote
+ text: Accept the cabinet's vote and keep the truce
+ historical: true
+ recommended: true
+ effects:
+ - { target: intl_standing, delta: 0.01 }
+ - id: press_offensive
+ # Effects are game assumptions; the morale cost stands in for the ministers who voted against (the sim has no direct
+ # lever on coalition stability from events).
+ text: Press the attack on Latrun despite the vote
+ set_rung: 5
+ effects:
+ - { target: security, delta: 0.05 }
+ - { target: intl_standing, delta: -0.10 }
+ - { target: morale, delta: -0.02 }
+sources:
+ - { url: "https://bengurionarchive.bgu.ac.il/en/node/6251", checked: 2026-10-10 }
+ - { url: "https://in.bgu.ac.il/bgi/israelis/DocLib/Pages/2012/ליאור-לביד.pdf", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/operation_hiram.yaml b/content/events/operation_hiram.yaml
new file mode 100644
index 000000000..6df23e3e8
--- /dev/null
+++ b/content/events/operation_hiram.yaml
@@ -0,0 +1,35 @@
+id: operation_hiram
+title: Operation Hiram
+text: 'In breach of the truce, the Arab Liberation Army has attacked the Sheikh Abd position above Kibbutz Manara, and Qawuqji refuses to withdraw. Israel has told the UN that it feels free to act. {defense_minister} must decide whether Moshe Carmel''s forces clear the Upper Galilee.'
+anchor: soft
+tags: [security, war-casualties]
+office: defense_minister
+# Trigger: the attack on 22 October 1948 and sniping at Manara on 24-25 October (en.wiki "Operation Hiram"). Dates [C]:
+# 29-31 October, launched on the night of 28-29 October (en.wiki "Operation Hiram", used here); 28-31 October per PalQuest
+# and the original order of 28 October [S]; en.wiki "1948 Arab-Israeli War" gives 24 October, an outlier not used.
+# Cease-fire 31 October at 11:00. Ben-Gurion declined to authorise an advance further into Lebanon, fearing international
+# condemnation (same page): the third option. Owner ruling: the text stays military. Research notes facts-1948.md section 8.
+from: 1948-10-24
+to: 1948-10-29
+options:
+ - id: launch
+ text: Launch Operation Hiram and drive the Arab Liberation Army out of the Galilee
+ historical: true
+ recommended: true
+ set_rung: 5
+ effects:
+ - { target: security, delta: 0.04 }
+ - id: advance_into_lebanon
+ text: Launch it, and advance further into Lebanon
+ set_rung: 5
+ effects:
+ - { target: security, delta: 0.05 }
+ - { target: intl_standing, delta: -0.08 }
+ - id: protest_to_un
+ # Game assumption: the notes name no advocate for this option.
+ text: Protest to the UN and hold the line
+ effects:
+ - { target: security, delta: -0.04 }
+sources:
+ - { url: "https://en.wikipedia.org/wiki/Operation_Hiram", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/operation_horev.yaml b/content/events/operation_horev.yaml
new file mode 100644
index 000000000..ebf642148
--- /dev/null
+++ b/content/events/operation_horev.yaml
@@ -0,0 +1,28 @@
+id: operation_horev
+title: Operation Horev
+text: '{defense_minister} proposes an offensive against the Egyptian army in the south, under Yigal Allon, with five brigades.'
+anchor: hard
+tags: [security, war-casualties]
+office: defense_minister
+# Start [C]: 22 December 1948 (en.wiki "Operation Horev"; JVL [S]), used here, vs 27 December (en.wiki "1948 in Israel",
+# the date of the attack on al-Auja). Ended 7 January 1949. Commander Yigal Allon, five brigades. Research notes
+# facts-1948.md section 9.
+from: 1948-12-20
+to: 1948-12-23
+options:
+ - id: launch
+ text: Launch Operation Horev
+ historical: true
+ recommended: true
+ set_rung: 5
+ effects:
+ - { target: security, delta: 0.04 }
+ - id: hold
+ # Game assumption: the notes give no alternative to launching; this one names no advocate.
+ text: Hold the lines and wait for talks with Egypt
+ effects:
+ - { target: security, delta: -0.02 }
+sources:
+ - { url: "https://en.wikipedia.org/wiki/Operation_Horev", checked: 2026-10-10 }
+ - { url: "https://www.jewishvirtuallibrary.org/jsource/History/horev.html", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/operation_yoav.yaml b/content/events/operation_yoav.yaml
new file mode 100644
index 000000000..cb446ebe9
--- /dev/null
+++ b/content/events/operation_yoav.yaml
@@ -0,0 +1,36 @@
+id: operation_yoav
+title: Operation Yoav
+text: 'Supply convoys to the Negev must pass the Egyptian positions. {defense_minister} asks the cabinet to approve an offensive in the south under Yigal Allon, commander of the Southern Front.'
+anchor: hard
+tags: [security, war-casualties]
+office: defense_minister
+# Approved at the cabinet session of 6 October 1948; launched after a supply convoy was fired on as it passed Egyptian
+# positions on 14 October; 15-22 October 1948; Beersheba taken by the Negev Brigade on 21 October; cease-fire 22 October
+# (en.wiki "Operation Yoav", "1948 Arab-Israeli War"). At the end Allon asked to push into the Hebron hills and the Jericho
+# valley; Ben-Gurion refused, mainly fearing British involvement (en.wiki "Operation Yoav"). That request came at the end of
+# the operation; it is offered here as the third option. Research notes facts-1948.md section 7.
+from: 1948-10-06
+to: 1948-10-16
+options:
+ - id: launch
+ text: Approve the offensive in the south
+ historical: true
+ recommended: true
+ set_rung: 5
+ effects:
+ - { target: security, delta: 0.05 }
+ - id: push_to_hebron
+ text: Approve it, and let Allon push on into the Hebron hills
+ set_rung: 5
+ effects:
+ - { target: security, delta: 0.06 }
+ - { target: intl_standing, delta: -0.08 }
+ - id: wait
+ # Game assumption: the notes name no advocate for waiting; the cost (the Negev convoys stay blocked) is a design effect.
+ text: Keep the truce and supply the Negev as before
+ effects:
+ - { target: security, delta: -0.03 }
+sources:
+ - { url: "https://en.wikipedia.org/wiki/Operation_Yoav", checked: 2026-10-10 }
+ - { url: "https://en.wikipedia.org/wiki/1948_Arab–Israeli_War", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/second_truce.yaml b/content/events/second_truce.yaml
new file mode 100644
index 000000000..72116b42e
--- /dev/null
+++ b/content/events/second_truce.yaml
@@ -0,0 +1,29 @@
+id: second_truce
+title: The Second Truce
+text: 'The Security Council has found a threat to the peace under Article 39 of the Charter and ordered a cease-fire within three days, and an immediate cease-fire in Jerusalem. The attacks on Latrun have failed. {prime_minister} must decide whether Israel complies.'
+anchor: hard
+office: prime_minister
+# Security Council Resolution 54, 15 July 1948 (S/902), 7-1 with 3 abstentions. The truce took effect at 19:00 on 18 July
+# and lasted until 15 October (en.wiki "1948 Arab-Israeli War"; he.wiki gives 18.7-15.10). The date of Israel's acceptance
+# is a gap in the notes. Research notes facts-1948.md section 5.
+from: 1948-07-15
+to: 1948-07-19
+options:
+ - id: comply
+ text: Comply with the cease-fire
+ historical: true
+ recommended: true
+ # Three months of truce: prolonged conflict (monthly turns) until the next offensive.
+ set_rung: 4
+ effects:
+ - { target: intl_standing, delta: 0.03 }
+ - id: defy
+ # Game assumption: the notes name no advocate for defying the resolution.
+ text: Defy the order and keep attacking Latrun
+ effects:
+ - { target: intl_standing, delta: -0.10 }
+ - { target: security, delta: 0.02 }
+sources:
+ - { url: "https://en.wikipedia.org/wiki/United_Nations_Security_Council_Resolution_54", checked: 2026-10-10 }
+ - { url: "https://en.wikipedia.org/wiki/1948_Arab–Israeli_War", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/sinai_withdrawal.yaml b/content/events/sinai_withdrawal.yaml
new file mode 100644
index 000000000..3aa782cc6
--- /dev/null
+++ b/content/events/sinai_withdrawal.yaml
@@ -0,0 +1,34 @@
+id: sinai_withdrawal
+title: The British Ultimatum
+text: 'Israeli forces have crossed into Sinai and reached the outskirts of El-Arish airfield. The Security Council has called for a cease-fire, the United States has added its pressure, and Britain threatens to act against Israel under its 1936 treaty with Egypt. {prime_minister} must decide whether to pull back to the Negev frontier.'
+anchor: hard
+tags: [security]
+office: prime_minister
+# The Negev Brigade crossed the border on the night of 28 December and reached El-Arish airfield by 30 December; the
+# Security Council called for a cease-fire on 29 December (en.wiki "Operation Horev"). The State Department's message of
+# 30 December was read to Ben-Gurion by McDonald; Ben-Gurion said the forces had been ordered back to the Negev frontier
+# and that Britain threatened action under the 1936 treaty (FRUS 1949 v.VI doc 341, 1 January 1949). Withdrawal by
+# 2 January 1949 (FRUS doc 371 [S]). The date of the British note is a gap. Afterwards: the RAF clash [C] 7 January 1949
+# (JVL, en.wiki "1949 in Israel" and "1948 Arab-Israeli War") vs 6 January (en.wiki "Operation Horev"); Israel accepted the
+# cease-fire on 7 January. The alternative (holding El-Arish to cut off the Egyptian army) is in Avnery's commentary [S].
+# Research notes facts-1948.md section 9.
+from: 1948-12-31
+to: 1949-01-03
+options:
+ - id: withdraw
+ text: Withdraw from Sinai to the Negev frontier
+ historical: true
+ recommended: true
+ effects:
+ - { target: intl_standing, delta: 0.05 }
+ - { target: security, delta: -0.02 }
+ - id: hold_el_arish
+ text: Hold the positions around El-Arish
+ effects:
+ - { target: intl_standing, delta: -0.12 }
+ - { target: security, delta: 0.05 }
+sources:
+ - { url: "https://history.state.gov/historicaldocuments/frus1949v06/d341", checked: 2026-10-10 }
+ - { url: "https://history.state.gov/historicaldocuments/frus1949v06/d371", checked: 2026-10-10 }
+ - { url: "https://en.wikipedia.org/wiki/Operation_Horev", checked: 2026-10-10 }
+status: fact-checked
diff --git a/content/events/ten_days.yaml b/content/events/ten_days.yaml
new file mode 100644
index 000000000..73007d6f2
--- /dev/null
+++ b/content/events/ten_days.yaml
@@ -0,0 +1,32 @@
+id: ten_days
+title: The Ten Days
+text: 'The first truce is ending and Egypt has renewed the fighting. The General Staff asks where the main effort should go. In the centre, Operation Dani under Yigal Allon would take Lydda airport and secure the road to Jerusalem. {defense_minister} must decide.'
+anchor: hard
+tags: [security, war-casualties]
+office: defense_minister
+# Start [C]: 8 July (en.wiki "1948 Arab-Israeli War", "8-18 July") vs 9 July (en.wiki "Operation Danny", he.wiki); the
+# window covers both. Operation Dani ran 9-19 July 1948 under Yigal Allon, Yitzhak Rabin his deputy; Lydda airport was
+# taken on 10 July; the attacks on Latrun on 15-16 and 18 July failed. Owner ruling: the text describes the military
+# operation only. Research notes facts-1948.md section 4.
+from: 1948-07-08
+to: 1948-07-11
+options:
+ - id: central_front
+ text: Strike in the centre with Operation Dani, toward Lydda airport and the Jerusalem road
+ historical: true
+ recommended: true
+ set_rung: 5
+ effects:
+ - { target: security, delta: 0.05 }
+ - id: southern_front
+ # Game assumption: a design alternative. The notes found no cabinet debate in July; Ben-Gurion's diary of 11 July
+ # records Yadin asking where forces should go next [S].
+ text: Strike against Egypt in the south first
+ set_rung: 5
+ effects:
+ - { target: security, delta: 0.03 }
+sources:
+ - { url: "https://en.wikipedia.org/wiki/Operation_Danny", checked: 2026-10-10 }
+ - { url: "https://en.wikipedia.org/wiki/1948_Arab–Israeli_War", checked: 2026-10-10 }
+ - { url: "https://en.wikipedia.org/wiki/1948_in_Israel", checked: 2026-10-10 }
+status: fact-checked
diff --git a/docs/determinism.md b/docs/determinism.md
index 155e22ed8..aaf8a0499 100644
--- a/docs/determinism.md
+++ b/docs/determinism.md
@@ -22,8 +22,8 @@ with `GoldenRun.Seed = 1948` on the real `content/`, then steps with `Historical
| Run | Ends | Hash |
|---|---|---|
-| to 1950-01-01 (`Hash1950`) | 1950-02-26, turn 45 | `ee5d0826cdca5aef578e48c6273bc1453fa7745bd5ba1adf6f4a946ade828590` |
-| to 1952-01-01 (`Hash1952`) | 1952-02-26, turn 53 | `91bb6fb5f1295cee033998093651f4f303d1a61881a25a9015a8291798a35d80` |
+| to 1950-01-01 (`Hash1950`) | 1950-02-27, turn 35 | `a540b52e10474615b703a2b14b7c742adbde84611496074b93a5116ef654899c` |
+| to 1952-01-01 (`Hash1952`) | 1952-02-27, turn 43 | `16c16d7ec4f5419d31eb537d70924b8681b95ec94d7ed70874c0749292446e60` |
Each constant is written in three places that must agree:
- `sim/Statecraft.Sim/GoldenRun.cs`, which Unity code and players compare against;
@@ -68,3 +68,5 @@ rules or content, treat it as a determinism bug.
| M3 Task 8 | 1952 | `d07cd3d2` | same |
| M3 Task 8 fix | 1950 | `ee5d0826` | Task 8 fix: per-turn map-action counter in state (hash text gains mapturn=); no state change in the run |
| M3 Task 8 fix | 1952 | `91bb6fb5` | same |
+| playtest 1 E | 1950 | `a540b52e` | 1948 war-period events added (playtest 1 E): thirteen events whose windows open between 26 May and 31 December 1948; the second truce puts the run on monthly turns from 17 July to 17 October 1948, so the run ends 1950-02-27 after 35 turns (was 1950-02-26, turn 45) |
+| playtest 1 E | 1952 | `16c16d7e` | same; ends 1952-02-27 after 43 turns (was 1952-02-26, turn 53) |
diff --git a/sim/Statecraft.Sim.Tests/DeterminismTests.cs b/sim/Statecraft.Sim.Tests/DeterminismTests.cs
index 84836797e..02aaec5fb 100644
--- a/sim/Statecraft.Sim.Tests/DeterminismTests.cs
+++ b/sim/Statecraft.Sim.Tests/DeterminismTests.cs
@@ -19,7 +19,7 @@ public class DeterminismTests
/// <summary>Any change to this value is a deliberate rules or content change: update it here, in
/// GoldenRun.Hash1950 and in docs/determinism.md in the same commit.</summary>
- public const string GoldenHash = "ee5d0826cdca5aef578e48c6273bc1453fa7745bd5ba1adf6f4a946ade828590";
+ public const string GoldenHash = "a540b52e10474615b703a2b14b7c742adbde84611496074b93a5116ef654899c";
/// <summary>Real content, seed 1948, Historical mode, HistoricalAI until the date reaches 1950-01-01.</summary>
public static GameState GoldenPlaythrough(Content c) => GoldenRun.Play(c, GoldenRun.Until1950);
@@ -34,14 +34,14 @@ public class DeterminismTests
}
/// <summary>Same rule for the second golden run, which covers the M3 content range (to 1952-01-01).</summary>
- public const string GoldenHash1952 = "91bb6fb5f1295cee033998093651f4f303d1a61881a25a9015a8291798a35d80";
+ public const string GoldenHash1952 = "16c16d7ec4f5419d31eb537d70924b8681b95ec94d7ed70874c0749292446e60";
[Fact]
public void GoldenPlaythroughTo1952HashIsFixed()
{
var s = GoldenRun.Play(ContentLoader.Load(RealContentTests.ContentRoot()), GoldenRun.Until1952);
Assert.Null(s.GameOver);
- Assert.Equal(new DateTime(1952, 2, 26), s.Date);
+ Assert.Equal(new DateTime(1952, 2, 27), s.Date);
Assert.Equal(GoldenHash1952, s.Hash());
}
diff --git a/sim/Statecraft.Sim.Tests/WarEvents1948Tests.cs b/sim/Statecraft.Sim.Tests/WarEvents1948Tests.cs
new file mode 100644
index 000000000..5c6ba0ecd
--- /dev/null
+++ b/sim/Statecraft.Sim.Tests/WarEvents1948Tests.cs
@@ -0,0 +1,176 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Statecraft.Sim;
+
+/// <summary>The decision events of the war period, 15 May 1948 to the Egyptian armistice (24 February 1949), sourced
+/// from research_notes/M3 content 1950-51/facts-1948.md (playtest 1 E: about 40 weekly turns had no event).</summary>
+public class WarEvents1948Tests
+{
+ static readonly Content C = ContentLoader.Load(RealContentTests.ContentRoot());
+ static readonly DateTime Start = new DateTime(1948, 5, 15);
+ static readonly DateTime EgyptArmistice = new DateTime(1949, 2, 24);
+
+ /// <summary>Id, the historical option, the security level it sets (null: unchanged) and the responsible office.</summary>
+ public static readonly (string Id, string Historical, int? Rung, string Office)[] Events =
+ {
+ ("idf_founding", "one_army", null, "defense_minister"),
+ ("first_truce", "accept", null, "prime_minister"),
+ ("altalena", "enforce", null, "defense_minister"),
+ ("ten_days", "central_front", 5, "defense_minister"),
+ ("second_truce", "comply", 4, "prime_minister"),
+ ("jerusalem_military_government", "military_government", null, "prime_minister"),
+ ("bernadotte_assassination", "outlaw", null, "prime_minister"),
+ ("latrun_proposal", "accept_vote", null, "prime_minister"),
+ ("operation_yoav", "launch", 5, "defense_minister"),
+ ("operation_hiram", "launch", 5, "defense_minister"),
+ ("elections_1949", "hold", null, "prime_minister"),
+ ("operation_horev", "launch", 5, "defense_minister"),
+ ("sinai_withdrawal", "withdraw", null, "prime_minister"),
+ };
+
+ public static IEnumerable<object[]> Ids() => Events.Select(e => new object[] { e.Id });
+
+ static GameEvent Get(string id) => C.Events.Single(e => e.Id == id);
+
+ static DateTime LastDay(GameEvent e) => e.To!.Value.AddDays(-1);
+
+ [Theory]
+ [MemberData(nameof(Ids))]
+ public void EachEventLoadsWithSourcesAndOneHistoricalOption(string id)
+ {
+ var e = Get(id);
+ var row = Events.Single(x => x.Id == id);
+ Assert.Equal("fact-checked", e.Status);
+ Assert.True(e.Sources.Count >= 1, $"{id} has no source");
+ Assert.All(e.Sources, s => { Assert.StartsWith("https://", s.Url); Assert.Equal(new DateTime(2026, 10, 10), s.Checked); });
+ Assert.Equal(row.Office, e.Office);
+ Assert.True(e.To.HasValue, $"{id} needs a closed window");
+ Assert.True(e.From >= Start && e.From < EgyptArmistice, $"{id} opens {e.From:yyyy-MM-dd}, outside the war period");
+ Assert.True(e.Options.Count >= 2, $"{id} offers no choice");
+ var historical = Assert.Single(e.Options, o => o.Historical);
+ Assert.Equal(row.Historical, historical.Id);
+ Assert.True(historical.Recommended);
+ Assert.Equal(row.Historical, e.Options[0].Id); // the smoke run and the event card press the first option
+ }
+
+ [Theory]
+ [MemberData(nameof(Ids))]
+ public void PlaceholdersResolveOnEveryDayOfTheWindow(string id)
+ {
+ var e = Get(id);
+ for (var d = e.From; d < e.To!.Value; d = d.AddDays(1))
+ {
+ Offices.Fill(C, e.Title, d);
+ Assert.DoesNotContain("{", Offices.Fill(C, e.Text, d));
+ foreach (var o in e.Options) Offices.Fill(C, o.Text, d);
+ }
+ Assert.Equal("ben_gurion", Offices.Holder(C, e.Office, e.From)!.Id); // PM and Defence Minister in 1948-49
+ Assert.Equal("ben_gurion", Offices.Holder(C, e.Office, LastDay(e))!.Id);
+ }
+
+ [Theory]
+ [MemberData(nameof(Ids))]
+ public void TheHistoricalOptionAppliesItsEffectsAndSecurityLevel(string id)
+ {
+ var e = Get(id);
+ var row = Events.Single(x => x.Id == id);
+ var option = e.Options.Single(o => o.Historical);
+ var s = Simulation.NewGame(C, GoldenRun.Seed, Mode.Historical);
+ s.Date = e.From;
+ SecuritySystem.SetRung(C, s, 3, new List<Cause>()); // a level no option sets, so any change is visible
+ s.PendingEvents.Add(id);
+ var before = C.Indicators.ToDictionary(i => i.Id, i => s.Indicators[i.Id]);
+ Assert.Null(EventSystem.Choose(C, s, id, option.Id, new List<Cause>()));
+ Assert.Equal(row.Rung ?? 3, s.Rung);
+ Assert.Empty(option.SetPolicy); // no policy fits these events (notes, schema reminders)
+ foreach (var i in C.Indicators)
+ {
+ var expected = option.Effects.Where(f => f.Target == i.Id).Sum(f => f.Delta);
+ Assert.Equal(before[i.Id] + expected, s.Indicators[i.Id], 9);
+ }
+ }
+
+ /// <summary>Plays the historical run and records, for each event, the turn it fired on ([turn start, turn end]) and
+ /// whether HistoricalAI's choice of the historical option was carried out (not refused, then delegated).</summary>
+ static readonly Dictionary<string, (DateTime TurnStart, DateTime TurnEnd, bool Chosen, int RungAfter)> Run = PlayHistorical();
+
+ static Dictionary<string, (DateTime, DateTime, bool, int)> PlayHistorical()
+ {
+ var fired = new Dictionary<string, (DateTime, DateTime)>();
+ var result = new Dictionary<string, (DateTime, DateTime, bool, int)>();
+ var s = Simulation.NewGame(C, GoldenRun.Seed, Mode.Historical);
+ foreach (var id in s.PendingEvents) fired[id] = (s.Date, s.Date);
+ while (s.Date < new DateTime(1949, 3, 1) && s.GameOver == null)
+ {
+ var commands = HistoricalAI.Commands(C, s);
+ var step = Simulation.Step(C, s, commands);
+ foreach (var cmd in commands.OfType<ChooseEventOption>())
+ if (fired.TryGetValue(cmd.EventId, out var when))
+ result[cmd.EventId] = (when.Item1, when.Item2, !step.Rejected.Any(r => r.Command == cmd), step.State.Rung);
+ foreach (var id in step.State.FiredEvents.Except(s.FiredEvents)) fired[id] = (s.Date, step.State.Date);
+ s = step.State;
+ }
+ return result;
+ }
+
+ [Theory]
+ [MemberData(nameof(Ids))]
+ public void ItFiresInItsWindowAndTheHistoricalChoiceIsMade(string id)
+ {
+ var e = Get(id);
+ Assert.True(Run.TryGetValue(id, out var r), $"{id} never fired (or was never answered) in the historical run");
+ // The turn [TurnStart, TurnEnd] overlaps the window [From, To): the sim's own firing rule, late fire included.
+ Assert.True(e.From <= r.TurnEnd && r.TurnStart < e.To!.Value,
+ $"{id} fired on the turn {r.TurnStart:yyyy-MM-dd} to {r.TurnEnd:yyyy-MM-dd}, outside its window {e.From:yyyy-MM-dd} to {e.To:yyyy-MM-dd}");
+ Assert.True(r.Chosen, $"{id}: HistoricalAI's choice was refused (attention?) and the event was delegated");
+ }
+
+ [Fact]
+ public void TheHistoricalRunMovesThroughTheTruces()
+ {
+ Assert.Equal(4, Run["second_truce"].RungAfter); // the second truce: monthly turns
+ Assert.Equal(5, Run["operation_yoav"].RungAfter); // Yoav ends it
+ Assert.Equal(5, Run["sinai_withdrawal"].RungAfter); // full war until the armistice with Egypt
+ }
+
+ /// <summary>Two events whose historical options set different security levels must never be answered on the same
+ /// turn: the order the player presses them in would decide the level.</summary>
+ [Fact]
+ public void NoTurnOfTheHistoricalRunAsksForTwoDifferentSecurityLevels()
+ {
+ foreach (var turn in Run.Where(kv => Events.Any(x => x.Id == kv.Key)).GroupBy(kv => kv.Value.TurnEnd))
+ {
+ var rungs = turn.Select(kv => Events.Single(x => x.Id == kv.Key).Rung).Where(x => x.HasValue).Distinct().ToList();
+ Assert.True(rungs.Count <= 1, $"turn ending {turn.Key:yyyy-MM-dd} asks for levels {string.Join(", ", rungs)} ({string.Join(", ", turn.Select(kv => kv.Key))})");
+ }
+ }
+
+ /// <summary>Playtest 1 E: no stretch of more than eight weeks between 15 May 1948 and the Egyptian armistice
+ /// (24 February 1949) without an event window opening.</summary>
+ [Fact]
+ public void NoEightWeekStretchWithoutAnEventWindow()
+ {
+ var opens = C.Events.Select(e => e.From).Where(d => d >= Start && d <= EgyptArmistice)
+ .Concat(new[] { Start, EgyptArmistice }).Distinct().OrderBy(d => d).ToList();
+ Assert.Contains(EgyptArmistice, C.Events.Select(e => e.From));
+ for (int i = 1; i < opens.Count; i++)
+ Assert.True((opens[i] - opens[i - 1]).TotalDays <= 56, $"no event window opens between {opens[i - 1]:yyyy-MM-dd} and {opens[i]:yyyy-MM-dd}");
+ }
+
+ /// <summary>EventRules.SensitiveTags (internal to the sim): the loader refuses a money reward on these.</summary>
+ static readonly HashSet<string> Sensitive = new HashSet<string> { "holocaust", "terror", "massacre", "war-casualties" };
+
+ /// <summary>Events with fighting or terror carry the sensitive tags EventRules already enforces (no money reward).</summary>
+ [Fact]
+ public void CombatAndTerrorEventsAreTaggedSensitive()
+ {
+ foreach (var id in new[] { "altalena", "ten_days", "operation_yoav", "operation_hiram", "operation_horev" })
+ Assert.Contains("war-casualties", Get(id).Tags);
+ Assert.Contains("terror", Get("bernadotte_assassination").Tags);
+ var tags = C.Events.SelectMany(e => e.Tags).Distinct().ToList();
+ Assert.All(tags, t => Assert.True(t == "security" || Sensitive.Contains(t), $"tag '{t}' is neither 'security' nor a sensitive tag the loader enforces"));
+ foreach (var e in Events.Select(x => Get(x.Id)).Where(e => e.Tags.Any(Sensitive.Contains)))
+ Assert.All(e.Options.SelectMany(o => o.Effects), f => Assert.False((f.Target == "treasury" || f.Target == "fx_reserves") && f.Delta > 0));
+ }
+}
diff --git a/sim/Statecraft.Sim/GoldenRun.cs b/sim/Statecraft.Sim/GoldenRun.cs
index e0d6ea646..ef9247cfc 100644
--- a/sim/Statecraft.Sim/GoldenRun.cs
+++ b/sim/Statecraft.Sim/GoldenRun.cs
@@ -11,12 +11,12 @@ namespace Statecraft.Sim
/// <summary>Final hash of Play(content, Until1950). Changing it is a deliberate rules or content change:
/// update it, DeterminismTests and docs/determinism.md in the same commit and say why in the message.</summary>
- public const string Hash1950 = "ee5d0826cdca5aef578e48c6273bc1453fa7745bd5ba1adf6f4a946ade828590";
+ public const string Hash1950 = "a540b52e10474615b703a2b14b7c742adbde84611496074b93a5116ef654899c";
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).</summary>
- public const string Hash1952 = "91bb6fb5f1295cee033998093651f4f303d1a61881a25a9015a8291798a35d80";
+ public const string Hash1952 = "16c16d7ec4f5419d31eb537d70924b8681b95ec94d7ed70874c0749292446e60";
public static readonly DateTime Until1952 = new DateTime(1952, 1, 1);