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: four GDD notes match their rules (R-CTRL-004, R-SAVE-001/002, R-CITY-001, R-CITY-004) (#2425)

Eyal Golandb955bde1141
diff --git a/docs/gdd/alternate-timelines.md b/docs/gdd/alternate-timelines.md
index 40d682436..d35433f6c 100644
--- a/docs/gdd/alternate-timelines.md
+++ b/docs/gdd/alternate-timelines.md
@@ -38,7 +38,7 @@ As a player who picks an option that did not happen, I want the game to bring th
## Out of scope
- A stored drift number, per-front drift, OR or NOT requirements, relative windows, delayed effects and procedural text.
-- Follow-up cards for the armistice refusals: a refused armistice returns under `R-WAR-006` (Phase 5).
+- Follow-up cards for the armistice refusals: a refused armistice returns (planned, Phase 5; no rule yet).
- Any change to the effects of the Egypt armistice refusal (#937) or the reparations refusal (#938).
## Sources
diff --git a/docs/gdd/loop-switch.md b/docs/gdd/loop-switch.md
index 4d6738ed7..1b5f3cef6 100644
--- a/docs/gdd/loop-switch.md
+++ b/docs/gdd/loop-switch.md
@@ -10,7 +10,7 @@ I plan standing orders, resolve the month predictably and reload under the rules
- `systems.loop` in eras.yaml is `legacy` or `gdd`, the same in every era; absent means legacy (R-LOOP-001).
- The GDD state (cities, units, the next unit id, completed objectives, the score) is hashed only when it is set, so the legacy hash text is unchanged (R-LOOP-002).
- Until the cutover, `MvpSlice.Overlay` gave the real content with the switch on and monthly turns. The cutover turned the switch on in the real content and retired the overlay with its rule ID.
-- A save names its ruleset, `legacy` or `gdd-0.1`; a game refuses a save from another ruleset (R-SAVE-001, decision D-E4 [S2]), and a save from a ruleset it does not know as made by a newer version (R-SAVE-002).
+- A save names its ruleset, `legacy`, `gdd-0.1` or `gdd-0.3`, the last saved as save schema four and selected by no content yet; a game refuses a save from another ruleset (R-SAVE-001, decision D-E4 [S2]), and a save from a ruleset it does not know as made by a newer version (R-SAVE-002).
- Before the cutover, balance values the owner had not set lived only in the overlay or in test fixtures [S3]; since it they are labelled design values in `content/` (R-LOOP-005).
### Ruleset boundary
diff --git a/docs/gdd/one-city.md b/docs/gdd/one-city.md
index 7342fad33..36755ad7f 100644
--- a/docs/gdd/one-city.md
+++ b/docs/gdd/one-city.md
@@ -8,11 +8,11 @@ I inspect a retained managed city and assign people under its existing rules.
## Rules
- Civilians and refugees are counts per city, in population units of `people_per_unit` people (D-A1, D-A2 [S2]). The slice has one city, Tel Aviv (D-A4 [S2]).
-- `AssignWorkers(city, job, n)` sets how many of the city's civilians work. It is refused, with the state unchanged, for a negative count, more than the city's jobs or civilians, an unknown city or role, or the legacy loop (R-CITY-001). It costs 0.5 Attention (a placeholder) (unitless).
+- `AssignWorkers(city, job, n)` sets how many of the city's people work. It is refused, with the state unchanged, for a negative count, more than the city's jobs or its civilians and craftsmen, an unknown city or role, or the legacy loop (R-CITY-001). Under `gdd-0.3` the role `workshop` staffs the city's arms workshops and `build` puts builders on its projects (R-ARMS-005, R-CITY-011). Under `legacy`/`gdd-0.1` it costs 0.5 Attention (a placeholder).
- Each turn resolves in the order the owner approved for the plan's resolution phase (D-A6, #456 [S2][S3]): production, then housing and Social cohesion, then arrivals. A turn's arrivals are housed on the next turn.
- Production: each employed unit earns `income_per_job_per_year` IL millions a year, for the turn's share of a year (R-CITY-002).
- Arrivals: the CBS series in `content/aliyah.yaml` arrives as refugees, in whole units, counted cumulatively so that no unit is lost or counted twice (R-CITY-003, D-A5 [S2]). With twelve cities they are spread over all of them: see `cities.md`.
-- Housing: every refugee becomes a civilian, without a job, on the housing step, with no hard cap; the people beyond the city's housing capacity are its overflow and lower its housing condition (R-CITY-004, R-HOUSE-001 to R-HOUSE-004, D-D1 decided 15 October 2026 [S2]). With twelve cities: see `cities.md`.
+- Housing: on the housing step a city's refugees become civilians, without a job, `floor(pool x m)` of them a turn at the Immigration minister's multiplier (R-MIN-002) and the rest waiting for the next turns, with no hard cap; the people beyond the city's housing capacity are its overflow and lower its housing condition (R-CITY-004, R-HOUSE-001 to R-HOUSE-004, D-D1 decided 15 October 2026 [S2]). With twelve cities: see `cities.md`.
- Social cohesion: a share from 0% to 100%, the weighted housed share and employed share over all cities (R-CITY-005). At first no other system read it; the top bar shows it as a resource meter, in the GDD loop only (the owner's ruling of 15 October 2026 [S4]). It is now the `morale` indicator (R-NAT-001), which approval and the `low_cohesion` situation read; the employed share is one of its effect-web sources and housing reaches it through the `housing` indicator.
This is a handoff, not another city rulebook. [Cities](cities.md) owns assignments, housing and retained projects [S6]; [training](training.md) owns people and conversion; [resources](cutover-resource-layer.md) owns stocks; [balance](balance.md) owns accepted amounts.
diff --git a/docs/gdd/settlement-control.md b/docs/gdd/settlement-control.md
index dc0825347..1a4ed26a8 100644
--- a/docs/gdd/settlement-control.md
+++ b/docs/gdd/settlement-control.md
@@ -11,7 +11,7 @@ I can recover from losing a region and understand controlling an enemy town with
- Enemy units may capture the player's localities. The capture changes their state, and every place tied by sources to a dated loss receives a sourced card. A capture that exists only in an alternate timeline also requires researched cards (`Q-TGT-2`; planned R-CTRL-006; owner ruling [S3]).
- Settlement state uses one immutable record per settlement in an ordinal `SortedDictionary<string, SettlementControl>`. It is written to the deterministic hash as `ctrl{...}` only when non-empty, and each field is written only when it differs from its default. `DisplacedByPlayer` is an integer count of places and is written only when non-zero (`Q-TECH-2`, `Q-CAP-2`; R-CTRL-002 for the collection; owner rulings [S3], [S4]).
- Residents and combatants are distinct. The state records whether a place is inhabited, fled or depopulated, not a resident count, and only enemy military units on its hex are combatants (`Q-CAP-2`, `Q-CAP-3`; R-CTRL-003; owner ruling [S4]).
-- A target is captured the moment a player unit's move ends on its hex while no enemy combatant is there. The capture answer still takes effect at End turn (`Q-CAP-1` / `D-F2`; R-CTRL-004, R-CTRL-005; owner ruling [S4]; owner, 23 October 2026, #1402 and #1398: "Instant", "Yes, answer at End turn" and "Approve, start building").
+- A target is captured the moment an Israeli military unit's move or go-to stops on its hex while no enemy combatant is there; a halutz holds nothing. The capture answer still takes effect at End turn (`Q-CAP-1` / `D-F2`; R-CTRL-004, R-CTRL-005; owner ruling [S4]; owner, 23 October 2026, #1402 and #1398: "Instant", "Yes, answer at End turn" and "Approve, start building").
- A capture awaiting a decision remains pending and the player's units stay in place. What happens if that decision is still pending at the MVP's end remains open (`Q-HIST-1`; planned R-CTRL-008; owner ruling [S5]). **Then decided (owner, 18 Oct 2026, "Counts as Raid"; [#797](https://github.com/eyalgolan/statecraft-israel/issues/797#issuecomment-6254333420)):** at the MVP's end the units leave, nothing changes for the residents and the pending capture adds nothing to the score [S10].
- Capture outcomes use one `ResolveCapture(settlement, outcome)` command and one Attention-cost key. End-of-occupation outcomes likewise use one `EndOccupation(settlement, outcome)` command. The capture dialog reads its options and cost preview from public simulation helpers and sends the selected command through the existing queue; it holds no rule of its own (`Q-TECH-3`, `Q-TECH-5`; owner ruling [S3]).
- Raid makes the player's units leave immediately, returns the place to enemy control and does not change its residents (`Q-RAID-1`; planned R-CTRL-010; owner ruling [S5]). The reference player and `HistoricalAI` always choose Raid (`Q-REF-1`; planned R-CTRL-009; owner ruling [S5]).