A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Add follow-up cards for Jerusalem and Rafah (#1545)
Aviel Cohen224aa4f0fb57
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 25a4de9f6..4cb33c3bf 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,6 +8,7 @@ checks this (see `CONTRIBUTING.md`).## [Unreleased]+- Add the two owner-approved follow-up cards for the Jerusalem demilitarisation and Rafah roads, in English and Hebrew; both remain drafts pending human review (Refs #939).## [0.3.1] - 2026-10-26### Addeddiff --git a/content/events/jerusalem_demilitarisation_guard.yaml b/content/events/jerusalem_demilitarisation_guard.yamlnew file mode 100644index 000000000..444155696--- /dev/null+++ b/content/events/jerusalem_demilitarisation_guard.yaml@@ -0,0 +1,45 @@+# yaml-language-server: $schema=../schema/event.schema.json+# Refs #939, Task 12: exactly the two-card draft accepted by the owner.+# Approved draft: https://github.com/eyalgolan/statecraft-israel/issues/939#issuecomment-6369861430+# Owner acceptance: https://github.com/eyalgolan/statecraft-israel/issues/939#issuecomment-6372987388+# Historical source passages re-opened by an AI agent on 24 October 2026, not human fact-checking.+# No person review or native Hebrew approval is asserted; shareable builds remain gated by R-ALT-011.+id: jerusalem_demilitarisation_guard+kind: consequence+anchor: soft+office: prime_minister+tags: [security]+# DESIGN VALUE: owner-set scheduling, not dates on which this counterfactual dilemma happened (#939).+from: 1948-08-04+to: 1948-10-04+requires: [{ event: jerusalem_military_government, option: accept_demilitarisation }]+title: >-+ A guard for Jerusalem+title_he: >-+ כוח שישמור על ירושלים+text: >-+ In the record, a US State Department memorandum of 1 July 1948 assumed that proposed demilitarisation would involve the withdrawal of regular and irregular forces from both sides, with a proposed UN armed guard in their place. In its recorded reply of 28 July, the Provisional Government linked its rejection to the Mediator's proposal to place Jerusalem ultimately under Arab rule. On this branch, {prime_minister} must decide whether to continue demilitarisation or return to Israeli military government.+text_he: >-+ בתיעוד ההיסטורי, תזכיר של מחלקת המדינה האמריקנית מ־1 ביולי 1948 העריך שפירוז מוצע יכלול יציאה של כוחות סדירים ובלתי סדירים משני הצדדים, וכוח משמר חמוש מוצע של האו״ם במקומם. בתשובתה המתועדת מ־28 ביולי קשרה הממשלה הזמנית את התנגדותה להצעת המתווך להעביר לבסוף את ירושלים לשלטון ערבי. במסלול הזה, {prime_minister} צריך להחליט אם להמשיך בפירוז או לחזור לממשל צבאי ישראלי.+text_he_review: agent-checked+options:+ - id: continue_demilitarisation+ text: "Continue demilitarisation with the proposed UN guard"+ text_he: "להמשיך בפירוז עם כוח המשמר המוצע של האו״ם"+ alternative: { basis: design }+ # DESIGN VALUE: owner-set, not a historical figure and not a moral judgement (#939, https://github.com/eyalgolan/statecraft-israel/issues/939#issuecomment-6372987388).+ # Empty immediate effect budget as accepted; the parent's effects are not refunded.+ effects: []+ - id: return_military_government+ text: "Return to Israeli military government"+ text_he: "לחזור לממשל צבאי ישראלי"+ alternative: { basis: design }+ # DESIGN VALUE: owner-set, not a historical figure and not a moral judgement (#939, https://github.com/eyalgolan/statecraft-israel/issues/939#issuecomment-6372987388).+ # Empty immediate effect budget as accepted; the parent's effects are not refunded.+ effects: []+ rejoin: jerusalem_military_government+# Source checks below are AI-agent reads, not human approval.+sources:+ - { url: "https://history.state.gov/historicaldocuments/frus1948v05p2/d428", checked: 2026-10-24 }+ - { url: "https://unispal.un.org/pdfs/AB14D4AAFC4E1BB985256204004F55FA.pdf", checked: 2026-10-24 }+status: draftdiff --git a/content/events/rafah_force_pressure.yaml b/content/events/rafah_force_pressure.yamlnew file mode 100644index 000000000..e9667950a--- /dev/null+++ b/content/events/rafah_force_pressure.yaml@@ -0,0 +1,46 @@+# yaml-language-server: $schema=../schema/event.schema.json+# Refs #939, Task 12: exactly the two-card draft accepted by the owner.+# Approved draft: https://github.com/eyalgolan/statecraft-israel/issues/939#issuecomment-6369861430+# Owner acceptance: https://github.com/eyalgolan/statecraft-israel/issues/939#issuecomment-6372987388+# Historical source passages re-opened by an AI agent on 24 October 2026, not human fact-checking.+# No person review or native Hebrew approval is asserted; shareable builds remain gated by R-ALT-011.+id: rafah_force_pressure+kind: consequence+anchor: soft+office: prime_minister+tags: [security]+# DESIGN VALUE: owner-set scheduling, not dates on which this counterfactual dilemma happened (#939).+from: 1949-01-17+to: 1949-03-17+requires: [{ event: sinai_withdrawal, option: hold_el_arish }]+title: >-+ The force west of Rafah+title_he: >-+ הכוח שממערב לרפיח+text: >-+ In the record, Israel's Prime Minister told the US representative on 1 January 1949 that Britain had threatened action under its 1936 treaty with Egypt. On 5 January, the US Acting Secretary of State linked American pressure over the incursion into Egypt to the danger of a wider conflict outside Palestine. On this branch, {prime_minister} must decide whether to keep the force west of Rafah or complete its pullback.+text_he: >-+ בתיעוד ההיסטורי, ראש ממשלת ישראל מסר לנציג ארצות הברית ב־1 בינואר 1949 שבריטניה איימה לפעול מכוח ההסכם שלה עם מצרים משנת 1936. ב־5 בינואר קשר ממלא מקום מזכיר המדינה האמריקני את הלחץ האמריקני בעניין החדירה למצרים לסכנה של עימות רחב יותר מחוץ לארץ ישראל. במסלול הזה, {prime_minister} צריך להחליט אם להשאיר את הכוח ממערב לרפיח או להשלים את נסיגתו.+text_he_review: agent-checked+options:+ - id: keep_rafah_force+ text: "Keep the force west of Rafah"+ text_he: "להשאיר את הכוח ממערב לרפיח"+ alternative: { basis: design }+ # DESIGN VALUE: owner-set, not a historical figure and not a moral judgement (#939, https://github.com/eyalgolan/statecraft-israel/issues/939#issuecomment-6372987388).+ # Empty immediate effect budget as accepted; the parent's effects are not refunded.+ effects: []+ - id: complete_pullback+ text: "Complete the pullback to the international border"+ text_he: "להשלים את הנסיגה אל הגבול הבינלאומי"+ alternative: { basis: design }+ # DESIGN VALUE: owner-set, not a historical figure and not a moral judgement (#939, https://github.com/eyalgolan/statecraft-israel/issues/939#issuecomment-6372987388).+ # Empty immediate effect budget as accepted; the parent's effects are not refunded.+ effects: []+ rejoin: sinai_withdrawal+# Source checks below are AI-agent reads, not human approval.+sources:+ - { url: "https://history.state.gov/historicaldocuments/frus1949v06/d341", checked: 2026-10-24 }+ - { url: "https://history.state.gov/historicaldocuments/frus1949v06/d354", checked: 2026-10-24 }+ - { url: "https://www.idf.il/media/emxjtczk/%D7%A7%D7%95%D7%91%D7%A5-%D7%9E%D7%91%D7%A6%D7%A2-%D7%97%D7%95%D7%A8%D7%91.pdf", checked: 2026-10-24 }+status: draftdiff --git a/docs/determinism.md b/docs/determinism.mdindex dff639ac1..96d501d45 100644--- a/docs/determinism.md+++ b/docs/determinism.md@@ -443,3 +443,4 @@ The hash reads the state keys, so it never sees a record outside its window. An| #1565: the `degania_defence` card on turn 1 (#1568; owner, 24 Oct 2026: "Keep +0.015", "Accept the shift") | scenario-mvp-defeat | `d5bc68f9` | same as reckless; the defeat is unchanged (was `584a828a`) || #1565: the `degania_defence` card on turn 1 (#1568; owner, 24 Oct 2026: "Keep +0.015", "Accept the shift") | scenario-mvp-occupy-cost | `9fcc7bae` | same as reckless; Nazareth's capture and Occupy are unchanged (was `a767bb66`) || #1565: the `degania_defence` card on turn 1 (#1568; owner, 24 Oct 2026: "Keep +0.015", "Accept the shift") | scenario-mvp-annex-nazareth | `8fe6d129` | same as reckless; the annexation is unchanged (was `d37e6db4`) |+| #939 Task 12: accepted slice-one follow-up cards | all manifest runs | unchanged | `jerusalem_demilitarisation_guard` and `rafah_force_pressure` fire only after their approved alternative roads. `STATECRAFT_UPDATE_GOLDEN=1 dotnet test sim/Statecraft.sln -c Release` on 24 October 2026 passed 2,600 tests; no golden moved. The content hash changes, so earlier saves retain the content-mismatch warning. |diff --git a/docs/event-images.md b/docs/event-images.mdindex e54364812..6ab8324e1 100644--- a/docs/event-images.md+++ b/docs/event-images.md@@ -1,14 +1,17 @@# Event-card photographsThe event card's header picture, as in the promo (`promo/final/03-gameplay-1936.png`, `05-event-transit-camps.png`), is a-real archival photograph of the event, never an AI image. 28 of the 36 events in `content/events/` have one. Seven+real archival photograph of the event, never an AI image. 28 of the 38 events in `content/events/` have one. Sevenothers show the responsible minister's portrait in the card's head, as before: `rhodes_talks`, `armistice_lebanon`,`armistice_syria`, `sinai_withdrawal`, `education_registration_1951`, `reparations_claim` and `forex_crisis_1951`. Nofree photograph that fits them was found (for `sinai_withdrawal`, see the decisions below). The objective card`absorb_immigrants` shows a generic arrival photograph, new immigrants from Romania coming down a ship's gangway atHaifa port (Benno Rothenberg, June 1951, CC BY 4.0; the owner's ruling of 19 October 2026, #739), as no photograph of-the card's own event was found (Q-ABS-3, #1039). The new `railway_complete` card has no photograph wired yet. The GDD objective card-`first_new_yishuv` shows Mefalsim's first days (Boris Carmi, June 1949, CC BY 4.0; #380).+the card's own event was found (Q-ABS-3, #1039). The GDD objective card `first_new_yishuv` shows Mefalsim's first days+(Boris Carmi, June 1949, CC BY 4.0; #380).++The `railway_complete` card and #939's alternate follow-up cards, `jerusalem_demilitarisation_guard` and+`rafah_force_pressure`, have no photograph wired yet.Owner ruling 2026-10-11 (summarised; recorded in `docs/CONTENT_POLICY.md` section 4):- Images of real people stay public domain or CC0, with one narrow exception: archival event photographs (notdiff --git a/sim/Statecraft.Sim.Tests/AlternateTimelineTests.cs b/sim/Statecraft.Sim.Tests/AlternateTimelineTests.csindex bcc4a38f8..0891ffec1 100644--- a/sim/Statecraft.Sim.Tests/AlternateTimelineTests.cs+++ b/sim/Statecraft.Sim.Tests/AlternateTimelineTests.cs@@ -432,6 +432,76 @@ options:static readonly Content Real = ContentLoader.Load(RealContentTests.ContentRoot());+ // Task 12, #939: exact cards accepted by the owner in comment 6372987388 (23 October 2026).+ public static IEnumerable<object[]> SliceOneCards()+ {+ yield return new object[] { "jerusalem_demilitarisation_guard", "jerusalem_military_government", "accept_demilitarisation", "1948-08-15" };+ yield return new object[] { "rafah_force_pressure", "sinai_withdrawal", "hold_el_arish", "1949-02-15" };+ }++ // R-ALT-005, R-ALT-008, R-ALT-012+ [Theory]+ [MemberData(nameof(SliceOneCards))]+ public void ASliceOneCardComesOnItsRoad(string card, string parent, string option, string turn)+ {+ var run = AltRun.Play(Real, new Dictionary<string, string> { [parent] = option });+ var first = run.FirstOrDefault(s => s.FiredEvents.Contains(card));+ Assert.NotNull(first);+ Assert.Equal(DateTime.Parse(turn, System.Globalization.CultureInfo.InvariantCulture), first!.Date);+ Assert.DoesNotContain(card, GoldenRun.PlayToEnd(Real).FiredEvents);+ }++ // R-ALT-003, R-ALT-009: no extra resource delta, invented advocate or refund of the parent's effects.+ [Theory]+ [InlineData("jerusalem_demilitarisation_guard", "jerusalem_military_government", "continue_demilitarisation", "return_military_government", "1948-08-04", "1948-10-04")]+ [InlineData("rafah_force_pressure", "sinai_withdrawal", "keep_rafah_force", "complete_pullback", "1949-01-17", "1949-03-17")]+ public void TheAcceptedSliceOneChoicesHaveNoNumericDeltaAndRejoinOnlyTheirParent(+ string card, string parent, string stay, string rejoin, string from, string to)+ {+ var e = Assert.Single(Real.Events, e => e.Id == card);+ Assert.Equal(DateTime.Parse(from, System.Globalization.CultureInfo.InvariantCulture), e.From);+ Assert.Equal(DateTime.Parse(to, System.Globalization.CultureInfo.InvariantCulture), e.To);+ Assert.Equal(new[] { stay, rejoin }, e.Options.Select(o => o.Id));+ Assert.All(e.Options, o =>+ {+ Assert.Empty(o.Effects);+ Assert.NotNull(o.Alternative);+ Assert.Equal("design", o.Alternative!.Basis);+ Assert.Empty(o.Alternative.By);+ Assert.Null(o.Alternative.Date);+ Assert.False(o.Historical);+ Assert.False(o.Recommended);+ });+ Assert.Empty(e.Options.Single(o => o.Id == stay).Rejoin);+ Assert.Equal(parent, e.Options.Single(o => o.Id == rejoin).Rejoin);+ }++ // Task 12's fail-open check, R-ALT-005 and R-ALT-009: mutate a disposable copy, never the real content.+ [Theory]+ [InlineData("jerusalem_demilitarisation_guard", "jerusalem_military_government", "accept_demilitarisation")]+ [InlineData("rafah_force_pressure", "sinai_withdrawal", "hold_el_arish")]+ public void ARealSliceOneCardCannotFollowItsParentsHistoricalOption(string card, string parent, string road)+ {+ var source = RealContentTests.ContentRoot();+ var copy = Fixture.Write();+ foreach (var file in System.IO.Directory.EnumerateFiles(source, "*", System.IO.SearchOption.AllDirectories))+ {+ var destination = System.IO.Path.Combine(copy, System.IO.Path.GetRelativePath(source, file));+ System.IO.Directory.CreateDirectory(System.IO.Path.GetDirectoryName(destination)!);+ System.IO.File.Copy(file, destination, overwrite: true);+ }+ ContentLoader.Load(copy); // The unmodified copy must be valid before testing a refusal.+ var historical = Assert.Single(Real.Events, e => e.Id == parent).Options.Single(o => o.Historical).Id;+ var path = System.IO.Path.Combine(copy, "events", card + ".yaml");+ var yaml = System.IO.File.ReadAllText(path);+ Assert.Contains("option: " + road, yaml);+ System.IO.File.WriteAllText(path, yaml.Replace("option: " + road, "option: " + historical));+ var ex = Assert.Throws<ContentException>(() => ContentLoader.Load(copy));+ Assert.Equal("events/" + card + ".yaml", ex.File);+ Assert.StartsWith("events[" + card + "].", ex.Field);+ Assert.Contains("road", ex.Message);+ }+// R-ALT-012[Fact]public void TheHistoricalRunRaisesNoConsequenceCard()@@ -594,8 +664,8 @@ variants:}/// <summary>Review focus 2: every consequence card in content/ fires in a run that takes its road (and, for a second- /// card, the first card's option too), with the reference player's orders everywhere else. Until a content slice adds- /// one, there is none; AltRunWalksTheRoadBack pins the helper on fixtures.</summary>+ /// card, the first card's option too), with the reference player's orders everywhere else.+ /// AltRunWalksTheRoadBack also pins the helper on fixtures.</summary>[Fact]public void EveryConsequenceCardFiresWhenItsRoadIsTaken(){diff --git a/sim/Statecraft.Sim.Tests/FinalWaveTests.cs b/sim/Statecraft.Sim.Tests/FinalWaveTests.csindex e233b377a..06b6a67d8 100644--- a/sim/Statecraft.Sim.Tests/FinalWaveTests.cs+++ b/sim/Statecraft.Sim.Tests/FinalWaveTests.cs@@ -80,7 +80,7 @@ public class FinalWaveTests[Fact]public void AShareableBuildNeedsEveryAlternateCardSignedOff(){- Assert.Empty(ReleaseGate.AlternateUnsigned(Real));+ Assert.Equal(new[] { "jerusalem_demilitarisation_guard", "rafah_force_pressure" }, ReleaseGate.AlternateUnsigned(Real));var c = AlternateTimelineTests.Load(("parent.yaml", AlternateTimelineTests.Parent), ("after_road.yaml", AlternateTimelineTests.Consequence), ("outside.yaml", AlternateTimelineTests.Outside));Assert.Equal(new[] { "after_road", "outside" }, ReleaseGate.AlternateUnsigned(c));var signed = AlternateTimelineTests.Consequence + "status: fact-checked\nreviewed_by: a-reviewer\nreviewed_on: 2026-10-20\n";diff --git a/sim/Statecraft.Sim.Tests/RealContentTests.cs b/sim/Statecraft.Sim.Tests/RealContentTests.csindex 45dc6efc4..79fa1dcbd 100644--- a/sim/Statecraft.Sim.Tests/RealContentTests.cs+++ b/sim/Statecraft.Sim.Tests/RealContentTests.cs@@ -172,14 +172,16 @@ public class RealContentTestsforeach (var g in C.Governments) { Assert.Equal("fact-checked", g.Status); Assert.NotEmpty(g.Sources); }foreach (var a in C.Aliyah) { Assert.Equal("fact-checked", a.Status); Assert.NotEmpty(a.Sources); }foreach (var a in C.PopulationAnchors) { Assert.Equal("fact-checked", a.Status); Assert.NotEmpty(a.Sources); }- // #791's cards remain drafts until the human source/sensitivity reviews. Other records keep the gate.+ // #791's remaining cards and #939's accepted alternate drafts still await human source review.+ // #939's cards also need the separate AlternateUnsigned sign-off before a shareable build.+ // Other records keep the gate.// burma_road_complete left them with the owner's sensitivity review of its text, 21 Oct 2026 (#791).- var objectiveDrafts = new[] { "first_new_yishuv", "railway_complete" };- Assert.Equal(objectiveDrafts, C.Events.Where(e => e.Status == "draft").Select(e => e.Id).OrderBy(id => id));+ var draftEvents = new[] { "first_new_yishuv", "jerusalem_demilitarisation_guard", "rafah_force_pressure", "railway_complete" };+ Assert.Equal(draftEvents, C.Events.Where(e => e.Status == "draft").Select(e => e.Id).OrderBy(id => id));Assert.Empty(ReleaseGate.SensitiveUnreviewed(C));foreach (var e in C.Events) // a sensitive event passes the owner's sensitivity review on top of fact-checking (D11){- Assert.Equal(objectiveDrafts.Contains(e.Id) ? "draft"+ Assert.Equal(draftEvents.Contains(e.Id) ? "draft": ReleaseGate.SensitiveEvents(C).Contains(e.Id) ? ReleaseGate.ReviewedStatus : "fact-checked", e.Status);Assert.NotEmpty(e.Sources);}diff --git a/sim/Statecraft.Sim.Tests/TranslationsTests.cs b/sim/Statecraft.Sim.Tests/TranslationsTests.csindex 1ef8f9ee5..282f6bc7e 100644--- a/sim/Statecraft.Sim.Tests/TranslationsTests.cs+++ b/sim/Statecraft.Sim.Tests/TranslationsTests.cs@@ -91,7 +91,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(36, Inline.Value.Events.Count);+ Assert.Equal(38, Inline.Value.Events.Count);}[Fact]diff --git a/tools/tests/test_package_release.py b/tools/tests/test_package_release.pyindex a8b526261..041a32579 100644--- a/tools/tests/test_package_release.py+++ b/tools/tests/test_package_release.py@@ -10,6 +10,7 @@ import package_releaseREPO = Path(package_release.REPO)SENSITIVE_PHOTOS = ["altalena", "bernadotte_assassination", "burma_road_complete", "degania_defence", "operation_hiram", "operation_horev", "operation_yoav", "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", "ten_days"]@@ -20,10 +21,11 @@ def photo_manifest(build, reviewed=True, shareable=True):(build / package_release.PHOTO_MANIFEST).write_text(json.dumps({"version": 1, "shareable": shareable, "photos": photos}))-def fake_build(tmp_path, reviewed, photos_reviewed=True, forces_checked=True):+def fake_build(tmp_path, reviewed, photos_reviewed=True, forces_checked=True, alternates_reviewed=True):"""A build folder with index.html, the real content copied into StreamingAssets/content and the photo manifest.forces_checked: the starting forces' rows in units_1948.yaml are fact-checked, as the owner's person check of- 21 October 2026 left them (R-UNIT-006, Q-START-3; #1240); False sets every row back to draft, as before it."""+ 21 October 2026 left them (R-UNIT-006, Q-START-3; #1240); False sets every row back to draft, as before it.+ alternates_reviewed: TEST-ONLY fictional review of the two #939 copies. No real content file is changed."""build = tmp_path / "Web-brotli"(build / "StreamingAssets").mkdir(parents=True)(build / "index.html").write_text("<html></html>")@@ -38,6 +40,18 @@ def fake_build(tmp_path, reviewed, photos_reviewed=True, forces_checked=True):units.write_text(re.sub(r"(?m)^ status: .*$", f" status: {forces}", units.read_text(encoding="utf-8")), encoding="utf-8")targets = content / "settlement_targets.yaml" # #793's rows, as the owner's review would leave them (Q-TGT-3 (b))targets.write_text(re.sub(r"(?m)^ status: .*$", f" status: {status}", targets.read_text(encoding="utf-8")), encoding="utf-8")+ # TEST-ONLY fixture data: these two files are copies below tmp_path, never the source content.+ # Keep positive packaging tests independent of real human sign-off and exercise unsigned copies below.+ for event_id in ALTERNATE_FIXTURE_CARDS:+ f = content / "events" / f"{event_id}.yaml"+ text = f.read_text(encoding="utf-8")+ text = re.sub(r"(?m)^reviewed_(?:by|on):[^\n]*(?:\n|$)", "", text)+ alternate_status = "fact-checked" if alternates_reviewed else "draft"+ text = re.sub(r"(?m)^status: .*$", f"status: {alternate_status}", text)+ if alternates_reviewed:+ text += ("\n# TEST-ONLY fictional review, not a person's historical or language approval.\n"+ "reviewed_by: package-fixture-reviewer\nreviewed_on: 2026-10-24\n")+ f.write_text(text, encoding="utf-8")photo_manifest(build, reviewed=photos_reviewed)return build@@ -63,6 +77,18 @@ def test_packaging_is_refused_until_every_starting_row_is_fact_checked(tmp_path,assert row in out+def test_packaging_refuses_each_unsigned_consequence_copy(tmp_path, capsys):+ # R-ALT-011: every other fake-build gate is clear; these two copied cards alone remain unsigned.+ build = fake_build(tmp_path, reviewed=True, alternates_reviewed=False)+ zip_path = tmp_path / "out.zip"+ assert package_release.main(["--build", str(build), "--zip", str(zip_path)]) == 1+ assert not zip_path.exists()+ out = capsys.readouterr().out+ assert "PACKAGE REFUSED" in out+ for event_id in ALTERNATE_FIXTURE_CARDS:+ assert event_id in out++def test_packaging_writes_the_zip_once_all_are_reviewed(tmp_path, capsys):build, zip_path = fake_build(tmp_path, reviewed=True), tmp_path / "out.zip"assert package_release.main(["--build", str(build), "--zip", str(zip_path)]) == 0diff --git a/unity/Assets/Tests/EditMode/EventImageMappingTests.cs b/unity/Assets/Tests/EditMode/EventImageMappingTests.csindex 4e31b8843..b05285588 100644--- a/unity/Assets/Tests/EditMode/EventImageMappingTests.cs+++ b/unity/Assets/Tests/EditMode/EventImageMappingTests.cs@@ -19,9 +19,11 @@ public class EventImageMappingTestsstatic readonly Content C = ContentLoader.Load(Paths.Content);static IReadOnlyList<EventImageMapping.Row> Rows => EventImageMapping.Parse(File.ReadAllText(EventImageMapping.Path));- /// <summary>Cards without a wired photograph (docs/event-images.md). The railway series is not wired yet; the other- /// fallbacks had no suitable photograph found. Cards without an office have no portrait plate either.</summary>- static readonly string[] Fallback = { "armistice_lebanon", "armistice_syria", "education_registration_1951", "forex_crisis_1951", "reparations_claim", "sinai_withdrawal", "rhodes_talks", "railway_complete" };+ /// <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>+ 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" };/// <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