A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Keep the Hakhshara as the gdd-0.3 pioneer path: pin it and record the ruling (#2484) (#2507)
Beri9e414118cdbf
diff --git a/docs/GDD.md b/docs/GDD.mdindex 494d6d0a0..1ca54d563 100644--- a/docs/GDD.md+++ b/docs/GDD.md@@ -84,7 +84,7 @@ The player can choose ministers. TBD: minister roles, available candidates, appoThe 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.+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. Under `gdd-0.3` the Hakhshara stays the way civilians become Halutzim (owner, 4 November 2026: "Keep the Hakhshara", [#2484](https://github.com/eyalgolan/statecraft-israel/issues/2484)).### Progression@@ -369,7 +369,7 @@ On 1 November 2026 the owner approved an answer to every open GDD 0.3 question:- **Economy and Food.** Foreign currency stays the internal ledger under Money, so the sourced 1951 crisis still cuts the Food import (Q2) (owner 2 Nov, #813: the player may convert up to $4m a month of foreign currency into Money during the war, $100m in total, via one foreign-currency readout; note that a top-bar foreign-currency meter already existed on main, see #2204; [later rulings](#later-rulings-2-november-2026)). A bond or loan card adds its Money and the same principal to Debt, with no interest or schedule, and its figures must be sourced (Q5). Every deficit is borrowed (Q21, Q24). `debt_ceiling` (IL 250m) is only the "Money exhausted" threshold of the economic defeat; no order is refused at it (Q22) (except Arms purchases: refused past the ceiling, owner 2 Nov, #2198, R-ARMS-002; and arms-workshop cycles: they wait unpaid past it, owner 2 Nov, #1701 OQ4, "Refuse past the ceiling (Recommended)", R-ARMS-006; [later rulings](#later-rulings-2-november-2026)). Debt starts at 0, and a Money unit is IL 1m (Q23). The economic defeat is Debt at or above the ceiling and Food at 0 for `defeat_turns` (3) turn ends in a row (Q25), read before this turn's borrowing (Q26). Purchases and unaffordable courses borrow automatically (Q56, 27M-6). `food_supply` stays the 0-1 readout (Q6). A unit with strength 1 or more never counts below 1 after a modifier (Q7). `BuyArms` is a waiting order, editable or withdrawn at no cost until End turn and final after it; there are no player Food purchases in the MVP (Q45-Q47).- **Events and indicators.** The seven Attention, passive-budget and refill cards lose only their Attention effects under `gdd-0.3` (Q1). Rationing and ma'abarot cards stay indicator-only (Q3). Events may write Money, Arms, the Food stock, Social cohesion and International Support; housing condition and `food_supply` are readouts (Q4). `start.cohesion` and `start.support` are opening values only, and the rationing and security links stay (Q17, Q18). The #1716 snapshot lands before the indicator changes, with no regional workforce helper (Q19).-- **Population and courses.** Commands on "N units" take ascending population ids; a returned captive keeps their id and military qualification, comes back unequipped and joins the nearest friendly city as a civilian (Q10, 27M-20). Event grants and arrivals take new ids as refugees in a city, and natural increase stays the national rate, 0.0169 a year ("Keep the national rate (Recommended)", Q11). A course occupies its people from its first turn (Q43(a)); they are released in the turn its last course turn counts and can be assigned from the next planning, or at once on cancellation, and work starts the turn after (Q43(b), Q43(c)). One veteran teacher and one pupil per centre, the teacher housed in the centre's city (Q42). A cancelled or slot-losing course is cancelled like `CancelTraining`, people return as civilians, Money and tools are not refunded and Arms return to the pool (Q44, Q52, 27M-3, 27M-4). Graduates join their city's civilians and may re-enrol at any time (27M-5). A course occupies the person for any other job, course, pioneer work or military order, without changing their housing (#1697 follow-up). The novice craftsman label starts with the craftsman course and ends on cancelling (#1698 follow-up). Workshop work by a novice changes no qualification (Q55). A draft withdrawn before End turn leaves nothing to settle (Q53).+- **Population and courses.** Commands on "N units" take ascending population ids; a returned captive keeps their id and military qualification, comes back unequipped and joins the nearest friendly city as a civilian (Q10, 27M-20). Event grants and arrivals take new ids as refugees in a city, and natural increase stays the national rate, 0.0169 a year ("Keep the national rate (Recommended)", Q11). A course occupies its people from its first turn (Q43(a)); they are released in the turn its last course turn counts and can be assigned from the next planning, or at once on cancellation, and work starts the turn after (Q43(b), Q43(c)). One veteran teacher and one pupil per centre, the teacher housed in the centre's city (Q42). A cancelled or slot-losing course is cancelled like `CancelTraining`, people return as civilians, Money and tools are not refunded and Arms return to the pool (Q44, Q52, 27M-3, 27M-4). Graduates join their city's civilians and may re-enrol at any time (27M-5). A course occupies the person for any other job, course, pioneer work or military order, without changing their housing (#1697 follow-up). The novice craftsman label starts with the craftsman course and ends on cancelling (#1698 follow-up). Workshop work by a novice changes no qualification (Q55). A draft withdrawn before End turn leaves nothing to settle (Q53). Later, on 4 November 2026, the owner kept the Hakhshara as the pioneer path under `gdd-0.3`: "Keep the Hakhshara" ([#2484](https://github.com/eyalgolan/statecraft-israel/issues/2484)).- **Work and fields.** A worker works in their own city and farmers live in the region they farm (Q27). Employed means civilians and craftsmen in job slots over civilians plus craftsmen, and `work_lifts_cohesion` stays (Q35). Starting fields are the authored list from the owner-approved per-region split of 27 October 2026, with no numeric threshold (Q36); the 20 farmer / 8 Industry split is symbolic and kept (MAN-1). Only an Israeli-held hex can be farmed (Q37). A retaken field resumes through the city's job default (27M-1). Farming counts whole months from the month's snapshot (27M-2). A workshop reserves its cycle at the monthly production step, repeats automatically each month while staffed ("Automatic monthly (Recommended)"), takes any free civilian at the worker's cost tier, and loses progress and paid Money on cancellation (27M-11 to 27M-14). New housing and repairs follow the Money-plus-work rule for city projects, and repairs wait for #1700 (#1703 follow-ups a and b).- **Housing, absorption and camps.** Housing effects are measured after the step's arrivals become civilians (27M-15). Every city starts at the one housing condition 0.35 ("0.35, your 15 Oct value (Recommended)", 27M-16, `R-HOUSE-001`). Housed means civilians, craftsmen, recruits and groups in training (27M-18). Absorption's overflow limit is national (27M-21) and counts employment at turn end (27M-22). Refugees cannot train until they become civilians, so 27M-23, Q54 and 27M-10 do not arise in the MVP. Training is ordered in the camp's city, with no travel (27M-7). A formation pays military upkeep from the turn it graduates (27M-8). After a cancellation or camp loss, people go to their city as civilians without a job (27M-9). Schneller and Tel HaShomer operate from the start, the other military camps are build sites, every camp uses `military.camp_capacity` 5, and the reception site is Kiryat Shmuel, Haifa (27M-25).- **Military.** Arms equip new soldiers in training and replacements; attacks and artillery spend none. A recruit course cannot start without its Arms, and all training stays in 0.3 (ARMS-1 to ARMS-3). Artillery has 2 movement points and infantry terrain costs (Q12). Every `kind: fort` record is a permanent fort (Q13). Under `gdd-0.3`, veterancy comes from combat experience: every unit, artillery firing alone included, earns `military.combat_xp_gain` (1) for each engagement it survives, experience stops at veterancy (`military.combat_xp_full`, 5), and service time is a statistic; `gdd-0.1` keeps `R-UNIT-004` (Q14 to Q16). Prisoner points are scored only when a front's exchange card returns them; prisoners taken after that card stay held, with no points (27M-19). The armistice quiet-turn count runs per front from the scenario start, no offer comes before the 15 December 1948 turn, a quiet turn has no engagement involving that front's units, and a refused order does not break it (Q48); two full quiet turns must follow a refusal (Q49). No manning in Historical (MAN-2, D4).@@ -426,7 +426,7 @@ These are recorded once here. Feature files link here instead of maintaining com|Starting army size outside Historical mode|Historical mode keeps the sourced seed from `content/map/units_1948.yaml` (`Q-START-1`, decided 15 October 2026). Parameter `A` applies only to non-Historical modes and remains deferred; no previously proposed count is accepted (owner, 30 Oct 2026). Historical army growth is only by dated arrivals and replacements, with no manning modifier or scripted draft (owner, 1 November 2026, D4).||Regional-capital model|**Amir's proposal, declined by the owner on 30 October 2026:** create a regional-capital roster and shared regional administration. The retained per-city rules remain authoritative.||Founding dates|The owner set Kiryat Shmona to 18 July 1949 and Beit Shemesh to 15 December 1950 under the monthly turn ([#785](https://github.com/eyalgolan/statecraft-israel/issues/785#issuecomment-6237624501)).|-|Facility availability and starting training-centre host|The existing owner ruling already starts Schneller and Tel HaShomer as military facilities; the other military camps are approved build sites. Centre and teacher counts are decided. **Decided (owner, 1 November 2026, O8 and 27M-25; [1 November 2026 answers](#1-november-2026-answers)):** Kiryat Shmuel, Haifa, hosts the one starting training centre and is the reception site; every camp uses the same `military.camp_capacity` of 5, with no per-camp exceptions. Reception-camp availability beyond that still needs a source before it is authored.|+|Facility availability and starting training-centre host|The existing owner ruling already starts Schneller and Tel HaShomer as military facilities; the other military camps are approved build sites. Centre and teacher counts are decided. **Decided (owner, 1 November 2026, O8 and 27M-25; [1 November 2026 answers](#1-november-2026-answers)):** Kiryat Shmuel, Haifa, hosts the one starting training centre and is the reception site; every camp uses the same `military.camp_capacity` of 5, with no per-camp exceptions. Reception-camp availability beyond that still needs a source before it is authored. **Decided (owner, 4 November 2026, [#2484](https://github.com/eyalgolan/statecraft-israel/issues/2484)):** "Keep the Hakhshara". Maintainer reading: Tel Aviv's Hakhshara stays under `gdd-0.3`, and the training centre comes alongside it and does not replace it.||Final defeat conditions|Under `gdd-0.3` the retained defeat is the economic one (Money and Food exhausted); losing a city or region alone does not end the game ([rules](rules/mvp.md#defeat)), and [the retained end rules](gdd/ministers-events-end.md#rules) add no coalition collapse. *Considered and declined (owner, 30 Oct 2026; [conflict decision](#30-october-2026-conflict-decisions)): Amir's #1668 proposed making every terminal defeat TBD.* While an enemy unit holds an Israeli city's hex, the city's jobs pay nothing and its Food production and projects pause until it is retaken (owner, 1 November 2026, D6).||Minister-specific gameplay|The existing office-competence slice (`R-MIN-001` to `R-MIN-003` and `Cabinet.Appoint`) is the complete MVP minister mechanic ([owner ruling #1513](https://github.com/eyalgolan/statecraft-israel/issues/1513#issuecomment-6372357178)). Historical offices and event references remain, and the existing cabinet stays; under `gdd-0.3` there is no Attention resource ([rules](rules/mvp.md#government)).||Terrain presentation|**TBD**. The MVP catalogue itself remains frozen at the existing eight biomes.|diff --git a/docs/gdd/training.md b/docs/gdd/training.mdindex a9b2018db..b915b7a30 100644--- a/docs/gdd/training.md+++ b/docs/gdd/training.md@@ -7,7 +7,7 @@ I can follow a population unit through civilian work, military service and retur## Rules-- One military camp and one Hakhshara exist in Tel Aviv at the start. This is a design assumption, not a claim about the city (D-D5 [S2]). **Scope note:** this is the live `gdd-0.1` start, and its camps have no capacity limit (unitless). Under `gdd-0.3`, 27M-25 says: "Schneller and Tel HaShomer operate from the start, the other military camps are build sites, every camp uses `military.camp_capacity` 5, and the reception site is Kiryat Shmuel, Haifa" [S11].+- One military camp and one Hakhshara exist in Tel Aviv at the start. This is a design assumption, not a claim about the city (D-D5 [S2]). **Scope note:** this is the live `gdd-0.1` start, and its camps have no capacity limit (unitless). Under `gdd-0.3`, 27M-25 says: "Schneller and Tel HaShomer operate from the start, the other military camps are build sites, every camp uses `military.camp_capacity` 5, and the reception site is Kiryat Shmuel, Haifa" [S11]. Under `gdd-0.3` the Hakhshara stays the way civilians become halutzim (owner, 4 November 2026: "Keep the Hakhshara", [#2484](https://github.com/eyalgolan/statecraft-israel/issues/2484)). Maintainer reading: "keep" means as on main, so Tel Aviv keeps its Hakhshara and pioneer training keeps its 4 turns and IL 0.5m a group.- Pioneers build more: `PioneerWork(unit, build_camp, site)` at a camp site takes 6 turns and IL 2m, labelled design values an agent proposed and the owner accepted (#927; the balance pass, #813, may tune them), and follows the yishuv build's rules. Under live `gdd-0.1`, the built site's city has the facility from the next turn, with no capacity limit (`Q-CAMP-1`, `Q-CAMP-3` [S4]) (R-CAMP-001).- The camp sites are `Camp 80` near Pardes Hanna, for Hadera, and Tzrifin, for Rishon LeZion, both military camps (`Q-CAMP-2` [S5]; owner, "Both military", #927). A camp serves the city nearest by hex, and a tie goes to the nearest by km (R-CAMP-002). Both rows are drafts: their sources were read by AI agents for the research note, and Tzrifin's exact position and a GIS clearance are still gaps.- `Train(city, track, n)` takes civilians without a job into training as recruits (military camp) or halutzim (Hakhshara). It costs 1 Attention and IL 0.5m per group, both placeholders, paid at once. A short Treasury borrows the rest, as map actions do (owner decision on #468) (R-TRAIN-001).@@ -43,7 +43,7 @@ The proposed basic-training reception credit, combat-veterancy completion, demob### Farmer and pioneer courses-A retained training centre uses its matching veteran teacher under the approved course rules. Amir's proposed dependency on an operating reception camp, separate teacher housing and reception-bed capacity is non-operative [S6]. A centre has one veteran teacher and one pupil, and the teacher is housed as an ordinary resident of the centre's city; the starting centre is at Kiryat Shmuel, Haifa (owner, 1 November 2026, Q42 and O8) [S11] (unitless).+A retained training centre uses its matching veteran teacher under the approved course rules. Amir's proposed dependency on an operating reception camp, separate teacher housing and reception-bed capacity is non-operative [S6]. A centre has one veteran teacher and one pupil, and the teacher is housed as an ordinary resident of the centre's city; the starting centre is at Kiryat Shmuel, Haifa (owner, 1 November 2026, Q42 and O8) [S11] (unitless). The owner kept the Hakhshara under `gdd-0.3` (4 November 2026: "Keep the Hakhshara", [#2484](https://github.com/eyalgolan/statecraft-israel/issues/2484)); maintainer reading: the centre's pioneer course, when it is built, comes in addition to the Hakhshara, not in place of it.An eligible free civilian may train under the retained course rules. Completion grants the retained qualification; there is no actual-work route to qualification, while under `gdd-0.3` novice and trained farmers/pioneers reach veteran through actual work (`R-VET-001`). These centres do not train soldiers. The starting centre and veteran pioneer teacher belong to the initial population inventory, not additional people. A course occupies its people from the turn it starts, for any job, other course, pioneer work or military order, without changing their housing; they are released in the turn its last course turn counts and can be assigned from the next planning, and their work starts the turn after (owner, 1 November 2026, Q43 and the #1697 follow-up) [S11].diff --git a/docs/rules/mvp.md b/docs/rules/mvp.mdindex 3649caeab..8bb43afe9 100644--- a/docs/rules/mvp.md+++ b/docs/rules/mvp.md@@ -164,9 +164,9 @@ For R-PROJ-001 and R-PROJ-003, the preceding rules and the IL 0m upkeep of R-MON## Training-Training is step 4 of the turn in the approved order (§2.3, D-A6): it runs before production. One military camp and one Hakhshara exist in Tel Aviv at the start, a labelled design assumption (D-D5); pioneers build more at camp sites (R-CAMP-001). Scope note: this is the live `gdd-0.1` start. Under `gdd-0.3`, 27M-25 says: "Schneller and Tel HaShomer operate from the start, the other military camps are build sites, every camp uses `military.camp_capacity` 5, and the reception site is Kiryat Shmuel, Haifa". R-CAMP-003 defines the `gdd-0.3` start camps.+Training is step 4 of the turn in the approved order (§2.3, D-A6): it runs before production. One military camp and one Hakhshara exist in Tel Aviv at the start, a labelled design assumption (D-D5); pioneers build more at camp sites (R-CAMP-001). Scope note: this is the live `gdd-0.1` start. Under `gdd-0.3`, 27M-25 says: "Schneller and Tel HaShomer operate from the start, the other military camps are build sites, every camp uses `military.camp_capacity` 5, and the reception site is Kiryat Shmuel, Haifa". R-CAMP-003 defines the `gdd-0.3` start camps. The Hakhshara and its `Train` track stay under `gdd-0.3` (owner, 4 November 2026: "Keep the Hakhshara", [#2484](https://github.com/eyalgolan/statecraft-israel/issues/2484)).-R-TRAIN-001: `Train(city, track, n)` takes `n` of the city's civilians without a job (not a staffed arms workshop's worker, R-ARMS-005, or a builder, R-CITY-011) into a cohort that trains as `track` (a unit type with a `facility`: `recruit`, `artillery` and `armoured_car` in a military camp (R-UNIT-008), `halutz` in a Hakhshara, `craftsman` at industry, R-CRAFT-001) for the type's `training_turns`, counting the turn it was ordered in. The Treasury pays `n * training_cost` at once. When the Treasury holds less, the shortfall is borrowed, as for map actions: it is added to the debt and the Treasury stops at 0 (owner decision "Allow borrowing", 15 October 2026). The trainees leave the civilians at once; the cohort takes the next id, which units share. It is refused, with the state unchanged and the Attention refunded, when the city or track is unknown, `n` is below 1, the city lacks the facility, or it has fewer civilians without a job. A city has a facility when `cities.yaml` gives it one at the start, `gdd03-start.yaml` gives it one under R-CAMP-003, or a camp site of that kind built for it is in the state (R-CAMP-001). The legacy loop refuses it before charging Attention. `Reinforce` (R-TRAIN-004) starts a cohort by the same rules, aimed at a unit. A queued `ReassignCraftsmen` or `ReassignPioneers` (R-QUAL-004, R-QUAL-005) takes its civilians without a job as a queued `Train` does (counted in full, so the orders are accepted in any order), in `Training.Ordered` and `Training.Available` (#1548; owner, 24 October 2026: "Yes, count them", https://github.com/eyalgolan/statecraft-israel/issues/1511#issuecomment-6378360813).+R-TRAIN-001: `Train(city, track, n)` takes `n` of the city's civilians without a job (not a staffed arms workshop's worker, R-ARMS-005, or a builder, R-CITY-011) into a cohort that trains as `track` (a unit type with a `facility`: `recruit`, `artillery` and `armoured_car` in a military camp (R-UNIT-008), `halutz` in a Hakhshara, `craftsman` at industry, R-CRAFT-001) for the type's `training_turns`, counting the turn it was ordered in. The Treasury pays `n * training_cost` at once. When the Treasury holds less, the shortfall is borrowed, as for map actions: it is added to the debt and the Treasury stops at 0 (owner decision "Allow borrowing", 15 October 2026). The trainees leave the civilians at once; the cohort takes the next id, which units share. It is refused, with the state unchanged and the Attention refunded, when the city or track is unknown, `n` is below 1, the city lacks the facility, or it has fewer civilians without a job. A city has a facility when `cities.yaml` gives it one at the start, `gdd03-start.yaml` gives it one under R-CAMP-003, or a camp site of that kind built for it is in the state (R-CAMP-001). The legacy loop refuses it before charging Attention. `Reinforce` (R-TRAIN-004) starts a cohort by the same rules, aimed at a unit. A queued `ReassignCraftsmen` or `ReassignPioneers` (R-QUAL-004, R-QUAL-005) takes its civilians without a job as a queued `Train` does (counted in full, so the orders are accepted in any order), in `Training.Ordered` and `Training.Available` (#1548; owner, 24 October 2026: "Yes, count them", https://github.com/eyalgolan/statecraft-israel/issues/1511#issuecomment-6378360813). Under `gdd-0.3` the `halutz` track still trains in a Hakhshara (owner, 4 November 2026: "Keep the Hakhshara", [#2484](https://github.com/eyalgolan/statecraft-israel/issues/2484)).R-TRAIN-002: `CancelTraining(cohort)` returns the cohort's people to its city as civilians without a job and refunds none of the Money paid (D-A3); a recruit cohort's Arms go back to the pool (R-ARMS-003). A cohort that does not exist, or has finished, is refused with the state unchanged. Replacements (R-TRAIN-004) cancel the same way.@@ -174,7 +174,7 @@ R-TRAIN-003: Each turn, in ascending id, every cohort has one turn less to go. AR-TRAIN-004: `Reinforce(unit, city, n)` (#1510; owner, 23 October 2026: "Replacements cost Arms", https://github.com/eyalgolan/statecraft-israel/issues/1510#issuecomment-6372356139, and "Default (Recommended)") refills a damaged formation of the player's with trained replacements. The unit must be a military unit of the player's side standing on `city`'s settlement hex. Its course is the trained type of the unit's side and class (a type with a `facility`): the recruit's basic training for a recruit or a veteran soldier, the guns' and the armoured cars' own for artillery and armoured cars (R-UNIT-008); a type no course trains (any enemy type) takes none. The cohort then follows R-TRAIN-001: the city's facility, `n` of its civilians without a job, `n * training_cost` with borrowing (R-MONEY-003), and the Arms of R-ARMS-003 for that course; it carries the unit's id, written into the state hash (`|unit=<id>`) only when set. The cap is the strength the unit had before its first loss, `Unit.Full`: combat stores it on a player's unit at its first loss (R-COMBAT-003) and clears it when replacements bring the unit back to it, and it is written into the state hash (`|full=<n>`) only when set, so a unit that has lost nobody, and every enemy unit, hashes as before. The order is refused, the state and Attention unchanged, for an unknown unit ("There is no such unit"), a unit with no side or an enemy unit (R-ORDER-001's wording), an unknown city, a unit off the city's hex ("Unit N is not in <city>"), a type no course trains ("Unit N cannot take replacements"), a unit with nothing to refill ("Unit N has no losses to replace") and `n` past the cap less the unit's strength and the replacements already training for it ("Unit N can take K more groups"), then for R-TRAIN-001's and R-ARMS-003's reasons. A queued `Reinforce` takes its city's civilians as a queued `Train` does (R-CITY-001). In step 4, before a turn is counted, replacements whose unit has left the state (destroyed, captured, sent home) or stands off the city's hex are cancelled as R-TRAIN-002 cancels a cohort: people and Arms back, the Money spent, with a Why line. A cohort that finishes adds its count to the unit's strength and makes no unit and takes no id; the unit keeps its type, service, order and home (a veteran stays a veteran, R-UNIT-004). The people join the unit's home city's housing (R-HOUSE-003). `attention_cost.reinforce` is 1, Train's cost, a design value (owner, 24 October 2026: "1, like Train (Recommended)", https://github.com/eyalgolan/statecraft-israel/issues/1510#issuecomment-6375591436). The save line is `reinforce <unit> <city> <n>` and the scenario form `{ kind: reinforce, unit, city, count }`.-R-TRAIN-005: In gdd-0.3 synthetic fixtures only (#1697; nothing in the game calls it), a farmer or pioneer course starts at an operating training centre, a facility in its host city with no reception camp, centre upgrade or reception bed (owner, 1 November 2026, "No reception-bed layer (Recommended)"; `docs/gdd/training.md:38`, "The MVP has no reception-bed layer"). A centre has one veteran teacher and one pupil, the teacher housed in the centre's city (GDD, 1 November 2026 answers, `docs/GDD.md:372`: "One veteran teacher and one pupil per centre, the teacher housed in the centre's city (Q42)."). A population location has a region and an optional hex or facility but no city, so the centre's region stands in for its host city, an approximation until real places are bound (#1691). A teacher outside the centre's region is refused with a plain reason that cites Q42. Q42 rules only on the teacher; that the trainee lives in the centre's host city too was our reading (#1697 body: "the teacher and the trainee are housed there as ordinary residents"; `docs/GDD.md:374`, "Training is ordered in the camp's city, with no travel (27M-7)."), and is now the owner's ruling (owner, 4 November 2026, Q23: asked "Must a farmer-course or pioneer-course pupil live in the training centre's host city?", the owner answered "yes", [recorded on #1697](https://github.com/eyalgolan/statecraft-israel/issues/1697#issuecomment-6623127820)). The fixture still uses the centre's region as the stand-in for its host city, so a trainee outside the region is refused with a plain reason that says so; the rule tightens to the host city once centres are bound to real cities (#1691). A centre takes at most one teacher and one pupil, whatever `profession.trainees_per_teacher` says: a second teacher, or a second pupil while one is on a course there, is refused with a plain reason that cites Q42, not as Deferred, and an inventory with either is refused the same way. The teacher is a free civilian, a veteran of the matching profession; the trainee is a free civilian who is a novice of that profession. Either may hold a job, which is released in the same commit that starts the course (a reading of `docs/gdd/cities.md:42`, "Reassignment releases old capacity atomically.", with `docs/GDD.md:372`, Q43(b) and (c), "can be assigned from the next planning, or at once on cancellation", and `docs/gdd/training.md:66`, people "return at once"); a teacher teaching elsewhere, or a pupil on a course, is refused, since only a cancel or a graduation ends those here. No reception progress is read (`docs/GDD.md:374`, "Refugees cannot train until they become civilians"), and refugees in a reception camp take no course place. No tools are needed or charged: tools are post-MVP (#1693, owner answers of 3 November 2026, answer 1: "Tools in the MVP: no."), and the record's tools fields are kept unchanged. A teacher also takes at most Agreed `profession.trainees_per_teacher` pupils (currently 1; the approved Q42 answer names this value as its basis), so a busy teacher refuses another pupil; a synthetic value above 1 admits no second pupil, because the centre's own limit is one. No Money is charged. Teacher and trainee then hold exclusive Teaching and Course assignments, so other assignment paths refuse them (`docs/gdd/training.md:31` at `605277dfa511dc512562ececeb273b8393b21d35`, "The teacher is fully occupied and cannot work, fight, build, travel or teach another pupil simultaneously."). Every refusal leaves the state unchanged. Craftsmen, soldiers and refugees cannot enrol. Only exact gdd-0.3 states with an initialized population ledger are accepted; legacy and gdd-0.1 are refused unchanged.+R-TRAIN-005: In gdd-0.3 synthetic fixtures only (#1697; nothing in the game calls it), a farmer or pioneer course starts at an operating training centre, a facility in its host city with no reception camp, centre upgrade or reception bed (owner, 1 November 2026, "No reception-bed layer (Recommended)"; `docs/gdd/training.md:38`, "The MVP has no reception-bed layer"). A centre has one veteran teacher and one pupil, the teacher housed in the centre's city (GDD, 1 November 2026 answers, `docs/GDD.md:372`: "One veteran teacher and one pupil per centre, the teacher housed in the centre's city (Q42)."). A population location has a region and an optional hex or facility but no city, so the centre's region stands in for its host city, an approximation until real places are bound (#1691). A teacher outside the centre's region is refused with a plain reason that cites Q42. Q42 rules only on the teacher; that the trainee lives in the centre's host city too was our reading (#1697 body: "the teacher and the trainee are housed there as ordinary residents"; `docs/GDD.md:374`, "Training is ordered in the camp's city, with no travel (27M-7)."), and is now the owner's ruling (owner, 4 November 2026, Q23: asked "Must a farmer-course or pioneer-course pupil live in the training centre's host city?", the owner answered "yes", [recorded on #1697](https://github.com/eyalgolan/statecraft-israel/issues/1697#issuecomment-6623127820)). The fixture still uses the centre's region as the stand-in for its host city, so a trainee outside the region is refused with a plain reason that says so; the rule tightens to the host city once centres are bound to real cities (#1691). A centre takes at most one teacher and one pupil, whatever `profession.trainees_per_teacher` says: a second teacher, or a second pupil while one is on a course there, is refused with a plain reason that cites Q42, not as Deferred, and an inventory with either is refused the same way. The teacher is a free civilian, a veteran of the matching profession; the trainee is a free civilian who is a novice of that profession. Either may hold a job, which is released in the same commit that starts the course (a reading of `docs/gdd/cities.md:42`, "Reassignment releases old capacity atomically.", with `docs/GDD.md:372`, Q43(b) and (c), "can be assigned from the next planning, or at once on cancellation", and `docs/gdd/training.md:66`, people "return at once"); a teacher teaching elsewhere, or a pupil on a course, is refused, since only a cancel or a graduation ends those here. No reception progress is read (`docs/GDD.md:374`, "Refugees cannot train until they become civilians"), and refugees in a reception camp take no course place. No tools are needed or charged: tools are post-MVP (#1693, owner answers of 3 November 2026, answer 1: "Tools in the MVP: no."), and the record's tools fields are kept unchanged. A teacher also takes at most Agreed `profession.trainees_per_teacher` pupils (currently 1; the approved Q42 answer names this value as its basis), so a busy teacher refuses another pupil; a synthetic value above 1 admits no second pupil, because the centre's own limit is one. No Money is charged. Teacher and trainee then hold exclusive Teaching and Course assignments, so other assignment paths refuse them (`docs/gdd/training.md:31` at `605277dfa511dc512562ececeb273b8393b21d35`, "The teacher is fully occupied and cannot work, fight, build, travel or teach another pupil simultaneously."). Every refusal leaves the state unchanged. Craftsmen, soldiers and refugees cannot enrol. Only exact gdd-0.3 states with an initialized population ledger are accepted; legacy and gdd-0.1 are refused unchanged. The centre course does not retire the Hakhshara: the owner kept it under `gdd-0.3` (4 November 2026: "Keep the Hakhshara", [#2484](https://github.com/eyalgolan/statecraft-israel/issues/2484)), and R-TRAIN-001's `halutz` track stays.R-TRAIN-006: In the same fixture, the enrolment month is course turn 1 (#1668 question 43(a); GDD, 1 November 2026 answers: "A course occupies its people from its first turn"), so a course turn is counted in the enrolment month, even with a snapshot taken before the course started, unless the centre was not available at that month's freeze, and in a later month only when its opening snapshot (the #1716 synthetic month context) already holds that course with the same teacher. It is counted at most once per month ordinal: an ordinal before the enrolment month, or not above the last one counted for that pupil, is refused. A counted turn keeps the same population id and every record field (work XP, reception progress, equipment, location, military history); no person is created, and teaching and the course earn no work XP (`docs/gdd/training.md:17` at `605277dfa511dc512562ececeb273b8393b21d35`, "Travel, idle time, teaching and courses do not count."). The turn that brings a course to Agreed `profession.course_turns` counted turns (currently 3) graduates it: the pupil takes the trained tier through R-QUAL-008's transform and keeps the same id, work XP, reception progress, equipment and the tools' payment fact, location and military history; the pupil and the teacher (a centre has one pupil, R-TRAIN-005) are released in that turn, in one change, as civilians without a job. Nothing is charged and no person is created. #1697: "A free civilian or a matching equipped novice may enrol; completion gives the trained tier." Release timing follows R-TRAIN-008. The fixture also refuses a unit already trained, because Amir's proposal made a trained profession permanent (`docs/gdd/training.md:13` at the same commit, "Once trained, a civilian profession cannot be replaced."). That lock is post-MVP: D3 keeps two-way professions (R-QUAL-006), and the GDD's 1 November 2026 answers say "Graduates join their city's civilians and may re-enrol at any time" (27M-5).diff --git a/sim/Statecraft.Sim.Tests/Gdd03StartFacilitiesTests.cs b/sim/Statecraft.Sim.Tests/Gdd03StartFacilitiesTests.csindex 5d947c6f1..ef0dc7ff8 100644--- a/sim/Statecraft.Sim.Tests/Gdd03StartFacilitiesTests.cs+++ b/sim/Statecraft.Sim.Tests/Gdd03StartFacilitiesTests.cs@@ -39,6 +39,41 @@ public class Gdd03StartFacilitiesTestsAssert.True(Training.HasFacility(c, state, "jerusalem", "military_camp"));}+ // #2484, owner, 4 November 2026: "Keep the Hakhshara". Under gdd-0.3 the Hakhshara stays the way civilians become+ // halutzim, so on the shipped content Tel Aviv's Hakhshara trains a halutz group into a halutz unit (R-TRAIN-001, R-TRAIN-003).+ [Fact]+ public void Gdd03HakhsharaTrainsHalutz()+ {+ var c = LoadShipped(true, ShippedOverlay());+ Assert.Equal(SaveGame.Gdd03Ruleset, c.Ruleset);+ var s = Simulation.NewGame(c, 1, Mode.Historical);+ var turns = c.UnitTypes.Single(t => t.Id == "halutz").TrainingTurns;+ var r = Simulation.Step(c, s, new Command[] { new Train("tel_aviv", "halutz", 1) });+ Assert.Empty(r.Rejected);+ var cohort = Assert.Single(r.State.Cohorts.Values);+ Assert.Equal(("halutz", "tel_aviv", 1), (cohort.Type, cohort.City, cohort.Count));+ for (int turn = 1; turn < turns; turn++)+ {+ Assert.DoesNotContain(r.State.Units.Values, u => u.Type == "halutz");+ r = Simulation.Step(c, r.State, new Command[0]);+ }+ Assert.Empty(r.State.Cohorts);+ var unit = Assert.Single(r.State.Units.Values, u => u.Type == "halutz"); // one unit per group, at the city's hex+ var home = c.SettlementHexes.First(h => h.Id == "tel_aviv");+ Assert.Equal((home.Q, home.R), (unit.Q, unit.R));+ }++ // #2484, owner, 4 November 2026: "Keep the Hakhshara". Under gdd-0.3 the halutz still trains at a Hakhshara (Tel Aviv's+ // own Hakhshara is pinned by ShippedGdd03StartHasTheCataloguedNumberOfCampCities above).+ [Fact]+ public void Gdd03TelAvivStartsWithHakhshara()+ {+ var c = LoadShipped(true, ShippedOverlay());+ Assert.Equal(SaveGame.Gdd03Ruleset, c.Ruleset);+ Assert.Equal("hakhshara", c.UnitTypes.Single(t => t.Id == "halutz").Facility);+ Assert.True(Training.HasFacility(c, Simulation.NewGame(c, 1, Mode.Historical), "tel_aviv", "hakhshara"));+ }+[Fact]public void AbsentOverlayLeavesGdd03CitiesUnchanged(){