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.

Enemy AI: the Syrian script runs past 8 July 1948 to the armistice (Refs #1270) (#2180)

Beri7f92e4becb09
diff --git a/changelog.d/1270-syria-script.md b/changelog.d/1270-syria-script.md
new file mode 100644
index 000000000..65e69c335
--- /dev/null
+++ b/changelog.d/1270-syria-script.md
@@ -0,0 +1,7 @@
+### Changed
+
+- In a Historical game the Syrian army no longer stops following its script when the first truce ends on 8 July 1948:
+ it keeps marching on its sourced position, the bridgehead at Mishmar HaYarden, until the Syrian armistice of
+ 20 July 1949 (Refs #1270). The other Arab forces' positions after 8 July come in later slices. A gdd-0.1 save made
+ before it that reaches 15 July 1948 loads with the "content changed" warning plus "replay differs" (owner, 4 November
+ 2026).
diff --git a/content/map/unit_anchor_hexes.yaml b/content/map/unit_anchor_hexes.yaml
index 9040fc838..684d0f80c 100644
--- a/content/map/unit_anchor_hexes.yaml
+++ b/content/map/unit_anchor_hexes.yaml
@@ -27,6 +27,7 @@ anchors:
- { id: arab_legion, anchor: 1, q: -3, r: 25 }
- { id: syrian_army, anchor: 0, q: 13, r: 10 }
- { id: syrian_army, anchor: 1, q: 15, r: 6 }
+ - { id: syrian_army, anchor: 2, q: 15, r: 5 }
- { id: iraqi_expeditionary_force, anchor: 0, q: 11, r: 12 }
- { id: iraqi_expeditionary_force, anchor: 1, q: 6, r: 15 }
- { id: lebanese_army, anchor: 0, q: 14, r: 4 }
diff --git a/content/map/units_1948.yaml b/content/map/units_1948.yaml
index 1b88afcc5..258a4c8c0 100644
--- a/content/map/units_1948.yaml
+++ b/content/map/units_1948.yaml
@@ -77,9 +77,10 @@
# (https://github.com/eyalgolan/statecraft-israel/issues/793#issuecomment-6338280840): they are fact-checked too.
# hidden: a unit the sources name but do not place; the map does not draw it (owner ruling, 2026-10-11).
# status: draft = sourced and checked against the cited text, not yet by a historian. to_verify = as draft, with a
-# secondary-source strength that a primary source must replace, or a primary-source strength no person has checked
-# yet (above; #1240). fact-checked = a person has checked the row against its sources; every row a new game starts
-# a unit from must be, before a shareable build (the release gate; Q-START-3). A comment above it links the check.
+# secondary-source strength that a primary source must replace, or a primary-source strength or an anchor no person
+# has checked yet (above; #1240, #1270). fact-checked = a person has checked the row against its sources; every row a
+# new game starts a unit from must be, before a shareable build (the release gate; Q-START-3). A comment above it
+# links the check.
# reviewed_by and reviewed_on (both or neither, beside status): a person's sign-off, their GitHub handle and the day; only
# that person writes them (owner, 15 October 2026, #375; docs/HISTORIAN_REVIEW.md), or an AI-assisted contributor whose
# pull request discloses the AI help and names the check, who may add or re-sign them but never remove them (owner,
@@ -1333,6 +1334,7 @@ units:
sector_he_sources: [{url: 'https://he.wikipedia.org/wiki/%D7%94%D7%A6%D7%91%D7%90_%D7%94%D7%A1%D7%95%D7%A8%D7%99', checked: '2026-10-22'}, {url: 'https://he.wikipedia.org/wiki/%D7%94%D7%9B%D7%A0%D7%A8%D7%AA', checked: '2026-10-22'}, {url: 'https://he.wikipedia.org/wiki/%D7%A6%D7%9E%D7%97_%28%D7%9E%D7%A8%D7%9B%D7%96_%D7%90%D7%96%D7%95%D7%A8%D7%99%29', checked: '2026-10-22'}, {url: 'https://he.wikipedia.org/wiki/%D7%92%D7%A9%D7%A8_%D7%91%D7%A0%D7%95%D7%AA_%D7%99%D7%A2%D7%A7%D7%91', checked: '2026-10-22'}, {url: 'https://he.wikipedia.org/wiki/%D7%9E%D7%A9%D7%9E%D7%A8_%D7%94%D7%99%D7%A8%D7%93%D7%9F', checked: '2026-10-22'}]
wikipedia_only: false
# The owner person-checked this row on 21 October 2026 (#1240): https://github.com/eyalgolan/statecraft-israel/issues/1240#issuecomment-6323448250
+ # The owner person-checked the anchor from 8 July 1948 (#1270, S1) on 3 November 2026: https://github.com/eyalgolan/statecraft-israel/pull/2180#issuecomment-6606070287
status: fact-checked
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)."
@@ -1381,6 +1383,27 @@ units:
- {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'}
+ # #1270, anchor S1 (research_notes/GDD phase 5/enemy-script-after-first-truce-1270.md; agent-read in
+ # enemy-script-anchors-check-1270.md; person-checked by the owner on 3 November 2026): the bridgehead held from the Ten Days to the armistice.
+ - place: The bridgehead at Mishmar HaYarden
+ place_he: "ראש הגשר במשמר הירדן"
+ place_he_review: agent-checked
+ place_he_sources: [{url: 'https://he.wikipedia.org/wiki/%D7%9E%D7%A9%D7%9E%D7%A8_%D7%94%D7%99%D7%A8%D7%93%D7%9F', checked: '2026-10-22'}]
+ lon: 35.59972
+ lat: 33.00278
+ from: '1948-07-08'
+ to: '1949-07-20'
+ end_basis: front_armistice
+ front: syria
+ note: "Dupuy p. 84: after Operation Brosh (from 9 July) the Syrians regained all their earlier possessions west of the river and a stalemate settled around the bridgehead. O'Ballance pp. 153-154: on 18 July they were still firmly in possession of it. Dupuy p. 104: at the end of Operation Hiram (31 October) they continued to hold their position in Mishmar Hayarden itself. O'Ballance p. 205: on 20 July 1949 the armistice was concluded and all Syrian troops were withdrawn from Israeli territory. The coordinates are Mishmar HaYarden's."
+ sources:
+ # Dupuy pp. 83, 84 and 104.
+ - {url: 'https://web.stanford.edu/group/tomzgroup/pmwiki/uploads/1793-1978-Dupuy-a-CLH.pdf', checked: '2026-11-01'}
+ # O'Ballance pp. 150, 153-154 and 205 (the item's OCR text).
+ - {url: 'https://archive.org/details/in.ernet.dli.2015.51540', checked: '2026-11-01'}
+ # The Israeli-Syrian General Armistice Agreement, signed "the twentieth of July nineteen forty-nine".
+ - {url: 'https://avalon.law.yale.edu/20th_century/arm04.asp', checked: '2026-11-01'}
+ - {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'}
diff --git a/docs/RELEASING.md b/docs/RELEASING.md
index 5e3efc9d4..f5ee2d37c 100644
--- a/docs/RELEASING.md
+++ b/docs/RELEASING.md
@@ -28,10 +28,10 @@ macOS IL2CPP parity check is not an MVP release gate.
"$UNITY" -batchmode -CI false -GITHUB_ACTIONS false -TF_BUILD false -quit -projectPath unity -buildTarget WebGL -executeMethod Statecraft.Game.EditorTools.Build.Web -compression gzip -shareable -logFile "$PWD/unity-build-web-gz.log"
git checkout -- unity/Assets/Settings unity/ProjectSettings/ProjectSettings.asset
golden_expect=(); while read -r name hash; do [[ -z "$name" || "$name" == \#* ]] || golden_expect+=(--expect "GOLDEN OK $name $hash"); done < sim/Statecraft.Sim.Tests/golden/manifest.txt
- # one GOLDEN OK line per manifest golden (#394), e.g. "GOLDEN OK hash1950 ac38d6c76c3e0e397365370e63cd23ed00b1b12928cecc4b6aea418440b76d2c"
- # and "GOLDEN OK hash1952 22f2c8da8222e1e87859ef9aae359aa37a04eab34880f65242c4f4d79d5b5c78"
+ # one GOLDEN OK line per manifest golden (#394), e.g. "GOLDEN OK hash1950 a08ff8504d862925563c8523a707b58ebe3bcaac0b504dc9ce7e028fc19eb0e4"
+ # and "GOLDEN OK hash1952 5561fc51a03a25e7bad499bd2c9d8de156dea241118ac4c80bbf2e0fb50c97ef"
uv run tools/web_check.py unity/Builds/Web-gzip --query "golden&smoke=5" "${golden_expect[@]}" \
- --expect "SMOKE OK 5 turns 1948-10-15 803f0f321fe12c056cccbf7adb52027e064ec3afd215717b9816c1122263ace7"
+ --expect "SMOKE OK 5 turns 1948-10-15 d12c83ce94e3940f93ed21abe7c2c9957de099b2653961da90e87785e6405e79"
uv run tools/web_check.py unity/Builds/Web-gzip --startscreen new --timeout 300 --stall 90
uv run tools/web_check.py unity/Builds/Web-gzip --startscreen recording --timeout 300 --stall 90
uv run tools/web_check.py unity/Builds/Web-gzip --startscreen new --query lang=he --timeout 300 --stall 90
@@ -66,7 +66,7 @@ macOS IL2CPP parity check is not an MVP release gate.
"$UNITY" -batchmode -CI false -GITHUB_ACTIONS false -TF_BUILD false -quit -projectPath unity -buildTarget WebGL -executeMethod Statecraft.Game.EditorTools.Build.Web -compression gzip -decompressionFallback -shareable -out Builds/Web-pages -logFile "$PWD/unity-build-web-pages.log"
git checkout -- unity/Assets/Settings unity/ProjectSettings/ProjectSettings.asset
uv run tools/web_check.py unity/Builds/Web-pages --query "golden&smoke=5" "${golden_expect[@]}" \
- --expect "SMOKE OK 5 turns 1948-10-15 803f0f321fe12c056cccbf7adb52027e064ec3afd215717b9816c1122263ace7"
+ --expect "SMOKE OK 5 turns 1948-10-15 d12c83ce94e3940f93ed21abe7c2c9957de099b2653961da90e87785e6405e79"
uv run tools/web_check.py unity/Builds/Web-pages --startscreen new --timeout 300 --stall 90
uv run tools/web_check.py unity/Builds/Web-pages --startscreen recording --timeout 300 --stall 90
uv run tools/web_check.py unity/Builds/Web-pages --startscreen new --query lang=he --timeout 300 --stall 90
diff --git a/docs/determinism.md b/docs/determinism.md
index f654eea90..c9630874f 100644
--- a/docs/determinism.md
+++ b/docs/determinism.md
@@ -61,9 +61,9 @@ final `GameState.Hash()` is pinned:
| Run | Ends | Hash |
|---|---|---|
-| to 1950-01-01 (`Hash1950`) | 1950-01-15, turn 20 | `ac38d6c76c3e0e397365370e63cd23ed00b1b12928cecc4b6aea418440b76d2c` |
-| to 1952-01-01 (`Hash1952`) | 1952-01-15, turn 44 (the game's end) | `22f2c8da8222e1e87859ef9aae359aa37a04eab34880f65242c4f4d79d5b5c78` |
-| to the game's end (`mvp-end`) | 1952-01-15, turn 44 | `22f2c8da8222e1e87859ef9aae359aa37a04eab34880f65242c4f4d79d5b5c78` |
+| to 1950-01-01 (`Hash1950`) | 1950-01-15, turn 20 | `a08ff8504d862925563c8523a707b58ebe3bcaac0b504dc9ce7e028fc19eb0e4` |
+| to 1952-01-01 (`Hash1952`) | 1952-01-15, turn 44 (the game's end) | `5561fc51a03a25e7bad499bd2c9d8de156dea241118ac4c80bbf2e0fb50c97ef` |
+| to the game's end (`mvp-end`) | 1952-01-15, turn 44 | `5561fc51a03a25e7bad499bd2c9d8de156dea241118ac4c80bbf2e0fb50c97ef` |
`hash1952` stops at the first turn on or after 1 January 1952, which is the game's last turn, so it is the same run as
`mvp-end` (`DeterminismTests.TheWholeGameToItsEndIsFixed`). Both names are kept (spec 2026-10-12 section 3 step 6): a
@@ -72,7 +72,7 @@ player check enumerate the manifest, so it and every scenario are checked withou
A further value is pinned for the browser smoke run (`?smoke=5`: the golden seed, five turns played through the UI's own
buttons, answering each event with its first option while the turn's Attention pays for it, the rest left to their
-ministers): `SMOKE OK 5 turns 1948-10-15 803f0f321fe12c056cccbf7adb52027e064ec3afd215717b9816c1122263ace7`.
+ministers): `SMOKE OK 5 turns 1948-10-15 d12c83ce94e3940f93ed21abe7c2c9957de099b2653961da90e87785e6405e79`.
It depends on the UI path as well as the sim (which option is first, the turn grid), so re-record it when either changes.
Check every WebGL build with every manifest entry (plus the UI-path smoke line) with:
@@ -83,7 +83,7 @@ while read -r name hash; do
golden_expect+=(--expect "GOLDEN OK $name $hash")
done < sim/Statecraft.Sim.Tests/golden/manifest.txt
uv run tools/web_check.py unity/Builds/Web-<compression> --query "golden&smoke=5" "${golden_expect[@]}" \
- --expect "SMOKE OK 5 turns 1948-10-15 803f0f321fe12c056cccbf7adb52027e064ec3afd215717b9816c1122263ace7"
+ --expect "SMOKE OK 5 turns 1948-10-15 d12c83ce94e3940f93ed21abe7c2c9957de099b2653961da90e87785e6405e79"
```
`smoke-orders` (GDD Phase 5 PR 15, #754) is the same kind of browser run for the unit orders (`?smoke-orders`, desktop
@@ -500,3 +500,13 @@ The hash reads the state keys, so it never sees a record outside its window. An
| #2087, the longer Dani order, as above | scenario-mvp-defeat | `6782cce4` | Ramla taken in the 15 August 1948 turn, then raided, so Kiryati is at -2,24 and Ramla is under enemy control at the end, as hash1950; the defeat is unchanged (was `8435fb3b`) |
| #2087, the longer Dani order, as above | scenario-mvp-occupy-cost | `612e9feb` | as cautious: Kiryati holds Ramla on (-3,24), awaiting a decision; the run still stops on 15 December 1948 (was `f3bab7ca`) |
| #2087, the longer Dani order, as above | scenario-mvp-annex-nazareth | `c8195c09` | as cautious: Kiryati holds Ramla on (-3,24), awaiting a decision; Nazareth's annexation is unchanged (was `ca015736`) |
+| #1270 (S1, the Syrian script past the first truce; Beri's choice (a) on #2180, 3 Nov 2026, under the owner's 22 October rule), re-pinned on main after #2087 | hash1950 | `a08ff850` | the Syrian unit's script runs past 8 July 1948 to the bridgehead's anchor S1 (to 20 July 1949). On the 4.4 km grid S1's point falls in Rosh Pinna's hex (14, 6), a player's locality, and (15, 6) is already Syrian anchor 1, so `tools/unit_anchor_hexes.py` puts S1 on the free neighbour (15, 5): on the 15 July 1948 turn the unit steps one hex from its June hex (15, 6) onto (15, 5) and holds it fortified (`10:syrian_army@15,5`). With #2087's operation-card orders, unit 1's card go-to toward (15, 3) now ends at (15, 4), one hex short of (15, 3) (`1:veteran_soldier@15,4`) (was `ac38d6c7`) |
+| #1270 (S1), re-pinned on main after #2087: as above | hash1952 | `5561fc51` | same run as hash1950: the Syrian unit on (15, 5), unit 1 on (15, 4) (was `22f2c8da`) |
+| #1270 (S1), re-pinned on main after #2087: as above | mvp-end | `5561fc51` | same run as hash1952 (was `22f2c8da`) |
+| #1270 (S1), re-pinned on main after #2087: as above | smoke5 | `d12c83ce` | the smoke run's five turns reach 15 October 1948, past the 15 July step; no snapshot is kept for this run (was `803f0f32`) |
+| #1270 (S1), re-pinned on main after #2087: as above | scenario-reckless | `bed7eb74` | the Syrian unit on (15, 5) is the only change (was `4f3ca893`) |
+| #1270 (S1), re-pinned on main after #2087: as above | scenario-cautious | `4f3a0556` | the Syrian unit on (15, 5); unit 1 is still on its card order at the run's end, on (15, 4) toward (15, 3), so the run keeps `cardorders{ 1=1949-03-23 }` (was `0be86235`) |
+| #1270 (S1), re-pinned on main after #2087: as above | scenario-mvp-absorb-first | `f289f897` | the Syrian unit on (15, 5), unit 1 on (15, 4) (was `53c208c2`) |
+| #1270 (S1), re-pinned on main after #2087: as above | scenario-mvp-defeat | `8c83f6e0` | as absorb-first (was `6782cce4`) |
+| #1270 (S1), re-pinned on main after #2087: as above | scenario-mvp-occupy-cost | `ad9af425` | the Syrian unit on (15, 5) is the only change (was `612e9feb`) |
+| #1270 (S1), re-pinned on main after #2087: as above | scenario-mvp-annex-nazareth | `e8a9dbf1` | the Syrian unit on (15, 5); unit 1, on its card order toward (15, 3), is on (13, 6) at the run's end instead of (15, 5) (was `c8195c09`). No other golden moves: smoke-orders does not reach 15 July 1948 |
diff --git a/docs/rules/mvp.md b/docs/rules/mvp.md
index 76470d1a7..907439424 100644
--- a/docs/rules/mvp.md
+++ b/docs/rules/mvp.md
@@ -358,7 +358,7 @@ Phase 5 PR 10, part 1 (#749). Q-ENEMY-1 to Q-ENEMY-4 are the plan's recommendati
R-ENEMY-001: Resolver step 1, before combat, gives every enemy military unit its orders, in ascending unit id, from the state alone: two equal states get the same orders. They go through the player's own checks with the sides swapped (`Movement.Move`, `Combat.Give`, `Orders.Give`), and a refused order changes nothing. So an enemy unit may not enter a hex holding a player unit, water or a full hex (R-MOVE-003), and, as R-MOVE-005's mirror, no locality's hex that is not on `mvp.enemy_held_localities`: while enemy capture (R-CTRL-006) is unbuilt, no enemy move ends on a player's locality. Its attacks pay no Arms (Q-ENEMY-4: no enemy supply). Step 1 draws nothing from the RNG (Q-ENEMY-2). An annexed target counts as an Israeli town for enemy movement (R-CTRL-016, #799).
-R-ENEMY-002: In Historical mode each starting Arab force (R-UNIT-006) has a script from `map/units_1948.yaml` (Q-ENEMY-1; `research_notes/GDD phase 5/arab-forces-1948.md` section 10). Its 15 May 1948 position is the start. Its target is the row's first anchor from 11 June 1948 that cites at least two sources other than Wikipedia and Wikidata, on that anchor's hex (`map/unit_anchor_hexes.yaml`): Isdud for Egypt (the forward base), Latrun for the Arab Legion, the bridgehead at Mishmar HaYarden for Syria and Jenin for Iraq; the ALA has none. On each turn that starts before the anchor's window ends (its `to`, 8 July 1948 for all four), the unit moves along its cheapest path to the target (R-MOVE-002) as far as its movement points reach. A unit on its target, with no path to it or whose move is refused follows R-ENEMY-003 that turn, and so does every unit from the turn its window has ended. The script never places a unit anywhere but its own path to a sourced anchor.
+R-ENEMY-002: In Historical mode each starting Arab force (R-UNIT-006) has a script from `map/units_1948.yaml` (Q-ENEMY-1; `research_notes/GDD phase 5/arab-forces-1948.md` section 10). Its 15 May 1948 position is the start. Its script is every anchor of the row from 11 June 1948 on that cites at least two sources other than Wikipedia and Wikidata, each on its hex (`map/unit_anchor_hexes.yaml`), in the file's order. On each turn its target is the first of them whose window has not ended when the turn starts (its `to`; owner, 31 October 2026, #1270 ruling a: "First listed (as today)"): to 8 July 1948 Isdud for Egypt (the forward base, listed before Majdal), Latrun for the Arab Legion, the bridgehead at Mishmar HaYarden for Syria and Jenin for Iraq; the ALA has none. After 8 July only Syria has one, the same bridgehead to the Syrian armistice of 20 July 1949 (#1270, anchor S1; the other forces' anchors past the first truce are #1270's later slices). The unit moves along its cheapest path to the target (R-MOVE-002) as far as its movement points reach. A unit on its target, with no path to it or whose move is refused follows R-ENEMY-003 that turn, and so does every unit from the turn its last window has ended. The script never places a unit anywhere but its own path to a sourced anchor.
R-ENEMY-003: An enemy unit off its script attacks the first neighbouring hex, in the fixed order (R-MOVE-002), holding a player military unit where the attack preview (`Combat.Preview`, its own strength plus its side's units already ordered on that hex) reaches `mvp.enemy_attack_ratio_percent` (real value 200, the 2:1 row; a labelled design value). Under exact `gdd-0.3` the threshold is the catalogue's `combat.enemy_attack_ratio` instead, 1.5:1 (150): owner, 1 November 2026, O4 on #1668, "1.5:1 in gdd-0.3 (Recommended)" (#2114). A standing attack on that hex is kept. Otherwise it fortifies its hex (R-ORDER-002; a fortify it has is kept). Step 2 resolves its attack in the same turn. Inside a truce it only fortifies (R-ENEMY-006).
diff --git a/sim/Statecraft.Sim.Tests/EnemyAITests.cs b/sim/Statecraft.Sim.Tests/EnemyAITests.cs
index 103cbf45c..645b6c1bf 100644
--- a/sim/Statecraft.Sim.Tests/EnemyAITests.cs
+++ b/sim/Statecraft.Sim.Tests/EnemyAITests.cs
@@ -174,22 +174,25 @@ public class EnemyAITests
Assert.Equal(rng, real.RngState);
}
- // R-ENEMY-002: the script never invents a position. Each scripted target is its row's 11 June 1948 anchor that cites at
- // least two sources that are not Wikipedia or Wikidata, on that anchor's hex (unit_anchor_hexes.yaml); the ALA has none.
+ // R-ENEMY-002: the script never invents a position. Each scripted target is an anchor of its row from 11 June 1948 that
+ // cites at least two sources that are not Wikipedia or Wikidata, on that anchor's hex (unit_anchor_hexes.yaml), in the
+ // file's order; the ALA has none. #1270's first slice: the Syrian bridgehead from 8 July 1948 to the Syrian armistice (S1).
[Fact]
public void TheScriptNeverInventsAPosition()
{
- var scripted = Real.StartingForces.Where(f => f.Script != null)
- .Select(f => (f.Row, f.Script!.Value.Q, f.Script!.Value.R, f.ScriptUntil)).OrderBy(x => x.Row, StringComparer.Ordinal).ToList();
- var until = new DateTime(1948, 7, 8); // the four anchors' window end: the first truce's (units_1948.yaml)
+ var scripted = Real.StartingForces.SelectMany(f => f.Script.Select(x => (f.Row, x.Q, x.R, x.Until)))
+ .OrderBy(x => x.Row, StringComparer.Ordinal).ToList();
+ var until = new DateTime(1948, 7, 8); // the 11 June anchors' window end: the first truce's (units_1948.yaml)
Assert.Equal(new[]
{
("arab_legion", -3, 25, until), // Latrun
("egyptian_expeditionary_force", -8, 27, until), // Isdud, the forward base (the row's first 11 June anchor)
+ ("egyptian_expeditionary_force", -9, 28, until), // Majdal, the rear base: listed second, so never the target
("iraqi_expeditionary_force", 6, 15, until), // Jenin
("syrian_army", 15, 6, until), // the bridgehead at Mishmar HaYarden, next to Rosh Pinna's hex (owner, #1183)
+ ("syrian_army", 15, 5, new DateTime(1949, 7, 20)), // the bridgehead to the Syrian armistice (#1270, S1): the tool's free neighbour of Rosh Pinna's hex
}, scripted);
- Assert.All(Real.StartingForces.Where(f => f.Side == Movement.PlayerSide), f => Assert.Null(f.Script));
+ Assert.All(Real.StartingForces.Where(f => f.Side == Movement.PlayerSide), f => Assert.Empty(f.Script));
}
// R-ENEMY-002: an 11 June anchor on one non-Wikipedia source (with Wikipedia beside it) is not scripted; two are.
@@ -211,20 +214,64 @@ public class EnemyAITests
["map/unit_anchor_hexes.yaml"] = "anchors:\n - { id: force, anchor: 0, q: 5, r: 0 }\n - { id: force, anchor: 1, q: 3, r: 2 }\n",
})));
var f = Assert.Single(c.StartingForces);
- Assert.Equal(scripted ? (3, 2) : ((int, int)?)null, f.Script);
+ Assert.Equal(scripted ? new[] { (3, 2, new DateTime(1948, 7, 8)) } : Array.Empty<(int, int, DateTime)>(), f.Script);
+ }
+
+ // R-ENEMY-002 past the first truce (#1270; owner, 31 October 2026, ruling a: "First listed (as today)"): the script is
+ // every anchor from 11 June 1948 on two non-wiki sources, in the file's order, and on each turn the unit marches on the
+ // first of them whose window has not ended. Fixture: a later anchor on one source is skipped; of two that overlap from
+ // 8 July, the first listed is the target until it ends on 1 November, then the second until 24 February 1949; after
+ // that the unit follows the goals (here it fortifies). Hexes and dates are fixture values (town_a, a player's
+ // locality, is on 1,0).
+ [Fact]
+ public void TheScriptMarchesOnTheFirstListedAnchorWhoseWindowHasNotEnded()
+ {
+ const string Two = "[{ url: 'https://example.org/a', checked: '2026-10-13' }, { url: 'https://example.org/b', checked: '2026-10-13' }]";
+ const string One = "[{ url: 'https://example.org/a', checked: '2026-10-13' }, { url: 'https://en.wikipedia.org/wiki/X', checked: '2026-10-13' }]";
+ var row = "- id: force\n service: army\n side: egypt\n status: draft\n strength: { value: 30, as_of: '1948-05-15' }\n anchors:\n"
+ + " - { place: Start, lon: 34.29, lat: 33.35, from: '1948-05-15', to: '1948-06-11' }\n"
+ + " - { place: June, lon: 34.29, lat: 33.35, from: '1948-06-11', to: '1948-07-08', sources: " + Two + " }\n"
+ + " - { place: OneSource, lon: 34.29, lat: 33.35, from: '1948-07-08', to: '1949-02-24', sources: " + One + " }\n"
+ + " - { place: Autumn, lon: 34.29, lat: 33.35, from: '1948-07-08', to: '1948-11-01', sources: " + Two + " }\n"
+ + " - { place: Armistice, lon: 34.29, lat: 33.35, from: '1948-07-08', to: '1949-02-24', sources: " + Two + " }\n";
+ var c = ContentLoader.Load(Fixture.Write(Fixture.Gdd(new Dictionary<string, string>
+ {
+ ["unit_types.yaml"] = Types,
+ ["map/hexes.json"] = MovementTests.Board(),
+ ["corridors.yaml"] = "corridors: []\n",
+ ["map/units_1948.yaml"] = "units:\n" + row,
+ ["map/unit_anchor_hexes.yaml"] = "anchors:\n - { id: force, anchor: 0, q: 5, r: 0 }\n - { id: force, anchor: 1, q: 3, r: 2 }\n"
+ + " - { id: force, anchor: 2, q: 5, r: 2 }\n - { id: force, anchor: 3, q: 4, r: 1 }\n - { id: force, anchor: 4, q: 2, r: 1 }\n",
+ })));
+ var f = Assert.Single(c.StartingForces);
+ Assert.Equal(new[] { (3, 2, new DateTime(1948, 7, 8)), (4, 1, new DateTime(1948, 11, 1)), (2, 1, new DateTime(1949, 2, 24)) }, f.Script);
+
+ var s = Simulation.NewGame(c, 1, Mode.Historical);
+ Assert.Equal((5, 0), (s.Units[0].Q, s.Units[0].R));
+ s.Date = new DateTime(1948, 7, 15);
+ EnemyAI.Order(c, s, new List<Cause>());
+ Assert.Equal((4, 1), (s.Units[0].Q, s.Units[0].R)); // the first listed of the two, not the one-source anchor
+ s.Date = new DateTime(1948, 11, 15);
+ EnemyAI.Order(c, s, new List<Cause>());
+ Assert.Equal((2, 1), (s.Units[0].Q, s.Units[0].R)); // the first has ended: the second
+ s.Date = new DateTime(1949, 3, 15);
+ EnemyAI.Order(c, s, new List<Cause>());
+ Assert.Equal((2, 1, Orders.Fortifying), (s.Units[0].Q, s.Units[0].R, s.Units[0].Order)); // every window has ended
}
// R-ENEMY-002: in the real game each scripted unit marches on its 11 June hex along its cheapest path (round the player's
// units and localities), as far as its movement points reach, on the turns that start before the anchor's window ends
- // (15 May and 15 June). With 3 points a turn each ends on its hex or next to it. From the turn of 15 July the AI moves
- // no unit.
+ // (15 May and 15 June). With 3 points a turn each ends on its hex or next to it. On the turn of 15 July only the Syrian
+ // unit has a script left (#1270, S1, to 20 July 1949): on the 4.4 km grid S1's point falls in Rosh Pinna's hex, a
+ // player's locality, so the anchor tool put it on a free neighbour; the unit steps from its June hex onto that one,
+ // and no other unit moves.
[Fact]
public void AScriptedUnitMarchesToItsJuneAnchorThenFollowsTheGoals()
{
var c = Real;
var s = Simulation.NewGame(c, 1, Mode.Historical);
- var targets = c.StartingForces.Select((f, i) => (f, i)).Where(x => x.f.Script != null)
- .ToDictionary(x => x.i, x => x.f.Script!.Value);
+ var targets = c.StartingForces.Select((f, i) => (f, i)).Where(x => x.f.Script.Count > 0)
+ .ToDictionary(x => x.i, x => (x.f.Script[0].Q, x.f.Script[0].R));
Assert.Equal(4, targets.Count);
var first = Simulation.Step(c, s, Array.Empty<Command>());
foreach (var id in targets.Keys)
@@ -234,10 +281,16 @@ public class EnemyAITests
Assert.True(Distance(june.Units[id].Q, june.Units[id].R, hex.Q, hex.R) <= 1, $"unit {id} is not at or next to its 11 June hex");
Assert.Equal(new DateTime(1948, 7, 15), june.Date);
var why = new List<Cause>();
- var positions = june.Units.Values.Select(u => (u.Id, u.Q, u.R)).ToList();
+ int syria = c.StartingForces.FindIndex(f => f.Row == "syrian_army");
+ var positions = june.Units.Values.Where(u => u.Id != syria).Select(u => (u.Id, u.Q, u.R)).ToList();
+ Assert.Equal(targets[syria], (june.Units[syria].Q, june.Units[syria].R));
+ var s1 = (c.StartingForces[syria].Script[1].Q, c.StartingForces[syria].Script[1].R);
+ Assert.Equal(1, Distance(targets[syria].Q, targets[syria].R, s1.Q, s1.R));
EnemyAI.Order(c, june, why);
- Assert.Equal(positions, june.Units.Values.Select(u => (u.Id, u.Q, u.R)).ToList());
- Assert.DoesNotContain(why, x => x.Message.Contains("moved to hex", StringComparison.Ordinal));
+ Assert.Equal(positions, june.Units.Values.Where(u => u.Id != syria).Select(u => (u.Id, u.Q, u.R)).ToList());
+ Assert.Equal(s1, (june.Units[syria].Q, june.Units[syria].R));
+ Assert.Equal(new[] { $"Unit {syria} moved to hex" }, why.Where(x => x.Message.Contains("moved to hex", StringComparison.Ordinal))
+ .Select(x => x.Message.Substring(0, x.Message.IndexOf("hex", StringComparison.Ordinal) + 3)));
}
// R-ENEMY-002: the script is Historical mode's only; another mode's units follow the goals from the first turn.
@@ -258,7 +311,7 @@ public class EnemyAITests
var c = Real;
var s = Simulation.NewGame(c, 1, Mode.Historical);
var legion = c.StartingForces.FindIndex(f => f.Row == "arab_legion");
- var latrun = c.StartingForces[legion].Script!.Value;
+ var latrun = (c.StartingForces[legion].Script[0].Q, c.StartingForces[legion].Script[0].R);
var id = s.NextId++;
s.Units.Add(id, new Unit(id, StartingForces.IsraeliBrigadeType, latrun.Q, latrun.R, side: "israel", strength: 1));
var before = (s.Units[legion].Q, s.Units[legion].R);
@@ -416,7 +469,7 @@ public class EnemyAITests
new Command[] { new Move(1, 1, 0), new UnitOrder(1, Orders.Hold) });
Assert.Equal(new[] { "", "", Orders.Fortify }, r.Why.Where(x => x.System == "map").Select(x => x.EnemyOrder).ToArray());
var first = Simulation.Step(Real, Simulation.NewGame(Real, 1, Mode.Historical), Array.Empty<Command>());
- var scripted = Real.StartingForces.Select((f, i) => (f, i)).Where(x => x.f.Script != null).Select(x => x.i.ToString(System.Globalization.CultureInfo.InvariantCulture));
+ var scripted = Real.StartingForces.Select((f, i) => (f, i)).Where(x => x.f.Script.Count > 0).Select(x => x.i.ToString(System.Globalization.CultureInfo.InvariantCulture));
Assert.Equal(scripted, first.Why.Where(x => x.EnemyOrder == Movement.Kind).Select(x => x.Target));
}
diff --git a/sim/Statecraft.Sim.Tests/EnemyPlaybackDataTests.cs b/sim/Statecraft.Sim.Tests/EnemyPlaybackDataTests.cs
index ade9d4c8a..a68b96d3c 100644
--- a/sim/Statecraft.Sim.Tests/EnemyPlaybackDataTests.cs
+++ b/sim/Statecraft.Sim.Tests/EnemyPlaybackDataTests.cs
@@ -190,7 +190,7 @@ public class EnemyPlaybackDataTests
/// hex when it has one and the hex is empty: no path enters it, so Movement.Toward finds none and the unit takes the
/// goals (R-ENEMY-002, R-ENEMY-003).</summary>
static GameState HoldingItsMarch(GameState s, Unit e) =>
- e.Id < C.StartingForces.Count && C.StartingForces[e.Id].Script is (int q, int r) && !s.Units.Values.Any(u => (u.Q, u.R) == (q, r))
+ e.Id < C.StartingForces.Count && C.StartingForces[e.Id].Script.Count > 0 && C.StartingForces[e.Id].Script[0] is (int q, int r, _) && !s.Units.Values.Any(u => (u.Q, u.R) == (q, r))
? WithIsraeli(s, q, r, strength: 1).s
: s;
diff --git a/sim/Statecraft.Sim.Tests/GameSessionTurnTests.cs b/sim/Statecraft.Sim.Tests/GameSessionTurnTests.cs
index 27bcee16c..1386cc333 100644
--- a/sim/Statecraft.Sim.Tests/GameSessionTurnTests.cs
+++ b/sim/Statecraft.Sim.Tests/GameSessionTurnTests.cs
@@ -46,7 +46,7 @@ public class GameSessionTurnTests
Assert.NotEqual(Movement.PlayerSide, enemy.Side);
Assert.Null(session.Commit(new UnitOrder(5, Combat.Attack, enemy.Q, enemy.R))); // unit 5 stands next to unit 9
// Unit 6 takes the hex unit 9 marches on (R-ENEMY-002), so no path leads there and it attacks instead (R-ENEMY-003).
- var march = C.StartingForces[9].Script!.Value;
+ var march = C.StartingForces[9].Script[0];
Assert.Null(session.Commit(new Move(6, march.Q, march.R)));
var open = session.Now.Why.ToList();
Assert.Contains(open, x => x.Key == WhyKeys.Engagement);
diff --git a/sim/Statecraft.Sim.Tests/MapOverridesTests.cs b/sim/Statecraft.Sim.Tests/MapOverridesTests.cs
index 0d1385b07..e16d541c2 100644
--- a/sim/Statecraft.Sim.Tests/MapOverridesTests.cs
+++ b/sim/Statecraft.Sim.Tests/MapOverridesTests.cs
@@ -454,7 +454,7 @@ public class MapOverridesTests
public void ASeaScriptedAnchorBlocksWithItsIdAndExactHex()
{
var c = DependencyFixture();
- c.StartingForces[0].Script = (3, 0);
+ c.StartingForces[0].Script.Add((3, 0, new DateTime(1948, 7, 8)));
var row = Assert.Single(Broken(DependencyDiagnostics(c)));
Assert.Equal("anchors[unit_a]", row.Field);
Assert.Equal("scripted anchor hex q=3 r=0 is not a land hex of the map", row.Message);
diff --git a/sim/Statecraft.Sim.Tests/OldSaveCompatibilityTests.cs b/sim/Statecraft.Sim.Tests/OldSaveCompatibilityTests.cs
index 4f725db11..052dc8cd1 100644
--- a/sim/Statecraft.Sim.Tests/OldSaveCompatibilityTests.cs
+++ b/sim/Statecraft.Sim.Tests/OldSaveCompatibilityTests.cs
@@ -27,6 +27,8 @@ public class OldSaveCompatibilityTests
// outcome: it still loads, keeps its open order and warns content_changed plus replay_differs, nothing else.
// Then changed (3 Nov 2026, maintainer agent; the lines above are Beri's, unchanged): a v0.3.4 save that never
// touches these cards now exists and still replays identically (OldSaveNoOperationCardsTests).
+ // Then changed (4 Nov 2026, #2180): that save reaches the Syrian S1 step of 15 July 1948 (#1270) and so replays
+ // differently too, by the owner's ruling of 4 Nov 2026 (OldSaveNoOperationCardsTests).
var order = Assert.IsType<UnitOrder>(Assert.Single(loaded.Committed));
Assert.Equal((3, Orders.Fortify), (order.Unit, order.Order));
diff --git a/sim/Statecraft.Sim.Tests/OldSaveNoOperationCardsTests.cs b/sim/Statecraft.Sim.Tests/OldSaveNoOperationCardsTests.cs
index 5dd3647b7..68945ab76 100644
--- a/sim/Statecraft.Sim.Tests/OldSaveNoOperationCardsTests.cs
+++ b/sim/Statecraft.Sim.Tests/OldSaveNoOperationCardsTests.cs
@@ -3,13 +3,19 @@ using Statecraft.Sim;
/// <summary>
/// The fixture is a real gdd-0.1 save written by v0.3.4, from a game in which no operation card ever fires, so the
-/// operation cards' unit orders (#2087) cannot change its replay. Replay drift under gdd-0.1 means a v0.3.4 player's save
-/// no longer loads identically; that is a release blocker, not a fixture to regenerate.
+/// operation cards' unit orders (#2087) cannot change its replay. It runs to 15 September 1948, past the Syrian army's
+/// 15 July 1948 step onto its bridgehead anchor (#1270, S1), so it replays differently by design (owner, 4 Nov 2026, on
+/// #2180) and loads with replay_differs. Any other replay change still needs an owner decision, not a fixture to
+/// regenerate.
/// </summary>
public class OldSaveNoOperationCardsTests
{
+ // GameState.Hash() of this save's replay after S1 (the Syrian army's 15 July 1948 step, #1270), reviewed and accepted by
+ // the owner's 4 Nov 2026 ruling "(a) Accept replay differs (Recommended)" on #2180.
+ private const string AcceptedReplayHashAfterS1 = "bec1464e1a0811554f8958e8d5a601807d887d3f18b6c88e90914292bc88a89d";
+
[Fact]
- public void V034Gdd01SaveWithNoOperationCardStillLoadsIdentically()
+ public void V034Gdd01SaveWithNoOperationCardLoadsAndReportsReplayDiffers()
{
var content = ContentLoader.Load(RealContentTests.ContentRoot());
var repo = Directory.GetParent(RealContentTests.ContentRoot())!.FullName;
@@ -42,10 +48,18 @@ public class OldSaveNoOperationCardsTests
// v0.3.4 players' saves no longer replay identically: they load with replay_differs (GameSession.Load). That needs an
// owner decision, not a fixture update or deleting this test. The operation cards' unit orders (#2087) were such a
// decision for saves that reach those cards; this save never does, so it must still replay identically.
- Assert.Equal(saved.FinalHash, loaded.State.Hash());
+ // Then changed (4 Nov 2026, #2180, #1270; the lines above are the maintainers', unchanged): the Syrian script's S1
+ // anchor (from 8 July 1948) steps the Syrian army onto it on the 15 July 1948 turn, inside this game. Asked whether
+ // v0.3.4 gdd-0.1 saves reaching that day may replay differently, the owner chose "(a) Accept replay differs
+ // (Recommended)"; the chosen option read: "as for #2087's cards on 3 November, old saves load with the content and
+ // replay-changed notice, and the test is updated". So this save still loads, keeps its open order and warns
+ // content_changed plus replay_differs, nothing else.
+ // The accepted replay is pinned exactly: any further drift changes this hash and needs its own owner decision.
+ // Re-pin only for a reviewed change, with the ruling that accepts it.
+ Assert.Equal(AcceptedReplayHashAfterS1, loaded.State.Hash());
var order = Assert.IsType<UnitOrder>(Assert.Single(loaded.Committed));
Assert.Equal((3, Orders.Fortify), (order.Unit, order.Order));
- Assert.Equal(new[] { GameSession.ContentChanged }, warnings);
+ Assert.Equal(new[] { GameSession.ContentChanged, GameSession.ReplayDiffers }, warnings);
}
}
diff --git a/sim/Statecraft.Sim.Tests/golden/hash1950.txt b/sim/Statecraft.Sim.Tests/golden/hash1950.txt
index 908b18aed..3651f7e73 100644
--- a/sim/Statecraft.Sim.Tests/golden/hash1950.txt
+++ b/sim/Statecraft.Sim.Tests/golden/hash1950.txt
@@ -117,7 +117,7 @@ city{
zikhron_yaakov=2,1,2,1,1,c0.35 [3FD6666666666666]
units[
0:veteran_soldier@4,14|side=israel|strength=4
- 1:veteran_soldier@15,3|side=israel|strength=2
+ 1:veteran_soldier@15,4|side=israel|strength=2
2:veteran_soldier@0,17|side=israel|strength=4
3:veteran_soldier@-2,24|side=israel|strength=3
4:veteran_soldier@-9,29|side=israel|strength=3
@@ -125,7 +125,7 @@ units[
7:veteran_soldier@-9,35|side=israel|strength=1
8:egyptian_army@-8,27|side=egypt|strength=10|order=fortify|target=-8,27
9:arab_legion@-3,25|side=jordan|strength=4|order=fortify|target=-3,25
- 10:syrian_army@15,6|side=syria|strength=3|order=fortify|target=15,6
+ 10:syrian_army@15,5|side=syria|strength=3|order=fortify|target=15,5
11:iraqi_army@6,14|side=iraq|strength=3|order=fortify|target=6,14
12:arab_liberation_army@14,4|side=ala|strength=4|order=fortify|target=14,4
13:veteran_soldier@-4,24|side=israel|strength=1|full=2
diff --git a/sim/Statecraft.Sim.Tests/golden/hash1952.txt b/sim/Statecraft.Sim.Tests/golden/hash1952.txt
index 3a07cfdc1..73b4af8eb 100644
--- a/sim/Statecraft.Sim.Tests/golden/hash1952.txt
+++ b/sim/Statecraft.Sim.Tests/golden/hash1952.txt
@@ -140,7 +140,7 @@ city{
zikhron_yaakov=2,1,4,1,0,c0 [0000000000000000]
units[
0:veteran_soldier@4,14|side=israel|strength=4
- 1:veteran_soldier@15,3|side=israel|strength=2
+ 1:veteran_soldier@15,4|side=israel|strength=2
2:veteran_soldier@0,17|side=israel|strength=4
3:veteran_soldier@-2,24|side=israel|strength=3
4:veteran_soldier@-9,29|side=israel|strength=3
@@ -148,7 +148,7 @@ units[
7:veteran_soldier@-9,35|side=israel|strength=1
8:egyptian_army@-8,27|side=egypt|strength=10|order=fortify|target=-8,27
9:arab_legion@-3,25|side=jordan|strength=4|order=fortify|target=-3,25
- 10:syrian_army@15,6|side=syria|strength=3|order=fortify|target=15,6
+ 10:syrian_army@15,5|side=syria|strength=3|order=fortify|target=15,5
11:iraqi_army@6,14|side=iraq|strength=3|order=fortify|target=6,14
12:arab_liberation_army@14,4|side=ala|strength=4|order=fortify|target=14,4
13:veteran_soldier@-4,24|side=israel|strength=1|full=2
diff --git a/sim/Statecraft.Sim.Tests/golden/manifest.txt b/sim/Statecraft.Sim.Tests/golden/manifest.txt
index ba5db30cf..d71cf8e58 100644
--- a/sim/Statecraft.Sim.Tests/golden/manifest.txt
+++ b/sim/Statecraft.Sim.Tests/golden/manifest.txt
@@ -2,14 +2,14 @@
# Tests read this file. To accept a deliberate change: STATECRAFT_UPDATE_GOLDEN=1 dotnet test sim/Statecraft.sln
# rewrites this file, the snapshots and the GoldenRun.cs constants; then update docs/determinism.md and tools/web_check.py
# (GoldenManifestTests names any place that is out of date) and add a row to the rebaseline history.
-hash1950 ac38d6c76c3e0e397365370e63cd23ed00b1b12928cecc4b6aea418440b76d2c
-hash1952 22f2c8da8222e1e87859ef9aae359aa37a04eab34880f65242c4f4d79d5b5c78
-smoke5 803f0f321fe12c056cccbf7adb52027e064ec3afd215717b9816c1122263ace7
+hash1950 a08ff8504d862925563c8523a707b58ebe3bcaac0b504dc9ce7e028fc19eb0e4
+hash1952 5561fc51a03a25e7bad499bd2c9d8de156dea241118ac4c80bbf2e0fb50c97ef
+smoke5 d12c83ce94e3940f93ed21abe7c2c9957de099b2653961da90e87785e6405e79
smoke-orders 08d9800eda4462ef165cc7ea6285fad059c030c0f87ad563e35c9789cc352d78
-scenario-reckless 4f3ca8933d77d83e00f15c75b0ba0e076b01d1c12991680d444c0e023eccd32a
-scenario-cautious 0be862353fd0248f225ff9a3fcfd0cfe1430a1876536121ddc437026fd71c6f7
-scenario-mvp-absorb-first 53c208c25512c6dc586d51150f83d5b6a5f34a24f07f45e649b73958d30c6158
-mvp-end 22f2c8da8222e1e87859ef9aae359aa37a04eab34880f65242c4f4d79d5b5c78
-scenario-mvp-defeat 6782cce4a8707e8b31e17ccf5563a233a1b17abcfe9f1cc2453d31b5a635faa5
-scenario-mvp-occupy-cost 612e9feb843c815ad2b00fe640bc6f81600c883b6b2885315fbe043982ce2ea5
-scenario-mvp-annex-nazareth c8195c095f3408ed68bffda8e4d6bfe34fb1ee6602954ba757f6e84e80a4c2ec
+scenario-reckless bed7eb74b0993b491e991e9b492df9d5172d9d024a215d334310579fab70c9dc
+scenario-cautious 4f3a0556f1e1b72d2acb00da238e240ea8e0212fb07c659f5b2298ed6bc43363
+scenario-mvp-absorb-first f289f8972cbc81f0fe4672c517008501142b5507b0a5de6b20de1229ff3c4b46
+mvp-end 5561fc51a03a25e7bad499bd2c9d8de156dea241118ac4c80bbf2e0fb50c97ef
+scenario-mvp-defeat 8c83f6e0dc1e10fcb753699848d88fda3921e6812214c095b0c7a8537dd4979b
+scenario-mvp-occupy-cost ad9af425c85e09c642bc05297925f374fce7cea3596761f356197555572f0fb4
+scenario-mvp-annex-nazareth e8a9dbf10a7cda254619bf0fc32f7444ea37977994e722ca8257c16c23b92ddf
diff --git a/sim/Statecraft.Sim.Tests/golden/mvp-end.txt b/sim/Statecraft.Sim.Tests/golden/mvp-end.txt
index 3a07cfdc1..73b4af8eb 100644
--- a/sim/Statecraft.Sim.Tests/golden/mvp-end.txt
+++ b/sim/Statecraft.Sim.Tests/golden/mvp-end.txt
@@ -140,7 +140,7 @@ city{
zikhron_yaakov=2,1,4,1,0,c0 [0000000000000000]
units[
0:veteran_soldier@4,14|side=israel|strength=4
- 1:veteran_soldier@15,3|side=israel|strength=2
+ 1:veteran_soldier@15,4|side=israel|strength=2
2:veteran_soldier@0,17|side=israel|strength=4
3:veteran_soldier@-2,24|side=israel|strength=3
4:veteran_soldier@-9,29|side=israel|strength=3
@@ -148,7 +148,7 @@ units[
7:veteran_soldier@-9,35|side=israel|strength=1
8:egyptian_army@-8,27|side=egypt|strength=10|order=fortify|target=-8,27
9:arab_legion@-3,25|side=jordan|strength=4|order=fortify|target=-3,25
- 10:syrian_army@15,6|side=syria|strength=3|order=fortify|target=15,6
+ 10:syrian_army@15,5|side=syria|strength=3|order=fortify|target=15,5
11:iraqi_army@6,14|side=iraq|strength=3|order=fortify|target=6,14
12:arab_liberation_army@14,4|side=ala|strength=4|order=fortify|target=14,4
13:veteran_soldier@-4,24|side=israel|strength=1|full=2
diff --git a/sim/Statecraft.Sim.Tests/golden/scenario-cautious.txt b/sim/Statecraft.Sim.Tests/golden/scenario-cautious.txt
index ec4673179..a22ad1ccd 100644
--- a/sim/Statecraft.Sim.Tests/golden/scenario-cautious.txt
+++ b/sim/Statecraft.Sim.Tests/golden/scenario-cautious.txt
@@ -110,7 +110,7 @@ city{
zikhron_yaakov=2,1,2,1,0,c0.35 [3FD6666666666666]
units[
0:veteran_soldier@4,14|side=israel|strength=4
- 1:veteran_soldier@15,3|side=israel|strength=2
+ 1:veteran_soldier@15,4|side=israel|strength=2|order=go_to|target=15,3
2:veteran_soldier@0,17|side=israel|strength=4
3:veteran_soldier@-3,24|side=israel|strength=3
4:veteran_soldier@-9,29|side=israel|strength=3
@@ -118,9 +118,11 @@ units[
7:veteran_soldier@-10,35|side=israel|strength=1
8:egyptian_army@-8,27|side=egypt|strength=10|order=fortify|target=-8,27
9:arab_legion@-3,25|side=jordan|strength=3|order=fortify|target=-3,25
- 10:syrian_army@15,6|side=syria|strength=3|order=fortify|target=15,6
+ 10:syrian_army@15,5|side=syria|strength=3|order=fortify|target=15,5
11:iraqi_army@6,14|side=iraq|strength=3|order=fortify|target=6,14
12:arab_liberation_army@14,4|side=ala|strength=4|order=fortify|target=14,4
+cardorders{
+ 1=1949-03-23
next=14
ctrl{
beersheba=owner=israel,state=awaiting_choice,since=1949-01-15,fled=1
diff --git a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-absorb-first.txt b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-absorb-first.txt
index 40555dae9..00b804306 100644
--- a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-absorb-first.txt
+++ b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-absorb-first.txt
@@ -118,7 +118,7 @@ city{
zikhron_yaakov=2,1,2,1,1,c0.35 [3FD6666666666666]
units[
0:veteran_soldier@4,14|side=israel|strength=4
- 1:veteran_soldier@15,3|side=israel|strength=2
+ 1:veteran_soldier@15,4|side=israel|strength=2
2:veteran_soldier@0,17|side=israel|strength=4
3:veteran_soldier@-3,24|side=israel|strength=3
4:veteran_soldier@-9,29|side=israel|strength=3
@@ -126,7 +126,7 @@ units[
7:veteran_soldier@-10,35|side=israel|strength=1
8:egyptian_army@-8,27|side=egypt|strength=10|order=fortify|target=-8,27
9:arab_legion@-3,25|side=jordan|strength=3|order=fortify|target=-3,25
- 10:syrian_army@15,6|side=syria|strength=3|order=fortify|target=15,6
+ 10:syrian_army@15,5|side=syria|strength=3|order=fortify|target=15,5
11:iraqi_army@6,14|side=iraq|strength=3|order=fortify|target=6,14
12:arab_liberation_army@14,4|side=ala|strength=4|order=fortify|target=14,4
21:halutz@-3,21
diff --git a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-annex-nazareth.txt b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-annex-nazareth.txt
index 0df15b2ac..a26d16d89 100644
--- a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-annex-nazareth.txt
+++ b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-annex-nazareth.txt
@@ -102,7 +102,7 @@ city{
zikhron_yaakov=2,1,2,1,0,c0.35 [3FD6666666666666]
units[
0:veteran_soldier@4,14|side=israel|strength=4|order=go_to|target=-8,28
- 1:veteran_soldier@15,5|side=israel|strength=2|order=go_to|target=15,3
+ 1:veteran_soldier@13,6|side=israel|strength=2|order=go_to|target=15,3
2:veteran_soldier@0,17|side=israel|strength=4
3:veteran_soldier@-3,24|side=israel|strength=3
4:veteran_soldier@-9,29|side=israel|strength=3
@@ -110,7 +110,7 @@ units[
7:veteran_soldier@-10,35|side=israel|strength=1
8:egyptian_army@-8,27|side=egypt|strength=10|order=fortify|target=-8,27
9:arab_legion@-3,25|side=jordan|strength=3
- 10:syrian_army@15,6|side=syria|strength=3|order=fortify|target=15,6
+ 10:syrian_army@15,5|side=syria|strength=3|order=fortify|target=15,5
11:iraqi_army@6,14|side=iraq|strength=3|order=fortify|target=6,14
12:arab_liberation_army@14,4|side=ala|strength=4|order=fortify|target=14,4
cardorders{
diff --git a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-defeat.txt b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-defeat.txt
index 353a13799..31a6e627f 100644
--- a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-defeat.txt
+++ b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-defeat.txt
@@ -139,7 +139,7 @@ city{
zikhron_yaakov=2,1,4,1,0,c0 [0000000000000000]
units[
0:veteran_soldier@4,14|side=israel|strength=4
- 1:veteran_soldier@15,3|side=israel|strength=2
+ 1:veteran_soldier@15,4|side=israel|strength=2
2:veteran_soldier@0,17|side=israel|strength=4
3:veteran_soldier@-2,24|side=israel|strength=3
4:veteran_soldier@-9,29|side=israel|strength=3
@@ -147,7 +147,7 @@ units[
7:veteran_soldier@-9,35|side=israel|strength=1
8:egyptian_army@-8,27|side=egypt|strength=10|order=fortify|target=-8,27
9:arab_legion@-3,25|side=jordan|strength=3|order=fortify|target=-3,25
- 10:syrian_army@15,6|side=syria|strength=3|order=fortify|target=15,6
+ 10:syrian_army@15,5|side=syria|strength=3|order=fortify|target=15,5
11:iraqi_army@6,14|side=iraq|strength=3|order=fortify|target=6,14
12:arab_liberation_army@14,4|side=ala|strength=4|order=fortify|target=14,4
next=14
diff --git a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-occupy-cost.txt b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-occupy-cost.txt
index 7dc218680..a71388923 100644
--- a/sim/Statecraft.Sim.Tests/golden/scenario-mvp-occupy-cost.txt
+++ b/sim/Statecraft.Sim.Tests/golden/scenario-mvp-occupy-cost.txt
@@ -104,7 +104,7 @@ units[
7:veteran_soldier@-11,35|side=israel|strength=1|order=go_to|target=-10,35
8:egyptian_army@-8,27|side=egypt|strength=10|order=fortify|target=-8,27
9:arab_legion@-3,25|side=jordan|strength=3|order=attack|target=-4,25
- 10:syrian_army@15,6|side=syria|strength=3|order=fortify|target=15,6
+ 10:syrian_army@15,5|side=syria|strength=3|order=fortify|target=15,5
11:iraqi_army@6,14|side=iraq|strength=3|order=fortify|target=6,14
12:arab_liberation_army@14,4|side=ala|strength=4|order=fortify|target=14,4
13:veteran_soldier@-4,25|side=israel|strength=1|full=2
diff --git a/sim/Statecraft.Sim.Tests/golden/scenario-reckless.txt b/sim/Statecraft.Sim.Tests/golden/scenario-reckless.txt
index 5d18a38b3..ee3530b36 100644
--- a/sim/Statecraft.Sim.Tests/golden/scenario-reckless.txt
+++ b/sim/Statecraft.Sim.Tests/golden/scenario-reckless.txt
@@ -116,7 +116,7 @@ units[
7:veteran_soldier@-10,35|side=israel|strength=1
8:egyptian_army@-8,27|side=egypt|strength=10|order=fortify|target=-8,27
9:arab_legion@-3,25|side=jordan|strength=3|order=fortify|target=-3,25
- 10:syrian_army@15,6|side=syria|strength=3|order=fortify|target=15,6
+ 10:syrian_army@15,5|side=syria|strength=3|order=fortify|target=15,5
11:iraqi_army@6,14|side=iraq|strength=3|order=fortify|target=6,14
12:arab_liberation_army@14,4|side=ala|strength=4|order=fortify|target=14,4
cardorders{
diff --git a/sim/Statecraft.Sim/EnemyAI.cs b/sim/Statecraft.Sim/EnemyAI.cs
index c78d5e6ac..3a97eff74 100644
--- a/sim/Statecraft.Sim/EnemyAI.cs
+++ b/sim/Statecraft.Sim/EnemyAI.cs
@@ -6,14 +6,15 @@ namespace Statecraft.Sim
{
/// <summary>The enemy AI, resolver step 1 (GDD Phase 5 PR 10, part 1; docs/rules/mvp.md R-ENEMY-001 to R-ENEMY-004). Every
/// non-player military unit gets its orders from the state alone, through the player's own validation (Movement.Move,
- /// Combat.Give, Orders.Give with the sides swapped). Q-ENEMY-1: a starting unit marches on its row's sourced 11 June 1948
- /// position; after that, or when the move cannot be made, it follows the simple goals of Q-ENEMY-2: attack an adjacent player
+ /// Combat.Give, Orders.Give with the sides swapped). Q-ENEMY-1: a starting unit marches on its row's sourced positions
+ /// from 11 June 1948 (#1270); after them, or when the move cannot be made, it follows the simple goals of Q-ENEMY-2: attack an adjacent player
/// unit at mvp.enemy_attack_ratio_percent or better, else hold its hex fortified. No RNG (Q-ENEMY-2), no reinforcements
/// (Q-ENEMY-3), no supply (Q-ENEMY-4).</summary>
public static class EnemyAI
{
- /// <summary>The script's dated position (Q-ENEMY-1; research_notes/GDD phase 5/arab-forces-1948.md section 10): an
- /// anchor of map/units_1948.yaml from this day. The other scripted date, 15 May 1948, is the start (R-UNIT-006).</summary>
+ /// <summary>The script's first dated position (Q-ENEMY-1; research_notes/GDD phase 5/arab-forces-1948.md section 10): the
+ /// script is the anchors of map/units_1948.yaml from this day on (#1270). The 15 May 1948 position is the start
+ /// (R-UNIT-006).</summary>
public const string ScriptDate = "1948-06-11";
/// <summary>R-ENEMY-006: the truce windows, half-open [from, until), in which no enemy unit attacks (owner, 21 October
@@ -66,14 +67,17 @@ namespace Statecraft.Sim
}
/// <summary>R-ENEMY-002: the hex unit <paramref name="u"/> marches on this turn, or null. Only a starting force has a
- /// script (the unit with id i of a new game is c.StartingForces[i], R-UNIT-006), and only in Historical mode, on a turn
- /// that starts before its anchor's window ends.</summary>
+ /// script (the unit with id i of a new game is c.StartingForces[i], R-UNIT-006), and only in Historical mode. The
+ /// target is the first scripted anchor, in the file's order, whose window has not ended when the turn starts
+ /// (owner, 31 October 2026, #1270 ruling a: "First listed (as today)").</summary>
static (int Q, int R)? Script(Content c, GameState s, Unit u)
{
if (s.Mode != Mode.Historical || u.Id >= c.StartingForces.Count) return null;
var f = c.StartingForces[u.Id];
- if (f.Side != u.Side || f.Type != u.Type || f.Script == null || s.Date >= f.ScriptUntil) return null;
- return f.Script;
+ if (f.Side != u.Side || f.Type != u.Type) return null;
+ foreach (var (q, r, until) in f.Script)
+ if (s.Date < until) return (q, r);
+ return null;
}
/// <summary>R-ENEMY-003: attack the first neighbour, in the fixed order (R-MOVE-002), with a player military unit whose
diff --git a/sim/Statecraft.Sim/GoldenRun.cs b/sim/Statecraft.Sim/GoldenRun.cs
index 8f6d5a7ef..6bd035981 100644
--- a/sim/Statecraft.Sim/GoldenRun.cs
+++ b/sim/Statecraft.Sim/GoldenRun.cs
@@ -16,13 +16,13 @@ namespace Statecraft.Sim
/// <summary>Final hash of Play(content, Until1950). Changing it is a deliberate rules or content change: the value
/// is pinned in sim/Statecraft.Sim.Tests/golden/manifest.txt, and STATECRAFT_UPDATE_GOLDEN=1 dotnet test rewrites
/// both (docs/determinism.md). Say why in the commit message.</summary>
- public const string Hash1950 = "ac38d6c76c3e0e397365370e63cd23ed00b1b12928cecc4b6aea418440b76d2c";
+ public const string Hash1950 = "a08ff8504d862925563c8523a707b58ebe3bcaac0b504dc9ce7e028fc19eb0e4";
public static readonly DateTime Until1950 = new DateTime(1950, 1, 1);
/// <summary>Final hash of Play(content, Until1952): the M3 content range (to 31 December 1951). The GDD game ends on
/// 15 January 1952 (R-LOOP-004), the first turn on or after Until1952, so this is also the mvp-end run.</summary>
- public const string Hash1952 = "22f2c8da8222e1e87859ef9aae359aa37a04eab34880f65242c4f4d79d5b5c78";
+ public const string Hash1952 = "5561fc51a03a25e7bad499bd2c9d8de156dea241118ac4c80bbf2e0fb50c97ef";
public static readonly DateTime Until1952 = new DateTime(1952, 1, 1);
diff --git a/sim/Statecraft.Sim/MapOverrides.cs b/sim/Statecraft.Sim/MapOverrides.cs
index 7de4f34ce..cec192ca6 100644
--- a/sim/Statecraft.Sim/MapOverrides.cs
+++ b/sim/Statecraft.Sim/MapOverrides.cs
@@ -495,7 +495,7 @@ namespace Statecraft.Sim
{
if (!Land(f.Q, f.R))
Broken($"anchors[{f.Row}]", FormattableString.Invariant($"anchor {f.Anchor} hex q={f.Q} r={f.R} is not a land hex of the map"));
- if (f.Script is (int sq, int sr) && !Land(sq, sr))
+ foreach (var (sq, sr, _) in f.Script.Where(x => !Land(x.Q, x.R)))
Broken($"anchors[{f.Row}]", FormattableString.Invariant($"scripted anchor hex q={sq} r={sr} is not a land hex of the map"));
}
foreach (var t in c.SettlementTargets)
diff --git a/sim/Statecraft.Sim/StartingForces.cs b/sim/Statecraft.Sim/StartingForces.cs
index aa7cf0cd6..d763a5ea0 100644
--- a/sim/Statecraft.Sim/StartingForces.cs
+++ b/sim/Statecraft.Sim/StartingForces.cs
@@ -24,11 +24,9 @@ namespace Statecraft.Sim
/// <summary>R-UNIT-009 (#1241): the day a row dated after the start arrives (its strength's as_of), or null for a row
/// that starts the game. Its unit's id is reserved at the start and the resolver adds it on that day's turn.</summary>
public DateTime? Arrives { get; set; }
- /// <summary>The hex of the row's 11 June 1948 anchor that the enemy AI marches on (R-ENEMY-002; Q-ENEMY-1), or null
- /// when the row has none on two sources.</summary>
- public (int Q, int R)? Script { get; set; }
- /// <summary>The end of that anchor's window (its `to`): from a turn starting on it the unit follows the goals.</summary>
- public DateTime ScriptUntil { get; set; }
+ /// <summary>The enemy AI's script (R-ENEMY-002; Q-ENEMY-1; #1270): the hex and window end (`to`) of each of the row's
+ /// anchors from 11 June 1948 on two sources, in the file's order. Empty when the row has none.</summary>
+ public List<(int Q, int R, DateTime Until)> Script { get; } = new List<(int Q, int R, DateTime Until)>();
}
/// <summary>The sourced starting forces, both sides (GDD Phase 5 PR 4; docs/rules/mvp.md R-UNIT-006, R-UNIT-007).
@@ -106,15 +104,15 @@ namespace Statecraft.Sim
}
/// <summary>R-ENEMY-002 (Q-ENEMY-1: the 15 May and 11 June 1948 positions two sources agree on, arab-forces-1948.md
- /// section 10). The 15 May position is the start; the script's target is the row's first anchor from 11 June that cites
- /// at least two sources other than Wikipedia and Wikidata (which the file uses for coordinates only), on that anchor's
- /// hex. A row with none has no script and its unit follows the goals.</summary>
+ /// section 10; #1270 past 8 July 1948). The 15 May position is the start; the script is every anchor of the row from
+ /// 11 June that cites at least two sources other than Wikipedia and Wikidata (which the file uses for coordinates
+ /// only), on that anchor's hex, in the file's order. A row with none has no script and its unit follows the goals.</summary>
static void Script(Content c, StartingForce force, List<object> anchors, string id, string at,
Dictionary<(string id, int anchor), (int q, int r)> hexes)
{
for (int j = 0; j < anchors.Count; j++)
{
- if (!(anchors[j] is Dictionary<object, object> a) || Text(a, "from") != EnemyAI.ScriptDate) continue;
+ if (!(anchors[j] is Dictionary<object, object> a) || string.CompareOrdinal(Text(a, "from"), EnemyAI.ScriptDate) < 0) continue;
var sourced = a.TryGetValue("sources", out var so) && so is List<object> sources ? sources.Count(x =>
x is Dictionary<object, object> m && Text(m, "url") is var url && url != ""
&& !url.Contains("wikipedia.org", StringComparison.Ordinal) && !url.Contains("wikidata.org", StringComparison.Ordinal)) : 0;
@@ -125,9 +123,7 @@ namespace Statecraft.Sim
throw new ContentException(FileName, $"{at}.anchors[{j}]", FormattableString.Invariant($"hex q={qr.q} r={qr.r} is not a land hex in {ContentLoader.HexesFile}"));
if (!DateTime.TryParseExact(Text(a, "to"), "yyyy-MM-dd", CultureInfo.InvariantCulture, DateTimeStyles.None, out var until))
throw new ContentException(FileName, $"{at}.anchors[{j}].to", "required, a date 'YYYY-MM-DD'");
- force.Script = (qr.q, qr.r);
- force.ScriptUntil = until;
- return;
+ force.Script.Add((qr.q, qr.r, until));
}
}
diff --git a/tools/web_check.py b/tools/web_check.py
index dfda9832b..7baa6fa5a 100644
--- a/tools/web_check.py
+++ b/tools/web_check.py
@@ -8,7 +8,7 @@ fail on a failure line or a timeout. Uses Chrome for Testing from the Playwright
--enable-logging=stderr --v=1 as INFO:CONSOLE... "text", source: ...
Usage (from the repo root):
- uv run tools/web_check.py unity/Builds/Web-disabled --query "golden" --expect "GOLDEN OK hash1950 ac38d6c76c3e0e397365370e63cd23ed00b1b12928cecc4b6aea418440b76d2c" --expect "GOLDEN OK hash1952 22f2c8da8222e1e87859ef9aae359aa37a04eab34880f65242c4f4d79d5b5c78"
+ uv run tools/web_check.py unity/Builds/Web-disabled --query "golden" --expect "GOLDEN OK hash1950 a08ff8504d862925563c8523a707b58ebe3bcaac0b504dc9ce7e028fc19eb0e4" --expect "GOLDEN OK hash1952 5561fc51a03a25e7bad499bd2c9d8de156dea241118ac4c80bbf2e0fb50c97ef"
uv run tools/web_check.py unity/Builds/Web-disabled --query "smoke-orders" --expect "SMOKE ORDERS OK 1948-06-15 08d9800eda4462ef165cc7ea6285fad059c030c0f87ad563e35c9789cc352d78"
(the smoke-orders golden: one Move given through the unit card, docs/determinism.md)
Options: --query Q (page URL query, without '?'), --expect TEXT (repeatable), --fail REGEX (default: GOLDEN FAIL|SMOKE FAIL|BOOT FAIL),
diff --git a/unity/Assets/Tests/EditMode/UnitAttackPresenterTests.cs b/unity/Assets/Tests/EditMode/UnitAttackPresenterTests.cs
index 39088ba05..4a5badf09 100644
--- a/unity/Assets/Tests/EditMode/UnitAttackPresenterTests.cs
+++ b/unity/Assets/Tests/EditMode/UnitAttackPresenterTests.cs
@@ -97,7 +97,7 @@ public class UnitAttackPresenterTests
var nine = session.Now.State.Units[9];
Assert.AreNotEqual(Movement.PlayerSide, nine.Side, "fixture: unit 9 is an enemy");
Assert.IsNull(bridge.Queue(new UnitOrder(5, Combat.Attack, nine.Q, nine.R)), "fixture: unit 5 can attack unit 9");
- var march = C.StartingForces[9].Script.Value;
+ var march = C.StartingForces[9].Script[0];
Assert.IsNull(bridge.Queue(new Move(6, march.Q, march.R)), "fixture: unit 6 can take unit 9's march hex");
CollectionAssert.AreEqual(new[] { 5 }, played, "the attack order played at once");
int openTurn = session.Now.Why.Count;
diff --git a/unity/Assets/Tests/EditMode/UnitFiguresTests.cs b/unity/Assets/Tests/EditMode/UnitFiguresTests.cs
index 04c92a7cc..90908efda 100644
--- a/unity/Assets/Tests/EditMode/UnitFiguresTests.cs
+++ b/unity/Assets/Tests/EditMode/UnitFiguresTests.cs
@@ -364,7 +364,10 @@ public class UnitFiguresTests
Assert.IsTrue(figures.All(f => !UnitFigures.Dressed(f) && f.GetComponent<MeshRenderer>().enabled), "the code-built figures until the models arrive");
Assert.IsTrue(vehicles.All(v => v.childCount == 0 && v.GetComponentsInChildren<Renderer>().Length == 0), "no vehicle is drawn before it arrives");
var before = figures.ToDictionary(f => f, f => (f.position, f.rotation));
- foreach (var (id, _, done) in asked.ToList()) done(Prefab(id));
+ // An Arab force's token waits for its side figure (the Syrian bridgehead, from 8 July 1948; #1270), so that model's
+ // arrival changes the roster and rebuilds every piece: the side figures come last, after the in-place checks.
+ var sideFigures = asked.Where(a => UnitFigures.BySide.Values.Contains(a.id)).ToList();
+ foreach (var (id, _, done) in asked.Except(sideFigures).ToList()) done(Prefab(id));
float man = UnitBadge.FigureHeightM;
foreach (var f in figures)
{
@@ -394,6 +397,7 @@ public class UnitFiguresTests
}
Assert.IsTrue(map.Terrain.transform.Find(UnitLayer.RootName).TryGetComponent<UnitFigureDetail>(out _),
"the close-zoom switch stands on the unit layer's root, and goes with it");
+ foreach (var (id, _, done) in sideFigures) done(Prefab(id));
// A roster change rebuilds the tokens: the new pieces are dressed at once, with no new request.
int n = asked.Count;
Assert.IsTrue(layer.Show(C, StateAt(July12, 0.3)), "the call-up changes the roster");