Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

Docs: they/them in the 0.3.4 changelog, and the regions status in mvp.md (#2331)

Eyal Golane9f032461dd2
diff --git a/CHANGELOG.md b/CHANGELOG.md
index adda5cfa3..4a08abef2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,7 +27,7 @@ checks this (see `CONTRIBUTING.md`).
- Umm Rashrash (future Eilat) is on the map as an optional outpost, named in English and Hebrew (Refs #1007).
It has no 1948 population and gives no bonus or points; the objective-1 bonus waits on #752. The row is a draft with agent-checked Hebrew.
- Hebrew event cards: a native speaker read the 38 agent-checked cards (#1065). The four 1949 armistice cards and the
- one-million and Altalena cards take his wording, and 32 cards lose their `text_he_review: agent-checked` flag.
+ one-million and Altalena cards take their wording, and 32 cards lose their `text_he_review: agent-checked` flag.
- Hebrew event cards: the owner read the Hebrew of `altalena`, `first_new_yishuv`, `burma_road_complete` and
`railway_complete` next to the English and approved all four as written (#1065), so they lose their
`text_he_review: agent-checked` flag. No event card is flagged any more.
diff --git a/docs/rules/mvp.md b/docs/rules/mvp.md
index 0b2676444..f8978ddfd 100644
--- a/docs/rules/mvp.md
+++ b/docs/rules/mvp.md
@@ -108,7 +108,7 @@ For R-CITY-004, the preceding live absorption rule remains unchanged. The inacti
Fixture conventions only: retained opening occupants have priority and gain one tick; reaching the requirement makes the same id an unassigned free civilian, preserving history, equipment, home and location. New claims are allocated at step end by ascending person id then ordinal camp target, only at an explicitly supplied operating, exactly colocated camp with space. Admission, including reuse of a just-released bed, gives no tick. Work eligibility is captured at opening, so completion grants no work in that step; the standalone eligibility predicate requires completed reception, free-civilian status and no assignment, and does not wire job/farm/build/course entry points. Invalid retained claims (including missing/inoperative/mismatched/overfull camps or completed/non-refugee occupants), duplicate camp targets and Course/Teaching assignments are refused rather than choosing interruption or shared-bed policy. With no available camp, an unassigned refugee stays unassigned. Changes are made on a reconciled clone, with no turn/date, RNG or resource advancement (`sim/Statecraft.Sim/Gdd03ReceptionFixture.cs:41-118@a30013863`; behavior fixtures in `sim/Statecraft.Sim.Tests/Gdd03ReceptionFixtureTests.cs:35-146@a30013863`, invalid completed claims at `:194-201`). These ordering and timing conventions are not adopted live timing rulings.
-The #1696 status comment of 27 October 2026 says, "It does not yet provide the live port queue or integrated camp routing." Live arrivals (#1695), map/region binding and approved source rows/coordinates/hexes (#1690/#1691), shared course beds (#1697), military credit/capping/deduplication and return queues (#1699), transit charging and queue-cohesion settlement (#1702/#1696), monthly timing and committing once (#1716), live activity guards, commands and save/replay integration remain pending. The fixture is "not a monthly settlement receipt or a replayable command" (`sim/Statecraft.Sim/Gdd03ReceptionFixture.cs:23-24@a30013863`); its exclusions at `:36-54` and the status comment's "Remaining integration needs" list do not authorize routing, settlement or timing defaults.
+The #1696 status comment of 27 October 2026 says, "It does not yet provide the live port queue or integrated camp routing." Live arrivals (#1695), map/region binding and approved source rows/coordinates/hexes (#1691; #1690 closed on 2 November 2026, its post-MVP regional pools moved to #2233), shared course beds (#1697), military credit/capping/deduplication and return queues (#1699), transit charging and queue-cohesion settlement (#1702/#1696), monthly timing and committing once (#1716), live activity guards, commands and save/replay integration remain pending. The fixture is "not a monthly settlement receipt or a replayable command" (`sim/Statecraft.Sim/Gdd03ReceptionFixture.cs:23-24@a30013863`); its exclusions at `:36-54` and the status comment's "Remaining integration needs" list do not authorize routing, settlement or timing defaults.
R-CITY-009: The job default (Q-JOBS-1, owner, 15 October 2026). On each housing step, after the refugees become civilians (R-CITY-004), each city whose default is on sets its employed to `min(job slots, civilians + craftsmen)`, in ascending city id, at no Attention cost. Every city's default is on at the start; an accepted `AssignWorkers` order fixes that city's number and turns its default off for the rest of the game. Each change is a `city` cause on the Why screen ("Town: N groups in work"). A city's record writes `jobs=manual` into the state hash only when its default is off.
@@ -136,7 +136,7 @@ For R-HOUSE-002, inactive gdd-0.3 synthetic arithmetic prices the surcharge as `
R-HOUSE-003: The people who take a city's housing (`housed`) are its civilians, its craftsmen, its recruits and its groups in training, a halutz group included until it becomes a movable unit. Halutz units do not (Q-HOUSE-5, owner, 15 October 2026). Refugees wait for housing and are not in it.
-For R-HOUSE-003, the inactive gdd-0.3 helper takes independently supplied surcharge, pre-arrival and cohesion resident counts plus own population; it selects no residents and substitutes none of those counts for another (`sim/Statecraft.Sim/Gdd03HousingFormula.cs:68-85@7ec122145`, `:107-125`; `sim/Statecraft.Sim.Tests/Gdd03HousingFormulaTests.cs:39-47@7ec122145`). Negative counts, capacity or upkeep, overpayment, cohesion residents above total own population, and condition outside 0..1 are refused. A zero-population cohesion input therefore requires zero cohesion residents (`docs/gdd/cities.md:27,31@605277dfa511dc512562ececeb273b8393b21d35`). Source: `docs/gdd/cities.md:25@605277dfa511dc512562ececeb273b8393b21d35`, "A civilian resident without dedicated reception, teacher or military-training housing uses ordinary housing."; `docs/gdd/loop-switch.md:33` at that revision says, "use pre-arrival residents for overcrowding deterioration". Those are producer requirements, not resident-selection behavior implemented here. Live status selection (#1689), regions/approved housing locations (#1690/#1691) and which residents to count (#1668) remain pending under the #1703 status comment, which says, "Regional housing settlement is not yet implemented". The preceding legacy/gdd-0.1 resident set remains unchanged. Under `gdd-0.3` (#1703) a city's Israeli formations are not housed: `housed` is its civilians, craftsmen, recruits and groups in training, so the formations whose home it is no longer count toward its overflow, R-HOUSE-004's weights or R-OBJ-004 (27M-18, owner-approved 1 November 2026: "Housed = civilians, craftsmen, recruits and groups in training. Refugees and pioneer units are not housed."). `gdd-0.1` keeps counting them (Q-HOUSE-5; `Cities.Housed`).
+For R-HOUSE-003, the inactive gdd-0.3 helper takes independently supplied surcharge, pre-arrival and cohesion resident counts plus own population; it selects no residents and substitutes none of those counts for another (`sim/Statecraft.Sim/Gdd03HousingFormula.cs:68-85@7ec122145`, `:107-125`; `sim/Statecraft.Sim.Tests/Gdd03HousingFormulaTests.cs:39-47@7ec122145`). Negative counts, capacity or upkeep, overpayment, cohesion residents above total own population, and condition outside 0..1 are refused. A zero-population cohesion input therefore requires zero cohesion residents (`docs/gdd/cities.md:27,31@605277dfa511dc512562ececeb273b8393b21d35`). Source: `docs/gdd/cities.md:25@605277dfa511dc512562ececeb273b8393b21d35`, "A civilian resident without dedicated reception, teacher or military-training housing uses ordinary housing."; `docs/gdd/loop-switch.md:33` at that revision says, "use pre-arrival residents for overcrowding deterioration". Those are producer requirements, not resident-selection behavior implemented here. Live status selection (#1689), regions/approved housing locations (#1691; #1690 closed on 2 November 2026, its post-MVP regional pools moved to #2233) and which residents to count (#1668) remain pending under the #1703 status comment, which says, "Regional housing settlement is not yet implemented". The preceding legacy/gdd-0.1 resident set remains unchanged. Under `gdd-0.3` (#1703) a city's Israeli formations are not housed: `housed` is its civilians, craftsmen, recruits and groups in training, so the formations whose home it is no longer count toward its overflow, R-HOUSE-004's weights or R-OBJ-004 (27M-18, owner-approved 1 November 2026: "Housed = civilians, craftsmen, recruits and groups in training. Refugees and pioneer units are not housed."). `gdd-0.1` keeps counting them (Q-HOUSE-5; `Cities.Housed`).
R-HOUSE-004: In the GDD loop the base of the national `housing` indicator is the people-weighted mean of the cities' housing condition, each city weighed by its housed people (R-HOUSE-003): `sum(condition * housed) / sum(housed)`. Policy effects, map actions and events still act on top, as on any indicator. Decided (owner, 17 Oct 2026, option (a) of Q-PR3-A, relayed on [#855 at 06:33Z](https://github.com/eyalgolan/statecraft-israel/pull/855#issuecomment-6230731177)): the national housing base is the people-weighted mean of city condition, with policy, map actions and events still applied on top. When no city houses anybody the mean is undefined, and the base is `model.yaml`'s. Capacity reaches the level through overflow and condition (R-HOUSE-002).
@@ -176,7 +176,7 @@ R-TRAIN-006: In the same fixture, a course turn is counted only for a month whos
R-TRAIN-007: In the same fixture, cancelling a course at any turn this slice can reach keeps the population id, profession, novice tier, tools and their payment fact and reception progress. It grants no unfinished trained tier, clears the course progress and releases the teacher and the bed. Nothing is refunded and no one moves. The released teacher and pupil are civilians without a job at once, in that month's snapshot, and may take a job that month, or start another course that month where its camp had a bed free at the month's opening (#1716; #1668 question 43(b), owner-approved answer of 1 November 2026, [answers](https://github.com/eyalgolan/statecraft-israel/pull/1668#issuecomment-6553884547): "Cancellation: they are released at once, as civilians without a job."). The freed bed is not reused before the next month's opening (R-TRAIN-008). A second cancel, or a cancel of a unit not in a course, is refused unchanged, and a restart is a full new course with no second tools charge (`docs/gdd/training.md:49`, "Cancelled courses retain paid entry costs and earned reception credit but award no unfinished qualification." and "Unfinished course progress clears, and restarting needs a fresh course.").
-R-TRAIN-008: The fixture refuses, with a "Deferred:" reason and the state unchanged, every case that needs an open design answer, and chooses no default. #1668 question 42 (teachers per centre and teacher housing): a second teacher at one centre, or a teaching teacher with no pupil. #1668 question 43 (course turn boundaries): counting the enrolment month, including a later snapshot with the enrolment month's ordinal; counting the turn that would bring a course to `profession.course_turns` minus 1 (graduation timing, 43(a)); starting in a month whose opening snapshot shows either participant on another assignment, except a pupil whose opening assignment was work and who was released from it this turn (an immediate job change; the course occupies them from its start turn, Q43(a), #1716; a teacher who worked at the opening and was released this turn stays Deferred), and except a pupil or teacher whose opening course or teaching was cancelled this turn (released at once, Q43(b), #1716; R-TRAIN-007); and starting a course when the parent camp's beds taken at the month's opening plus the courses already started in that camp this month fill its beds, so a bed freed after the opening, by a cancel or otherwise, is not reused that month (43(b), with #1668 question 41). #1668 question 44 and the GDD's novice lock-in decision: a free civilian without a profession, or a novice of another profession, entering a course. #1668, 27 October list, question 9: a course turn or cancellation after the parent camp or the centre stops operating. Graduation release under question 43(b) and (c) (answered 1 November 2026: released in the turn the last course turn counts, assignable from the next turn's planning; a person whose course ends this turn starts work the next turn) is not built, because this fixture reaches no graduation while the enrolment-month count (43(a)) is not built here. Real centres, hosts, regions, map bindings, Money and Food settlement, saves and commands remain held with their owners (#1690, #1691, #1696, #1700, #1702, #1713, #1716).
+R-TRAIN-008: The fixture refuses, with a "Deferred:" reason and the state unchanged, every case that needs an open design answer, and chooses no default. #1668 question 42 (teachers per centre and teacher housing): a second teacher at one centre, or a teaching teacher with no pupil. #1668 question 43 (course turn boundaries): counting the enrolment month, including a later snapshot with the enrolment month's ordinal; counting the turn that would bring a course to `profession.course_turns` minus 1 (graduation timing, 43(a)); starting in a month whose opening snapshot shows either participant on another assignment, except a pupil whose opening assignment was work and who was released from it this turn (an immediate job change; the course occupies them from its start turn, Q43(a), #1716; a teacher who worked at the opening and was released this turn stays Deferred), and except a pupil or teacher whose opening course or teaching was cancelled this turn (released at once, Q43(b), #1716; R-TRAIN-007); and starting a course when the parent camp's beds taken at the month's opening plus the courses already started in that camp this month fill its beds, so a bed freed after the opening, by a cancel or otherwise, is not reused that month (43(b), with #1668 question 41). #1668 question 44 and the GDD's novice lock-in decision: a free civilian without a profession, or a novice of another profession, entering a course. #1668, 27 October list, question 9: a course turn or cancellation after the parent camp or the centre stops operating. Graduation release under question 43(b) and (c) (answered 1 November 2026: released in the turn the last course turn counts, assignable from the next turn's planning; a person whose course ends this turn starts work the next turn) is not built, because this fixture reaches no graduation while the enrolment-month count (43(a)) is not built here. Real centres, hosts, regions, map bindings, Money and Food settlement, saves and commands remain held with their owners (#1691, #1696, #1700, #1702, #1713, #1716; #1690 closed on 2 November 2026, its post-MVP regional pools moved to #2233).
## Craftsmen
@@ -388,7 +388,7 @@ For R-OBJ-004, the preceding active gdd-0.1 rule remains unchanged. The gdd-0.3
The synthetic boundary reads the supplied catalogue's Agreed population scale, target and percentages. With the current scale and thresholds, 100 units fail and 101 pass; overflow exactly 10% and employment exactly 40% pass. A true waiting flag blocks the result; the tests supply false for a legal reception bed and true for a port queue or refugee evacuation transit, without implementing that classification. Each valid 0/0 pair passes its ratio subcondition, but cannot bypass population or waiting. Exact BigInteger cross-products avoid rounded shares. Null/wrong-identity catalogues, missing, Deferred, non-Agreed or malformed quantities and negative/non-subset counts throw before any failing gate can hide them; the population scale retains the positive Int32 bound, the target must be positive and whole, and percentage limits must be whole numbers in 0..100 (`sim/Statecraft.Sim/Gdd03SyntheticAbsorptionBoundary.cs:27-65@1e4b8a248`; `sim/Statecraft.Sim/Content.cs:1270-1278@1e4b8a248`; boundary tests in `sim/Statecraft.Sim.Tests/Gdd03SyntheticAbsorptionBoundaryTests.cs:12-108@1e4b8a248`, scale/threshold/exact-product fixtures at `:114-190` at the same head).
-No live completion or completion date is recorded. The #1714 status comment of 27 October 2026 says, "It does not yet compute actual regional totals or award the objective." Represented population (#1689), regional aggregation and approved locations (#1690/#1691), shared employment (#1692/#1702, also to feed #1715), canonical waiting (#1696), housing (#1703), and monthly-versus-end-state sampling (#1716) remain pending integration decisions/evidence, not choices made by this helper (`sim/Statecraft.Sim/Gdd03SyntheticAbsorptionBoundary.cs:6-17@1e4b8a248`; #1714 status comment, "Human check pending: unresolved rules for combining totals and when to count people"). The 20 December 1949 reference is retained; this slice does not select when to award it.
+No live completion or completion date is recorded. The #1714 status comment of 27 October 2026 says, "It does not yet compute actual regional totals or award the objective." Represented population (#1689), regional aggregation and approved locations (#1691; #1690 closed on 2 November 2026, its post-MVP regional pools moved to #2233), shared employment (#1692/#1702, also to feed #1715), canonical waiting (#1696), housing (#1703), and monthly-versus-end-state sampling (#1716) remain pending integration decisions/evidence, not choices made by this helper (`sim/Statecraft.Sim/Gdd03SyntheticAbsorptionBoundary.cs:6-17@1e4b8a248`; #1714 status comment, "Human check pending: unresolved rules for combining totals and when to count people"). The 20 December 1949 reference is retained; this slice does not select when to award it.
R-OBJ-005: An objective part (`part_of`) may name `completes_when: { corridor_complete: <corridor> }` or `completes_when: { sites_built: [<site>, ...] }`. It completes at step 11 of the first GDD turn when every corridor segment (R-COR-003) or every listed yishuv site is built, records once with that turn's end date and earns `min(objective_bonus_cap, objective_bonus_per_month * monthsEarly)` once. Every part has a sourced `reference_date` inside the MVP and its own card under R-OBJ-003. The infrastructure objective's parts are `railway`, `burma_road` and `yishuvim` (Q-OBJ-1 to Q-OBJ-3, owner, 17 October 2026, #782; #791).