A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Content: Deport's follow-up cards for Acre and Nazareth, drafts for the owner's review (GDD Phase 6 PR 9, Refs #801) (#2197)
Eyal Golan1a8d86e56bad
diff --git a/changelog.d/801-deport-cards.md b/changelog.d/801-deport-cards.mdnew file mode 100644index 000000000..f0dc39449--- /dev/null+++ b/changelog.d/801-deport-cards.md@@ -0,0 +1,8 @@+- Deport's follow-up cards (GDD Phase 6 PR 9, #801): `deport_acre` and `deport_nazareth`, tagged `displacement`,+ each stating the in-game consequence and one sourced line of the place's history (Q-CARD-1 (c)). A new event key,+ `deported: <target>`, fires a card on the turn the player's Deport depopulates that place, and only then, outside the+ cap of 3 soft cards (R-EVT-007); the loader refuses one for an unknown target or one whose residents fled, one without+ the `displacement` tag, one with more than one option, one with `to`, `prisoners` or any other key it would wait for,+ one that is not soft or opens after the game's start, and a second card for the same place. A Deport on the game's last+ turn, which raises no card, shows its card on the end screen instead (`EndReport.DeportCards`). The owner signed off both cards ("Approve both cards", 2 November 2026), so they are `sensitivity-reviewed` and the release gate (R-GATE-001) passes them, and Deport+ stays out of play (`mvp.deport_in_play: false`).diff --git a/content/events/deport_acre.yaml b/content/events/deport_acre.yamlnew file mode 100644index 000000000..bb9f9f8bb--- /dev/null+++ b/content/events/deport_acre.yaml@@ -0,0 +1,44 @@+# yaml-language-server: $schema=../schema/event.schema.json+# Deport's follow-up card for Acre (GDD Phase 6 PR 9, #801). DRAFT: a person's source check and the owner's sensitivity+# review of every line, in English and Hebrew, come before this card leaves `draft` (CONTENT_POLICY section 2; the owner,+# 1 November 2026: "Write the cards first (Recommended)"). Q-CARD-1 (c) (owner, 18 October 2026, #783): the in-game+# consequence with one sourced line of history. Q-CARD-3 (a): no image, and Deport never gets a video. Q-SENS-1b (a): the+# housing left behind is not named. R-EFX-007: no option raises anything; this card has no effect at all, since Deport's+# costs are R-CTRL-018's, applied by the sim. R-GATE-001: the release gate refuses a shareable build while it is not+# sensitivity-reviewed.+# The first three sentences restate play, not history (R-CTRL-018 and R-CTRL-020; the costs follow capture.about.deport,+# the capture dialog's line), so they need no source. A Deport in play may differ in place, date and manner from 1948, so+# the history sentence says what the record says, not that the player's Deport happened.+# The history sentence: he.wiki "המצור על עכו (1948)", revision 42972755, section "תוצאות": "בימים הראשונים לאחר הכיבוש,+# נמשכה יציאת התושבים ללבנון ולגליל המרכזי, אולם לא הוצאו פקודות גירוש ולא הופעל לחץ על התושבים לעזוב." The date, from+# the section before: "ב־18 במאי לפנות בוקר חתמו חברי מועצת העיר על כתב כניעה, הורו על הפסקת הלחימה ופתחו את שערי העיר+# העתיקה." (the sentence has no year; 1948 is the article's title). Both checked by an agent in+# research_notes/GDD phase 6/displacement-cards-check-801.md (rows A1, A2, M3) and re-read for this card on 1 November 2026.+# For the person who checks: the residents sentence's one footnote is Morris, The Birth of the Palestinian Refugee Problem+# (Hebrew edition), p. 153 (row A8); the owner ruled "Morris isn't enough" on #793 for the fled default, and whether a he.wiki+# line footnoted to Morris may stand here is the owner's question 2 in displacement-cards.md. No official Israeli account+# of Ben-Ami naming Acre was found (rows A6, K1).+id: deport_acre+title: Acre depopulated+text: 'Acre''s residents have been displaced, and the town is depopulated. Social cohesion and International support have fallen, and International support keeps falling for the rest of the game. Nothing can be built there, and no new road or railway can be laid through it. Historically, in the first days after Acre surrendered on 18 May 1948, residents continued to leave for Lebanon and central Galilee, but no expulsion orders were issued and no pressure was put on them to leave.'+# For the native reviewer (#564): "נעקרו" and "התרוקנה מתושביה" follow the Deport strings already in strings.he.yaml+# (why.cause.place_deported, capture.about.deport). The history sentence is ADAPTED from he.wiki, not quoted: he.wiki's+# "בימים הראשונים לאחר הכיבוש" (after the conquest) becomes "after Acre surrendered on 18 May 1948", with the day from+# the section before and the year from the article title; the rest of the clause keeps he.wiki's words.+title_he: עכו התרוקנה מתושביה+text_he: 'תושבי עכו נעקרו ממקומם, והעיר התרוקנה מתושביה. הלכידות החברתית והתמיכה הבינלאומית ירדו, והתמיכה הבינלאומית תמשיך לרדת עד סוף המשחק. אי אפשר לבנות בה דבר, ואי אפשר לסלול דרכה כביש או מסילת ברזל חדשים. מבחינה היסטורית, בימים הראשונים לאחר שעכו נכנעה ב־18 במאי 1948 נמשכה יציאת התושבים ללבנון ולגליל המרכזי, אולם לא הוצאו פקודות גירוש ולא הופעל לחץ על התושבים לעזוב.'+text_he_review: agent-checked+anchor: soft+tags: [displacement]+deported: acre+# The game's start: the card waits only for the player's Deport of Acre (R-EVT-007), which can come on any turn.+from: 1948-05-15+options:+ - id: continue+ text: Continue+ text_he: להמשיך+sources:+ - { url: "https://he.wikipedia.org/w/index.php?oldid=42972755", checked: 2026-11-01 }+# The owner's sensitivity sign-off (R-GATE-001; WRITING_EVENTS, "tags and the sensitive review"): "Approve both cards"+# (owner, 2 November 2026, #2197), of this card as written, English and Hebrew. The DRAFT note at the top predates it.+status: sensitivity-revieweddiff --git a/content/events/deport_nazareth.yaml b/content/events/deport_nazareth.yamlnew file mode 100644index 000000000..7f848e029--- /dev/null+++ b/content/events/deport_nazareth.yaml@@ -0,0 +1,56 @@+# yaml-language-server: $schema=../schema/event.schema.json+# Deport's follow-up card for Nazareth (GDD Phase 6 PR 9, #801). DRAFT: a person's source check and the owner's+# sensitivity review of every line, in English and Hebrew, come before this card leaves `draft` (CONTENT_POLICY section 2;+# the owner, 1 November 2026: "Write the cards first (Recommended)"). Q-CARD-1 (c) (owner, 18 October 2026, #783): the+# in-game consequence with one sourced line of history. Q-CARD-3 (a): no image, and Deport never gets a video.+# Q-SENS-1b (a): the housing left behind is not named. R-EFX-007: no option raises anything; this card has no effect at+# all, since Deport's costs are R-CTRL-018's, applied by the sim. R-GATE-001: the release gate refuses a shareable build+# while it is not sensitivity-reviewed.+# The first three sentences restate play, not history (R-CTRL-018 and R-CTRL-020; the costs follow capture.about.deport,+# the capture dialog's line), so they need no source. A Deport in play may differ in place, date and manner from 1948, so+# the history sentence says what the record says, not that the player's Deport happened.+# The history sentence: he.wiki "נצרת", revision 44022843: "למרות הקרבות שניטשו בעיר ובסביבתה בעת כיבושה, נשארו תושבי+# העיר במקומותיהם." The surrender and the operation: the IDF account, "Operation Dekel (July 9-18, 1948)" (Jewish Virtual+# Library, "Sources: Israel Defense Forces"): "The city surrendered on the eve of 16 July."; he.wiki "מבצע דקל", revision+# 42975037: "בשעה 22:00 נחתם הסכם הכניעה בין נציגי התושבים לנציגי צה"ל." Checked by an agent in research_notes/GDD phase 6/+# displacement-cards-check-801.md (rows N1, N3, N5) and re-read for this card on 1 November 2026.+# The card says "July 1948", not a day: "the eve of 16 July" can be read as the evening of 15 or of 16 July (row N1).+# he.wiki's section puts the forces' start on the night of 15-16 July, "במשך 16 ביולי 1948" a capture nearby, then the entry+# at 17:40 and the surrender at 22:00, which fits 16 July; a person confirms the day before it is added.+# "Near the town", not "in and around" as HW-NAZ has it: the card's own he.wiki "מבצע דקל", revision 42975037, says the+# forces entered without a battle, "בשעה 17:40 נכנסו כוחות צה"ל לנצרת ללא קרב ותפסו את בית המשטרה.", and the IDF account+# puts the armoured-car fight outside it: "When the force was less than a mile away from the city of Nazareth, the+# commander of Nazareth sent out an armored car unit to block its advance." (source-check packet for #2197, N5).+# "Its residents stayed" is HW-NAZ's unqualified sentence; the repo's reading of Morris (English 2004 ed., pp. 418-421,+# research_notes/GDD phase 6/settlement-targets.md) says "Most stayed", so p. 271 may say less than the card (N4).+# For the person who checks: the residents sentence's one footnote is Morris, The Birth of the Palestinian Refugee Problem+# (Hebrew edition), p. 271 (row N6); whether a he.wiki line footnoted to Morris may stand here is the owner's question 2 in+# displacement-cards.md. he.wiki "מבצע דקל" also records an explicit order to let the residents stay (row N4); it is not on+# the card, since the card names no person and one line of history is the ruling.+id: deport_nazareth+title: Nazareth depopulated+text: 'Nazareth''s residents have been displaced, and the town is depopulated. Social cohesion and International support have fallen, and International support keeps falling for the rest of the game. Nothing can be built there, and no new road or railway can be laid through it. Historically, when Nazareth surrendered in July 1948, in Operation Dekel, its residents stayed where they were, despite fighting near the town.'+# For the native reviewer (#564): "נעקרו" and "התרוקנה מתושביה" follow the Deport strings already in strings.he.yaml+# (why.cause.place_deported, capture.about.deport); "מבצע דקל" follows he.wiki. The history sentence is ADAPTED, not+# quoted, and departs from HW-NAZ twice: "בעת כיבושה" becomes "when Nazareth surrendered in July 1948, in Operation+# Dekel" (the IDF account), and "בעיר ובסביבתה" (in and around the city) becomes "near the town", from he.wiki+# "מבצע דקל" and the IDF account (below), which contradict "in the city".+title_he: נצרת התרוקנה מתושביה+text_he: 'תושבי נצרת נעקרו ממקומם, והעיר התרוקנה מתושביה. הלכידות החברתית והתמיכה הבינלאומית ירדו, והתמיכה הבינלאומית תמשיך לרדת עד סוף המשחק. אי אפשר לבנות בה דבר, ואי אפשר לסלול דרכה כביש או מסילת ברזל חדשים. מבחינה היסטורית, כשנצרת נכנעה ביולי 1948, במבצע דקל, נשארו תושביה במקומותיהם, למרות קרבות שניטשו בסביבת העיר.'+text_he_review: agent-checked+anchor: soft+tags: [displacement]+deported: nazareth+# The game's start: the card waits only for the player's Deport of Nazareth (R-EVT-007), which can come on any turn.+from: 1948-05-15+options:+ - id: continue+ text: Continue+ text_he: להמשיך+sources:+ - { url: "https://he.wikipedia.org/w/index.php?oldid=44022843", checked: 2026-11-01 }+ - { url: "https://jewishvirtuallibrary.org/jsource/History/Dekel.html", checked: 2026-11-01 }+ - { url: "https://he.wikipedia.org/w/index.php?oldid=42975037", checked: 2026-11-01 }+# The owner's sensitivity sign-off (R-GATE-001; WRITING_EVENTS, "tags and the sensitive review"): "Approve both cards"+# (owner, 2 November 2026, #2197), of this card as written, English and Hebrew. The DRAFT note at the top predates it.+status: sensitivity-revieweddiff --git a/content/schema/event.schema.json b/content/schema/event.schema.jsonindex b7a8a8938..31644d703 100644--- a/content/schema/event.schema.json+++ b/content/schema/event.schema.json@@ -81,6 +81,7 @@"objective": { "$ref": "#/definitions/id", "description": "The objective (objectives.yaml) whose completion card this is. It fires only once that objective is completed, and has exactly one option." },"site": { "$ref": "#/definitions/id", "description": "A swamp site (sites.yaml) whose works this event is about. In the GDD loop it fires only while that site is being worked; the legacy loop ignores it." },"prisoners": { "enum": ["egypt", "jordan", "lebanon", "syria"], "description": "The front whose prisoners this exchange card returns (R-POW-004). It fires only while that front holds prisoners or the player's soldiers, and has exactly one option. Jordan's card also returns the Iraqi prisoners." },+ "deported": { "$ref": "#/definitions/id", "description": "A settlement target (settlement_targets.yaml) whose residents stayed. This Deport follow-up card fires only once the player's Deport has depopulated that place, carries the displacement tag and has exactly one option (R-EVT-007)." },"order": { "type": "integer", "description": "Default 0. Among the cards that fire on the same turn with the same from, a lower order comes first, then the id (R-EVT-006). Set it only to put one card after another on purpose." },"from": { "$ref": "#/definitions/date", "description": "First day of the window." },"to": { "$ref": "#/definitions/date", "description": "End of the window (exclusive). Leave out for an open window." },diff --git a/docs/WRITING_EVENTS.md b/docs/WRITING_EVENTS.mdindex b7188f6ad..8df5631d4 100644--- a/docs/WRITING_EVENTS.md+++ b/docs/WRITING_EVENTS.md@@ -46,6 +46,7 @@ schema too, or that test fails. Keep the comment when you copy a file.| `objective` | no | Makes the event the completion card of an objective in `objectives.yaml`, which must name this event as its `card`. It fires only once the objective is completed (GDD loop only), and has exactly one option. See `docs/gdd/objective-card.md`. || `site` | no | A swamp site in `sites.yaml` whose works the event is about. In the GDD loop it fires only while that site is being worked (R-SWAMP-002); the legacy loop ignores it. See `docs/gdd/fields-and-swamps.md`. || `prisoners` | no | Makes the event a front's prisoner-exchange card: `egypt`, `jordan` (which also returns the Iraqi prisoners), `lebanon` or `syria`. It fires only while that front holds prisoners or the player's soldiers (GDD loop only), has exactly one option, and returns them and scores when it resolves (R-POW-004). |+| `deported` | no | Makes the event Deport's follow-up card for a settlement target whose residents stayed: it fires only once the player's Deport has depopulated that place, carries the `displacement` tag and has exactly one option (R-EVT-007). See "deported". || `options` | yes | One or more options. See below. || `sources` | no by the loader, yes by the rules | A list of `{ url, checked }`. See below. || `status` | no (default `draft`) | The review status. See below. |@@ -93,8 +94,8 @@ Tags are free-form, but these five are sensitive (checked without regard to caseFor `displacement`, the no-gain rule has no exception: no option may raise Money, Food, Arms, Social cohesion,International Support or score (R-EFX-007). Score is not an event-effect target yet, so the loader already refuses-it as unknown; do not add it to an event. The rule applies when that target exists. No event in `content/` uses-`displacement` yet.+it as unknown; do not add it to an event. The rule applies when that target exists. The events that use `displacement`+are Deport's follow-up cards (see "deported").The other tag used so far is `security`. It has no rule attached.@@ -190,6 +191,22 @@ while the card is shown. A variant that names an event's historical option also`rejoin` that event (R-ALT-009) to close by then, since a rejoin makes that option hold. Variant title and text use the same checked office placeholders as the event itself. Only areconvergence event may carry `variants`.+### deported++```yaml+deported: acre+tags: [displacement]+```++Deport's follow-up card for a settlement target (`settlement_targets.yaml`, GDD Phase 6 PR 9, #801). It fires only once+the player's Deport has depopulated that place, at the event step of that turn, and never after Raid or Occupy+(R-EVT-007). It takes no soft slot, so a full turn does not delay it; a Deport on the turn that ends the game raises no+card, since no event fires then, so the end screen shows that card instead (owner, 2 November 2026, #2197). The loader refuses a card whose target is unknown or whose residents fled (Deport is+refused there, so the card could never fire), one without the `displacement` tag, one with more than one option, and+one with `to` or `prisoners`, one that is not `soft` or opens after the game's start, one with `conditions`,+`requires`, `site`, `objective`, another `kind` or `variants`, and a second card for the same place. Leave out `to`. Left unanswered, it resolves to its one option without a draw. State the in-game consequence and one sourced line of the place's history+(Q-CARD-1 (c)); a Deport in play may differ from 1948, so do not say the player's Deport is what happened.+### requires```yamldiff --git a/docs/gdd03-event-inventory.md b/docs/gdd03-event-inventory.mdindex 77e7900d1..53bcd9a8c 100644--- a/docs/gdd03-event-inventory.md+++ b/docs/gdd03-event-inventory.md@@ -158,7 +158,7 @@ exclusion.| `ten_days` | `southern_front` | `set_rung` | set 5 | `set_rung` (same) | set 5 | no || `ten_days` | `southern_front` | `effects[0].security` | 0.015 | `effects[0].security` (same) | 0.015 | no |-121 rows: 39 cards under gdd-0.1, 34 under gdd-0.3.+121 rows: 41 cards under gdd-0.1, 36 under gdd-0.3.| Excluded card | gdd-0.3 loader with only this exclusion removed ||---|---|diff --git a/docs/m3-release.md b/docs/m3-release.mdindex 6623f8864..b16f14d77 100644--- a/docs/m3-release.md+++ b/docs/m3-release.md@@ -290,7 +290,7 @@ war-casualties). The owner's sign-off for all seven events below is recorded inconsequence`) or any event with `variants` has no `reviewed_by`, naming them on a `RELEASE GATE REFUSED` line(`Statecraft.Sim.ReleaseGate.AlternateUnsigned`; the CLI also prints each as `unsigned alternate card: <id>`). Thesign-off is a person's `reviewed_by`, written only by that person. The Unity `-shareable` build flag checks the sensitive events only.-- **Pinned set:** `FinalWaveTests.TheSensitiveEventsArePinned` lists the ten ids, and+- **Pinned set:** `FinalWaveTests.TheSensitiveEventsArePinned` lists the twelve ids, and`TheOwnerTableListsEverySensitiveEvent` fails if a sensitive event is missing from this table, so a new one cannotskip the review.@@ -304,6 +304,8 @@ war-casualties). The owner's sign-off for all seven events below is recorded in| `operation_horev` | security, war-casualties | military text only || `bernadotte_assassination` | security, terror | the `terror` tag follows the Israeli government's own Prevention of Terrorism Ordinance || `reparations_claim` | holocaust | the claim's framing (the cost of absorbing survivors: 500,000 at $3,000 each); the "refuse" option |+| `deport_acre` | displacement | Deport's follow-up card for Acre (#801): the in-game consequence and one line of history adapted from he.wiki (the residents kept leaving after the 18 May 1948 surrender, but no expulsion orders were issued and no pressure was put on them to leave), whose footnote is Morris p. 153. The line departs from he.wiki in one place: "after the conquest" becomes "after Acre surrendered on 18 May 1948". The owner approved the card as written, English and Hebrew, on 2 November 2026 ("Approve both cards", [#2197](https://github.com/eyalgolan/statecraft-israel/pull/2197)); it is `sensitivity-reviewed`. Deport stays out of play (`mvp.deport_in_play: false`). |+| `deport_nazareth` | displacement | Deport's follow-up card for Nazareth (#801): the in-game consequence and one line of history adapted from he.wiki and the IDF account (the residents stayed when the city surrendered in July 1948, in Operation Dekel, despite fighting near the town), whose he.wiki footnote is Morris p. 271. The line departs from he.wiki's "in and around the city" by saying "near the town", because the cited "מבצע דקל" has the IDF enter without a battle. The owner approved the card as written, English and Hebrew, on 2 November 2026 ("Approve both cards", [#2197](https://github.com/eyalgolan/statecraft-israel/pull/2197)); it is `sensitivity-reviewed`. Deport stays out of play (`mvp.deport_in_play: false`). || `degania_defence` | security, war-casualties | the defence of Degania Alef and Degania Bet, 20 May 1948: military text only, no casualty figures, no gun count (the four-or-two record is unresolved, [C] in the YAML); the stopped-vehicle photograph's identification (Syrian per the NLI record, a Universal Carrier per Commons) is flagged for review (#1565) || `reparations_vote` | holocaust | the Knesset vote of 9 January 1952 on direct talks with West Germany (#1564); the opposition named by party, not by leader; the riot of 7 January kept to the YAML comment; the three design costs. The owner approved the card text and options, the Benno Rothenberg photograph as a sensitive image and the three costs on 25 October 2026 ("Approve all three", [#1575](https://github.com/eyalgolan/statecraft-israel/pull/1575#issuecomment-6394241026)); it is `sensitivity-reviewed`. |diff --git a/docs/m3-rulings.md b/docs/m3-rulings.mdindex 4258c9aff..8c4688be2 100644--- a/docs/m3-rulings.md+++ b/docs/m3-rulings.md@@ -38,7 +38,7 @@ These are the decisions made while building M3 where the spec or plan was silent## Content and history-- **Pro-Israeli framing, real names, nothing contested shown.** Lydda and Ramle appear as military events only. This follows the owner's earlier "no contested narratives shown" decision. Cost if wrong: one text edit.+- **Pro-Israeli framing, real names, nothing contested shown.** Lydda and Ramle appear as military events only. This follows the owner's earlier "no contested narratives shown" decision. Cost if wrong: one text edit. Reconciled with D-F1 by Q-CARD-2 (a) (owner, 18 October 2026, [#783](https://github.com/eyalgolan/statecraft-israel/issues/783#issuecomment-6254310676)): `ten_days` stays a military card, and only Deport's follow-up cards, tagged `displacement`, state displacement (GDD Phase 6 PR 9, #801). Lydda and Ramle have no such card, because their residents are recorded as fled at capture and Deport is refused there (R-CTRL-018).- **Conflicting dates follow the majority or primary source.** The other date goes in a comment. Examples: the first truce ends 9 July (UN), Operation Horev is 22 December, and the RAF clash is 7 January. Weizmann's term starts 17 February 1949, although the MFA says 16. His second term starts 19 November 1951 (the election date), with a comment on the 25 November swearing-in. Maimon runs to 1951-10-08, following the Knesset position records over he.wiki's undated resignation (corrected 2026-10-14, #457).- **No invented alternatives.** Where no advocate is sourced, the alternative option is labelled a game assumption in a comment.- **The 1948 war period has sourced events (15 events after review).**diff --git a/docs/rules/mvp.md b/docs/rules/mvp.mdindex 1eb4ce043..af123e2e0 100644--- a/docs/rules/mvp.md+++ b/docs/rules/mvp.md@@ -442,7 +442,7 @@ Under the explicit `gdd-0.3` ruleset, this city-loss check is skipped before scaD-H4 as decided (owner, 17 October 2026, #784: Q-END-1 and Q-END-2 as recommended): #19's legacy report folds into the end screen, which reads one sim helper, `EndReport.For` (Phase 7 PR 7, #810). This first slice reads only what the state already holds; the score's parts wait for #809.-R-END-005: Once the game has ended, the end report lists the outcome (the `GameOver` code), the end date, the state's score as it stands, every objective in `objectives.yaml` order with its historical date and, when completed, the player's date and the months from history (`Objectives.MonthsFromHistory`), and the two national parameters, Social cohesion and International Support, with no historical value. It is pure: it computes no rule, writes nothing, and two calls give the same report with the state hash unchanged. A game still on has no report.+R-END-005: Once the game has ended, the end report lists the outcome (the `GameOver` code), the end date, the state's score as it stands, every objective in `objectives.yaml` order with its historical date and, when completed, the player's date and the months from history (`Objectives.MonthsFromHistory`), any Deport card that never fired although its place was depopulated (a Deport on the last turn, R-EVT-007), and the two national parameters, Social cohesion and International Support, with no historical value. It is pure: it computes no rule, writes nothing, and two calls give the same report with the state hash unchanged. A game still on has no report.R-END-006: The report compares one measure with history (Q-END-2): the Jewish population at the end against the latest CBS anchor in `population.yaml` dated on or before the end, given with that anchor's date and sources. A game that ends before the first anchor has no comparison. No other value is compared, and none is invented.@@ -514,6 +514,8 @@ R-EVT-005: One sim helper, `EventSystem.OptionEffects`, lists every effect of anR-EVT-006: Among the events eligible on a turn with the same `from` (and, for objective cards, the same place in `objectives.yaml`, R-OBJ-007), an event's `order` (default 0) decides before the id (ordinal): a lower order fires first, takes a soft slot first and is shown first. With every `order` 0 the order is R-EVT-002's. `degania_defence` has `order: 1`, so One Army (`idf_founding`) opens the game and the defence of Degania comes second on the same turn (owner, 24 October 2026, #1568: "One Army first").+R-EVT-007: An event with `deported: <target>` is Deport's follow-up card for that settlement target (GDD Phase 6 PR 9, #801; Q-CARD-1 (c), owner, 18 October 2026, #783). Besides R-EVT-001, it fires only once the target's record is depopulated, which only the player's Deport does (R-CTRL-018, R-CTRL-020), so it fires at the event step of the turn that Deport resolves and never after Raid or Occupy, and a Deport of another place does not fire it; only the GDD loop records settlements, so the legacy loop never fires one. It takes no soft slot (R-EVT-001's cap of 3 does not count it), so hard anchors or other cards on that turn never push it to a later one. On the turn that ends the game no event fires at all (R-EVT-001), so a Deport on that last turn raises no card; the end report lists that card instead, and the end screen shows its title and text after the objectives (owner, 2 November 2026, #2197: "Show on the end screen (Recommended)"). A card that fired is not listed again. It has exactly one option, and, like an objective's card, it resolves to that option without an RNG draw when left unanswered (R-EVT-003). The loader refuses one whose target is not in `settlement_targets.yaml`, whose target's residents fled (Deport is refused there, so the card could never fire), that lacks the `displacement` tag (so the release gate holds it, R-GATE-001), that has more than one option, a `to` (a closed window would miss a later Deport) or `prisoners`, that is not `soft`, that opens after the game's start, that waits for anything else (`conditions`, `requires`, `site`, `objective`, a `kind` other than historical, `variants`), or that is a second card for the same place. The shipped cards, `deport_acre` and `deport_nazareth`, are `sensitivity-reviewed` (owner, 2 November 2026, #2197: "Approve both cards"); Deport stays out of play (`mvp.deport_in_play: false`).+## Alternate timelinesThe alternate-timeline mechanism ([the plan](../superpowers/plans/2026-10-17-alternate-timelines.md); the owner's answers, 17 October 2026, #945).diff --git a/sim/Statecraft.Sim.Tests/DeportCardTests.cs b/sim/Statecraft.Sim.Tests/DeportCardTests.csnew file mode 100644index 000000000..54428c244--- /dev/null+++ b/sim/Statecraft.Sim.Tests/DeportCardTests.cs@@ -0,0 +1,163 @@+using System;+using System.Collections.Generic;+using System.Linq;+using Statecraft.Sim;++/// <summary>Deport's follow-up cards (GDD Phase 6 PR 9, #801): an event with <c>deported: <target></c> fires once the+/// player's Deport has depopulated that place, and at no other time (R-EVT-007). The places, the card and its text are+/// fixture values, not history; DeportTests' fixture turns Deport on (Q-TECH-3), as the real content does not.</summary>+public class DeportCardTests+{+ const string Card = "id: after_town_a\ntitle: Town A\ntext: Its residents have been displaced.\nfrom: 1948-05-15\n"+ + "deported: town_a\ntags: [displacement]\noptions:\n - id: continue\n text: Continue\n"+ + "sources: [{ url: \"https://example.org/town_a\", checked: 2026-11-01 }]\nstatus: draft\n";++ static Content Load(string card = Card, string[]? fled = null) =>+ DeportTests.Load(files => files["events/after_town_a.yaml"] = card, fled);++ static StepResult Answer(Content c, GameState s, string outcome) =>+ Simulation.Step(c, s, new Command[] { new ResolveCapture("town_a", outcome) });++ // R-EVT-007: the card fires on the turn the player's Deport depopulates its place, at that turn's event step.+ [Fact]+ public void TheCardFiresTheTurnItsPlaceIsDeported()+ {+ var c = Load();+ var s = DeportTests.Awaiting(c, DeportTests.Soldier(1, 1, 0));+ var waited = Simulation.Step(c, s, Array.Empty<Command>()).State;+ Assert.DoesNotContain("after_town_a", waited.FiredEvents);+ var stepped = Answer(c, waited, SettlementControl.Deport);+ Assert.True(stepped.State.Settlements["town_a"].Depopulated);+ Assert.Contains("after_town_a", stepped.State.PendingEvents);+ Assert.Contains(stepped.Why, w => w.Key == CauseKeys.EventNew && w.Target == "after_town_a");+ }++ /// <summary>A hard anchor whose window opens the day after the game's start, so it fires on the first turn's event step.</summary>+ static string Hard(string id) => $"id: {id}\ntitle: {id}\ntext: A hard card.\nanchor: hard\nfrom: 1948-05-16\noptions:\n - id: ok\n text: OK\n historical: true\n"+ + "sources: [{ url: \"https://example.org/hard\", checked: 2026-11-02 }]\nstatus: fact-checked\n";++ // R-EVT-007: the card takes no soft slot, so three hard anchors on the Deport turn, which leave the soft cards none+ // (R-EVT-001), do not push it to a later turn.+ [Fact]+ public void TheCardFiresOnTheDeportTurnEvenWhenTheSoftSlotsAreFull()+ {+ var c = DeportTests.Load(files =>+ {+ files["events/after_town_a.yaml"] = Card;+ foreach (var id in new[] { "hard_one", "hard_two", "hard_three" }) files[$"events/{id}.yaml"] = Hard(id);+ });+ var before = DeportTests.Awaiting(c, DeportTests.Soldier(1, 1, 0));+ Assert.DoesNotContain(before.FiredEvents, id => id.StartsWith("hard_", StringComparison.Ordinal));+ var stepped = Answer(c, before, SettlementControl.Deport).State;+ Assert.All(new[] { "hard_one", "hard_two", "hard_three" }, id => Assert.Contains(id, stepped.PendingEvents));+ Assert.True(stepped.Settlements["town_a"].Depopulated);+ Assert.Contains("after_town_a", stepped.PendingEvents);+ }++ // R-EVT-007: the card follows its own place only; a Deport of another target leaves it unfired.+ [Fact]+ public void ADeportOfAnotherPlaceFiresNoCard()+ {+ var c = Load();+ var s = CombatTests.With(c, DeportTests.Soldier(1, 4, 0));+ s.Settlements["town_c"] = new SettlementControl(Movement.PlayerSide, SettlementControl.AwaitingChoice, s.Date);+ var stepped = Simulation.Step(c, s, new Command[] { new ResolveCapture("town_c", SettlementControl.Deport) }).State;+ Assert.True(stepped.Settlements["town_c"].Depopulated);+ Assert.DoesNotContain("after_town_a", stepped.FiredEvents);+ }++ // R-EVT-007 (owner, 2 November 2026, #2197: "Show on the end screen (Recommended)"): no event fires on the turn that+ // ends the game, so a Deport on that turn raises no card; the end report lists the card instead, for the end screen.+ [Fact]+ public void ADeportOnTheLastTurnPutsItsCardOnTheEndReport()+ {+ var c = DeportTests.Load(files =>+ {+ files["events/after_town_a.yaml"] = Card;+ files["rules.yaml"] = files["rules.yaml"].Replace("\nmvp:\n", "\nmvp:\n end: 1948-05-16\n"); // the first turn is the last+ });+ var stepped = Answer(c, DeportTests.Awaiting(c, DeportTests.Soldier(1, 1, 0)), SettlementControl.Deport).State;+ Assert.Equal(GameOverCodes.MvpEnded, stepped.GameOver);+ Assert.True(stepped.Settlements["town_a"].Depopulated);+ Assert.DoesNotContain("after_town_a", stepped.FiredEvents);+ Assert.Equal(new[] { "after_town_a" }, EndReport.For(c, stepped).DeportCards);+ }++ // R-EVT-007: a card that fired on its Deport's turn was shown then, so the end report does not list it again.+ [Fact]+ public void ACardThatFiredIsNotOnTheEndReport()+ {+ var c = Load();+ var s = Answer(c, DeportTests.Awaiting(c, DeportTests.Soldier(1, 1, 0)), SettlementControl.Deport).State;+ Assert.Contains("after_town_a", s.FiredEvents);+ s.GameOver = GameOverCodes.MvpEnded; // read as an ended game; nothing else changes+ Assert.Empty(EndReport.For(c, s).DeportCards);+ }++ // R-EVT-007: Raid and Occupy depopulate nothing, so neither fires the card.+ [Theory]+ [InlineData(SettlementControl.Raid)]+ [InlineData(SettlementControl.Occupy)]+ public void RaidAndOccupyFireNoCard(string outcome)+ {+ var c = Load();+ var s = Answer(c, DeportTests.Awaiting(c, DeportTests.Soldier(1, 1, 0)), outcome).State;+ Assert.DoesNotContain("after_town_a", s.FiredEvents);+ s = Simulation.Step(c, s, Array.Empty<Command>()).State;+ Assert.DoesNotContain("after_town_a", s.FiredEvents);+ }++ // R-EVT-007: a card left unanswered resolves to its one option without drawing from the RNG, as an objective's card does.+ [Fact]+ public void AnUnansweredCardResolvesWithoutADraw()+ {+ var c = Load();+ var s = Answer(c, DeportTests.Awaiting(c, DeportTests.Soldier(1, 1, 0)), SettlementControl.Deport).State;+ Assert.Contains("after_town_a", s.PendingEvents);+ var rng = s.RngState;+ EventSystem.Delegate(c, s, new List<Cause>());+ Assert.Equal(rng, s.RngState);+ Assert.Equal("continue", s.ChosenOptions["after_town_a"]);+ }++ // R-EVT-007: the loader refuses a card whose place is not a target, whose residents fled (Deport is refused there,+ // R-CTRL-018, so it could never fire), that lacks the displacement tag (so the release gate holds it, R-GATE-001), that+ // has more than one option, a `to` (a window that closes before a later Deport), or another card kind's key.+ [Theory]+ [InlineData("deported: town_a", "deported: town_x", "events[after_town_a].deported", "unknown settlement target")]+ [InlineData("tags: [displacement]", "tags: [security]", "events[after_town_a].tags", "carries the displacement tag")]+ [InlineData(" text: Continue\n", " text: Continue\n - id: other\n text: Other\n", "events[after_town_a].options", "exactly one option")]+ [InlineData("from: 1948-05-15\n", "from: 1948-05-15\nto: 1949-01-01\n", "events[after_town_a].to", "has no to")]+ [InlineData("from: 1948-05-15\n", "from: 1948-05-15\nprisoners: egypt\n", "events[after_town_a].prisoners", "not an exchange card")]+ [InlineData("from: 1948-05-15\n", "from: 1948-06-15\n", "events[after_town_a].from", "opens at the game's start")]+ [InlineData("from: 1948-05-15\n", "from: 1948-05-15\nanchor: hard\n", "events[after_town_a].anchor", "is soft")]+ [InlineData("from: 1948-05-15\n", "from: 1948-05-15\nconditions: [{ indicator: morale, max: 0.9 }]\n", "events[after_town_a].conditions", "waits for nothing but its Deport")]+ public void TheLoaderRefusesABadCard(string from, string to, string field, string message)+ {+ var card = to.Contains("anchor: hard") ? Card.Replace(" text: Continue\n", " text: Continue\n historical: true\n") : Card;+ var ex = Assert.Throws<ContentException>(() => Load(card.Replace(from, to)));+ Assert.Equal(field, ex.Field);+ Assert.Contains(message, ex.Message);+ }++ // R-EVT-007: one card per place, so one Deport cannot raise two.+ [Fact]+ public void TheLoaderRefusesASecondCardForThePlace()+ {+ var ex = Assert.Throws<ContentException>(() => DeportTests.Load(files =>+ {+ files["events/after_town_a.yaml"] = Card;+ files["events/after_town_a_again.yaml"] = Card.Replace("id: after_town_a\n", "id: after_town_a_again\n");+ }));+ Assert.Equal("events[after_town_a_again].deported", ex.Field);+ Assert.Contains("already has a card", ex.Message);+ }++ [Fact]+ public void TheLoaderRefusesACardForAPlaceWhoseResidentsFled()+ {+ var ex = Assert.Throws<ContentException>(() => Load(fled: new[] { "town_a" }));+ Assert.Equal("events[after_town_a].deported", ex.Field);+ Assert.Contains("fled when it was captured", ex.Message);+ }+}diff --git a/sim/Statecraft.Sim.Tests/EventRetimingTests.cs b/sim/Statecraft.Sim.Tests/EventRetimingTests.csindex 001854d2f..5fdc1d05e 100644--- a/sim/Statecraft.Sim.Tests/EventRetimingTests.cs+++ b/sim/Statecraft.Sim.Tests/EventRetimingTests.cs@@ -25,8 +25,8 @@ public class EventRetimingTests/// (a card raised at the new game comes on 15 May 1948), or null.</summary>static DateTime? CardDate(string id) => Run.FirstOrDefault(s => s.FiredEvents.Contains(id))?.Date;- /// <summary>#567's historical monthly run, now including objective 3's three cards (#791): all 37 ordinary events- /// except the four conditional cards below fire. Consequence cards belong only to alternate roads.</summary>+ /// <summary>#567's historical monthly run, now including objective 3's three cards (#791): all 39 ordinary events+ /// except the six conditional cards below fire. Consequence cards belong only to alternate roads.</summary>[Fact]public void EveryEventFiresInTheHistoricalMonthlyRun(){@@ -36,10 +36,11 @@ public class EventRetimingTests// R-SWAMP-002: hula_drainage fires only while the player's works at the Hula are in progress, and the reference// player drains no swamp, so the run never shows it. absorb_immigrants (#1039) is raised only when its objective// completes (R-OBJ-004), and the reference player never completes it in this run. The corridor parts also- // remain unfinished (R-OBJ-005), so neither of their completion cards is expected.+ // remain unfinished (R-OBJ-005), so neither of their completion cards is expected. Deport's cards (R-EVT-007)+ // follow only a Deport, which the reference player never orders (R-CTRL-009).var missing = record.Select(e => e.Id).Where(id => CardDate(id) == null).ToList();- Assert.True(missing.SequenceEqual(new[] { "absorb_immigrants", "burma_road_complete", "hula_drainage", "railway_complete" }), "never fired: " + string.Join(", ", missing));- Assert.Equal(37, record.Count);+ Assert.True(missing.SequenceEqual(new[] { "absorb_immigrants", "burma_road_complete", "deport_acre", "deport_nazareth", "hula_drainage", "railway_complete" }), "never fired: " + string.Join(", ", missing));+ Assert.Equal(39, record.Count);}/// <summary>The card date of every event, from #567's tables (the "Proposed" column in the war period, "Monthly" afterdiff --git a/sim/Statecraft.Sim.Tests/EventRulesGddTests.cs b/sim/Statecraft.Sim.Tests/EventRulesGddTests.csindex afd9cb70c..6f7453e71 100644--- a/sim/Statecraft.Sim.Tests/EventRulesGddTests.cs+++ b/sim/Statecraft.Sim.Tests/EventRulesGddTests.cs@@ -292,10 +292,11 @@ options:foreach (var e in C.Events){// Every historical event fires in the run (EventRetimingTests) but hula_drainage, which waits for works the- // reference player never starts (R-SWAMP-002), and absorb_immigrants, which waits for its objective (R-OBJ-004, #1039);+ // reference player never starts (R-SWAMP-002), absorb_immigrants, which waits for its objective (R-OBJ-004, #1039),+ // and Deport's cards, which wait for a Deport the reference player never orders (R-EVT-007, R-CTRL-009);// their options are read on the first turn of their window.var s = e.Kind != EventKinds.Consequence- ? Run.FirstOrDefault(x => x.FiredEvents.Contains(e.Id)) ?? Run.First(x => (e.Site != "" || e.Objective != "") && x.Date >= e.From)+ ? Run.FirstOrDefault(x => x.FiredEvents.Contains(e.Id)) ?? Run.First(x => (e.Site != "" || e.Objective != "" || e.Deported != "") && x.Date >= e.From): AltRun.Play(C, AltRun.RoadTo(C, e)).First(x => x.FiredEvents.Contains(e.Id));foreach (var o in e.Options){diff --git a/sim/Statecraft.Sim.Tests/FinalWaveTests.cs b/sim/Statecraft.Sim.Tests/FinalWaveTests.csindex 746ec82a0..8f944210f 100644--- a/sim/Statecraft.Sim.Tests/FinalWaveTests.cs+++ b/sim/Statecraft.Sim.Tests/FinalWaveTests.cs@@ -16,7 +16,7 @@ public class FinalWaveTests/// <summary>The events with a sensitive tag (spec 5.5): pinned, so a new one cannot miss the owner's review table.</summary>static readonly string[] SensitiveEvents =- { "altalena", "bernadotte_assassination", "burma_road_complete", "degania_defence", "operation_hiram", "operation_horev", "operation_yoav", "reparations_claim", "reparations_vote", "ten_days" };+ { "altalena", "bernadotte_assassination", "burma_road_complete", "degania_defence", "deport_acre", "deport_nazareth", "operation_hiram", "operation_horev", "operation_yoav", "reparations_claim", "reparations_vote", "ten_days" };/// <summary>The resources a sensitive option may not raise (EventRules.NoGainTargets, internal to the sim).</summary>static readonly string[] Resources = { "treasury", "fx_reserves", "food_supply", "morale", "intl_standing" };@@ -69,6 +69,7 @@ public class FinalWaveTests// bernadotte_assassination, operation_hiram and ten_days after #577 changed them on 2026-10-15 ("Approve all 4", #600).// burma_road_complete (#791): the owner reviewed its text on 21 Oct 2026. reparations_vote (#1564): the owner// approved its card, photograph and costs on 25 Oct 2026 ("Approve all three", #1575).+ // deport_acre and deport_nazareth (#801): the owner signed off both cards on 2 Nov 2026 ("Approve both cards", #2197).Assert.Empty(ReleaseGate.SensitiveUnreviewed(Real));var reviewed = Fixture.Write(events: new Dictionary<string, string>{diff --git a/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.cs b/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.csindex f7efcac99..ff9e7455b 100644--- a/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.cs+++ b/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.cs@@ -192,7 +192,7 @@ public class Gdd03EventRulesTestspublic void RealCatalogueExcludesExactlyFiveWholeCardsAndKeepsOrder(){var old = Real(false); var modern = Real(true);- Assert.Equal(39, old.Events.Count); Assert.Equal(34, modern.Events.Count);+ Assert.Equal(41, old.Events.Count); Assert.Equal(36, modern.Events.Count); // Deport's two cards (#801) are not excludedAssert.Equal(Excluded, old.Events.Select(e => e.Id).Except(modern.Events.Select(e => e.Id)).OrderBy(x => x, StringComparer.Ordinal));Assert.Equal(old.Events.Where(e => !Excluded.Contains(e.Id)).Select(e => e.Id), modern.Events.Select(e => e.Id));Assert.NotEqual(old.Hash, modern.Hash);@@ -385,6 +385,8 @@ public class Gdd03EventRulesTests"burma_road_complete:6c49179b3844761c6f580c1436596cbace6932cbb6b620a9ea2872b6e0342ba2", // re-pinned for #1065 (owner's native read; flag removed in 8fbcb2aff), then for the stale reviewer comment (comment-only)"clothing_rationing_1950:ce2d24a8a98ad86a1670e62094d18fca9da71b5cd11f437cd5314a09f4a1d562", // re-pinned for #1065 (Beri's native Hebrew read)"degania_defence:f915a42f050777ddffd7e7e26090b51c6cf922dade41a98fe7174b1c50a62c6e", // re-pinned for #2020 (owner-approved Hebrew wording, 30 October 2026), then for #1065 (Beri's native Hebrew read)+ "deport_acre:1db490f43ffdb0ca13a3c481b9e533b9710a97bcadb6c11987e7a09f518753b8", // added for #801 (Deport's follow-up cards), re-pinned for #2197 review round 2 (comments say "adapted") and the owner's sign-off (status sensitivity-reviewed, 2 Nov 2026)+ "deport_nazareth:582d47c77cb402fa4e0b249fd508a4414b9e317fa21d11a216af6a3bdab0c783", // added for #801 (Deport's follow-up cards), re-pinned for #2197 ("near the town", source packet N5; review round 2 comments) and the owner's sign-off (status sensitivity-reviewed, 2 Nov 2026)"education_registration_1951:1d5cb0e4062dc61b787a7e1b375b3c85c9a1663bd4c3c73f3c9c6f9ee5ac4da3", // re-pinned for #1065 (Beri's native Hebrew read)"elections_1949:962bd8064e8b98d4919be9b4ff4fab68cb9bd3d15213ea43917caa4432f42116", // re-pinned for #1065 (Beri's native Hebrew read)"first_new_yishuv:0c75e086931ddbd0d356b8691afffb914ba1e657475d9295375baa3ee32c66b9", // re-pinned for #1065 (owner's native read; flag removed in 8fbcb2aff), then for the stale reviewer comment (comment-only)@@ -415,7 +417,7 @@ public class Gdd03EventRulesTests"ten_days:7fece9c0eb4f56ece79a7247e430fb679d3d4d826165e598fd0bd982099a412a", // re-pinned for #1065 (Beri's native Hebrew read)};[Fact]- public void AllThirtyNineSourceRecordsIncludingReviewsAndHebrewAreUnchanged()+ public void AllFortyOneSourceRecordsIncludingReviewsAndHebrewAreUnchanged(){var root = Path.Combine(RealContentTests.ContentRoot(), "events");var files = Directory.GetFiles(root, "*.yaml").OrderBy(x => x, StringComparer.Ordinal).ToArray();diff --git a/sim/Statecraft.Sim.Tests/RealContentTests.cs b/sim/Statecraft.Sim.Tests/RealContentTests.csindex d645b2b5b..459b77f6d 100644--- a/sim/Statecraft.Sim.Tests/RealContentTests.cs+++ b/sim/Statecraft.Sim.Tests/RealContentTests.cs@@ -234,6 +234,7 @@ public class RealContentTests// Other records keep the gate.// burma_road_complete left them with the owner's sensitivity review of its text, 21 Oct 2026 (#791).// railway_complete left them after a person's read of its two newspaper pages and the booklet, 25 Oct 2026 (#1410).+ // deport_acre and deport_nazareth (#801) left them with the owner's sensitivity sign-off, 2 Nov 2026 ("Approve both cards", #2197).var draftEvents = new[] { "first_new_yishuv", "jerusalem_demilitarisation_guard", "rafah_force_pressure" };Assert.Equal(draftEvents, C.Events.Where(e => e.Status == "draft").Select(e => e.Id).OrderBy(id => id));// A sensitive event submitted fact-checked waits here for the owner's sensitivity review; the maintainer sets@@ -587,4 +588,56 @@ public class RealContentTestsAssert.False(string.IsNullOrEmpty(card.TextHe), "absorb_immigrants.text_he");Assert.All(card.Options, o => Assert.False(string.IsNullOrEmpty(o.TextHe), $"absorb_immigrants.options[{o.Id}].text_he"));}++ /// <summary>Deport's follow-up cards (GDD Phase 6 PR 9, #801). Deport is refused where the residents fled (R-CTRL-018), so+ /// only the targets whose residents stayed can be deported, and each has exactly one card.</summary>+ static readonly string[] DeportCards = { "deport_acre", "deport_nazareth" };++ // R-GATE-001: every displacement card in content/ is held by the release gate until the owner sets sensitivity-reviewed.+ // Replaces ReleaseGateTests.TheRealContentHasNoDisplacementEventYet, PR 2's guard.+ [Fact]+ public void EveryDisplacementCardIsGatedUntilReviewed()+ {+ var displacement = C.Events.Where(e => e.Tags.Contains("displacement", StringComparer.OrdinalIgnoreCase)).Select(e => e.Id).OrderBy(id => id, StringComparer.Ordinal);+ Assert.Equal(DeportCards, displacement);+ foreach (var e in C.Events.Where(e => DeportCards.Contains(e.Id)))+ Assert.Equal(e.Status != ReleaseGate.ReviewedStatus, ReleaseGate.SensitiveUnreviewed(C).Contains(e.Id));+ }++ // R-EFX-007, R-EFX-005: no option of a displacement card raises Money, Food, Arms, Social cohesion, International Support+ // or any other target, and none grants units, gains a city effect or unlocks a project. The cards carry no effect at all:+ // Deport's costs are R-CTRL-018's, applied by the sim.+ [Fact]+ public void NoDisplacementOptionRaisesAnything()+ {+ foreach (var o in C.Events.Where(e => DeportCards.Contains(e.Id)).SelectMany(e => e.Options))+ {+ Assert.Empty(o.Effects); // no effect at all, which covers R-EFX-007's no-gain rule+ Assert.Empty(o.GrantUnits);+ Assert.Empty(o.CityEffects);+ Assert.Empty(o.UnlockProjects);+ Assert.Empty(o.SetPolicy);+ Assert.Null(o.SetRung);+ }+ }++ // R-EVT-007: each target whose residents stayed has one card, which fires once that place is depopulated and not before;+ // the other card stays unfired.+ [Fact]+ public void EachStayedTargetHasOneCardThatFiresOnItsDeport()+ {+ var stayed = C.SettlementTargets.Where(t => t.Residents == "stayed").Select(t => t.Id).OrderBy(id => id, StringComparer.Ordinal).ToArray();+ Assert.Equal(new[] { "acre", "nazareth" }, stayed);+ Assert.Equal(stayed, C.Events.Where(e => e.Deported != "").Select(e => e.Deported).OrderBy(id => id, StringComparer.Ordinal));+ foreach (var place in stayed)+ {+ var card = C.Events.Single(e => e.Deported == place).Id;+ var s = Simulation.NewGame(C, 42, Mode.Historical);+ Assert.DoesNotContain(card, s.FiredEvents);+ s.Settlements[place] = new SettlementControl(since: s.Date, depopulated: true);+ EventSystem.Trigger(C, s, new List<Cause>());+ Assert.Contains(card, s.PendingEvents);+ Assert.DoesNotContain(C.Events.Single(e => e.Deported != "" && e.Deported != place).Id, s.FiredEvents);+ }+ }}diff --git a/sim/Statecraft.Sim.Tests/ReleaseGateTests.cs b/sim/Statecraft.Sim.Tests/ReleaseGateTests.csindex 46b9a7074..340549dc3 100644--- a/sim/Statecraft.Sim.Tests/ReleaseGateTests.cs+++ b/sim/Statecraft.Sim.Tests/ReleaseGateTests.cs@@ -23,11 +23,4 @@ public class ReleaseGateTestsAssert.Equal(new[] { "displacement" }, ReleaseGate.SensitiveUnreviewed(ContentLoader.Load(files)));}-- [Fact]- public void TheRealContentHasNoDisplacementEventYet()- {- var content = ContentLoader.Load(RealContentTests.ContentRoot());- Assert.DoesNotContain(content.Events, e => e.Tags.Contains("displacement", System.StringComparer.OrdinalIgnoreCase));- }}diff --git a/sim/Statecraft.Sim.Tests/TranslationsTests.cs b/sim/Statecraft.Sim.Tests/TranslationsTests.csindex 707e92ac6..3e644efbb 100644--- a/sim/Statecraft.Sim.Tests/TranslationsTests.cs+++ b/sim/Statecraft.Sim.Tests/TranslationsTests.cs@@ -102,7 +102,7 @@ public class TranslationsTestsvar events = Directory.GetFiles(Path.Combine(root, "events"), "*.yaml").Select(f => Yaml(Path.GetRelativePath(root, f))).ToList();Assert.Equal(events.Sum(e => Count(e, k => k == "title_he")), Inline.Value.Events.Count);Assert.Equal(events.Sum(e => Count(e, k => k == "text_he")), Inline.Value.Events.Sum(e => 1 + e.Options.Count));- Assert.Equal(39, Inline.Value.Events.Count);+ Assert.Equal(41, Inline.Value.Events.Count);}[Fact]diff --git a/sim/Statecraft.Sim.Tests/WarEvents1948Tests.cs b/sim/Statecraft.Sim.Tests/WarEvents1948Tests.csindex 58c99eb89..ad14b8ba0 100644--- a/sim/Statecraft.Sim.Tests/WarEvents1948Tests.cs+++ b/sim/Statecraft.Sim.Tests/WarEvents1948Tests.cs@@ -267,7 +267,7 @@ public class WarEvents1948Tests}/// <summary>EventRules.SensitiveTags (internal to the sim): the loader refuses a money reward on these.</summary>- static readonly HashSet<string> Sensitive = new HashSet<string> { "holocaust", "terror", "massacre", "war-casualties" };+ static readonly HashSet<string> Sensitive = new HashSet<string> { "holocaust", "terror", "massacre", "war-casualties", "displacement" };/// <summary>Events with fighting or terror carry the sensitive tags EventRules already enforces (no money reward).</summary>[Fact]diff --git a/sim/Statecraft.Sim/Content.cs b/sim/Statecraft.Sim/Content.csindex dc27a0f6c..4a014da53 100644--- a/sim/Statecraft.Sim/Content.cs+++ b/sim/Statecraft.Sim/Content.cs@@ -1137,6 +1137,10 @@ namespace Statecraft.Sim/// while that front holds prisoners or the player's soldiers, has exactly one option and resolves without a draw./// Empty for every other event.</summary>public string Prisoners { get; set; } = "";+ /// <summary>The settlement target (settlement_targets.yaml) whose Deport this follow-up card follows (R-EVT-007; GDD+ /// Phase 6 PR 9, #801): it fires only once the player's Deport has depopulated that place, has exactly one option,+ /// resolves without a draw and carries the <c>displacement</c> tag. Empty for every other event.</summary>+ public string Deported { get; set; } = "";/// <summary>The place among the same turn's cards of the same `from` (R-EVT-006): a lower order comes first, before/// the id decides. Default 0; degania_defence has 1, so One Army opens the game (owner, 24 October 2026, #1568).</summary>public int Order { get; set; }diff --git a/sim/Statecraft.Sim/ContentLoader.cs b/sim/Statecraft.Sim/ContentLoader.csindex ce592e0b9..efae094f4 100644--- a/sim/Statecraft.Sim/ContentLoader.cs+++ b/sim/Statecraft.Sim/ContentLoader.cs@@ -392,6 +392,9 @@ namespace Statecraft.Sim// fires only while that site is being worked; the legacy loop ignores it// prisoners a front (Prisoners.Fronts) whose prisoners the card returns: it fires only while// that front holds some either way, and has exactly one option (R-POW-004)+ // deported a settlement target whose Deport the card follows: it fires only once the+ // player's Deport has depopulated that place, carries the displacement tag and+ // has exactly one option (R-EVT-007)foreach (var rel in eventFiles.OrderBy(p => p, StringComparer.Ordinal)){var e = Read<GameEvent>(readFile, rel);@@ -1470,6 +1473,7 @@ namespace Statecraft.SimValidateObjectiveConditions(c);ValidateEventSites(c);ValidateEventPrisoners(c);+ ValidateEventDeported(c);ValidateProjects(c);ValidateCorridors(c);}@@ -1486,6 +1490,41 @@ namespace Statecraft.Sim}}+ /// <summary>A Deport follow-up card (R-EVT-007; GDD Phase 6 PR 9, #801): a settlement target whose residents stayed,+ /// since Deport is refused where they fled (R-CTRL-018) and the card could never fire; the displacement tag, so the+ /// release gate holds it until the owner's review (R-GATE-001); one option, which Delegate resolves without a draw; no `to`,+ /// whose closed window would miss a later Deport; no `prisoners`; a soft anchor (it takes no soft slot either way); a window+ /// open from the game's start; nothing else it waits for; and one card per place, so it fires on its Deport's turn, once.</summary>+ static void ValidateEventDeported(Content c)+ {+ var cardOf = new Dictionary<string, string>(StringComparer.Ordinal);+ foreach (var e in c.Events.Where(e => e.Deported != "").OrderBy(e => e.Id, StringComparer.Ordinal))+ {+ var target = c.SettlementTargets.FirstOrDefault(t => t.Id == e.Deported)+ ?? throw new ContentException(e.File, $"events[{e.Id}].deported", $"unknown settlement target '{e.Deported}' (settlement_targets.yaml)");+ if (target.Residents == Fled)+ throw new ContentException(e.File, $"events[{e.Id}].deported", $"the residents of '{e.Deported}' fled when it was captured, so it is never deported (R-CTRL-018)");+ if (!e.Tags.Contains("displacement", StringComparer.OrdinalIgnoreCase))+ throw new ContentException(e.File, $"events[{e.Id}].tags", "a Deport card carries the displacement tag (R-GATE-001)");+ if (e.Options.Count != 1)+ throw new ContentException(e.File, $"events[{e.Id}].options", "a Deport card has exactly one option");+ if (e.To != null)+ throw new ContentException(e.File, $"events[{e.Id}].to", "a Deport card has no to: a closed window would miss a later Deport");+ if (e.Prisoners != "")+ throw new ContentException(e.File, $"events[{e.Id}].prisoners", "a Deport card is not an exchange card");+ if (e.Anchor != "soft")+ throw new ContentException(e.File, $"events[{e.Id}].anchor", "a Deport card is soft: it is not on the record");+ if (e.From > c.Rules.Start)+ throw new ContentException(e.File, $"events[{e.Id}].from", FormattableString.Invariant($"a Deport card opens at the game's start ({c.Rules.Start:yyyy-MM-dd}), so a Deport on any turn fires it"));+ foreach (var (key, set) in new[] { ("conditions", e.Conditions.Count > 0), ("requires", e.Requires.Count > 0), ("site", e.Site != ""),+ ("objective", e.Objective != ""), ("kind", e.Kind != EventKinds.Historical), ("variants", e.Variants.Count > 0) })+ if (set) throw new ContentException(e.File, $"events[{e.Id}].{key}", "a Deport card waits for nothing but its Deport");+ if (cardOf.TryGetValue(e.Deported, out var first))+ throw new ContentException(e.File, $"events[{e.Id}].deported", $"'{e.Deported}' already has a card, '{first}': one Deport raises one card");+ cardOf[e.Deported] = e.Id;+ }+ }+/// <summary>An event's site (R-SWAMP-002): a designated swamp site, whose works the event is about. Only the GDD loop/// reads sites.yaml, so only it can check this; the legacy loop ignores the key.</summary>static void ValidateEventSites(Content c)diff --git a/sim/Statecraft.Sim/EndReport.cs b/sim/Statecraft.Sim/EndReport.csindex c184cd80b..87a4ee611 100644--- a/sim/Statecraft.Sim/EndReport.cs+++ b/sim/Statecraft.Sim/EndReport.cs@@ -39,13 +39,18 @@ namespace Statecraft.Sim/// <summary>The prisoners returned in the exchanges (Q-END-3, R-POW-004), in people as Defence shows them/// (<see cref="GameState.PrisonersReturned"/> units times the people per unit); 0 when none went home.</summary>public int PrisonersReturned { get; }+ /// <summary>Deport's follow-up cards (R-EVT-007) that never fired although their place was depopulated, in id order:+ /// a Deport on the turn that ended the game raises no card, since no event fires then, so the end screen shows it+ /// instead (owner, 2 November 2026, #2197: "Show on the end screen (Recommended)"). A card that fired was shown on its+ /// turn and is not listed. Empty when nothing was deported.</summary>+ public IReadOnlyList<string> DeportCards { get; }EndReport(string outcome, DateTime date, int score, ScoreParts scoreParts, int referenceScore, IReadOnlyList<EndObjective> objectives, double cohesion, double support,- double population, PopulationAnchor? history, int prisonersReturned)+ double population, PopulationAnchor? history, int prisonersReturned, IReadOnlyList<string> deportCards){Outcome = outcome; Date = date; Score = score; ScoreParts = scoreParts; ReferenceScore = referenceScore; Objectives = objectives; SocialCohesion = cohesion;InternationalSupport = support; Population = population; PopulationHistory = history;- PrisonersReturned = prisonersReturned;+ PrisonersReturned = prisonersReturned; DeportCards = deportCards;}/// <summary>The report of a game that has ended; a game still on has none.</summary>@@ -67,8 +72,11 @@ namespace Statecraft.Sim// Scoring reads the rules of the date the turn started from. A turn that ends on a reference date never crosses an era's// start (Simulation.TurnEnd cuts it there), so the day before that date is in the era the turn started in.var reference = paysOn.Sum(d => c.RulesAt(d.AddDays(-1)).Mvp?.ObjectivePoints ?? 0);+ var deportCards = c.Events.Where(e => e.Deported != "" && !s.FiredEvents.Contains(e.Id)+ && s.Settlements.TryGetValue(e.Deported, out var place) && place.Depopulated)+ .Select(e => e.Id).OrderBy(id => id, StringComparer.Ordinal).ToList();return new EndReport(s.GameOver, s.Date, s.Score, Sim.ScoreParts.For(s), reference, objectives, s.Indicators["morale"], s.Indicators["intl_standing"],- s.TotalPopulation, history, s.PrisonersReturned.Values.Sum() * (c.RulesAt(s.Date).Mvp?.PeoplePerUnit ?? 0)); // no prisoners without the GDD rules+ s.TotalPopulation, history, s.PrisonersReturned.Values.Sum() * (c.RulesAt(s.Date).Mvp?.PeoplePerUnit ?? 0), deportCards); // no prisoners without the GDD rules}}diff --git a/sim/Statecraft.Sim/EventSystem.cs b/sim/Statecraft.Sim/EventSystem.csindex f7b265c3f..b70c673e7 100644--- a/sim/Statecraft.Sim/EventSystem.cs+++ b/sim/Statecraft.Sim/EventSystem.cs@@ -35,6 +35,9 @@ namespace Statecraft.Sim// R-POW-004: a front's exchange card waits for prisoners held either way. Only the GDD loop takes any, so the// legacy loop never fires one..Where(e => e.Prisoners == "" || Prisoners.Held(s, e.Prisoners))+ // R-EVT-007: a Deport follow-up card waits for the player's Deport of its place. Only the GDD loop records+ // settlements, so the legacy loop never fires one.+ .Where(e => e.Deported == "" || (s.Settlements.TryGetValue(e.Deported, out var place) && place.Depopulated))// A late fire can come after a dated indicator's window has ended (chapters design 3.2): a condition on it is not met..Where(e => e.Conditions.All(k => s.Indicators.TryGetValue(k.Indicator, out var v)&& (!k.Min.HasValue || v >= k.Min.Value) && (!k.Max.HasValue || v <= k.Max.Value)))@@ -46,9 +49,10 @@ namespace Statecraft.Sim.ThenBy(e => e.Objective == "" ? -1 : c.Objectives.FindIndex(o => o.Id == e.Objective)).ThenBy(e => e.Order).ThenBy(e => e.Id, StringComparer.Ordinal).ToList();+ // R-EVT-007: a Deport card takes no soft slot, so it fires on its Deport's turn however full that turn is.var hardCount = eligible.Count(e => e.Anchor == "hard");- var chosen = new HashSet<string>(eligible.Where(e => e.Anchor == "hard")- .Concat(eligible.Where(e => e.Anchor != "hard").Take(Math.Max(0, MaxSoftEventsPerTurn - hardCount))).Select(e => e.Id));+ var chosen = new HashSet<string>(eligible.Where(e => e.Anchor == "hard" || e.Deported != "")+ .Concat(eligible.Where(e => e.Anchor != "hard" && e.Deported == "").Take(Math.Max(0, MaxSoftEventsPerTurn - hardCount))).Select(e => e.Id));foreach (var e in eligible.Where(e => chosen.Contains(e.Id))){s.FiredEvents.Add(e.Id);@@ -315,7 +319,7 @@ namespace Statecraft.Sim{var e = Get(c, id);var minister = DelegatedTo(c, s, e);- if (e.Objective != "" || e.Prisoners != "") // R-POW-004: an exchange card, like an objective's, has one option and draws nothing+ if (e.Objective != "" || e.Prisoners != "" || e.Deported != "") // R-POW-004, R-EVT-007: an exchange card or a Deport card, like an objective's, has one option and draws nothing{Resolve(c, s, id, e.Options[0], $"delegated to {minister?.Name ?? "the cabinet"}", why, delegated: true, minister: minister);continue;diff --git a/tools/tests/test_package_release.py b/tools/tests/test_package_release.pyindex 50de9d872..ba4d9d238 100644--- a/tools/tests/test_package_release.py+++ b/tools/tests/test_package_release.py@@ -11,7 +11,7 @@ import package_releaseREPO = Path(package_release.REPO)SENSITIVE_PHOTOS = ["altalena", "bernadotte_assassination", "burma_road_complete", "degania_defence", "operation_hiram", "operation_horev", "operation_yoav", "reparations_vote", "ten_days"]ALTERNATE_FIXTURE_CARDS = ("jerusalem_demilitarisation_guard", "rafah_force_pressure")-SENSITIVE = ["altalena", "bernadotte_assassination", "burma_road_complete", "degania_defence", "operation_hiram", "operation_horev", "operation_yoav", "reparations_claim", "reparations_vote", "ten_days"]+SENSITIVE = ["altalena", "bernadotte_assassination", "burma_road_complete", "degania_defence", "deport_acre", "deport_nazareth", "operation_hiram", "operation_horev", "operation_yoav", "reparations_claim", "reparations_vote", "ten_days"]def photo_manifest(build, reviewed=True, shareable=True):diff --git a/unity/Assets/Scripts/UI/EndScreenPresenter.cs b/unity/Assets/Scripts/UI/EndScreenPresenter.csindex 9e57ef501..fa8f21a1e 100644--- a/unity/Assets/Scripts/UI/EndScreenPresenter.cs+++ b/unity/Assets/Scripts/UI/EndScreenPresenter.cs@@ -10,9 +10,10 @@ namespace Statecraft.Game.UI{/// <summary>The end screen (GDD Phase 7 PR 9, #812; D-H4): once the game is over it shows the sim's end report/// (EndReport.For, #810) and nothing else: the outcome, the score, each objective's card with the player's date beside the- /// historical date, the two national parameters and the population beside its CBS anchor. It formats the report only; no- /// number is computed here. It shows when a turn ends the game and when an ended game is loaded or rebuilt in the other- /// language; Close leaves the map to inspect (End Turn stays disabled and SimBridge refuses orders once the game is over),+ /// historical date, any Deport card whose Deport came on the last turn (R-EVT-007), the two national parameters and the+ /// population beside its CBS anchor. It formats the report only; no number is computed here. It shows when a turn ends+ /// the game and when an ended game is loaded or rebuilt in the other language; Close leaves the map to inspect (End Turn+ /// stays disabled and SimBridge refuses orders once the game is over),/// and New Game is the existing two presses (NewGamePresenter.Press), so showing the screen never deletes the save./// <para>While it shows, the root has <see cref="OpenClass"/>: ScreenNav.DisableCovered covers the HUD under it as under/// the turn report, and the screen takes the keyboard focus when it is uncovered.</para></summary>@@ -69,8 +70,9 @@ namespace Statecraft.Game.UIpublic bool ClosedThisFrame => closedAt == UnityEngine.Time.frameCount;/// <summary>The screen's lines for an ended game, in order: the outcome, its history note when it has one, the score,- /// the reference score, one per objective, Social cohesion, International Support, the population with its CBS anchor- /// and, when some went home, the prisoners returned. Every value is the report's.</summary>+ /// the reference score, one per objective, each Deport card that never fired (its title, then its text), Social+ /// cohesion, International Support, the population with its CBS anchor and, when some went home, the prisoners+ /// returned. Every value is the report's.</summary>public static IReadOnlyList<(string Name, string Text)> Lines(Content c, GameState s, UiText t){var r = EndReport.For(c, s);@@ -107,6 +109,14 @@ namespace Statecraft.Game.UI? t.Format("end.objective_done", title, Date(done), Date(o.Historical)): t.Format("end.objective_open", title, Date(o.Historical))));}+ // R-EVT-007: a Deport card that never fired, its Deport on the turn that ended the game (owner, 2 November 2026,+ // #2197: "Show on the end screen (Recommended)"), shown as its card shows it, title then text, in the UI's language.+ foreach (var id in r.DeportCards)+ {+ var card = c.Events.First(e => e.Id == id);+ lines.Add(("deport-" + id, ContentNames.Fill(t, c, s, s.Date, EventSystem.Title(c, s, card), card.TitleHe)));+ lines.Add(("deport-" + id + "-text", ContentNames.Fill(t, c, s, s.Date, EventSystem.Render(c, s, card), card.TextHe)));+ }lines.Add(("cohesion", t.Format("end.parameter", t["hud.caption.cohesion"], PlayerText.Percent(r.SocialCohesion))));lines.Add(("standing", t.Format("end.parameter", t["hud.caption.standing"], PlayerText.Percent(r.InternationalSupport))));string People(double n) => n.ToString("N0", CultureInfo.InvariantCulture);diff --git a/unity/Assets/Tests/EditMode/BuildGateTests.cs b/unity/Assets/Tests/EditMode/BuildGateTests.csindex 8fdf2f545..b297c2d77 100644--- a/unity/Assets/Tests/EditMode/BuildGateTests.cs+++ b/unity/Assets/Tests/EditMode/BuildGateTests.cs@@ -161,7 +161,7 @@ public class BuildGateTestspublic void AShareableBuildWaitsForTheSensitivityReview(){var c = Checked();- Assert.IsNull(Refusal(c), "every shipped sensitive event is reviewed (burma_road_complete: owner, 21 Oct 2026, #791)");+ Assert.IsNull(Refusal(c), "every shipped sensitive event is reviewed (burma_road_complete: owner, 21 Oct 2026, #791; deport_acre and deport_nazareth: owner, 2 Nov 2026, #2197)");foreach (var e in c.Events) if (ReleaseGate.SensitiveEvents(c).Contains(e.Id)) e.Status = "fact-checked"; // as before the sign-offvar refusal = Refusal(c);Assert.IsNotNull(refusal, "an unreviewed sensitive event blocks a shareable build");diff --git a/unity/Assets/Tests/EditMode/CaptureDialogTests.cs b/unity/Assets/Tests/EditMode/CaptureDialogTests.csindex e1903d923..149562c57 100644--- a/unity/Assets/Tests/EditMode/CaptureDialogTests.cs+++ b/unity/Assets/Tests/EditMode/CaptureDialogTests.cs@@ -31,7 +31,10 @@ public class CaptureDialogTestsstatic Content Targets(double price = 0, double endPrice = 0, params string[] extra){var dir = Paths.Content;- var events = Directory.GetFiles(Path.Combine(dir, "events"), "*.yaml").Select(f => "events/" + Path.GetFileName(f)).ToList();+ // Deport's cards (#801, a `deported:` key) name targets this fixture's list leaves out (R-EVT-007), so they stay out too.+ var events = Directory.GetFiles(Path.Combine(dir, "events"), "*.yaml")+ .Where(f => !System.Text.RegularExpressions.Regex.IsMatch(File.ReadAllText(f), @"(?m)^deported:"))+ .Select(f => "events/" + Path.GetFileName(f)).ToList();// Each target at its target hex (ContentLoader.ValidateSettlementTargets checks it): Lydda's and Ramle's from Hex below// (Ramle's is a neighbour of its settlement hex, #1796), any other place's read from its own hex in the map, so a// re-grid cannot stale the fixture.diff --git a/unity/Assets/Tests/EditMode/CauseTextTests.cs b/unity/Assets/Tests/EditMode/CauseTextTests.csindex 2725ca94f..9a4b5ff4d 100644--- a/unity/Assets/Tests/EditMode/CauseTextTests.cs+++ b/unity/Assets/Tests/EditMode/CauseTextTests.cs@@ -338,7 +338,9 @@ public class CauseTextTestspublic void ActualResidentRowsRenderAfterSettlementRecordsAreRemoved(bool fled){// Existing CaptureDialog fixture pattern: real rules/map, synthetic capture eligibility and resident facts.+ // Deport's cards (#801, a `deported:` key) name targets this fixture's list leaves out (R-EVT-007), so they stay out too.var events = System.IO.Directory.GetFiles(System.IO.Path.Combine(Paths.Content, "events"), "*.yaml")+ .Where(f => !System.Text.RegularExpressions.Regex.IsMatch(System.IO.File.ReadAllText(f), @"(?m)^deported:")).Select(f => "events/" + System.IO.Path.GetFileName(f));var c = ContentLoader.Load(rel => {var path = System.IO.Path.Combine(Paths.Content, rel);diff --git a/unity/Assets/Tests/EditMode/EndScreenTests.cs b/unity/Assets/Tests/EditMode/EndScreenTests.csindex 6aee369a7..00b4f3f9b 100644--- a/unity/Assets/Tests/EditMode/EndScreenTests.cs+++ b/unity/Assets/Tests/EditMode/EndScreenTests.cs@@ -286,6 +286,36 @@ public class EndScreenTests}}+ /// <summary>R-EVT-007 (owner, 2 November 2026, #2197: "Show on the end screen (Recommended)"): a Deport card that never+ /// fired, because its Deport came on the turn that ended the game (EndReport.DeportCards), shows on the end screen after+ /// the objectives: its title, then its text, as its card shows them, in the UI's language. A card that fired was shown on+ /// its turn and is not shown again. Red first, reasoned (Unity runs only through the gate): before this change Lines had+ /// no Deport rows, so the ordered names lack "end-screen-deport-deport_acre" and the Line lookups find no label.</summary>+ [Test]+ public void ADeportCardThatNeverFiredShowsOnTheEndScreen()+ {+ var card = C.Events.Single(e => e.Deported == "acre");+ void Deported(GameState s) { Ended(s); s.Settlements["acre"] = new SettlementControl(since: s.Date, depopulated: true); }+ using (var k = new Kit(En, Deported))+ {+ var s = k.Bridge.State;+ var names = k.Ui.Q<ScrollView>("end-screen-rows").Children().Select(x => x.name).ToList();+ var at = names.IndexOf("end-screen-deport-" + card.Id);+ Assert.GreaterOrEqual(at, 0, "the card's row: " + string.Join(", ", names));+ Assert.AreEqual("end-screen-objective-" + C.Objectives[C.Objectives.Count - 1].Id, names[at - 1], "after the objectives");+ CollectionAssert.AreEqual(new[] { "end-screen-deport-" + card.Id, "end-screen-deport-" + card.Id + "-text", "end-screen-cohesion" },+ names.Skip(at).Take(3), "the title, the text, then the parameters");+ Assert.AreEqual(EventSystem.Title(C, s, card), k.Line("deport-" + card.Id));+ Assert.AreEqual(EventSystem.Render(C, s, card), k.Line("deport-" + card.Id + "-text"));+ var he = EndScreenPresenter.Lines(C, s, He);+ Assert.AreEqual(card.TitleHe, he.Single(l => l.Name == "deport-" + card.Id).Text, "in Hebrew, the card's Hebrew");+ Assert.AreEqual(card.TextHe, he.Single(l => l.Name == "deport-" + card.Id + "-text").Text);+ }+ using var fired = new Kit(En, s => { Deported(s); s.FiredEvents.Add(card.Id); });+ CollectionAssert.DoesNotContain(fired.Ui.Q<ScrollView>("end-screen-rows").Children().Select(x => x.name), "end-screen-deport-" + card.Id,+ "a card that fired is not shown again");+ }+[Test]public void HebrewShowsTheHebrewWords(){diff --git a/unity/Assets/Tests/EditMode/EventImageMappingTests.cs b/unity/Assets/Tests/EditMode/EventImageMappingTests.csindex b16893218..9df0cd811 100644--- a/unity/Assets/Tests/EditMode/EventImageMappingTests.cs+++ b/unity/Assets/Tests/EditMode/EventImageMappingTests.cs@@ -21,9 +21,10 @@ public class EventImageMappingTests/// <summary>Cards without a wired photograph (docs/event-images.md). The railway card and #939's alternate follow-ups/// are not wired yet; the seven other fallbacks had no suitable photograph found.- /// Cards without an office have no portrait plate either.</summary>+ /// Cards without an office have no portrait plate either. Deport's two cards (#801) never carry a picture (Q-CARD-3 (a))+ /// and have no office, so they show no image at all.</summary>static readonly string[] Fallback = { "armistice_lebanon", "armistice_syria", "education_registration_1951", "forex_crisis_1951", "reparations_claim", "sinai_withdrawal", "rhodes_talks", "railway_complete",- "jerusalem_demilitarisation_guard", "rafah_force_pressure" };+ "jerusalem_demilitarisation_guard", "rafah_force_pressure", "deport_acre", "deport_nazareth" };/// <summary>Photographs whose ASSETS.yaml row waits for the owner's sign-off (#380, "What needs maintainer sign-off"). When the/// owner signs one off, its row becomes verified and its name leaves this list.</summary>static readonly string[] AwaitingSignOff = { }; // first_new_yishuv signed off 17 Oct 2026 ("Approve both", #879; #913); absorb_immigrants (#739, #1268) and burma_road_complete (#1226, #791) by the owner on 21 Oct 2026; degania_defence (#1568) on 24 Oct 2026; reparations_vote (#1575) on 25 Oct 2026diff --git a/unity/Assets/Tests/EditMode/EventVideoTests.cs b/unity/Assets/Tests/EditMode/EventVideoTests.csindex 959f60171..9ca100dd3 100644--- a/unity/Assets/Tests/EditMode/EventVideoTests.cs+++ b/unity/Assets/Tests/EditMode/EventVideoTests.cs@@ -26,6 +26,18 @@ public class EventVideoTestsstatic EventImageCatalog Photos => AssetDatabase.LoadAssetAtPath<EventImageCatalog>("Assets/Resources/EventImageCatalog.asset");static IReadOnlyList<EventVideoMapping.Row> Rows => EventVideoMapping.Parse(File.ReadAllText(EventVideoMapping.Path));+ /// <summary>Q-CARD-3 (a) and constraint 10 of the Phase 6 plan (GDD Phase 6 PR 9, #801): no `displacement` card has a+ /// decision clip, an End Turn clip or a photograph, and Deport never gets a video.</summary>+ [Test]+ public void NoDisplacementCardHasAClipOrAPhotograph()+ {+ var cards = C.Events.Where(e => e.Tags.Contains("displacement", StringComparer.OrdinalIgnoreCase)).Select(e => e.Id).ToList();+ CollectionAssert.IsNotEmpty(cards, "Deport's follow-up cards are in content/ (#801)");+ var outcomes = EventVideoMapping.ParseOutcomes(File.ReadAllText(EventVideoMapping.Path));+ CollectionAssert.IsEmpty(Rows.Concat(outcomes).Select(r => r.Event).Intersect(cards));+ foreach (var id in cards) Assert.IsNull(Photos.Find(id), id);+ }+[Test]public void TheMappingIsSoundAndEveryClipShips(){