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: the Arab forces of 15 May and 11 June 1948 in units_1948.yaml, data only (refs #740, #385, #226) (#860)

Eyal Golanbf307604ac0f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3dfc9e85b..860ddbc3d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -177,6 +177,14 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIB
a square yard closed by a wall, a lookout tower in its corner, the living quarters along one side and the service
buildings along another. The larger living building is Revivim's kibbutz dining hall (he.wiki "רביבים": the fortress
held "חדר אוכל"). `SettlementKits.Outpost.cs`; `NegevOutpostKitTests`.
+- The Arab forces of 15 May and 11 June 1948 are in `content/map/units_1948.yaml` as data only (refs #740, #385,
+ #226): the Egyptian Expeditionary Force, the Arab Legion, the Syrian Army, the Iraqi Expeditionary Force, the Lebanese
+ Army (hidden: no place two sources agree on) and the Arab Liberation Army, each with its `side`, an `echelon` and one
+ sourced 15 May `strength` (Q-START-3), from `research_notes/GDD phase 5/arab-forces-1948.md`. The map does not draw
+ them: `UnitRoster.OnMap` keeps the roster and the placer to Israel's rows until Phase 5 PR 17's figures and their
+ sensitivity review (owner, 17 October 2026), so no token, spot or kit clearing changes. `UnitData` reads `strength`,
+ `echelon` and the sides `ala` and `local_arab_forces` (Q-START-4). At the first truce the Egyptian row stands at
+ both its forward base, Isdud, and its rear base, Majdal (owner, 17 October 2026, on #860). The rows are drafts.
- A Settings screen, opened from a gear at the foot of the left column (refs #40, first slice). Its first option turns
the tilt-shift blur off and on, at once; the choice is kept per browser in `/idbfs/statecraft-settings/settings.txt`
(a fixed folder, as the autosave's), never in the sim or the save, so the goldens do not move. `?notiltshift` still
diff --git a/content/map/units_1948.yaml b/content/map/units_1948.yaml
index ba24cfb9c..e107e17d7 100644
--- a/content/map/units_1948.yaml
+++ b/content/map/units_1948.yaml
@@ -30,8 +30,21 @@
# Sword, 1961) or the IDF and Defense Establishment Archives. The card computes the same note per anchor.
# headgear: the riflemen's headgear, only where a source ties it to the unit (otherwise the uniform default: bush hat,
# steel helmet, bush hat; docs/units.md).
-# side: whose formation it is: israel (every row here), or egypt, jordan, syria, iraq, lebanon (#226). The token flies
-# that side's flag where the repo has a sourced one (Israel's only, for now; docs/units.md, "The plinth and the flag").
+# side: whose formation it is: israel, or egypt, jordan, syria, iraq, lebanon, ala (the Arab Liberation Army) or
+# local_arab_forces (Q-START-4, owner, 15 October 2026: "Armies + ALA + local forces"; #226). The token flies that side's
+# flag where the repo has a sourced one (Israel's only, for now; docs/units.md, "The plinth and the flag"). Data only:
+# the map draws Israel's rows alone until Phase 5 PR 17's figures land, after its sensitivity review (owner, 17 October
+# 2026, #740: "Nothing is drawn with IDF figures, and there is no placeholder art").
+# echelon: the formation's level: force (a state's whole force in the field, or the ALA), division, brigade, battalion or
+# company. Every row of a side other than israel gives it, with the formations in `number` and their sources in the
+# row's `sources`.
+# strength: one number, never a range (docs/CONTENT_POLICY.md section 1), with `as_of` (the day it is for), `sources` and
+# an optional `note`. The value follows Q-START-3 (owner, 15 October 2026, "Take all recommendations"): from an Israeli
+# official or mainstream source where one gives it, otherwise the value two of the research note's sources agree on.
+# The note's other figures and its conflicts stay in the note (research_notes/GDD phase 5/arab-forces-1948.md,
+# sections 1 to 8), not here. Every row gives the 15 May strength only: no source found dates a strength on 11 June
+# (the note, section 9; owner, 17 October 2026, #740: "15 May strength only ... Nothing is invented"). Every row of a
+# side other than israel gives it.
# 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.
# reviewed_by and reviewed_on (both or neither, beside status): a person's sign-off, their GitHub handle and the day; only
@@ -519,3 +532,309 @@ units:
- {url: 'https://en.wikipedia.org/wiki/HMCS_Norsyd', checked: '2026-10-11'}
- {url: 'https://en.wikipedia.org/wiki/Israeli_Navy', checked: '2026-10-11'}
- {url: 'https://www.wikidata.org/wiki/Q1376739', checked: '2026-10-11'}
+# --- The Arab forces (#226, #740): data only, the map does not draw them yet ----------------------------------------
+# One row per force, on 15 May 1948 and at the first truce (11 June 1948), at the places research_notes/GDD phase 5/
+# arab-forces-1948.md (section 10) places with two or more sources, or by the owner's ruling where it says so. Book
+# sources were read for that note on 2026-10-13 (its "How it was researched"): O'Ballance and Dupuy in full text, the
+# Ben-Gurion diary, al-Tall, al-Qawuqji, FRUS and the CIA summaries as documents, and Glubb, Lorch, Morris and Rogan and
+# Shlaim only as full-text search snippets without page numbers (the note's section 9: check the printed pages first).
+# The page each claim rests on is in the comment above its source. Wikipedia gives the coordinates and, where cited,
+# the truce's end and al-Malikiyya (checked 2026-10-17). Not placed (the note gives no two sources, or the place is one
+# the note does not describe): see the PR for #740.
+- id: egyptian_expeditionary_force
+ name: Egyptian Expeditionary Force
+ number: Two brigade groups (a coastal brigade group and an inland column)
+ service: army
+ side: egypt
+ echelon: force
+ sector: "The Egyptian Army's force in Palestine. The coastal brigade group crossed at Rafah on 15 May 1948 and entered Gaza that evening; the inland column crossed at al-Auja. At the first truce its forward base was at Isdud and its rear base, its headquarters from 24 May, at Majdal, with the force along the road from Gaza and a link east through Faluja to Bayt Jibrin."
+ wikipedia_only: false
+ status: draft
+ strength:
+ value: 10000
+ as_of: '1948-05-15'
+ note: "The force that entered on 15 May. Two of the note's sources agree on the value (O'Ballance; the CIA's summary for the week to 19 May), and Glubb's snippet gives it too. No Israeli source in the note gives one."
+ sources:
+ # O'Ballance, The Arab-Israeli War 1948 (1956), pp. 77 and 90: "hard put to raise 10,000 men for the initial invasion force".
+ - {url: 'https://archive.org/details/in.ernet.dli.2015.51540', checked: '2026-10-13'}
+ # CIA Near East/Africa Branch, Intelligence Summary, week ending 19 May 1948: 10,000 Egyptian troops near the border, some already in Palestine.
+ - {url: 'https://archive.org/details/cia-readingroom-document-cia-rdp78-01617a004700010003-6', checked: '2026-10-13'}
+ # Glubb, A Soldier with the Arabs (1957), full-text search snippet: Egypt 10,000 of the troops "which took the field on May 15th, 1948".
+ - {url: 'https://archive.org/details/soldierwitharabs0000glub', checked: '2026-10-13'}
+ anchors:
+ - place: Gaza
+ lon: 34.45972
+ lat: 31.5075
+ from: '1948-05-15'
+ to: '1948-05-21'
+ end_basis: source
+ end_note: "Dupuy p. 58: the coastal force reached Majdal about 21 to 24 May; the window ends on the first of those days."
+ note: "Dupuy pp. 56-57: the coastal brigade group crossed at Rafah and entered Gaza in the early evening of 15 May. The Arab armies' joint headquarters gave Gaza as the start of the Egyptian line (AP, 13 June)."
+ sources:
+ # Dupuy, Elusive Victory (1978), pp. 56-57.
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+ # The joint headquarters' truce lines, AP, Amman, 13 June 1948 (San Francisco Chronicle, 14 June): "Beginning at Gaza and running northward to Majdal and Isdud".
+ - {url: 'https://cojs.org/arabs_give_front-line_positions-_associated_press-_san_francisco_chronicle-_june_14-_1948/', checked: '2026-10-13'}
+ - {url: 'https://en.wikipedia.org/wiki/Gaza_City', checked: '2026-10-17'}
+ - place: Isdud, the forward base
+ lon: 34.66167
+ lat: 31.75361
+ from: '1948-06-11'
+ to: '1948-07-08'
+ end_basis: source
+ end_note: "en.wiki 1948 Arab-Israeli War: the first truce ran from 11 June to 8 July 1948, when the Egyptian forces renewed the fighting. Dupuy p. 73: the four weeks of truce expired on 8 July; p. 80: the Egyptian attack on the morning of 8 July."
+ note: "The force's forward post at the first truce, dug in north of the town (Dupuy p. 58; O'Ballance p. 93; the joint headquarters' line, AP, 13 June). It stands together with the rear base at Majdal (owner, 17 October 2026, on #860: \"Isdud is the forward base and Majdal the rear base\")."
+ sources:
+ # Dupuy p. 58: Isdud entered on 29 May; dug in north of the town.
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+ # O'Ballance p. 93.
+ - {url: 'https://archive.org/details/in.ernet.dli.2015.51540', checked: '2026-10-13'}
+ - {url: 'https://cojs.org/arabs_give_front-line_positions-_associated_press-_san_francisco_chronicle-_june_14-_1948/', checked: '2026-10-13'}
+ - {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-17'}
+ - {url: 'https://en.wikipedia.org/wiki/Isdud', checked: '2026-10-17'}
+ # The rear base, at the same dates as the forward base (owner, 17 October 2026, on #860). This row is not drawn, so its
+ # two anchors may overlap; a drawn row stands at one place at a time.
+ - place: Majdal, the rear base
+ lon: 34.56667
+ lat: 31.66667
+ from: '1948-06-11'
+ since: 24 May 1948
+ to: '1948-07-08'
+ end_basis: source
+ end_note: "en.wiki 1948 Arab-Israeli War: the first truce ran from 11 June to 8 July 1948, when the Egyptian forces renewed the fighting. Dupuy p. 73: the four weeks of truce expired on 8 July; p. 80: the Egyptian attack on the morning of 8 July."
+ note: "en.wiki 1948 Arab-Israeli War: on 24 May the Egyptians reached Majdal and made it their headquarters. Dupuy p. 58: the coastal force reached Majdal about 21 to 24 May. The joint headquarters' truce line runs from Gaza northward to Majdal and Isdud (AP, 13 June). The coordinates are modern Ashkelon's (the research note's convention)."
+ sources:
+ - {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-17'}
+ # Dupuy p. 58.
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+ # AP, Amman, 13 June 1948: "Beginning at Gaza and running northward to Majdal and Isdud".
+ - {url: 'https://cojs.org/arabs_give_front-line_positions-_associated_press-_san_francisco_chronicle-_june_14-_1948/', checked: '2026-10-13'}
+ - {url: 'https://en.wikipedia.org/wiki/Ashkelon', checked: '2026-10-17'}
+ sources:
+ # O'Ballance pp. 89-90 and Dupuy p. 55: two brigade groups of unequal size; Dupuy p. 55: the inland column crossed at al-Auja.
+ - {url: 'https://archive.org/details/in.ernet.dli.2015.51540', checked: '2026-10-13'}
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+- id: arab_legion
+ name: Arab Legion
+ number: One division in the field (the 1st, 3rd and 4th brigades)
+ service: army
+ side: jordan
+ echelon: division
+ sector: "Transjordan's army. On 15 May 1948 its division headquarters was at Ramallah, with the 1st Brigade on the hills northwest of Jerusalem and the 3rd Brigade behind Bab al-Wad. At the first truce it held Latrun and the hills over the Tel Aviv-Jerusalem road."
+ wikipedia_only: false
+ status: draft
+ strength:
+ value: 5000
+ as_of: '1948-05-15'
+ note: "The Legion in the field at the start (O'Ballance; as_of is his date). The IDF chief of operations' count, in Ben-Gurion's diary, gives the same figure for the Legion in Palestine on 20 May."
+ sources:
+ # O'Ballance pp. 80 and 137: about 6,000 in all, about 5,000 in the field.
+ - {url: 'https://archive.org/details/in.ernet.dli.2015.51540', checked: '2026-10-13'}
+ # Ben-Gurion's diary, 20 May 1948 (Ben-Gurion Archive, English translation): about 5,000 of the Legion in Palestine, by the report of the IDF chief of operations.
+ - {url: 'https://bengurionarchive.bgu.ac.il/en/node/13741', checked: '2026-10-13'}
+ anchors:
+ - place: Ramallah
+ lon: 35.20167
+ lat: 31.89694
+ from: '1948-05-15'
+ to: '1948-06-11'
+ end_basis: source
+ end_note: "From 11 June the row stands at Latrun, the Legion's position at the first truce (al-Tall pp. 180-181; Dupuy p. 65; AP, 13 June). Ramallah stayed in its hands: the row moves to the front, not the headquarters."
+ note: "al-Tall pp. 84-85: the division's headquarters at Ramallah on 15 May, with the 3rd and 5th battalions; al-Qawuqji has the 4th Brigade's commander and staff in Ramallah on 18 May."
+ sources:
+ # al-Tall, Karithat Filastin (1959), pp. 84-85: the positions of the army's units on 15 May 1948 (Arabic OCR; the column alignment is reconstructed).
+ - {url: 'https://archive.org/details/elshandawily9575', checked: '2026-10-13'}
+ # al-Qawuqji, "Memoirs, 1948, Part II", Journal of Palestine Studies 2(1), pp. 29-30.
+ - {url: 'https://www.palquest.org/sites/default/files/al-Qawuqji_-_part_II.pdf', checked: '2026-10-13'}
+ - {url: 'https://www.wikidata.org/wiki/Q158119', checked: '2026-10-17'}
+ - place: Latrun
+ lon: 34.98139
+ lat: 31.83194
+ from: '1948-06-11'
+ to: '1948-07-08'
+ end_basis: source
+ end_note: "en.wiki 1948 Arab-Israeli War: the first truce ran from 11 June to 8 July 1948. Dupuy p. 73: the four weeks of truce expired on 8 July."
+ note: "al-Tall pp. 180-181: the 4th Battalion held Latrun to the truce; Dupuy p. 65: the 2nd and 4th held it by early June; the joint headquarters' line names it (AP, 13 June). No date before 17 May is used: Latrun on 15 May rests on al-Tall alone (the note, section 8)."
+ sources:
+ - {url: 'https://archive.org/details/elshandawily9575', checked: '2026-10-13'}
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+ - {url: 'https://cojs.org/arabs_give_front-line_positions-_associated_press-_san_francisco_chronicle-_june_14-_1948/', checked: '2026-10-13'}
+ - {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-17'}
+ - {url: 'https://en.wikipedia.org/wiki/Latrun', checked: '2026-10-17'}
+ sources:
+ # al-Tall pp. 84-85: the 1st Brigade (1st and 3rd battalions), the 3rd (2nd and 4th) and the 4th (5th and 6th), and the division's headquarters; O'Ballance p. 136: the division in the field.
+ - {url: 'https://archive.org/details/elshandawily9575', checked: '2026-10-13'}
+ - {url: 'https://archive.org/details/in.ernet.dli.2015.51540', checked: '2026-10-13'}
+- id: syrian_army
+ name: Syrian Army
+ number: The 1st and 2nd Infantry Brigades
+ service: army
+ side: syria
+ echelon: force
+ sector: "Syria's force on the Jordan. The 1st Infantry Brigade crossed south of Lake Tiberias on 15 May 1948 toward Samakh, and the 2nd had its base at the Bnot Yaakov bridge. At the first truce it held a bridgehead west of the Jordan at Mishmar HaYarden, taken on 10 June."
+ wikipedia_only: false
+ status: draft
+ to_verify:
+ - "The 15 May strength rests on two full-text search snippets that give the same figures, Glubb (1957) and Rogan and Shlaim (2007, chapter not identified), and the second reproduces Glubb's figures and total (review of #860), so the figure rests on Glubb alone, merged as data only (owner, 17 October 2026, on #860). Check both printed pages (the note, section 9)."
+ strength:
+ value: 3000
+ as_of: '1948-05-15'
+ note: "The Syrian troops that took the field on 15 May. No Israeli source in the note gives a figure."
+ sources:
+ # Glubb (1957), snippet: Syria 3,000 of the troops "which took the field on May 15th, 1948".
+ - {url: 'https://archive.org/details/soldierwitharabs0000glub', checked: '2026-10-13'}
+ # Rogan and Shlaim (eds.), The War for Palestine (2nd ed., 2007), snippet: "10,000 Egyptian troops, 3,000 Syrians, 3,000 Iraqis, and 1,000 Lebanese".
+ - {url: 'https://archive.org/details/warforpalestiner0000unse_t0u0', checked: '2026-10-13'}
+ anchors:
+ - place: South of Lake Tiberias, before Samakh
+ lon: 35.5875
+ lat: 32.705
+ from: '1948-05-15'
+ to: '1948-05-18'
+ end_basis: source
+ end_note: "Dupuy p. 48: the brigade took Samakh on 18 May."
+ note: "Dupuy p. 47: the 1st Brigade crossed south of the lake at 09:00 on 15 May toward Samakh and was pinned down near the Samakh position. Morris (snippet; p. 251 as the arab-units-research note carries it) has its camp at Tel al-Qasr on 15-16 May. The coordinates are Samakh's."
+ sources:
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+ - {url: 'https://archive.org/details/1948historyoffir00morr', checked: '2026-10-13'}
+ - {url: 'https://en.wikipedia.org/wiki/Samakh,_Tiberias', checked: '2026-10-17'}
+ - place: The bridgehead at Mishmar HaYarden
+ lon: 35.59972
+ lat: 33.00278
+ from: '1948-06-11'
+ to: '1948-07-08'
+ end_basis: source
+ end_note: "en.wiki 1948 Arab-Israeli War: the first truce ran from 11 June to 8 July 1948. Dupuy p. 73: the four weeks of truce expired on 8 July."
+ note: "Taken on 10 June (Dupuy p. 50; Lorch, snippet), and listed as a Syrian position by the joint headquarters (AP, 13 June) and by the CIA's summary for the week to 16 June. Which Syrian brigade took it is contested (the note, section 8, item 11), so the row names none."
+ sources:
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+ # Lorch, The Edge of the Sword (1961), full-text search snippet.
+ - {url: 'https://archive.org/details/edgeofsword00lorc', checked: '2026-10-13'}
+ - {url: 'https://cojs.org/arabs_give_front-line_positions-_associated_press-_san_francisco_chronicle-_june_14-_1948/', checked: '2026-10-13'}
+ # CIA Intelligence Summary, week ending 16 June 1948.
+ - {url: 'https://archive.org/details/cia-readingroom-document-cia-rdp78-01617a004700010007-2', checked: '2026-10-13'}
+ - {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-17'}
+ - {url: 'https://en.wikipedia.org/wiki/Mishmar_HaYarden_(moshava)', checked: '2026-10-17'}
+ sources:
+ # Dupuy p. 47: the 1st Infantry Brigade (two infantry battalions, an armoured car battalion and a tank company); p. 49: the 2nd Infantry Brigade near the Bnot Yaakov bridge.
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+- id: iraqi_expeditionary_force
+ name: Iraqi Expeditionary Force
+ number: One infantry brigade and one armoured battalion
+ service: army
+ side: iraq
+ echelon: force
+ sector: "Iraq's force in Palestine. On 15 May 1948 it forded the Jordan south of Ma'ad and took the high ground over Gesher; it then crossed at the Damiya and Allenby bridges to Nablus and took over that sector from the Arab Legion. At the first truce it held a line from Jisr al-Majami through Jenin and Tulkarm south to Ras al-Ayn."
+ wikipedia_only: false
+ status: draft
+ to_verify:
+ - "The 15 May strength rests on two full-text search snippets that give the same figures, Glubb (1957) and Rogan and Shlaim (2007, chapter not identified), and the second reproduces Glubb's figures and total (review of #860), so the figure rests on Glubb alone, merged as data only (owner, 17 October 2026, on #860). Check both printed pages (the note, section 9)."
+ - "The 15 May window holds the game's first day only, by the owner's decision (17 October 2026, on #860), though Dupuy p. 51 has the force at Gesher on 16 and 17 May too and the diary of 16 May has it attacking farms in the Jordan Valley."
+ strength:
+ value: 3000
+ as_of: '1948-05-15'
+ note: "The Iraqi troops that took the field on 15 May. No Israeli source in the note gives a figure."
+ sources:
+ # Glubb (1957), snippet: Iraq 3,000 of the troops "which took the field on May 15th, 1948".
+ - {url: 'https://archive.org/details/soldierwitharabs0000glub', checked: '2026-10-13'}
+ # Rogan and Shlaim (eds., 2007), snippet: "... 3,000 Iraqis ...".
+ - {url: 'https://archive.org/details/warforpalestiner0000unse_t0u0', checked: '2026-10-13'}
+ anchors:
+ - place: The high ground over Gesher
+ lon: 35.55222
+ lat: 32.62139
+ from: '1948-05-15'
+ to: '1948-05-16'
+ end_basis: source
+ end_note: "Dupuy p. 51 has the force attacking Gesher the next afternoon (16 May) and again the next day (17 May), and Ben-Gurion's diary of 16 May has the Iraqi army attacking farms in the Jordan Valley. The window keeps 15 May only, by the owner's decision (17 October 2026, on #860)."
+ note: "Dupuy p. 51: the main force forded the Jordan near the pipeline south of Ma'ad and took the high ground over Gesher. Ben-Gurion's diary, 16 May: attacks on the Jordan valley farms from the direction of Naharayim. The coordinates are Gesher's."
+ sources:
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+ # Ben-Gurion's diary, 16 May 1948.
+ - {url: 'https://bengurionarchive.bgu.ac.il/en/node/12540', checked: '2026-10-13'}
+ - {url: 'https://en.wikipedia.org/wiki/Gesher,_Israel', checked: '2026-10-17'}
+ - place: Jenin
+ lon: 35.3
+ lat: 32.46111
+ from: '1948-06-11'
+ to: '1948-07-08'
+ end_basis: source
+ end_note: "en.wiki 1948 Arab-Israeli War: the first truce ran from 11 June to 8 July 1948. Dupuy p. 73: the four weeks of truce expired on 8 July."
+ note: "The northern part of the Iraqi line at the first truce, from Jisr al-Majami to Lajjun and Jenin (the joint headquarters' line, AP, 13 June; Dupuy p. 52)."
+ sources:
+ - {url: 'https://cojs.org/arabs_give_front-line_positions-_associated_press-_san_francisco_chronicle-_june_14-_1948/', checked: '2026-10-13'}
+ # Dupuy p. 52.
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+ - {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-17'}
+ - {url: 'https://en.wikipedia.org/wiki/Jenin', checked: '2026-10-17'}
+ sources:
+ # Dupuy p. 50: one infantry brigade and one armoured battalion; p. 51: the crossings to Nablus; O'Ballance p. 115: it took over the Nablus sector from a Legion battalion.
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+ - {url: 'https://archive.org/details/in.ernet.dli.2015.51540', checked: '2026-10-13'}
+- id: lebanese_army
+ name: Lebanese Army
+ number: The force that took the field
+ service: army
+ side: lebanon
+ echelon: force
+ sector: "Lebanon's army. On 15 May 1948 it stood at the frontier (the CIA's summary for the week to 26 May: on the frontier and in no hurry to attack). The fighting at al-Malikiyya on 15 May was the Arab Liberation Army's (owner ruling, #226). On 5-6 June its 3rd Battalion, with the ALA and a Syrian battalion, retook al-Malikiyya and Qadas."
+ hidden: "No place two sources agree on for 15 May or 11 June 1948: on 15 May the sources put it only at the frontier, and who held al-Malikiyya on 11 June is contested (the note, section 8, item 12)."
+ wikipedia_only: false
+ status: draft
+ to_verify:
+ - "The 15 May strength rests on two full-text search snippets that give the same figures, Glubb (1957) and Rogan and Shlaim (2007, chapter not identified), and the second reproduces Glubb's figures and total (review of #860), so the figure rests on Glubb alone, merged as data only (owner, 17 October 2026, on #860). O'Ballance (p. 82) and Morris (p. 258, carried) count the whole army instead, in a larger figure. Check the printed pages (the note, section 9)."
+ strength:
+ value: 1000
+ as_of: '1948-05-15'
+ note: "The Lebanese troops that took the field on 15 May. No Israeli source in the note gives a figure."
+ sources:
+ # Glubb (1957), snippet: Lebanon 1,000 of the troops "which took the field on May 15th, 1948".
+ - {url: 'https://archive.org/details/soldierwitharabs0000glub', checked: '2026-10-13'}
+ # Rogan and Shlaim (eds., 2007), snippet: "... and 1,000 Lebanese".
+ - {url: 'https://archive.org/details/warforpalestiner0000unse_t0u0', checked: '2026-10-13'}
+ anchors: []
+ sources:
+ # CIA Intelligence Summary, week ending 26 May 1948.
+ - {url: 'https://archive.org/details/cia-readingroom-document-cia-rdp78-01617a004700010004-5', checked: '2026-10-13'}
+ # en.wiki: on 5-6 June the Lebanese Army's 3rd Battalion, with ALA fighters and a Syrian battalion, retook al-Malkiyya and Qadas.
+ - {url: 'https://en.wikipedia.org/wiki/1948_Arab%E2%80%93Israeli_War', checked: '2026-10-17'}
+ # Dupuy p. 47: the combined attack that retook al-Malikiyya on 6 June.
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-10-13'}
+- id: arab_liberation_army
+ name: Arab Liberation Army
+ number: The Arab League's volunteer army
+ service: army
+ side: ala
+ echelon: force
+ sector: "The Arab League's volunteer army, in Palestine from January 1948, with its headquarters at Jaba' from March. On 15 May 1948 it was withdrawing from central Palestine as the regular armies entered; its Second Yarmuk Battalion held the al-Malikiyya, Qadas and Bar'am sector on the Lebanese border."
+ wikipedia_only: false
+ status: draft
+ to_verify:
+ - "al-Malikiyya on 15 May follows the owner's ruling for the later research (#226, ruling 2), which he.wiki reports; Lorch has a Lebanese counter-attack there. The anchor rests on he.wiki until the later research (the Lebanese official account) is read."
+ strength:
+ value: 4000
+ as_of: '1948-05-15'
+ note: "The army's size as it was raised from January 1948, not the al-Malikiyya garrison. Both sources give it undated (the Journal of Palestine Studies' editors; Shlaim); as_of is the game's first day. No Israeli source in the note gives one."
+ sources:
+ # al-Qawuqji, "Memoirs, 1948, Part I", Journal of Palestine Studies 1(4), editor's note, p. 27: almost 4,000.
+ - {url: 'https://www.palquest.org/sites/default/files/al-Qawuqji_-_part_I.pdf', checked: '2026-10-13'}
+ # Shlaim, Oxford seminar page (archived copy; the live page returns 404): about 4,000.
+ - {url: 'https://web.archive.org/web/2015/http://users.ox.ac.uk/~ssfc0005/Session%201%20-%20Introduction.html', checked: '2026-10-13'}
+ anchors:
+ - place: al-Malikiyya
+ lon: 35.50806
+ lat: 33.10528
+ from: '1948-05-15'
+ to: '1948-05-29'
+ end_basis: source
+ end_note: "he.wiki Battles of Malkiyya: a Yiftach Brigade armoured column crossed into Lebanon on the night of 28 May, and the village's defenders left it to the Palmach."
+ note: "he.wiki Battles of Malkiyya: the research agrees that the Lebanese Army did not invade on 15 May and that the Palmach met ALA units at al-Malikiyya; the Second Yarmuk Battalion held the al-Malikiyya, Qadas and Bar'am sector. The owner ruled for this account (#226, ruling 2)."
+ sources:
+ - {url: 'https://he.wikipedia.org/wiki/%D7%A7%D7%A8%D7%91%D7%95%D7%AA_%D7%9E%D7%9C%D7%9B%D7%99%D7%94', checked: '2026-10-17'}
+ - {url: 'https://en.wikipedia.org/wiki/Al-Malkiyya', checked: '2026-10-17'}
+ sources:
+ # al-Qawuqji, part I, p. 27: the headquarters at Jaba' from March; the editor's note: in Palestine from January 1948. Part II, p. 30: units withdrawn from the Jerusalem area by 18 May.
+ - {url: 'https://www.palquest.org/sites/default/files/al-Qawuqji_-_part_I.pdf', checked: '2026-10-13'}
+ - {url: 'https://www.palquest.org/sites/default/files/al-Qawuqji_-_part_II.pdf', checked: '2026-10-13'}
+ # en.wiki: the Second Yarmuk Battalion entered Palestine on 8 January 1948.
+ - {url: 'https://en.wikipedia.org/wiki/Arab_Liberation_Army', checked: '2026-10-17'}
diff --git a/docs/units.md b/docs/units.md
index 42034e9c7..af64c3b27 100644
--- a/docs/units.md
+++ b/docs/units.md
@@ -116,6 +116,43 @@ After the staff review the controller ruled:
asks for them (`&units`, `-units`). The editor's promo renders draw them only with `-units`.
- **The promo's badge, a wider trio, sourced headgear; the ring stays selection-only (I6).** See "Look".
+### The Arab forces: data only
+
+The file also holds the Arab forces of 15 May and 11 June 1948 (#740, Phase 5 PR 1), one row per force, with `side`,
+`echelon` and one `strength` (owner's decision on #570). The source is `research_notes/GDD phase 5/arab-forces-1948.md`,
+section 10: a row stands only where two or more of the note's sources agree on the place and the date, or where the owner
+ruled (al-Malikiyya on 15 May is the ALA's, #226 ruling 2).
+
+| Row | Side | 15 May 1948 | 11 June 1948 (the first truce, to 8 July) | Strength (15 May) |
+|---|---|---|---|---|
+| Egyptian Expeditionary Force | egypt | Gaza (to 21 May) | Isdud, the forward base, and Majdal, the rear base | 10,000 |
+| Arab Legion | jordan | Ramallah (to 11 June) | Latrun | 5,000 |
+| Syrian Army | syria | south of Lake Tiberias, before Samakh (to 18 May) | the Mishmar HaYarden bridgehead | 3,000 |
+| Iraqi Expeditionary Force | iraq | the high ground over Gesher (15 May only, by the owner's decision) | Jenin | 3,000 |
+| Lebanese Army | lebanon | hidden: no place two sources agree on | | 1,000 |
+| Arab Liberation Army | ala | al-Malikiyya (to 29 May) | | 4,000 |
+
+- **One value per strength** (CONTENT_POLICY section 1; Q-START-3): from an Israeli source where one gives it, else the
+ value two of the note's sources agree on. Every row gives the 15 May strength only: no source in the note dates one on
+ 11 June (owner, 17 October 2026, #740: "15 May strength only for the rows that have no sourced 11 June figure ...
+ Nothing is invented"). The Syrian, Iraqi and Lebanese figures rest on Glubb's figures alone (Rogan and Shlaim
+ reproduce them), merged as data only and marked `to_verify` (owner, 17 October 2026, on #860).
+- **Two places at once.** At the first truce the Egyptian row stands at both its forward base (Isdud) and its rear base
+ (Majdal) (owner, 17 October 2026, on #860). Its two anchors overlap in time. Only a row the map does not draw may do
+ that: a drawn row has one token, at one place at a time. How PR 17 draws such a row is its decision.
+- **Not drawn** (owner, 17 October 2026, #740): "Data only. PR 1 adds the sourced Arab rows to `units_1948.yaml` and
+ filters them off the map in `UnitRoster` until Phase 5 PR 17's figures land, after its sensitivity review. Nothing is
+ drawn with IDF figures, and there is no placeholder art." `UnitRoster.OnMap` (not hidden, and `side: israel`) keeps
+ both the roster and the placer to Israel's rows, so the Arab rows give no token, take no spot and clear no ground for
+ the kits; the goldens do not move. Test: `UnitsInPlayTests.OnlyIsraelsRowsAreDrawnTheArabForcesAreDataOnly`.
+- **Not in the file yet:** the local Arab forces (the note places them only beside places its "Conventions" lists as
+ sensitive and does not describe), the Legion's Jerusalem battalions, the Egyptian eastern force, the ALA and
+ the Lebanese Army on 11 June (al-Malikiyya's holder is contested), and the Saudi, Sudanese and Yemeni contingents (not
+ units of their own, Q-START-4). The side `local_arab_forces` is known to the loader for them.
+- The Python tests check the same rules in CI (`tools/tests/test_units_1948.py`: `test_every_side_is_known`,
+ `test_strength_has_one_value_and_a_source`, `test_no_anchor_rests_on_one_source_where_the_note_says_contested`,
+ `test_the_arab_rows_name_no_sensitive_place`).
+
### What the player sees
| Unit | Positions (dated, from the sources) | Ends |
@@ -345,8 +382,8 @@ figures tall standing at the base's back edge. `UnitPlinth` and `UnitFlags` draw
before measuring ours. The figures read darker than their base, as T29's (0.5–0.9 of its luma), at those looks and at
gameplay03 (`TheFiguresReadDarkerThanTheirBaseAsT29`, #645: the shirts at 0.9 of #559's paint, read beside the chest
brace, which #559's sample point hit).
-- **Flag:** by the unit's `side` in `units_1948.yaml` (`israel` on every row today; the Arab states' sides are known to the
- loader for #226). The cloth is 0.52 of a figure's height tall and 0.72 wide, on a pole 1.5 tall at 0.9 of the base's
+- **Flag:** by the unit's `side` in `units_1948.yaml` (`israel` on every row the map draws; the Arab forces' rows are
+ data only, see "The Arab forces: data only"). The cloth is 0.52 of a figure's height tall and 0.72 wide, on a pole 1.5 tall at 0.9 of the base's
radius, behind the trio and east of the badge (`TheFlagIsAboutHalfAFigureTallOnTheBasesEdge`). The cloth is drawn
unlit (white, and a blue standing for the proclamation's "dark sky-blue"), so it reads white under the map's light and
grade as T29's. Owner ruling (2026-10-15): the flag turns about its pole to face the camera (`UnitFlagFacing`), so it
diff --git a/tools/tests/test_units_1948.py b/tools/tests/test_units_1948.py
index 509c09426..94ff6bc18 100644
--- a/tools/tests/test_units_1948.py
+++ b/tools/tests/test_units_1948.py
@@ -1,6 +1,7 @@
"""content/map/units_1948.yaml (docs/units.md, "Units in play"): every position is sourced and every window ends for a
stated reason (review C1). The C# side (UnitData.Parse, UnitsInPlayTests) enforces the same rules in the game; this
keeps them in CI's Python job too."""
+import re
from datetime import date
from pathlib import Path
from urllib.parse import urlparse
@@ -27,6 +28,7 @@ def sources(u):
out += t['sources']
out += u.get('headgear_sources') or []
out += (u.get('disbanded') or {}).get('sources') or []
+ out += (u.get('strength') or {}).get('sources') or []
return out
@@ -76,7 +78,7 @@ def test_every_source_has_a_url_and_a_check_date_and_wikipedia_only_matches_its_
def test_hidden_brigades_and_headgear():
- assert {u['id'] for u in UNITS if u.get('hidden')} == {'brigade_8', 'oded'}
+ assert {u['id'] for u in UNITS if u.get('hidden') and u['side'] == 'israel'} == {'brigade_8', 'oded'}
for u in UNITS:
if u.get('hidden'):
assert u['anchors'] == []
@@ -100,11 +102,146 @@ def test_a_window_ends_at_the_earliest_sourced_move():
assert shown('carmeli', date(1948, 7, 10)) and not shown('carmeli', date(1948, 9, 1))
assert shown('givati', date(1948, 10, 1)) and not shown('givati', date(1948, 12, 15))
-# The sides of 1948 a unit can belong to (UnitData.Sides): Israel and the Arab states whose armies entered the war. Every row
-# names its side; the map flies that side's flag where one is sourced (UnitFlags).
-SIDES = {'israel', 'egypt', 'jordan', 'syria', 'iraq', 'lebanon'}
+# The sides a unit can belong to, as the loader knows them (UnitData.Sides in the C# file the game reads).
+UNIT_DATA_CS = ROOT / 'unity/Assets/Scripts/Map/Units/UnitData.cs'
+
+
+def loader_sides():
+ text = UNIT_DATA_CS.read_text(encoding='utf-8')
+ m = re.search(r'Sides\s*=\s*new\[\]\s*\{([^}]*)\}', text)
+ assert m, 'UnitData.Sides not found'
+ israel = re.search(r'const string Israel = "([a-z_]+)"', text).group(1)
+ return {israel if x.strip() == 'Israel' else x.strip().strip('"') for x in m.group(1).split(',')}
+
+
+SIDES = loader_sides()
+# Q-START-4 (owner, 15 October 2026, "Armies + ALA + local forces"; #375): Israel, the five Arab states whose armies
+# entered the war, the Arab Liberation Army and the local Arab forces, each a side of its own (impact plan section 4.2).
+# The Saudi, Sudanese and Yemeni contingents are not sides of their own.
+EXPECTED_SIDES = {'israel', 'egypt', 'jordan', 'syria', 'iraq', 'lebanon', 'ala', 'local_arab_forces'}
+ECHELONS = {'force', 'division', 'brigade', 'battalion', 'company'}
def test_every_unit_names_a_known_side():
for u in UNITS:
assert u.get('side') in SIDES, f"{u['id']}: side {u.get('side')!r} is not one of {sorted(SIDES)}"
+
+
+def test_every_side_is_known():
+ assert SIDES == EXPECTED_SIDES, f'the loader knows {sorted(SIDES)}; Q-START-4 names {sorted(EXPECTED_SIDES)}'
+ for u in UNITS:
+ assert u['side'] in EXPECTED_SIDES, u['id']
+
+
+def books(srcs):
+ """The distinct sources that are not Wikipedia or Wikidata: an anchor's coordinates page never counts as a second
+ source (review of #860 at 00d3ba15, must-fix 2)."""
+ return {s['url'] for s in srcs if not wiki(s)}
+
+
+def arab_rows():
+ return [u for u in UNITS if u['side'] != 'israel']
+
+
+# A copied range ("6,000 to 12,000", "2,000-3,000"): the research note keeps the conflicts; the file keeps one value.
+RANGE = re.compile(r'\d[\d,]*\s*(?:to|-|\u2013|\u2014)\s*\d')
+
+
+def test_strength_has_one_value_and_a_source():
+ """The owner's #570 decision: the Arab forces' rows carry `strength` and `echelon`. CONTENT_POLICY section 1: one
+ value per fact, never a range; Q-START-3: from an Israeli source where one gives it, else the value two of the note's
+ sources agree on. Every strength has its day (`as_of`) and its sources."""
+ rows = arab_rows()
+ assert rows, 'the Arab forces have rows (#740)'
+ for u in rows:
+ assert u.get('echelon') in ECHELONS, f"{u['id']}: echelon {u.get('echelon')!r} is not one of {sorted(ECHELONS)}"
+ st = u.get('strength')
+ assert isinstance(st, dict), f"{u['id']}: no strength"
+ assert set(st) <= {'value', 'as_of', 'note', 'sources'}, (u['id'], sorted(st))
+ v = st.get('value')
+ assert isinstance(v, int) and not isinstance(v, bool) and v > 0, f"{u['id']}: strength {v!r} is not one number"
+ assert GAME_START <= day(st['as_of']) <= date(1948, 6, 11), f"{u['id']}: strength as_of {st['as_of']}"
+ assert len(books(st.get('sources') or [])) >= 2, f"{u['id']}: strength rests on fewer than two sources (Q-START-3)"
+ assert not RANGE.search(str(st.get('note', ''))), f"{u['id']}: the strength note copies a range"
+ # Every row the file has today gives the 15 May strength only: no source in the note dates a strength on 11 June
+ # (arab-forces-1948.md, section 9; owner, 17 October 2026, #740: "15 May strength only ... Nothing is invented").
+ assert all(u['strength']['as_of'] == '1948-05-15' for u in rows)
+
+
+def near(a, lon, lat, km=3.0):
+ # Close enough to name the same place (degrees at this latitude: about 111 km north-south, 95 km east-west).
+ return ((a['lon'] - lon) * 95) ** 2 + ((a['lat'] - lat) * 111) ** 2 <= km ** 2
+
+
+def covers(a, d):
+ return day(a['from']) <= d < day(a['to'])
+
+
+LATRUN = (34.98139, 31.83194)
+MALIKIYYA = (35.50806, 33.10528)
+JERUSALEM_OLD_CITY = (35.2342, 31.7767)
+
+
+def test_no_anchor_rests_on_one_source_where_the_note_says_contested():
+ """arab-forces-1948.md section 8 and section 10. Latrun on 15 May rests on al-Tall alone (item 1), so no Legion
+ anchor holds Latrun before 17 May; the Legion in Jerusalem on 15 May is contested (item 2), so none stands there.
+ al-Malikiyya on 15 May is contested and ruled the ALA's (item 12; #226 ruling 2): an ALA anchor stands there and no
+ Lebanese one does; who held it on 11 June is contested, so no row stands there then. Every other anchor of an Arab
+ row cites at least two sources."""
+ rows = arab_rows()
+ anchors = [(u, a) for u in rows for a in u['anchors']]
+ assert anchors, 'the Arab forces have anchors (#740)'
+ for u, a in anchors:
+ where = f"{u['id']} {a['place']}"
+ if u['side'] == 'jordan':
+ assert not (near(a, *LATRUN) and day(a['from']) < date(1948, 5, 17)), f'{where}: Latrun on 15 May rests on al-Tall alone'
+ assert not (near(a, *JERUSALEM_OLD_CITY, km=5) and covers(a, GAME_START)), f'{where}: the Legion in Jerusalem on 15 May is contested'
+ if near(a, *MALIKIYYA):
+ assert u['side'] == 'ala' and covers(a, GAME_START) and not covers(a, date(1948, 6, 11)), \
+ f'{where}: al-Malikiyya is the ALA\'s on 15 May (ruling) and nobody\'s row on 11 June (contested)'
+ else:
+ assert len(books(a['sources'])) >= 2, f'{where}: rests on one source (a Wikipedia or Wikidata page for the coordinates does not count)'
+ assert any(u['side'] == 'ala' and near(a, *MALIKIYYA) and covers(a, GAME_START) for u, a in anchors), 'the ALA at al-Malikiyya on 15 May'
+ assert any(u['side'] == 'jordan' and near(a, *LATRUN) and covers(a, date(1948, 6, 11)) for u, a in anchors), 'the Legion at Latrun on 11 June'
+
+
+# The places the research note does not describe (arab-forces-1948.md, "Conventions"): the Arab rows say nothing of them.
+SENSITIVE = ('Kfar Etzion', 'Gush Etzion', 'Jewish Quarter', 'Nitzanim', 'Nitzanin', 'ניצנים', 'Lydda', 'Lod', 'Ramla', 'Ramle')
+
+
+def texts(x):
+ if isinstance(x, dict):
+ for v in x.values():
+ yield from texts(v)
+ elif isinstance(x, list):
+ for v in x:
+ yield from texts(v)
+ elif isinstance(x, str):
+ yield x
+
+
+def test_the_arab_rows_name_no_sensitive_place():
+ for u in arab_rows():
+ for t in texts(u):
+ for name in SENSITIVE:
+ assert not re.search(rf'\b{name}\b', t), f"{u['id']}: {name!r} in {t[:80]!r}"
+
+
+ISDUD = (34.66167, 31.75361)
+MAJDAL = (34.56667, 31.66667)
+
+
+def test_the_egyptian_force_has_its_forward_and_its_rear_base_at_the_truce():
+ """Owner, 17 October 2026, on #860 (question 4): "both places. Isdud is the forward base and Majdal the rear base."
+ At the first truce the Egyptian row stands at both, each anchor with at least two sources. The two may overlap in
+ time only on a row the map does not draw (UnitRoster.OnMap)."""
+ egypt = next(u for u in UNITS if u['id'] == 'egyptian_expeditionary_force')
+ truce = [a for a in egypt['anchors'] if covers(a, date(1948, 6, 11))]
+ assert any(near(a, *ISDUD) for a in truce), 'Isdud, the forward base, at the truce'
+ assert any(near(a, *MAJDAL) for a in truce), 'Majdal, the rear base, at the truce'
+ for a in truce:
+ assert len(books(a['sources'])) >= 2, a['place']
+ for u in UNITS:
+ if u['side'] == 'israel':
+ ends = [(day(a['from']), day(a['to'])) for a in u['anchors']]
+ assert all(ends[i - 1][1] <= ends[i][0] for i in range(1, len(ends))), f"{u['id']}: an Israeli row is at one place at a time"
diff --git a/unity/Assets/Scripts/Map/Units/UnitData.cs b/unity/Assets/Scripts/Map/Units/UnitData.cs
index fd5320bbf..2fa73e9c0 100644
--- a/unity/Assets/Scripts/Map/Units/UnitData.cs
+++ b/unity/Assets/Scripts/Map/Units/UnitData.cs
@@ -65,6 +65,16 @@ namespace Statecraft.Game.Map.Units
public List<UnitSource> Sources { get; set; } = new List<UnitSource>();
}
+ /// <summary>A force's sourced strength: one number (CONTENT_POLICY section 1, never a range), the day it is for, and
+ /// its sources (the owner's decision on #570; Q-START-3 picks the value).</summary>
+ public sealed class UnitStrength
+ {
+ public int Value { get; set; }
+ public string AsOf { get; set; } = "";
+ public string? Note { get; set; }
+ public List<UnitSource> Sources { get; set; } = new List<UnitSource>();
+ }
+
/// <summary>A unit's sourced disbandment: no window may run past it.</summary>
public sealed class UnitDisbanded
{
@@ -83,6 +93,10 @@ namespace Statecraft.Game.Map.Units
/// <summary>Whose formation it is (<see cref="UnitData.Sides"/>): the token flies that side's flag where one is
/// sourced (<see cref="UnitFlags"/>).</summary>
public string Side { get; set; } = "";
+ /// <summary>The formation's level (<see cref="UnitData.Echelons"/>); every row of a side other than Israel gives it.</summary>
+ public string? Echelon { get; set; }
+ /// <summary>The force's sourced strength; every row of a side other than Israel gives it.</summary>
+ public UnitStrength? Strength { get; set; }
public string? Formed { get; set; }
public string? FirstCommander { get; set; }
public string Sector { get; set; } = "";
@@ -119,6 +133,7 @@ namespace Statecraft.Game.Map.Units
if (Aircraft != null) foreach (var t in Aircraft) foreach (var s in t.Sources) yield return s;
if (HeadgearSources != null) foreach (var s in HeadgearSources) yield return s;
if (Disbanded != null) foreach (var s in Disbanded.Sources) yield return s;
+ if (Strength != null) foreach (var s in Strength.Sources) yield return s;
}
}
@@ -130,11 +145,14 @@ namespace Statecraft.Game.Map.Units
{
public const string DefaultFileName = "units_1948.yaml";
public const string Army = "army", Air = "air", Navy = "navy";
- /// <summary>The sides of 1948 a unit can belong to: Israel and the Arab states whose armies entered the war (the
- /// fronts of <see cref="FrontArmistice"/>, and Iraq). Only Israel's formations are in the file today (#226 adds the
- /// Arab forces).</summary>
+ /// <summary>The sides of 1948 a unit can belong to (Q-START-4, owner, 15 October 2026: "Armies + ALA + local
+ /// forces"): Israel, the Arab states whose armies entered the war (the fronts of <see cref="FrontArmistice"/>, and
+ /// Iraq), the Arab Liberation Army and the local Arab forces, each under its own name. The map draws only Israel's
+ /// rows (<see cref="UnitRoster.OnMap"/>; owner, 17 October 2026, #740).</summary>
public const string Israel = "israel";
- public static readonly IReadOnlyList<string> Sides = new[] { Israel, "egypt", "jordan", "syria", "iraq", "lebanon" };
+ public static readonly IReadOnlyList<string> Sides = new[] { Israel, "egypt", "jordan", "syria", "iraq", "lebanon", "ala", "local_arab_forces" };
+ /// <summary>The levels a row's formation can be: a state's whole force in the field, or one formation of it.</summary>
+ public static readonly IReadOnlyList<string> Echelons = new[] { "force", "division", "brigade", "battalion", "company" };
public const string AviaS199 = "avia-s199", Spitfire = "spitfire";
public const string EndBySource = "source", EndByFrontArmistice = "front_armistice";
public const string SlouchHat = "slouch_hat", SteelHelmet = "steel_helmet", WoolCap = "wool_cap";
@@ -197,6 +215,16 @@ namespace Statecraft.Game.Map.Units
if (!Services.Contains(u.Service)) throw new InvalidDataException($"{at} has unknown service '{u.Service}' (army, air or navy)");
if (!((IList<string>)Sides).Contains(u.Side)) throw new InvalidDataException($"{at} has unknown side '{u.Side}' ({string.Join(", ", Sides)})");
if (string.IsNullOrWhiteSpace(u.Name) || string.IsNullOrWhiteSpace(u.Sector)) throw new InvalidDataException($"{at} needs a name and a sector");
+ if (u.Echelon != null && !((IList<string>)Echelons).Contains(u.Echelon)) throw new InvalidDataException($"{at} has unknown echelon '{u.Echelon}' ({string.Join(", ", Echelons)})");
+ if (u.Side != Israel && (u.Echelon == null || u.Strength == null)) throw new InvalidDataException($"{at} is a row of {u.Side}, so it needs an echelon and a strength (#570)");
+ if (u.Strength != null)
+ {
+ if (u.Strength.Value <= 0) throw new InvalidDataException($"{at} strength must be one number above 0");
+ try { Day(u.Strength.AsOf); }
+ catch (FormatException e) { throw new InvalidDataException($"{at} strength as_of: {e.Message}", e); }
+ u.Strength.Sources ??= new List<UnitSource>();
+ if (u.Strength.Sources.Count == 0) throw new InvalidDataException($"{at} strength has no source");
+ }
var signOff = Statecraft.Sim.ReviewRecord.Problem(u.ReviewedByGiven, u.ReviewedBy, u.ReviewedOnGiven, u.ReviewedOn);
if (signOff != null) throw new InvalidDataException($"{at} {signOff.Value.field}: {signOff.Value.message}");
if (u.Disbanded != null)
diff --git a/unity/Assets/Scripts/Map/Units/UnitPlacer.cs b/unity/Assets/Scripts/Map/Units/UnitPlacer.cs
index 48a642960..60fc1c91a 100644
--- a/unity/Assets/Scripts/Map/Units/UnitPlacer.cs
+++ b/unity/Assets/Scripts/Map/Units/UnitPlacer.cs
@@ -72,7 +72,7 @@ namespace Statecraft.Game.Map.Units
var result = new Dictionary<UnitAnchor, AnchorSpot>();
foreach (var u in units)
{
- if (u.Hidden != null) continue;
+ if (!UnitRoster.OnMap(u)) continue;
bool sea = u.Service == UnitData.Navy;
foreach (var a in u.Anchors)
{
@@ -130,7 +130,7 @@ namespace Statecraft.Game.Map.Units
var list = new List<string>();
foreach (var u in units)
{
- if (u.Hidden != null) continue;
+ if (!UnitRoster.OnMap(u)) continue;
foreach (var a in u.Anchors) if (!spots.ContainsKey(a)) list.Add(SkipMessage(u, a));
}
return list;
diff --git a/unity/Assets/Scripts/Map/Units/UnitRoster.cs b/unity/Assets/Scripts/Map/Units/UnitRoster.cs
index 63cff4101..79e2576ea 100644
--- a/unity/Assets/Scripts/Map/Units/UnitRoster.cs
+++ b/unity/Assets/Scripts/Map/Units/UnitRoster.cs
@@ -37,7 +37,8 @@ namespace Statecraft.Game.Map.Units
/// <summary>Which units the map draws, from the sim's state and the map-only unit data (docs/units.md, "Units in play").
/// Pure and read-only: it reads the date, the security level and the reserve call-up, and never writes the state, so
/// the sim and its goldens cannot move (UnitsInPlayTests). Rules (owner, 2026-10-11):
- /// a unit shows while the date is inside one of its sourced anchor windows, and never when its row is hidden;
+ /// a unit shows while the date is inside one of its sourced anchor windows, and never when its row is hidden or is not
+ /// Israel's (<see cref="OnMap"/>);
/// an army token has 3 figures at a call-up of at least the security-level-4 floor (rules.yaml rung_min_mobilization,
/// 0.4), 2 at the level-3 floor (0.15), else 1; an air unit flies at security level 4 or 5 and stands parked below it,
/// as the aircraft type of its dated window (the Avia S-199, then the Spitfire).</summary>
@@ -45,6 +46,12 @@ namespace Statecraft.Game.Map.Units
{
public const int FlyingFromRung = 4;
+ /// <summary>Whether the map draws <paramref name="u"/> at all: not hidden, and Israel's. The Arab forces' rows are
+ /// data only until Phase 5 PR 17's figures land, after its sensitivity review (owner, 17 October 2026, #740: "Nothing
+ /// is drawn with IDF figures, and there is no placeholder art"). The roster and the placer both skip every other
+ /// row, so such a row draws no token, takes no spot and clears no ground for the kits.</summary>
+ public static bool OnMap(UnitEntry u) => u.Hidden == null && u.Side == UnitData.Israel;
+
public static List<UnitToken> Build(IReadOnlyList<UnitEntry> units, Content content, GameState state)
{
if (units == null) throw new ArgumentNullException(nameof(units));
@@ -58,7 +65,7 @@ namespace Statecraft.Game.Map.Units
var list = new List<UnitToken>();
foreach (var u in units)
{
- if (u.Hidden != null) continue;
+ if (!OnMap(u)) continue;
var anchor = AnchorAt(u, date);
if (anchor == null) continue;
switch (u.Service)
diff --git a/unity/Assets/Tests/EditMode/UnitPlacerSpeedTests.cs b/unity/Assets/Tests/EditMode/UnitPlacerSpeedTests.cs
index fb18f9e86..bc31354b7 100644
--- a/unity/Assets/Tests/EditMode/UnitPlacerSpeedTests.cs
+++ b/unity/Assets/Tests/EditMode/UnitPlacerSpeedTests.cs
@@ -168,7 +168,8 @@ public class UnitPlacerSpeedTests
{
var skippedA = new List<string>(); var skippedB = new List<string>();
var fast = UnitPlacer.PlaceAll(units, hexes, hexSizeM, toXZ, clear, overlap, skippedA.Add);
- var reference = Reference.PlaceAll(units, hexes, hexSizeM, toXZ, clear, overlap, skippedB.Add);
+ // The reference places what the map draws (UnitRoster.OnMap): the fast placer skips the other rows (#740).
+ var reference = Reference.PlaceAll(units.Where(UnitRoster.OnMap).ToList(), hexes, hexSizeM, toXZ, clear, overlap, skippedB.Add);
CollectionAssert.AreEqual(skippedB, skippedA, name);
Assert.AreEqual(reference.Count, fast.Count, name);
var here = new SortedSet<(int, int)>();
diff --git a/unity/Assets/Tests/EditMode/UnitPlinthTests.cs b/unity/Assets/Tests/EditMode/UnitPlinthTests.cs
index b37a9a578..3314a2cec 100644
--- a/unity/Assets/Tests/EditMode/UnitPlinthTests.cs
+++ b/unity/Assets/Tests/EditMode/UnitPlinthTests.cs
@@ -120,13 +120,14 @@ public class UnitPlinthTests
// ---- The flag matches the side --------------------------------------------------------------------------------
- /// <summary>Every row of the unit file names its side, and every formation in it is Israel's (the file is the IDF's
- /// 1948 order of battle); only Israel has a flag (built from the 1948 specification), so no flag is invented.</summary>
+ /// <summary>Every row of the unit file names its side, and every formation the map draws is Israel's (the Arab forces'
+ /// rows are data only until Phase 5 PR 17; owner, 17 October 2026, #740); only Israel has a flag (built from the 1948
+ /// specification), so no flag is invented.</summary>
[Test]
public void TheFlagIsTheSidesAndOnlyASourcedFlagIsDrawn()
{
var units = UnitData.Parse(CommittedYaml);
- Assert.IsTrue(units.All(u => u.Side == UnitData.Israel), "every 1948 formation in the file is Israel's");
+ Assert.IsTrue(units.Where(UnitRoster.OnMap).All(u => u.Side == UnitData.Israel), "every formation the map draws is Israel's");
Assert.IsTrue(UnitFlags.Has(UnitData.Israel));
foreach (var side in UnitData.Sides.Where(s => s != UnitData.Israel))
{
@@ -134,17 +135,17 @@ public class UnitPlinthTests
Assert.IsNull(UnitFlags.Build(side), side);
}
- // An Arab side's token (as #226 will add): the same plinth and rim, and no flag.
+ // An Arab side's row draws nothing: no IDF figures, no placeholder (owner, 17 October 2026, #740). The file with
+ // every Israeli row relabelled Egypt's (each given an echelon and a strength, as such a row needs) draws no token.
var map = BuildMap();
try
{
- var egypt = UnitData.Parse(CommittedYaml.Replace("side: israel", "side: egypt"));
+ var egypt = UnitData.Parse(CommittedYaml.Replace("side: israel", "side: egypt\n echelon: brigade\n strength: {value: 1, as_of: '1948-05-15', sources: [{url: 'https://x.org', checked: '2026-10-11'}]}"));
+ Assert.Greater(egypt.Count(u => u.Side == "egypt" && u.Service == UnitData.Army), 3);
var layer = UnitLayer.Create(map, egypt, C.Hexes, still: true);
layer.Show(C, StateAt(Dates[0]));
- var tokens = map.Terrain.transform.Find(UnitLayer.RootName).Find("Tokens");
- var army = layer.Tokens.Where(p => p.Token.Unit.Service == UnitData.Army).ToList();
- Assert.Greater(army.Count, 3);
- foreach (var p in army) AssertPlinth(map, tokens.Find(p.Token.Unit.Id), "egypt", p.Token.Unit.Id);
+ Assert.IsEmpty(layer.Tokens, "a row that is not Israel's is not drawn");
+ Assert.AreEqual(0, map.Terrain.transform.Find(UnitLayer.RootName).Find("Tokens").childCount);
}
finally { UnityEngine.Object.DestroyImmediate(map.gameObject); }
}
diff --git a/unity/Assets/Tests/EditMode/UnitsInPlayTests.cs b/unity/Assets/Tests/EditMode/UnitsInPlayTests.cs
index bde395d33..8d816aa46 100644
--- a/unity/Assets/Tests/EditMode/UnitsInPlayTests.cs
+++ b/unity/Assets/Tests/EditMode/UnitsInPlayTests.cs
@@ -67,12 +67,28 @@ public class UnitsInPlayTests
public void EveryRowIsSourcedDatedAndOnTheMap()
{
var units = Units;
- Assert.AreEqual(12, units.Count(u => u.Service == UnitData.Army), "the twelve brigades of 1948");
- Assert.AreEqual(1, units.Count(u => u.Service == UnitData.Air));
- Assert.AreEqual(2, units.Count(u => u.Service == UnitData.Navy));
- CollectionAssert.AreEquivalent(new[] { "brigade_8", "oded" }, units.Where(u => u.Hidden != null).Select(u => u.Id),
+ var israel = units.Where(u => u.Side == UnitData.Israel).ToList();
+ Assert.AreEqual(12, israel.Count(u => u.Service == UnitData.Army), "the twelve brigades of 1948");
+ Assert.AreEqual(1, israel.Count(u => u.Service == UnitData.Air));
+ Assert.AreEqual(2, israel.Count(u => u.Service == UnitData.Navy));
+ CollectionAssert.AreEquivalent(new[] { "brigade_8", "oded" }, israel.Where(u => u.Hidden != null).Select(u => u.Id),
"hidden: Oded (no sourced position) and the 8th (sourced at Tel Litvinsky, no clear spot on its own side); Carmeli (from 9 July 1948, by Mishmar HaYarden) and Alexandroni are placed (refs #385)");
double lon0 = C.Hexes.Min(h => h.Lon), lon1 = C.Hexes.Max(h => h.Lon), lat0 = C.Hexes.Min(h => h.Lat), lat1 = C.Hexes.Max(h => h.Lat);
+ // The Arab forces (#740): data only, each with its echelon and its 15 May strength (owner, 17 October 2026).
+ var arab = units.Where(u => u.Side != UnitData.Israel).ToList();
+ CollectionAssert.AreEquivalent(new[] { "egypt", "jordan", "syria", "iraq", "lebanon", "ala" }, arab.Select(u => u.Side).Distinct());
+ foreach (var u in arab)
+ {
+ CollectionAssert.Contains(UnitData.Echelons, u.Echelon, u.Id);
+ Assert.IsNotNull(u.Strength, u.Id);
+ Assert.Greater(u.Strength.Value, 0, u.Id);
+ Assert.AreEqual(new DateTime(1948, 5, 15), UnitData.Day(u.Strength.AsOf), $"{u.Id}: the 15 May strength only");
+ Assert.IsNotEmpty(u.Strength.Sources, u.Id);
+ }
+ // Owner, 17 October 2026, on #860: "Isdud is the forward base and Majdal the rear base" at the first truce.
+ var truce = new DateTime(1948, 6, 11);
+ CollectionAssert.AreEquivalent(new[] { "Isdud", "Majdal" }, units.Single(u => u.Id == "egyptian_expeditionary_force").Anchors
+ .Where(a => UnitData.Day(a.From) <= truce && truce < UnitData.Day(a.To)).Select(a => a.Place.Split(',')[0]));
foreach (var u in units)
{
Assert.AreEqual("draft", u.Status, u.Id);
@@ -95,8 +111,11 @@ public class UnitsInPlayTests
if (u.Disbanded != null) Assert.LessOrEqual(UnitData.Day(a.To), UnitData.Day(u.Disbanded.Date), $"{at}: after its disbandment");
Assert.AreNotEqual("15 May 1948", a.Since, $"{at}: the game's first day is not a sourced arrival");
}
- for (int i = 1; i < u.Anchors.Count; i++)
- Assert.LessOrEqual(UnitData.Day(u.Anchors[i - 1].To), UnitData.Day(u.Anchors[i].From), $"{u.Id}: anchor windows in order, not overlapping");
+ // A drawn row stands at one place at a time (one token per row). A row the map does not draw may stand at two
+ // at once: the Egyptian force's forward and rear bases at the first truce (owner, 17 October 2026, on #860).
+ if (UnitRoster.OnMap(u))
+ for (int i = 1; i < u.Anchors.Count; i++)
+ Assert.LessOrEqual(UnitData.Day(u.Anchors[i - 1].To), UnitData.Day(u.Anchors[i].From), $"{u.Id}: anchor windows in order, not overlapping");
}
Assert.AreEqual(new DateTime(1949, 2, 24), UnitData.FrontArmistice["egypt"]);
Assert.AreEqual(new DateTime(1949, 3, 23), UnitData.FrontArmistice["lebanon"]);
@@ -126,6 +145,11 @@ public class UnitsInPlayTests
[TestCase("units:\n- {id: a, name: A, number: '1', service: army, side: israel, sector: s, status: draft, wikipedia_only: true, headgear: [wool_cap, wool_cap, wool_cap], anchors: [" + Anchor + "]}", "headgear has no source")]
[TestCase("units:\n- {id: a, name: A, number: '1', service: air, side: israel, sector: s, status: draft, wikipedia_only: true, anchors: [" + Anchor + "]}", "without aircraft")]
[TestCase("units:\n- {id: a, name: A, number: '1', service: army, side: israel, colour: red, sector: s, status: draft, wikipedia_only: true, anchors: []}", "colour")]
+ // The Arab forces' rows (#570, #740): an echelon and one strength, never a range (CONTENT_POLICY section 1).
+ [TestCase("units:\n- {id: a, name: A, number: '1', service: army, side: egypt, sector: s, status: draft, wikipedia_only: true, anchors: [" + Anchor + "]}", "needs an echelon and a strength")]
+ [TestCase("units:\n- {id: a, name: A, number: '1', service: army, side: egypt, echelon: corps, strength: {value: 10, as_of: '1948-05-15', sources: [{url: 'https://x.org', checked: '2026-10-11'}]}, sector: s, status: draft, wikipedia_only: true, anchors: [" + Anchor + "]}", "unknown echelon 'corps'")]
+ [TestCase("units:\n- {id: a, name: A, number: '1', service: army, side: egypt, echelon: force, strength: {value: '6,000 to 12,000', as_of: '1948-05-15', sources: [{url: 'https://x.org', checked: '2026-10-11'}]}, sector: s, status: draft, wikipedia_only: true, anchors: [" + Anchor + "]}", "u.yaml")]
+ [TestCase("units:\n- {id: a, name: A, number: '1', service: army, side: egypt, echelon: force, strength: {value: 10, as_of: '1948-05-15', sources: []}, sector: s, status: draft, wikipedia_only: true, anchors: [" + Anchor + "]}", "strength has no source")]
// A person's sign-off (#375): both or neither, a GitHub handle (never an email), a day.
[TestCase("units:\n- {id: a, name: A, number: '1', service: army, side: israel, sector: s, status: draft, reviewed_by: eyalgolan, wikipedia_only: true, anchors: [" + Anchor + "]}", "reviewed_on")]
[TestCase("units:\n- {id: a, name: A, number: '1', service: army, side: israel, sector: s, status: draft, reviewed_by: [email protected], reviewed_on: '2026-10-15', wikipedia_only: true, anchors: [" + Anchor + "]}", "reviewed_by")]
@@ -171,6 +195,30 @@ public class UnitsInPlayTests
CollectionAssert.AreEqual(UnitData.DefaultHeadgear, tokens.Single(t => t.Unit.Id == "givati").Headgear, "no source: the uniform default");
}
+ /// <summary>Owner, 17 October 2026 (#740): "Data only. PR 1 adds the sourced Arab rows to units_1948.yaml and filters
+ /// them off the map in UnitRoster until Phase 5 PR 17's figures land ... Nothing is drawn with IDF figures, and there is
+ /// no placeholder art." The 15 May roster keeps exactly the Israeli tokens, no row of another side gives a token on any
+ /// day of the war, and the placer gives such a row no spot (so the kits clear no ground for it).</summary>
+ [Test]
+ public void OnlyIsraelsRowsAreDrawnTheArabForcesAreDataOnly()
+ {
+ var units = Units;
+ var others = units.Where(u => u.Side != UnitData.Israel).ToList();
+ Assert.IsNotEmpty(others.Where(u => u.Hidden == null && u.Anchors.Count > 0), "the file holds Arab rows with anchors (#740)");
+ var israelOnly = units.Where(u => u.Side == UnitData.Israel).ToList();
+ var s = Simulation.NewGame(C, GoldenRun.Seed, Mode.Historical);
+ CollectionAssert.AreEqual(Ids(UnitRoster.Build(israelOnly, C, s)), Ids(UnitRoster.Build(units, C, s)), "the 15 May roster is Israel's tokens, exactly");
+ for (var d = C.Rules.Start; d < LastArmistice; d = d.AddDays(1))
+ {
+ var tokens = UnitRoster.Build(units, C.Rules, d, 5, 0.8);
+ Assert.IsTrue(tokens.All(t => t.Unit.Side == UnitData.Israel), $"{d:yyyy-MM-dd}: {string.Join(",", tokens.Where(t => t.Unit.Side != UnitData.Israel))}");
+ }
+ var hexes = C.Hexes;
+ var spots = UnitPlacer.PlaceAll(units, hexes, 5000, (lon, lat) => (lon * 1e5, lat * 1e5), (sv, x, z, c, t, ax, az) => true, (x, z) => 0.0);
+ Assert.IsFalse(others.SelectMany(u => u.Anchors).Any(spots.ContainsKey), "no spot for a row the map does not draw");
+ Assert.IsEmpty(UnitPlacer.SkipMessages(others, spots), "and no warning for it either");
+ }
+
[TestCase(0.80, 3)]
[TestCase(0.40, 3)]
[TestCase(0.39, 2)]
@@ -290,7 +338,7 @@ public class UnitsInPlayTests
var layer = UnitLayer.Create(map, units, C.Hexes, still: true);
float hex = map.Hexes.hex_size_km * 1000f;
var hexAt = C.Hexes.ToDictionary(h => (h.Q, h.R));
- var anchors = units.Where(u => u.Hidden == null).SelectMany(u => u.Anchors.Select(a => (u, a))).ToList();
+ var anchors = units.Where(UnitRoster.OnMap).SelectMany(u => u.Anchors.Select(a => (u, a))).ToList();
var log = new List<string>();
foreach (var (u, a) in anchors)
{
@@ -371,7 +419,7 @@ public class UnitsInPlayTests
var units = Units;
var layer = UnitLayer.Create(map, units, C.Hexes, still: true);
int outside = 0, inTown = 0;
- foreach (var u in units.Where(u => u.Hidden == null && u.Service != UnitData.Navy))
+ foreach (var u in units.Where(u => UnitRoster.OnMap(u) && u.Service != UnitData.Navy))
foreach (var a in u.Anchors)
{
var at = $"{u.Id} {a.Place}";