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.

Civ movement D: the GDD amendments the owner approved (Refs #1398) (#1462)

Eyal Golane22dadf2c256
diff --git a/docs/GDD.md b/docs/GDD.md
index c290e6605..13c7840fc 100644
--- a/docs/GDD.md
+++ b/docs/GDD.md
@@ -35,11 +35,11 @@ The central decision is where people should contribute next. A civilian can take
Proposed turn structure:
1. Review resources and city needs.
-2. Move units, issue orders, start city projects and choose ministers.
+2. Move units, issue orders, start city projects and choose ministers. Moves and attacks happen at once; the other orders take effect at End turn (owner, 23 October 2026, #1402 and #1398: "Instant, like Civ", "No undo, like Civ" and "Approve, start building").
3. Select event outcomes.
4. Resolve production, consumption, training, construction and combat.
-The order of resolution and the number of actions per turn are open.
+Unit orders are free under D-A6, and their order of resolution follows R-TURN-004 (owner, 23 October 2026, #1402 and #1398: "Approve, start building").
### Minister selection TBD
@@ -73,7 +73,7 @@ The player can choose ministers. TBD: minister roles, available candidates, appo
### Movement and civilian actions
-The player can move units. Movement allowance, terrain costs, road and rail effects, stacking, transport and access to enemy territory are open.
+The player can move a unit at once or set a go-to route whose next step runs at End turn. Units have an integer movement allowance and pay integer biome costs; built road and rail corridors may lower those costs. Lakes and the sea are impassable, stacking is limited, there is no zone of control, and there is no transport or embarkation. A unit with its full allowance may always enter one neighbouring land hex, whatever its cost; after spending points, it needs the full cost of the next hex. End turn waits until every military unit with movement points has moved, attacked, holds an order or is skipped for the turn (`Q-MOVE-1` to `Q-MOVE-5`; owner, 23 October 2026, #1402 and #1398: "Now" for go-to, "No, strict like Civ VI", "Block like Civ" and "Approve, start building").
A civilian can be employed in an available city employment slot. A civilian can train in a military camp and become a recruit, or train in a Hakhshara (הכשרה) and become a Halutz. The source of a Hakhshara and whether the player builds one are open.
diff --git a/docs/gdd/military-combat.md b/docs/gdd/military-combat.md
index 5f104ef65..ece8b8470 100644
--- a/docs/gdd/military-combat.md
+++ b/docs/gdd/military-combat.md
@@ -10,12 +10,12 @@ On 15 May 1948, with the Provisional government declared, the player takes comma
- For the MVP the terrain types are the eight biomes, with the per-biome movement cost below (`Q-MOVE-1`, decided 15 October 2026 [S3]). Only new tile/hex types beyond them, and their extra properties, remain open in the GDD [S1]; the location/editor update does not select new terrain types, cost values or modifiers [S1][S14].
- A unit is a formation of hundreds of fighters, never a single soldier (impact spec §2.2 [S8]; `Q-UNIT-1`, decided 15 October 2026 [S3]). A finished recruit cohort becomes one unit at its city's settlement hex. Unit types on screen are Recruit (טירון), Veteran soldier (חייל ותיק), Artillery (ארטילריה) and Armoured car (שריונית) — names approved in English and Hebrew (`Q-UI-2`, decided 15 October 2026 [S7]). A recruit promotes to veteran after a number of turns of service (labelled design value); combat does not count toward it (`Q-UNIT-2`, decided 15 October 2026 [S3]). A unit's Strength counts its population units and drives movement allowance and combat strength (`Q-UNIT-1`); where a side's historical strength is sourced, the record enters the content as one value per CONTENT_POLICY §1 (`Q-UNIT-4`, decided 15 October 2026 [S3]).
- Historical mode seeds the player's starting units from `content/map/units_1948.yaml`, each keyed to a sourced anchor (`Q-START-1`, decided 15 October 2026 [S3]). The Arab armies, the Arab Liberation Army and local Arab forces take part under their own names, with their 15 May 1948 positions seeded from the Phase five research file [S9] (`Q-START-4`, the owner's pick, 15 October 2026 [S4]; `D-G1`). Every row is fact-checked against its source before the `-shareable` tag (`Q-START-3`, decided 15 October 2026 [S3]). There are no air or naval units; where a phase needs them they are presentation-only (`Q-UNIT-5`, decided 15 October 2026 [S3]). Open mode starts with no units (`Q-START-2`, decided 15 October 2026 [S3]).
-- Orders are free and spend no Attention (`D-A6`). The standing orders are Move (תנועה), Fortify (ביצור), Hold (החזקה) and Attack (התקפה) (`Q-UI-2`, decided 15 October 2026 [S7]). Fortify takes one turn, costs nothing, and grants a defence bonus (value: open (owner)); the bonus is lost the moment the unit moves (`Q-HOLD-1`, decided 15 October 2026 [S7]). Hold can be given only on the player's own hex and grants no interception; its effect is a value: open (owner) (`Q-HOLD-2`, decided 15 October 2026 [S7]).
-- Movement costs integer movement points per unit type against an integer cost per biome; lakes and the sea are impassable (`Q-MOVE-1`, decided 15 October 2026 [S3]). A built corridor road lowers its hex's movement cost, since roads mattered (`D-G2`; `Q-MOVE-2`, decided 15 October 2026 [S3]). A stacking limit caps units of a side per hex; entering a hex an enemy unit holds is an attack (`Q-MOVE-3`, decided 15 October 2026 [S3]). There is no zone of control — a unit may enter any land hex it can pay for (`Q-MOVE-4`, decided 15 October 2026 [S3]). A unit may not enter an enemy-held locality: entering would be a capture action, and the MVP records no rule for civilians under capture, so this is refused until Phase six (`Q-CIV-1`, the owner's pick, 15 October 2026 [S4]). There is no transport or embarkation (`Q-MOVE-5`, decided 15 October 2026 [S3]).
-- Combat follows the GDD: a deterministic table on the strength ratio, plus one RNG draw per engagement (`Q-COMBAT-1`, decided 15 October 2026 [S3]). A unit attacks an adjacent enemy unit; attacks from several directions add their strengths; the defender's biome and fortify state modify the ratio (`Q-COMBAT-2`, decided 15 October 2026 [S3]). Outcomes take losses from the table by population units; a losing defender retreats one hex; at strength zero a unit is removed; a defender with no retreat hex surrenders; the attacker does not advance into the empty hex in the MVP (`Q-COMBAT-3`, decided 15 October 2026 [S3]). Combat acts on combatant units only: enemy units on a hex with a locality's residents may be attacked, with no effect on the residents, and artillery is not excluded (`Q-CIV-2`, the owner's pick, 15 October 2026 [S4]; R-COMBAT-005; CONTENT_POLICY §4).
+- Orders are free and spend no Attention (`D-A6`). The standing orders are Move (תנועה), Go-to, Fortify (ביצור), Hold (החזקה) and Attack (התקפה) (`Q-UI-2`, decided 15 October 2026 [S7]; owner, 23 October 2026, #1402 and #1398: "Approve, start building"). Fortify takes one turn, costs nothing, and grants a defence bonus (value: open (owner)); the bonus is lost the moment the unit moves (`Q-HOLD-1`, decided 15 October 2026 [S7]). Hold can be given only on the player's own hex and grants no interception; its effect is a value: open (owner) (`Q-HOLD-2`, decided 15 October 2026 [S7]).
+- Movement costs integer movement points per unit type against an integer cost per biome; lakes and the sea are impassable (`Q-MOVE-1`, decided 15 October 2026 [S3]). A unit with all its movement points may always enter one neighbouring land hex, whatever its cost; after spending points, it needs the full cost of the next hex (owner, 23 October 2026, #1402 and #1398: "No, strict like Civ VI" and "Approve, start building"). A built corridor road lowers its hex's movement cost, since roads mattered (`D-G2`; `Q-MOVE-2`, decided 15 October 2026 [S3]). A stacking limit caps units of a side per hex; entering a hex an enemy unit holds is an attack (`Q-MOVE-3`, decided 15 October 2026 [S3]). There is no zone of control: a unit may enter any land hex it can pay for (`Q-MOVE-4`, decided 15 October 2026 [S3]). A unit may not enter an enemy-held locality: entering would be a capture action, and the MVP records no rule for civilians under capture, so this is refused until Phase six (`Q-CIV-1`, the owner's pick, 15 October 2026 [S4]). There is no transport or embarkation (`Q-MOVE-5`, decided 15 October 2026 [S3]).
+- Combat follows the GDD: a deterministic table on the strength ratio, plus one RNG draw per engagement (`Q-COMBAT-1`, decided 15 October 2026 [S3]). A unit attacks an adjacent enemy unit. A player's attack is one unit alone, fought the moment it is ordered; the enemy's attacks from several directions on one hex add their strengths; the defender's biome and fortify state modify the ratio (`Q-COMBAT-2`, decided 15 October 2026 [S3]; owner, 23 October 2026, #1402 and #1398: "Instant, like Civ", "One unit per attack, Civ" and "Approve, start building"). Outcomes take losses from the table by population units; a losing defender retreats one hex; at strength zero a unit is removed; a defender with no retreat hex surrenders; the attacker does not advance into the empty hex in the MVP (`Q-COMBAT-3`, decided 15 October 2026 [S3]). Combat acts on combatant units only: enemy units on a hex with a locality's residents may be attacked, with no effect on the residents, and artillery is not excluded (`Q-CIV-2`, the owner's pick, 15 October 2026 [S4]; R-COMBAT-005; CONTENT_POLICY §4).
- Recruits arrive only through `Train` at a military camp (`docs/gdd/training.md` [S11]). Artillery and the armoured car become `Train` tracks at a military camp: a crew of civilians, plus an Arms and Money cost as design values; event grants are left to Phase seven (`Q-ARTY-3`, decided 15 October 2026 [S3]; `D-H2`). Training a recruit costs Arms (a design value); an attack spends Arms per attacking unit, and a shortfall refuses with a reason (`D-G6`; `Q-UNIT-3` and `Q-COMBAT-4`, decided 15 October 2026 [S3]). There is no Arms upkeep; a unit costs Money upkeep each month (a design value) (`Q-UNIT-3`).
-- Artillery adds its strength to an attack within its range and never attacks alone or holds ground; firing it spends Arms (`Q-ARTY-1`, decided 15 October 2026 [S3]). The armoured car carries more movement points and its own combat factor (`Q-ARTY-2`, decided 15 October 2026 [S3]). Artillery's on-screen name is Artillery (ארטילריה) until a sourced gun type arrives (`Q-ARTY-4`, decided 15 October 2026 [S3]); which vehicles and guns are modelled stays open (`Q-ART-2`).
-- Enemy forces act in the first resolver step, before the player's planned actions (impact spec §2.3 [S8]). In Historical mode they follow a script from two-source positions at 15 May and 11 June 1948 [S9], then act on simple goals; in Open mode goals only (`Q-ENEMY-1`, decided 15 October 2026 [S3]). A goal is: hold a fortified position, or attack an adjacent enemy unit when the strength ratio meets a threshold; no RNG (`Q-ENEMY-2`, decided 15 October 2026 [S3]). Enemy armies receive no reinforcements until a dated per-army figure is sourced (`Q-ENEMY-3`, decided 15 October 2026 [S3]). Enemy units need no supply (`Q-ENEMY-4`, decided 15 October 2026 [S3]). The four operation cards — `ten_days`, `operation_yoav`, `operation_hiram`, `operation_horev` — give orders to units already on the board, and that resets their sensitivity review; which units, whose, and which orders: value: open (owner) (`Q-ENEMY-5`, the owner's pick, 15 October 2026 [S4]).
+- The player's artillery fires alone at an enemy unit within its range; it never holds ground, and firing it spends Arms (`Q-ARTY-1`, decided 15 October 2026 [S3]; owner, 23 October 2026, #1402 and #1398: "One unit per attack, Civ" and "Approve, start building"). The armoured car carries more movement points and its own combat factor (`Q-ARTY-2`, decided 15 October 2026 [S3]). Artillery's on-screen name is Artillery (ארטילריה) until a sourced gun type arrives (`Q-ARTY-4`, decided 15 October 2026 [S3]); which vehicles and guns are modelled stays open (`Q-ART-2`).
+- Enemy forces act in the first resolver step after the player's orders (impact spec §2.3 [S8]; owner, 23 October 2026, #1402 and #1398: "Approve, start building"). In Historical mode they follow a script from two-source positions at 15 May and 11 June 1948 [S9], then act on simple goals; in Open mode goals only (`Q-ENEMY-1`, decided 15 October 2026 [S3]). A goal is: hold a fortified position, or attack an adjacent enemy unit when the strength ratio meets a threshold; no RNG (`Q-ENEMY-2`, decided 15 October 2026 [S3]). Enemy armies receive no reinforcements until a dated per-army figure is sourced (`Q-ENEMY-3`, decided 15 October 2026 [S3]). Enemy units need no supply (`Q-ENEMY-4`, decided 15 October 2026 [S3]). The four operation cards, `ten_days`, `operation_yoav`, `operation_hiram`, `operation_horev`, give orders to units already on the board, and that resets their sensitivity review; which units, whose, and which orders: value: open (owner) (`Q-ENEMY-5`, the owner's pick, 15 October 2026 [S4]).
- The war state is what war events set; in the GDD game loop the security order and call-up are refused with their reason (`Q-WAR-1`, decided 15 October 2026 [S3]; `D-C4`). The clock that forced war after fifty-two weeks from March 1948 is retired (`Q-WAR-2`, decided 15 October 2026 [S3]). During a truce attacks are refused with "a truce is in force"; movement is allowed. The refusal lasts from the first_truce acceptance until the turn covering 8 July 1948, and from the second_truce acceptance until the turn covering 15 October 1948 — the dates the fighting resumed in the MFA chronology [S10] (`Q-WAR-3`, decided 15 October 2026 [S3]). The `set_rung` command keeps acting outside the GDD loop (`Q-WAR-4`, decided 15 October 2026 [S3]). A war loss is enemy units holding a player's GDD city hex at the end of a turn (`Q-WAR-5`, decided 15 October 2026 [S3]); Phase 7 turns it into the defeat ending.
- Prisoners are the only captives, under the impact plan's §4.3 as written (`Q-POW-1`, the owner's pick, 15 October 2026 [S4]; impact spec §4.3 [S8]): only enemy combatant units can be captured, when an attack forces a surrender; residents can never be captured. Kills and enemy casualties never score (impact spec §4.3 [S8]). The bonus comes at the return, not the capture: prisoners are held with Food upkeep, are never labour, Money or a bargaining resource, and any loss while they are held is a cost; the wording frames the bonus as ending fighting with fewer lives lost, and nothing on screen celebrates the capture. A returned population unit scores a fixed number of points (points per unit: value: open (owner)) (`Q-POW-2`, the owner's pick, 15 October 2026 [S4]). The return happens on a sourced event card, one per front — the Egypt card carries 9 March 1949, the end of the main exchange (the owner's ruling, 16 October 2026 [S12]) — and the prisoners' return is never the player's action (`Q-POW-3`, decided 15 October 2026 [S5]). The player's captured soldiers are counted, are returned at the exchanges, and cost while held (kind and amount: value: open (owner)), with no score effect (`Q-POW-4`, decided 15 October 2026 [S5]). Each prisoner costs Food per turn (value: open (owner)); a shortfall costs Social cohesion (cost: value: open (owner)) and never reduces the number of prisoners (`Q-POW-5`, decided 15 October 2026 [S5]; R-POW-002).
- The war objective completes on the last armistice (`D-B2`): one hundred points, plus five points for every month earlier than the last armistice's historical date, capped at sixty points (`D-B2` and `D-B6`; impact plan §5 [S8]). The fronts follow the agreements' parties: Egypt, Lebanon, Syria, and Jordan with Iraq (the Jordan agreement takes over the Iraqi sector, Art. VI); the Arab Liberation Army and the local forces belong to no front (`Q-OBJ-1`, decided 15 October 2026 [S3]). Each front's armistice card has its hard anchor at the agreement's date; it may open early as a soft event once the first turn on or after 16 November 1948 is reached on which that front has been quiet for a number of turns (labelled design value; the Security Council resolution of 16 November 1948 [S2]). A refused card returns when the front is quiet again (`Q-OBJ-2`, decided 15 October 2026 [S3]). The completion card's event is the Syria armistice of 20 July 1949 [S2]; if no suitably licensed archival photograph is found, the card shows no photograph; the card's losses line reports the Israeli total only (the total: value: open (owner) — one sourced Israeli value, checked by a human before it is marked fact-checked, CONTENT_POLICY §1 and §2.6; no other side's total) (`Q-OBJ-3`, decided 15 October 2026 [S3]; `Q-CIV-4` as re-ruled, 15 October 2026 [S6]). On a front's armistice, that front's units leave the board, the player's units are free to move, and the armistice lines stay display-only (`Q-OBJ-4`, decided 15 October 2026 [S3]). Losses are shown as people per engagement, in the Why line, in the same words for both sides (`Q-CIV-4`, the owner's first ruling, 15 October 2026 [S4]). In Phase five no military action moves International Support or Social cohesion (`Q-CIV-3`, the owner's pick, 15 October 2026 [S4]); the prisoners' Food-shortfall cost to Social cohesion is the one exemption (`Q-POW-5`; R-POW-002, exempted under R-WAR-004 [S2]). Kills are never a score or a resource (impact spec §4.3 [S8]; CONTENT_POLICY §2).
diff --git a/docs/gdd/settlement-control.md b/docs/gdd/settlement-control.md
index 850603ac8..503fad2da 100644
--- a/docs/gdd/settlement-control.md
+++ b/docs/gdd/settlement-control.md
@@ -10,7 +10,7 @@ As the player, I want a captured settlement to present a sober choice between le
- 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 only whether a place is inhabited, 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 at turn end when its hex contains no enemy combatant and a player unit holds it (`Q-CAP-1` / `D-F2`; R-CTRL-004, R-CTRL-005; 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 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]).
diff --git a/docs/superpowers/specs/2026-10-12-gdd-v0.1-impact-and-plan.md b/docs/superpowers/specs/2026-10-12-gdd-v0.1-impact-and-plan.md
index 05afc5898..77de92ed9 100644
--- a/docs/superpowers/specs/2026-10-12-gdd-v0.1-impact-and-plan.md
+++ b/docs/superpowers/specs/2026-10-12-gdd-v0.1-impact-and-plan.md
@@ -248,7 +248,7 @@ Proposed commands, each with a `Kind` key in `attention_cost`:
| `AssignWork(unit, city, role)` or `AssignWorkers(city, role, n)` (D-A2) | Takes a job slot or leaves one |
| `Train(unit, facility)` | Starts basic training (camp) or pioneer training (Hakhshara). The number of turns is open |
| `Move(unit, q, r)` | Moves along a path the sim computes (BFS over hexes, neighbours in a fixed order, no trigonometry) within the allowance |
-| `UnitOrder(unit, fortify / hold / attack, q, r)` | Sets the order. An attack resolves in the resolution phase |
+| `UnitOrder(unit, fortify / hold / attack, q, r)` | Sets the order. A player's attack resolves at once; the enemy's attack resolves in the resolution phase (owner, 23 October 2026, #1402 and #1398: "Approve, start building") |
| `StartProject(kind, city or site or corridor)` | Commits Money and workers |
| `PioneerWork(unit, action, target)` | Road or rail segment, plow, dry swamp, build yishuv, build a camp |
| `ResolveCapture(settlement, raid / occupy / deport)` | Only on a settlement the player has just captured (§4.1) |