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: Yishuv 1, dated windows for state-era records (refs #80) (#338)

agamrafaeli-instincte4d43830bed4
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a2205efe1..688e7ee7c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,10 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIB
is a labelled design assumption (D-D5); training turns, costs and Attention costs are placeholders in `MvpSlice.Overlay`,
never under `content/`. `mvp-slice` moves (the reference player trains one halutz group); the legacy goldens and
`scenario-mvp-absorb-first` do not.
+- The records that only make sense in a state now carry dates (refs #80): three policies, three effects and nine actors from
+ 15 May 1948, the United Nations from 24 October 1945, the state offices from 14 May 1948. Yaakov Dori's chief-of-staff
+ term is split at 14 May 1948 into a new `haganah_chief_of_staff` office and `chief_of_staff`. A Founding start holds the
+ same records and the goldens are unchanged. `rationing` and `rationing_feeds` stay windowless (their office begins in 1949).
- GDD v0.1 Phase 1, one city (refs #376), behind the `systems.loop` switch: Tel Aviv with housing, jobs, civilians and
refugees as counts; `AssignWorkers` (Attention, refused in the legacy loop); and a `TurnResolver` that runs, in the
approved order (D-A6), Money from jobs, housing, Social cohesion and arrivals from the CBS series as refugees, housed on
diff --git a/content/model.yaml b/content/model.yaml
index f22095cb6..78bf582ee 100644
--- a/content/model.yaml
+++ b/content/model.yaml
@@ -6,20 +6,24 @@ indicators:
- { id: housing, base: 0.35, name: Housing }
- { id: security, base: 0.30, name: Security }
- { id: intl_standing, base: 0.50, name: International standing }
+# Windows (issue #80, Yishuv design 5.1 and 5.5; the dates are game design, not historical facts): the policies, effects and
+# actors that only make sense in a state begin on 15 May 1948, the Founding start, so a Founding start holds the same
+# records as before. `rationing` and `rationing_feeds` stay windowless because their office, rationing_minister, only
+# exists from 10 March 1949 and the loader needs an office to cover its policy's whole window.
policies:
- { id: rationing, default: 0.0, office: rationing_minister, name: Rationing }
- - { id: housing_construction, default: 0.3, office: labour_minister, name: Housing construction }
- - { id: border_settlement, default: 0.2, office: agriculture_minister, name: Border settlement }
+ - { id: housing_construction, from: 1948-05-15, default: 0.3, office: labour_minister, name: Housing construction }
+ - { id: border_settlement, from: 1948-05-15, default: 0.2, office: agriculture_minister, name: Border settlement }
# 1 = transit camps (ma'abarot) where residents earn their own living replace the free-board immigrant camps.
# Transit-camp map actions need it at 0.5 or above (MapActions). The event maabarot_policy sets it. Office: the Prime
# Minister, who decided it with the Jewish Agency (and the Ministry of Immigration ends on 1951-10-08).
- - { id: maabarot, default: 0.0, office: prime_minister, name: Transit camps (ma'abarot) }
+ - { id: maabarot, from: 1948-05-15, default: 0.0, office: prime_minister, name: Transit camps (ma'abarot) }
effects:
- { id: rationing_feeds, source: rationing, target: food_supply, k: 0.40, inertia: 2, office: rationing_minister, name: Rations share out food }
- - { id: rationing_grates, source: rationing, target: morale, k: -0.15, inertia: 1, name: Rationing wears on morale }
- - { id: building_houses, source: housing_construction, target: housing, k: 0.35, inertia: 4, office: labour_minister, name: New housing }
+ - { id: rationing_grates, from: 1948-05-15, source: rationing, target: morale, k: -0.15, inertia: 1, name: Rationing wears on morale }
+ - { id: building_houses, from: 1948-05-15, source: housing_construction, target: housing, k: 0.35, inertia: 4, office: labour_minister, name: New housing }
- { id: homes_lift_morale, source: housing, target: morale, k: 0.15, inertia: 2, name: Homes lift morale }
- - { id: border_villages_secure, source: border_settlement, target: security, k: 0.30, inertia: 4, office: agriculture_minister, name: Border villages }
+ - { id: border_villages_secure, from: 1948-05-15, source: border_settlement, target: security, k: 0.30, inertia: 4, office: agriculture_minister, name: Border villages }
- { id: safety_lifts_morale, source: security, target: morale, k: 0.10, inertia: 2, name: Safety lifts morale }
situations:
- { id: food_crisis, indicator: food_supply, on_below: 0.30, off_above: 0.45, name: Food crisis }
@@ -34,17 +38,20 @@ voter_groups:
- { id: new_immigrants, weights: { housing: 0.5, food_supply: 0.5 } }
- { id: religious, weights: { morale: 0.7, security: 0.3 } }
- { id: labour_movement, weights: { morale: 0.5, housing: 0.5 } }
+# The UN begins on its founding day (below); the state-era actors begin on 15 May 1948. Actors are not in the game state.
actors:
- { id: usa, name: United States, standing: 0.6 }
- - { id: ussr, name: Soviet Union, standing: 0.6 }
+ - { id: ussr, from: 1948-05-15, name: Soviet Union, standing: 0.6 }
- { id: france, name: France, standing: 0.5 }
- { id: uk, name: United Kingdom, standing: 0.3 }
- - { id: west_germany, name: West Germany, standing: 0.0 }
- - { id: un, name: United Nations, standing: 0.5 }
- - { id: egypt, name: Egypt, standing: 0.0 }
- - { id: jordan, name: Jordan, standing: 0.1 }
- - { id: syria, name: Syria, standing: 0.0 }
- - { id: lebanon, name: Lebanon, standing: 0.1 }
- - { id: iraq, name: Iraq, standing: 0.0 }
- - { id: arab_refugees, name: Arab refugees, standing: 0.0 }
- - { id: arab_citizens, name: Arab citizens of Israel, standing: 0.3 }
+ - { id: west_germany, from: 1948-05-15, name: West Germany, standing: 0.0 }
+ # The UN came into existence on 24 October 1945, when the Charter was ratified by the five permanent members and a
+ # majority of the other signatories (https://www.un.org/en/about-us/history-of-the-un, checked 2026-10-13).
+ - { id: un, from: 1945-10-24, name: United Nations, standing: 0.5 }
+ - { id: egypt, from: 1948-05-15, name: Egypt, standing: 0.0 }
+ - { id: jordan, from: 1948-05-15, name: Jordan, standing: 0.1 }
+ - { id: syria, from: 1948-05-15, name: Syria, standing: 0.0 }
+ - { id: lebanon, from: 1948-05-15, name: Lebanon, standing: 0.1 }
+ - { id: iraq, from: 1948-05-15, name: Iraq, standing: 0.0 }
+ - { id: arab_refugees, from: 1948-05-15, name: Arab refugees, standing: 0.0 }
+ - { id: arab_citizens, from: 1948-05-15, name: Arab citizens of Israel, standing: 0.3 }
diff --git a/content/offices.yaml b/content/offices.yaml
index b6e1efd78..19bfc1164 100644
--- a/content/offices.yaml
+++ b/content/offices.yaml
@@ -1,27 +1,29 @@
# yaml-language-server: $schema=./schema/offices.schema.json
offices:
- - { id: prime_minister, title: Prime Minister }
+ # `from: 1948-05-14` is the state's founding (issue #80). For the deputy titles and any post created later (some date from
+ # 1951) it is a design floor, not the day the post was created.
+ - { id: prime_minister, title: Prime Minister, from: 1948-05-14 }
# Spelling is deliberate, do not "fix" it (playtest 1, item 8): the office title keeps Israel's official English,
# "Ministry of Defense" / "Minister of Defense", because it is a proper noun. The UI is otherwise British English, so
# the screen and its button say "Defence".
- - { id: defense_minister, title: Minister of Defense }
- - { id: finance_minister, title: Minister of Finance }
- - { id: foreign_minister, title: Minister of Foreign Affairs }
- - { id: health_minister, title: Minister of Health }
+ - { id: defense_minister, title: Minister of Defense, from: 1948-05-14 }
+ - { id: finance_minister, title: Minister of Finance, from: 1948-05-14 }
+ - { id: foreign_minister, title: Minister of Foreign Affairs, from: 1948-05-14 }
+ - { id: health_minister, title: Minister of Health, from: 1948-05-14 }
# No Immigration or War Victims portfolio in the Third Government (8 Oct 1951): research_notes/M3 content 1950-51/facts.md,
# Addendum (2026-10-10) (a) and (b), after en.wiki, he.wiki and JVL. Re-add a term if a source shows the portfolio.
- - { id: immigration_minister, title: Minister of Immigration, until: 1951-10-08 }
- - { id: interior_minister, title: Minister of Internal Affairs }
- - { id: justice_minister, title: Minister of Justice }
- - { id: agriculture_minister, title: Minister of Agriculture }
- - { id: labour_minister, title: Minister of Labour }
- - { id: police_minister, title: Minister of Police }
- - { id: minority_affairs_minister, title: Minister of Minority Affairs }
- - { id: religions_minister, title: Minister of Religions }
- - { id: war_victims_minister, title: Minister of War Victims, until: 1951-10-08 }
- - { id: trade_minister, title: Minister of Trade and Industry }
- - { id: transportation_minister, title: Minister of Transportation }
- - { id: welfare_minister, title: Minister of Welfare }
+ - { id: immigration_minister, title: Minister of Immigration, until: 1951-10-08, from: 1948-05-14 }
+ - { id: interior_minister, title: Minister of Internal Affairs, from: 1948-05-14 }
+ - { id: justice_minister, title: Minister of Justice, from: 1948-05-14 }
+ - { id: agriculture_minister, title: Minister of Agriculture, from: 1948-05-14 }
+ - { id: labour_minister, title: Minister of Labour, from: 1948-05-14 }
+ - { id: police_minister, title: Minister of Police, from: 1948-05-14 }
+ - { id: minority_affairs_minister, title: Minister of Minority Affairs, from: 1948-05-14 }
+ - { id: religions_minister, title: Minister of Religions, from: 1948-05-14 }
+ - { id: war_victims_minister, title: Minister of War Victims, until: 1951-10-08, from: 1948-05-14 }
+ - { id: trade_minister, title: Minister of Trade and Industry, from: 1948-05-14 }
+ - { id: transportation_minister, title: Minister of Transportation, from: 1948-05-14 }
+ - { id: welfare_minister, title: Minister of Welfare, from: 1948-05-14 }
# The Ministry of Postal Services (renamed Communications in 1970). Its first minister, Mordechai Nurock, took office
# on 3 November 1952 (Knesset records and plenum record, he.wiki Third Government, en.wiki "Ministry of Communications
# (Israel)", checked 2026-10-12).
@@ -48,7 +50,11 @@ offices:
# in en.wiki "Rationing and Supply Minister of Israel" and he.wiki "משרד האספקה והקיצוב" is when rationing was decided
# (the austerity event), not when the office began (issue #225).
- { id: rationing_minister, title: Minister responsible for rationing, from: 1949-03-10 }
- - { id: chief_of_staff, title: IDF Chief of the General Staff }
+ # Before the state the chief of staff led the Haganah (Yaakov Dori, from 1 June 1947), so the same post is split at the
+ # state's founding (issue #80; sources on Dori's two terms in people.yaml). 14 May 1948 is the design's date; the IDF Ordinance
+ # followed on 26 May 1948. Do not "correct" it to 26 May in a fact-check: it would move the goldens.
+ - { id: haganah_chief_of_staff, title: Haganah Chief of the General Staff, until: 1948-05-14 }
+ - { id: chief_of_staff, title: IDF Chief of the General Staff, from: 1948-05-14 }
# The role first appeared in the Third Government (Peretz Naphtali, 8 October 1951): he.wiki "שר בלי תיק"; the
# Provisional, First and Second Governments' tables on en.wiki list none (checked 2026-10-11).
- { id: minister_without_portfolio, title: Minister without Portfolio, from: 1951-10-08, several_holders: true }
@@ -58,11 +64,11 @@ offices:
- { id: president, title: President of Israel, from: 1949-02-16 }
# Historical deputy titles: dated lookup/text only, never playable Cabinet seats or gameplay owners.
# Sources and the start-date conflict are in research_notes/M3 content 1950-51/deputy-titles.md.
- - { id: deputy_agriculture_minister, title: Deputy Minister of Agriculture, historical_only: true }
- - { id: deputy_transportation_minister, title: Deputy Minister of Transportation, historical_only: true }
- - { id: deputy_education_minister, title: Deputy Minister of Education and Culture, historical_only: true, several_holders: true }
- - { id: deputy_prime_minister, title: Deputy Prime Minister, historical_only: true }
+ - { id: deputy_agriculture_minister, title: Deputy Minister of Agriculture, historical_only: true, from: 1948-05-14 }
+ - { id: deputy_transportation_minister, title: Deputy Minister of Transportation, historical_only: true, from: 1948-05-14 }
+ - { id: deputy_education_minister, title: Deputy Minister of Education and Culture, historical_only: true, several_holders: true, from: 1948-05-14 }
+ - { id: deputy_prime_minister, title: Deputy Prime Minister, historical_only: true, from: 1948-05-14 }
# Deputy ministers of 1953-1956 (#26): dates from the Knesset records (KNS_PersonToPosition), see people.yaml.
- - { id: deputy_religions_minister, title: Deputy Minister of Religions, historical_only: true }
- - { id: deputy_welfare_minister, title: Deputy Minister of Welfare, historical_only: true }
- - { id: deputy_trade_minister, title: Deputy Minister of Trade and Industry, historical_only: true }
+ - { id: deputy_religions_minister, title: Deputy Minister of Religions, historical_only: true, from: 1948-05-14 }
+ - { id: deputy_welfare_minister, title: Deputy Minister of Welfare, historical_only: true, from: 1948-05-14 }
+ - { id: deputy_trade_minister, title: Deputy Minister of Trade and Industry, historical_only: true, from: 1948-05-14 }
diff --git a/content/people.yaml b/content/people.yaml
index 7b31eaaa2..badacf058 100644
--- a/content/people.yaml
+++ b/content/people.yaml
@@ -1010,7 +1010,8 @@ people:
competence: 7
loyalty: 8
offices:
- - { office: chief_of_staff, from: 1947-06-01, to: 1949-11-09, sources: &cos [{ url: "https://en.wikipedia.org/wiki/Chief_of_the_General_Staff_(Israel)", checked: 2026-10-09 }] }
+ - { office: haganah_chief_of_staff, from: 1947-06-01, to: 1948-05-14, sources: &cos [{ url: "https://en.wikipedia.org/wiki/Chief_of_the_General_Staff_(Israel)", checked: 2026-10-09 }] }
+ - { office: chief_of_staff, from: 1948-05-14, to: 1949-11-09, sources: *cos }
portrait: { file: promo/ref/people/Yaakov_Dori_CC0.jpg, license: CC0, source: "https://commons.wikimedia.org/wiki/File:Stafchef_Dori_houdt_toespraak_tijdens_de_militaire_parade_bij_gelegenheid_van_de,_Bestanddeelnr_255-0981.jpg", focus_y: 0.3 }
status: fact-checked
- id: yadin
diff --git a/sim/Statecraft.Sim.Tests/YishuvWindowsTests.cs b/sim/Statecraft.Sim.Tests/YishuvWindowsTests.cs
new file mode 100644
index 000000000..52000b943
--- /dev/null
+++ b/sim/Statecraft.Sim.Tests/YishuvWindowsTests.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Linq;
+using Statecraft.Sim;
+
+/// <summary>The Yishuv windows in the real content (#80): a fresh Founding start holds exactly the records it held before.</summary>
+public class YishuvWindowsTests
+{
+ static readonly Content C = ContentLoader.Load(RealContentTests.ContentRoot());
+
+ [Fact]
+ public void AFreshFoundingStartHoldsTheSameRecordsAsBeforeTheWindows()
+ {
+ var s = Simulation.NewGame(C, 1, Mode.Historical);
+ Assert.Equal(new[] { "food_supply", "housing", "intl_standing", "morale", "security" }, s.Indicators.Keys.OrderBy(k => k, StringComparer.Ordinal));
+ Assert.Equal(new[] { "border_settlement", "housing_construction", "maabarot", "rationing" }, s.Policies.Keys.OrderBy(k => k, StringComparer.Ordinal));
+ Assert.Equal(new[] { "border_villages_secure", "building_houses", "homes_lift_morale", "rationing_feeds", "rationing_grates", "safety_lifts_morale" },
+ s.EffectContributions.Keys.OrderBy(k => k, StringComparer.Ordinal));
+ }
+
+ [Fact]
+ public void TheStateRecordsBeginOnTheFoundingDateAndTheUnOnItsOwn()
+ {
+ var founding = new DateTime(1948, 5, 15);
+ foreach (var id in new[] { "ussr", "egypt", "jordan", "syria", "lebanon", "iraq", "arab_refugees", "arab_citizens", "west_germany" })
+ Assert.Equal(founding, C.Actors.Single(a => a.Id == id).From);
+ Assert.Equal(new DateTime(1945, 10, 24), C.Actors.Single(a => a.Id == "un").From);
+ Assert.Null(C.Actors.Single(a => a.Id == "usa").From);
+ foreach (var id in new[] { "housing_construction", "border_settlement", "maabarot" })
+ Assert.Equal(founding, C.Policies.Single(p => p.Id == id).From);
+ }
+
+ [Fact]
+ public void DorisTwoTermsSplitAtTheFoundingAndKeepTheirSources()
+ {
+ var dori = C.People.Single(p => p.Id == "dori");
+ var haganah = dori.Offices.Single(t => t.Office == "haganah_chief_of_staff");
+ var idf = dori.Offices.Single(t => t.Office == "chief_of_staff");
+ Assert.Equal(new DateTime(1947, 6, 1), haganah.From); Assert.Equal(new DateTime(1948, 5, 14), haganah.To);
+ Assert.Equal(new DateTime(1948, 5, 14), idf.From); Assert.Equal(new DateTime(1949, 11, 9), idf.To);
+ Assert.NotEmpty(haganah.Sources); Assert.Equal(haganah.Sources[0].Url, idf.Sources[0].Url);
+ Assert.Equal(new DateTime(1948, 5, 14), C.Offices.Single(o => o.Id == "haganah_chief_of_staff").Until);
+ Assert.Equal("dori", Offices.Holder(C, "chief_of_staff", new DateTime(1948, 5, 15))!.Id);
+ }
+}