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(spec): GDD v0.1 impact analysis and phased plan, approved by the owner (#344)

Eyal Golance83115c5ef7
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
new file mode 100644
index 000000000..af64fde12
--- /dev/null
+++ b/docs/superpowers/specs/2026-10-12-gdd-v0.1-impact-and-plan.md
@@ -0,0 +1,855 @@
+# GDD v0.1: impact analysis and phased build plan
+
+- **Date:** 2026-10-12
+- **Status: APPROVED by the owner, 12 October 2026,** as the basis for Phase 1 (decisions recorded in §5). Balance values stay owner-set placeholders. Earlier status: proposed (owner ruling 2, [GDD](../../GDD.md)).
+- **Design of record:** [docs/GDD.md](../../GDD.md) (v0.1, merged in #340). Where this document and the GDD disagree, the GDD wins.
+- **Read against:** `origin/main` at `7788ba8` (12 October 2026). Every claim about the code below cites a file and line at that commit.
+- **Scope:** analysis and a plan only. No code, content or golden changes. Visual and promo work continues meanwhile.
+
+**How to read it.** §1 maps each GDD system onto today's code. §2 proposes how the new rules become deterministic sim state and
+commands. §3 is the golden rebaseline plan. §4 covers content and sensitivity. §5 lists every open decision with a
+**recommended default**. These are recommendations only, and the owner decides. §6 is the phased build plan. §7 covers in-flight PRs and issues, with a draft note to
+contributors.
+
+**Words used here.**
+- *The legacy loop* is today's game: quarterly, monthly and weekly turns by security rung, the effects web, and the cabinet and coalition.
+- *The GDD loop* is the game GDD v0.1 describes.
+- *The switch* is the data switch (§2.1) that turns the GDD loop on.
+- *Cutover* is the one deliberate commit that turns it on for the real game and rebaselines the goldens (§3).
+
+---
+
+## Summary for the owner
+
+1. **Almost every GDD system is new.** The sim has no units, cities, jobs, training, construction, movement, combat or
+ settlement control. The military today is one ladder rung and one call-up number (`GameState.cs:38-40`). What carries over is the
+ machinery: the deterministic step, the single RNG, the canonical hash, saves as command logs, content windows, the
+ event system and its cards, the cabinet, the treasury and the immigration series.
+2. **Monthly turns are cheap to build.** Their cost is the golden churn. The cadence is one function
+ (`SecuritySystem.TurnLengthFor`, `SecuritySystem.cs:9-10`), and #81 already designs a `turn_lengths` rules key for it.
+ But it moves every golden. The 31 event windows were also tuned so each decision opens "on the turn before" on weekly war turns
+ (determinism.md, rebaseline row "playtest 1 E fix 1"), so the windows must be re-timed. The fx-crisis calibration may need refitting too
+ (`rules.yaml:39-51`).
+3. **Build behind a switch, then cut over once.** New state is hashed only when it is not at its default (chapters
+ spec §8, item 4). So Phase 1 can land with `Hash1950`, `Hash1952`, `smoke5` and the scenario goldens unmoved, and
+ in-flight PRs keep passing. A single cutover PR then switches to monthly turns and the GDD loop and rebaselines everything, for a
+ stated reason.
+4. **The biggest risk is sensitivity, not code.** Raid, occupy and deport on real, named Arab localities turns
+ presentation-only data (`localities_1948.yaml`, 1,096 rows) into gameplay targets. §4 gives the minimum rules that keep the
+ owner's ruling "honest cost, no reward" from being broken by a loophole: a deported settlement's empty houses, deportees
+ counted as player refugees, or prisoners used as labour.
+5. **Phase 1 is blocked by four decisions** (§5, group A): what a unit is (D-A1), how civilians are assigned (D-A2),
+ instant or multi-turn work (D-A3), and the slice's city, site and objective card (D-A4). Every other open item can wait for its own
+ phase.
+
+---
+
+## 1. Concept map: the GDD against the current code
+
+Status words: **reuse** (works as is), **change** (exists but must change), **new** (nothing exists), **open** (the GDD leaves it
+open; see §5).
+
+### 1.1 Turns and cadence
+
+| GDD | Today | Verdict |
+|---|---|---|
+| "Each turn advances history by one month." About 48 turns, 1948–1951 | Turn length follows the security rung: weekly on rung 5, monthly on rung 4, quarterly on rungs 1–3 (`SecuritySystem.cs:9-10`). The game starts on rung 5 (`rules.yaml:3`), so 1948 is played in weeks until the truces. The golden run to 1952 is 43 turns (determinism.md) | **Change** |
+| Turn structure: review, then move/orders/projects/ministers, then events, then resolution (proposal) | `Simulation.Step` (`Simulation.cs:28-83`) applies commands at once, each paying Attention (`:46-52`). It then delegates unanswered events (`:53`), resolves effects, population, economy, politics and security (`:63-69`), advances the date (`:71`), and triggers new events (`:81`) | **Change.** The shape fits; a resolution phase for units is new (§2.3) |
+| Time maths | Yearly rates are scaled by the year fraction (`SimTime.cs:27-32`). The ceasefire clock counts weeks (`SecuritySystem.cs:12`, `:64-77`). The era-boundary turn adjusts to real days (`SimTime.cs:20-24`, `Simulation.cs:55-62`) | **Reuse.** A month is 1/12 of a year and 4 clock weeks |
+| — | The effects web moves each effect toward its target by `1/inertia` **per turn** (`EffectsSystem.cs:53-54`), and coalition stability by `yearFraction*2` (`PoliticsSystem.cs:37`). The event cap is 3 soft events **per turn** (`EventSystem.cs:9`), and Attention is per turn (`rules.yaml:4`) | **Change.** Inertia is per turn, not per unit of time, so the web's dynamics in war months change under monthly turns. Re-check at cutover |
+
+**How it is built:** #81's `turn_lengths` key (`[month, month, month, month, month]`), read by
+`TurnLengthFor(c, date, rung)`. The default reproduces today's table, so nothing moves until cutover. See §3.
+
+### 1.2 Resources and national parameters
+
+| GDD | Today | Verdict |
+|---|---|---|
+| **Money** (funds development; craftsmen earn more) | `Treasury` (IL m), `Debt` and `FxReserves` ($m) (`GameState.cs:34-36`). Per-head tax and spending, the call-up cost and borrowing (`EconomySystem.cs:26-50`). Calibrated to 1950–51 (`rules.yaml:23-54`) | **Change.** Treasury becomes Money. Income moves from per-head tax to jobs (per-job income is open). Debt and foreign currency: **open** whether they stay (D-C3) |
+| **Arms** | Nothing. The only military quantity is `Mobilization` (`GameState.cs:40`) | **New.** A national pool (D-C2) |
+| **Food** | `food_supply`, an indicator from 0 to 1 (`model.yaml:5`), moved by rationing (`model.yaml:18`) and by the fx-crisis import cut (`EconomySystem.cs:63-69`); `food_crisis` situation (`model.yaml:25`) | **Change.** The GDD's Food is an amount with production, imports, consumption and storage (open). Recommended: a national stock, keeping `food_supply` as the derived 0–1 level the UI and events read |
+| **Social cohesion** (housing, employment, shortages; proposal) | Closest is `morale` (`model.yaml:4`), fed by homes, rationing and security (`model.yaml:19-23`). Also public approval (`EffectsSystem.cs:106-108`) and coalition stability | **Change.** A 0–1 indicator through the effects web, with new sources: housing condition, unemployment, food shortage and Deport (§4.1). The scale and thresholds are open (D-C1) |
+| **International Support** | `intl_standing` (`model.yaml:8`), moved only by event effects. The 13 actors' standings are content only and are not in `GameState` (`model.yaml:37-50`; #105) | **Reuse and rename on screen.** Military decisions and Deport move it (§4.1). Per-actor diplomacy stays open |
+| Housing (now per city) | `housing`, a national 0–1 indicator (`model.yaml:6`), moved by `housing_construction` and map actions (`rules.yaml:17-19`) | **Change.** It becomes the aggregate of the cities' capacity and condition (§1.4) |
+| Security | `security` (`model.yaml:7`), shown on the HUD (`HudModel.cs:63`) | **Change.** Derived from the military situation. **Open** |
+
+### 1.3 Population units
+
+Today population is a map of continuous head counts by origin group. It starts at `{ veterans: 649400 }`
+(`rules.yaml:61`), grows by natural increase, and adds arrivals from the CBS series in Historical mode (`PopulationSystem.cs:30-38`).
+Nothing in the sim is a unit. The map's units are presentation only. `UnitRoster.Build` reads the date, the rung and the
+call-up, plus the map-only `content/map/units_1948.yaml` (`UnitRoster.cs:44-79`), and draws one token per brigade with no orders
+(docs/units.md, "Units in play").
+
+| GDD unit | Today | Verdict |
+|---|---|---|
+| Refugee | Arrivals are counted by origin region (`aliyah.yaml`) and join the population at once | **New.** Arrivals become refugee units in a city or camp. Who is a "refugee" in the GDD is **open** (D-A5). They are never the residents removed by Deport (§4.1) |
+| Civilian | The undifferentiated population | **New** as an assignable unit |
+| Craftsman | — | **New.** How a unit becomes one is open |
+| Halutz, veteran pioneer | — | **New.** Promotion is open |
+| Recruit, veteran soldier | `Mobilization` 0–1 with rung floors (`rules.yaml:21`, `SecuritySystem.cs:44-62`) | **New.** Whether the call-up survives is **open** (D-C4) |
+| Artillery ("Napoleonchik"), Israeli armoured car | — (no art either; the showcase has riflemen, aircraft and a corvette, docs/units.md) | **New** |
+| Arab Legionnaire, Palestinian militia | Map research only (#226–#233, branch `arab-units-research`), designed as presentation | **New** in the sim, plus an enemy AI (§2.3). See §4.2 |
+| — | The id `veterans` already means the pre-state population (`rules.yaml:61`, `model.yaml:33`) | **Naming clash** with "veteran soldier" and "veteran pioneer". Use new ids (`veteran_soldier`, `veteran_halutz`); see D-E3 |
+
+### 1.4 Cities, housing, jobs and projects
+
+| GDD | Today | Verdict |
+|---|---|---|
+| Cities with housing capacity, housing condition and employment slots | The sim knows 25 settlements only as ids and hexes (`settlements_1948.yaml`, read for validation, `ContentLoader.cs:49-51`; `settlement_hexes.yaml`). They hold no state. Populations are presentation only (`settlement_population_1945.yaml` header) | **New:** a city state per settlement. Starting values are sourced or labelled as design assumptions |
+| City projects: housing, industry, specialised industry, at permitted sites | Map actions: `transit_camp` and `housing` on a land hex within 1 hex of a settlement, 2 a turn, instant, from 1950 (`MapActions.cs:40-91`; `rules.yaml:13-19`). Placements are hashed (`GameState.cs:141-147`) and drawn by `PlacementLayer` (`GameRoot.cs:313-320`) | **Change.** Placements become completed projects. The command becomes "start project" with a build time and a site. The transit camp survives as a housing type if the owner wants it (housing types are open). #335 (map-action windows) stays compatible |
+| Assigning residents to housing | — | **New, open** |
+
+### 1.5 Designated sites and corridors
+
+| GDD | Today | Verdict |
+|---|---|---|
+| Building only at designated spots; a new yishuv takes its site's name | Map actions take any land hex near a settlement (`MapActions.cs:54-58`). The 1,096 localities (`localities_1948.yaml`) are presentation only | **New:** a sim-read `sites` file (id, name, hex, kinds allowed, sources). The names and founding dates come from research such as #27 |
+| Roads and railways along designated corridors, with construction states | `routes_1948.yaml` and the traced `route_paths_1948.yaml` are map-only and shown by date (docs/routes.md). The sim never reads them | **New:** a sim-read `corridors` file (id, kind, ordered hex path, segments, sources). Geometry stays map-only, traced by `tools/routes_1948.py`. The sim holds only progress per segment |
+| Plow fields, dry swamp, build yishuv, build military training camp | Hula drainage is an event (`hula_drainage.yaml`, window 1951-03-07 to 1951-05-18) | **New** pioneer actions. Dry swamp and the Hula event must agree (§4.4) |
+
+### 1.6 Movement and combat
+
+The original spec's war mode is "operational-level campaigns ... no tactical combat" (original spec §3, item 9; #21). It was never built. The
+1948 operations are events that set the rung (`EventSystem.cs:78`). Nothing moves on the map.
+
+The GDD's per-unit orders (move, fortify, hold, attack) supersede that line. Everything here is **new**: movement allowance,
+terrain cost, roads and rail, stacking, combat resolution, losses, capture, and enemy behaviour. All of it is **open** in the GDD.
+The only existing pieces are the hex grid (`hexes.json`: 1,102 hexes, 870 land, `hex_size_km` 5), axial distance
+(`MapActions.cs:30-31`), biomes per hex, and the UN ceasefire clock (`SecuritySystem.cs:64-77`).
+
+### 1.7 Settlement control
+
+**New.** The only related content is events about military government (`jerusalem_military_government.yaml`) and the
+armistices. The military-events-only rule for Lydda and Ramle (docs/m3-rulings.md, "Content and history") is in tension with
+sourced deport cards (§4.1, D-F1).
+
+### 1.8 Events and objective cards
+
+| GDD | Today | Verdict |
+|---|---|---|
+| Events with trigger, context, options and consequences; effects on the five resources | `EventSystem` (`EventSystem.cs:21-99`): windows, `requires`, conditions, options with `effects`, `set_policy` and `set_rung`; delegation by competence; hard anchors in Historical mode. Effect targets are indicators plus `treasury` and `fx_reserves` (`EventRules.cs:12`) | **Reuse**, and extend the targets to Arms, Food, Social cohesion and International Support. Effects on units, cities or projects are a GDD proposal and **open** |
+| Historical event card on objective completion, with image, account and date; earlier completion earns a bonus | The event card UI exists. Archival images exist under the CC BY 4.0 ruling (`docs/event-images.md`). There are no objectives and no score | **New:** an `objectives` content file and objective state, a one-option "completion card", a score, and a timing bonus whose formula is open |
+| Sensitive content | Tags `holocaust`, `terror`, `massacre`, `war-casualties`. A sensitive option cannot add treasury or fx (`EventRules.cs:11`, `:78-79`). The release gate needs `sensitivity-reviewed` (`ReleaseGate.cs`) | **Change.** Extend to the new resources, to score and to a new tag (§4.1) |
+
+### 1.9 Ministers, cabinet, coalition, budget and Attention
+
+| System | Today | GDD | Recommendation (owner decides, D-C5) |
+|---|---|---|---|
+| Ministers | `Cabinet.Appoint` (`Cabinet.cs:119-145`): real people, legality checks, a stability cost; competence scales effects (`EffectsSystem.cs:19-25`) and delegation (`EventSystem.cs:84-99`) | "The player can choose ministers", TBD | **Keep.** Ministers' effects are re-pointed at the new systems once their roles are decided |
+| Coalition and legislature | Votes on policy and budget, which draw from the RNG (`Simulation.cs:96-127`, `PoliticsSystem.cs:28-32`). Stability below 0.2 ends the game (`PoliticsSystem.cs:40-44`) | Open | **Optional:** keep it running, but switch off the collapse game-over in the MVP until defeat conditions are decided |
+| Budget shares | `AllocateBudget`; a share scales its minister's effects 0.5–1.5 (`EffectsSystem.cs:31-42`) | Not mentioned | **Optional:** keep it as the way Money is split, or retire it once projects cost Money directly |
+| Attention | Per-turn capacity of 4 and a cost per command kind (`rules.yaml:4-5`; `AttentionSystem.cs:9-34`) | Actions per turn are open | **Reuse** as the action budget: unit orders cost 0, starting a project or answering an event costs Attention |
+| Policies and the effects web | 4 policies, 6 effects, 2 situations (`model.yaml:9-26`) | Not mentioned | **Keep as an internal engine** for the national parameters. The policies are optional |
+| Security ladder and call-up | Rung 1–5, call-up floors, ceasefire clock (`SecuritySystem.cs`) | Not mentioned | **Make derived/optional:** the rung no longer sets turn length. Keep it as a war-state flag events read (`set_rung`) until combat replaces it |
+| Diplomacy and actors | Content only (#105, #11) | Open | **Defer** |
+| Historical / Open mode | Open mode refused (`Simulation.cs:13`) | Not mentioned | **Defer.** Historical mode drives the enemy script (§2.3) |
+
+### 1.10 What the GDD keeps, makes optional or removes (recommended reading)
+
+- **Kept:**
+ - the deterministic sim library and its rules (AGENTS.md);
+ - saves as seed plus command log;
+ - the event system and cards;
+ - the cabinet and real people;
+ - the treasury as Money;
+ - the CBS immigration series as the source of arrivals;
+ - content windows and eras as infrastructure;
+ - the content and sensitivity policy.
+- **Optional, for the owner** (the GDD says "coalition, Attention, diplomacy and national policy ... remains open"):
+ - coalition votes and collapse;
+ - Attention;
+ - budget shares;
+ - policies;
+ - voter groups;
+ - the rung and call-up;
+ - debt and foreign currency;
+ - actors.
+- **Removed or superseded:**
+ - turn length by rung;
+ - map actions as instant placements on any hex near a settlement;
+ - the units-in-play ruling "no orders, tokens at sourced positions only" (for the player's own units, once Phase 5 lands);
+ - the original spec's "no tactical combat";
+ - the 1948–1957 Founding slice as the first target. The MVP is 1948–1951.
+ - The legacy report (#19) folds into the objectives and score. **Open.**
+
+---
+
+## 2. Architecture
+
+Principles kept from AGENTS.md and docs/determinism.md:
+- rules live in `sim/Statecraft.Sim` (netstandard2.1);
+- Unity only draws and sends commands;
+- one SplitMix64 RNG in `GameState.RngState`;
+- no trigonometry;
+- no unordered iteration into state;
+- a canonical SHA-256 hash.
+
+### 2.1 The switch
+
+Add one era switch next to the existing ones (`EraSystems`, `Content.cs:42-51`; read by `SystemsAt`, `Content.cs:424`):
+`systems: { loop: gdd }`, defaulting to `legacy`, and the `turn_lengths` rules key from #81.
+- Before cutover, the real `eras.yaml` keeps the defaults. Tests load the real content with an in-memory overlay that turns the
+ switch on. `ContentLoader` already takes a `readFile` function, and `Preview.LoadWith` (`Preview.cs`) does the same for
+ rules. That is how the new MVP goldens are pinned before cutover.
+- Cutover flips the real file (§3).
+
+This gives one code path per system, with a branch at the system's entry, not two simulations.
+
+### 2.2 State shape
+
+All new collections are **ordered by id** (ordinal), hold **immutable** records replaced on change (the `Placement` and
+`Appointment` pattern, `MapActions.cs:8-15`, `Cabinet.cs:9-14`), and use **integers** for counts, strengths, progress and
+timers. Doubles stay only for the 0–1 national parameters and Money. So `Clone()` stays shallow per collection
+(`GameState.cs:61-77`), and no floating-point sum depends on dictionary order. The chapters spec §7 flags exactly that risk for
+`TotalPopulation`.
+
+```
+GameState (new fields; all omitted from the hash text while empty or at default)
+ int Arms; int Food national pools (D-C2); Money = Treasury
+ int NextUnitId ids never reused
+ SortedList<int, Unit> Units Unit: Id, Type, Side, Q, R, Count, Order, OrderTarget,
+ TurnsLeft, Experience, Strength, Home(city id)
+ SortedDictionary<string, City> Cities City: HousingCapacity, HousingCondition, JobSlots,
+ Residents by role (if pooled, D-A2), Control
+ SortedDictionary<string, Site> Sites Site: State (available|in_progress|built), Progress
+ SortedDictionary<string, Corridor> Corridors Corridor: segment progress[] (int)
+ List<Project> Projects Project: Id, Kind, City|Site|Corridor, TurnsLeft, Workers
+ SortedDictionary<string, Control> Settlements Control: Owner, State (hostile|raided|occupied|puppet|
+ annexed|depopulated), Since, Residents, Combatants,
+ Buildings (intact|damaged|razed)
+ SortedDictionary<string, Objective> Objectives Objective: CompletedOn (date) or null
+ int Score; int PrisonersHeld; int PrisonersReturned
+ int DisplacedByPlayer the permanent record Deport writes (§4.1)
+```
+
+The content side adds sim-read files, each inside the content hash:
+- `unit_types.yaml`: stats, training, upkeep and `art_type`;
+- `cities.yaml`: start values, sourced or labelled as assumptions;
+- `sites.yaml`;
+- `corridors.yaml`;
+- `projects.yaml`;
+- `objectives.yaml`: historical date, sources, image and text;
+- `scenario_1948.yaml`: starting units and the enemy script.
+
+The loader validates every id and hex, like `settlement_hexes.yaml` today.
+
+### 2.3 Commands and the order of resolution
+
+**Standing orders, not per-turn orders.** A unit keeps its order (working, training, building, fortified, holding,
+attacking) until the player changes it. Commands are only *changes*, so a 48-turn save stays small and replays fast.
+
+Proposed commands, each with a `Kind` key in `attention_cost`:
+
+| Command | Effect at command time (validated, refused with a reason as today) |
+|---|---|
+| `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 |
+| `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) |
+| `EndOccupation(settlement, puppet / annex / withdraw)` | After X turns. Whether withdrawal is allowed is open |
+
+**Resolution phase.** This is a new `TurnResolver`, called from `Simulation.Step` after `EventSystem.Delegate` (`Simulation.cs:53`)
+and before the existing systems. The order is fixed and each step gets a rule ID (docs/rules/README.md):
+1. the enemy's orders, computed from the state (Historical mode follows a sourced script where one exists);
+2. combat, in ascending attacker id, with a documented number of RNG draws each;
+3. capture checks;
+4. training;
+5. construction;
+6. production (Money from jobs, Food from fields);
+7. consumption (Food, Arms and Money upkeep, and prisoners' food);
+8. housing and shortages, then Social cohesion;
+9. arrivals (the immigration series becomes units);
+10. occupation timers;
+11. objectives and score.
+
+The GDD leaves the resolution order open, so this is a proposal (D-A6). Any new RNG draw shifts every later draw in the turn. That
+is expected, and it moves goldens.
+
+Every command kind needs the same five touches:
+- `AttentionSystem.Kinds` (`AttentionSystem.cs:9-10`);
+- `CommandText.Validate`, which throws on an unknown type (`Commands.cs:79-92`);
+- the save line in `SaveGame.Format` and `ParseCommand` (`SaveGame.cs:85`, `:141`);
+- the test scenario kinds (`Scenario.cs:66-83`);
+- the Unity queue's `Key` and `Validate` (`SimBridge.cs:42`, `:64`). Its default refuses silently with `order.invalid`, so add a
+ reflection guard like the sim's.
+
+`HistoricalAI` (`HistoricalAI.cs`) answers only events and the call-up. The goldens need a **reference player** for the new
+loop: a deterministic policy, for example fill job slots, then send a fixed share to training, then take the next designated
+site. That policy is test code, not game rules, and it should be named so (D-A7).
+
+### 2.4 Hash and saves
+
+- **Hash.** New sections are added to `CanonicalText` (`GameState.cs:93-150`) after `over=`, **only when non-empty**: `res{}`, `units[]`,
+ `city{}`, `site{}`, `corr{}`, `proj[]`, `ctrl{}`, `obj{}`, `score=`. With the switch off, the text is byte-identical to today.
+ This is chapters spec §8, item 4. `Describe()` shares the writer, so snapshot diffs show the new sections by name.
+- **Saves.** Bump to schema 2 (`SaveGame.cs:30`) for the new command lines, and add a `ruleset gdd-0.1` header line.
+ - A schema 1 save after cutover would replay under different rules and drift. It is refused with a clear player-facing message ("made with
+ an earlier version of the game's rules; start a new game"). The content-hash warning is not enough, because the rules changed, not just the content.
+ - The chapter checkpoints (#64, deferred) take schema 3 if they are ever built.
+ - `MaxTurns = 2000` (`SaveGame.cs:32`) is unaffected.
+
+### 2.5 Performance at MVP scale
+
+- **Measured today:** 43 turns play in 5–10 ms (chapters spec §2).
+- **The MVP:** about 48 turns, 25 cities (`settlements_1948.yaml`) plus some tens of sites, 870 land hexes, and at most some
+ hundreds of units if units are groups (D-A1).
+- **Per turn:** BFS on 870 hexes per moving unit and one pass over units and cities. That is microseconds to low milliseconds.
+- **Hash:** a units section of about 300 × 60 bytes is about 18 KB of SHA-256 input a turn. That is negligible, but the hash runs every turn in
+ `SaveGame.Record`.
+- **Budgets:** a full 48-turn golden under 200 ms on .NET, and one `Step` under 16 ms in the WebGL player.
+- **The risk is LINQ allocation in hot loops.** Keep the resolver allocation-light, as the map-label performance test demands of the UI.
+- **If each unit were one person**, the population would be about 650,000 units (`rules.yaml:61`). That is impossible, which is part of why D-A1 matters.
+
+### 2.6 How presentation reads the new state
+
+- **Units in play.**
+ - `UnitRoster` (`UnitRoster.cs`) gains a sibling that builds tokens from `State.Units`, grouped per hex. The token, badge,
+ figure count, card and the authored-prefab hook (`unity/Assets/Resources/Units/Authored/<art type>`) are unchanged.
+ - The art type comes from `unit_types.yaml`.
+ - The sim hex becomes authoritative. `UnitPlacer`'s one-hex presentation offset stays only to clear town kits and roads.
+ - `units_1948.yaml` brigade anchors can seed Historical starting positions (moving them into the content hash at that point).
+- **Kits.**
+ - Completed projects keep drawing through `PlacementLayer` (`GameRoot.cs:313-320`).
+ - Later, housing condition can pick kit variants.
+ - A new yishuv draws a rural kit at its site.
+- **Routes.** `RouteLayer` already shows routes by date. Corridors under construction draw only their built segments, from sim
+ progress, on the traced geometry.
+- **UI.**
+ - A city panel (housing, jobs, projects).
+ - A unit card with orders. Today it has none and links to the Defence screen.
+ - An objectives panel.
+ - A capture dialog with the sober cost preview §4.1 requires.
+ - Every preview number (reachable hexes, cost and time) comes from a sim helper, as with `EffectiveMobilization` today (m3-rulings, "Shared rules are public sim helpers").
+
+---
+
+## 3. Determinism and goldens: the rebaseline plan
+
+**Before cutover (Phase 1).**
+- All new state is omitted at its default, and the switch is off in the real content. `Hash1950`, `Hash1952`, `smoke5`,
+ `scenario-cautious` and `scenario-reckless` (`golden/manifest.txt`) **do not move**.
+- New goldens are pinned on the overlay content, named `mvp-slice` and `scenario-mvp-<name>`. They use the existing manifest,
+ snapshot and update machinery (`STATECRAFT_UPDATE_GOLDEN=1`, docs/determinism.md).
+
+**Cutover (the first PR of Phase 2).** One deliberate PR, reviewed on its own:
+1. Real `eras.yaml` and `rules.yaml`: the switch on and `turn_lengths` all months.
+2. **Re-time the 31 event windows** to monthly turns. The windows are design, but the dates in the text stay sourced. Today a
+ decision opens on the weekly turn before it (determinism.md, row "playtest 1 E fix 1").
+ - With months, July 1948 alone holds `ten_days`, `second_truce` and `jerusalem_military_government`.
+ - A `requires` chain resolves one turn later.
+ - Check the event cap (`EventSystem.cs:9`) and the 4-turn gap rule (m3-rulings).
+3. Re-run `EconomyCalibrationTests` and the invariants (`golden/invariants.yaml`). Refit `capital_inflow_per_year` only if the
+ FRUS anchor fails, and record the fit as `rules.yaml:39-51` does today. Tolerances are never loosened (m3-rulings).
+4. **Fold in the pending golden-moving fixes, so the goldens are re-pinned once** (owner decision, 2026-10-12). **#315** is the
+ first: the Second Government shows 51/120 seats in August–October 1951, and the fix moves `Hash1952`. It lands in, or directly
+ before, the cutover PR, and the rebaseline-history row names it. Any other fix that moves a golden and is queued by then joins the same rebaseline.
+5. `STATECRAFT_UPDATE_GOLDEN=1 dotnet test sim/Statecraft.sln`, then by hand:
+ - update determinism.md, RELEASING.md and `tools/web_check.py`'s usage;
+ - add one rebaseline-history row: "GDD v0.1: monthly turns and the GDD loop on";
+ - re-record `smoke5` (five monthly turns end on 15 October 1948 instead of 19 June);
+ - run `SimSmokeTests` in Unity and the WebGL `web_check`. The cutover PR must say whether Unity was run.
+6. Keep the golden **names** `hash1950` and `hash1952`. They still mean "the reference run to that date". Add `mvp-end` (the
+ whole MVP).
+
+**Keep the old sim runnable? Recommendation: no.**
+- The legacy cadence stays reachable only as the `turn_lengths` default until cutover, so in-flight PRs keep passing.
+- After cutover, the legacy loop is retired:
+ - tag the last pre-cutover commit (`pre-gdd-v0.1`) for reference;
+ - refuse old saves (§2.4);
+ - delete the legacy-only branches system by system as each GDD system replaces them.
+- Two live simulations would double the test matrix and the review load for a design the owner has superseded. (Owner decision D-E1.)
+
+**New MVP goldens** (each a manifest line, snapshot and doc row):
+- `hash1950`, `hash1952`, `mvp-end`: the reference player over the full loop.
+- `scenario-cautious` and `scenario-reckless`: repinned. Their `on:` dates still resolve to "the first turn on or after"
+ (`Scenario.cs:17`).
+- New scenarios as each phase lands:
+ - `mvp-absorb-first`;
+ - `mvp-war-first`;
+ - `mvp-captures` (prisoners taken and returned);
+ - `mvp-deport-cost`: paired with `mvp-occupy-cost` from the same state, and asserting the cost dominance of §4.1.
+- `smoke5` re-recorded. Then add `smoke-orders`, which issues one unit order through the UI buttons.
+- Era goldens (#292, `EraGolden`): unchanged in method. The founding era's golden is `mvp-end`.
+
+**After cutover**, each PR that changes MVP rules moves the MVP goldens, rebaselines in the same PR, and says why. This follows docs/determinism.md, not the M3
+"re-record at integration" rule, because PRs now merge one at a time.
+
+---
+
+## 4. Content and sensitivity
+
+### 4.1 Deport: honest cost, no reward (minimum specification)
+
+This follows owner ruling 1 and CONTENT_POLICY §4 ("never pays").
+
+1. **Only on capture.**
+ - Deport is offered only in the capture dialog of a settlement the player has just taken.
+ - It is never the default, never first in the list, never pre-selected, and never chosen by the reference player or by delegation.
+ - `HistoricalAI` and the reference player choose Raid or Occupy.
+ - Historical mode does not force it.
+2. **Costs, all large.**
+ - Social cohesion and International Support fall at once (values are game balance, set by the owner).
+ - A **permanent** International Support drag lasts for the rest of the game, recorded in `DisplacedByPlayer`.
+ - Then follow-up event cards (below).
+3. **Refugees.**
+ - The residents become a displaced population **outside the player's control**. They are counted in `DisplacedByPlayer` and feed the
+ `arab_refugees` actor (`model.yaml:49`) once diplomacy exists.
+ - They are **never** the GDD's player-side "Refugee" units, and never labour, housing occupants or score.
+4. **No reward, by construction.**
+ - A deported settlement becomes `depopulated`:
+ - it adds no housing capacity, jobs, Food, Money, Arms or score;
+ - it cannot be puppeted or annexed for gain;
+ - it counts towards no objective;
+ - it ends the Occupy timer.
+ - Whether its buildings stand is a separate rule (the GDD separates deportation from razing; D-F3). Either way they are not usable housing in the MVP.
+5. **Tests that enforce it** (in `dotnet test`, like the atrocity rule today, `EventRules.cs:78-79`):
+ - `DeportNeverDominates`: from any state where it is offered, Deport's outcome is less than or equal to Occupy's and Raid's on every resource, parameter and score, at the end of the turn and at the MVP end. This is a property test over the golden runs' capture states.
+ - Event options tagged `displacement` (a new sensitive tag in `EventRules.SensitiveTags`, `EventRules.cs:11`) cannot have a positive effect on any of Money, Arms, Food, Social cohesion, International Support or score. This extends the treasury and fx rule to all five resources.
+ - Every event with the tag needs `sensitivity-reviewed` before a shareable build (`ReleaseGate`).
+6. **Shown soberly.**
+ - The capture dialog states the costs before the choice, in the same plain style as the others, with no heroic or celebratory text and no sound sting.
+ - The follow-up cards are sourced event cards in the house tone: calm, specific, no melodrama (AGENTS.md "Tone").
+ - No invented quotes. No image of real victims unless it meets the event-image ruling and sensitivity review.
+7. **Owner decision (D-F1).** A sourced deport card necessarily depicts displacement, so it conflicts with the M3 rule "Lydda and Ramle appear as military events only" (docs/m3-rulings.md). The owner chooses which rule governs, and how.
+
+### 4.2 The Arab forces as units
+
+- **Names and identity.**
+ - Use each force's own name, and nothing generic: the Arab Legion (Transjordan), the Army of the Holy War, the National Guard or local garrisons, as #228 and #233 already list.
+ - "Palestinian militia" is the GDD's working label. The card names the specific formation where a source does.
+- **Accuracy.**
+ - Uniforms, equipment and markings are sourced to the same standard as the IDF units (docs/units.md "Sources"), with era-correct figures and models of the same quality and care.
+ - Starting positions and reinforcements in Historical mode come from the #226–#233 research. They are never invented.
+- **Gap in the GDD's roster.** The 1948 events include the southern front (`operation_yoav`, `operation_horev`, `armistice_egypt`), but the GDD lists only two enemy unit types. Either Egypt's forces get a unit type, or that front stays in events only (D-G1).
+- **Dignity.**
+ - No caricature, slurs, or dehumanising names or poses.
+ - The enemy AI pursues its own goals (CONTENT_POLICY §1, "computer-run actors with their own goals").
+ - Its casualties are reported as soberly as the player's.
+ - Civilian figures are never combat units (#336 already holds this for its models).
+- **Review.** A sensitivity review of the unit cards and art before shipping, as #226 already requires.
+
+### 4.3 Capturing soldiers as a bonus
+
+The GDD's objective 1 gives bonus points for capturing enemy soldiers. Specified so that it cannot reward harm:
+1. **Who can be captured.** Only enemy **combatant** units, when an attack forces a surrender (an outcome of the combat rules). Residents can never be captured, and capture is never an action aimed at a settlement's people (the GDD's "distinct states").
+2. **No reward for killing.** Kills and enemy casualties never score.
+3. **The bonus comes at the return, not the capture.** Prisoners are held with Food upkeep. They are not labour, Money or a bargaining resource. Points are awarded when they are returned in the exchange after an armistice (a sourced event; the dates need sources). Any loss while they are held is a cost.
+4. **Wording.** The bonus is framed as ending fighting with fewer lives lost. Prisoners are counted in the score, and nothing on screen celebrates the capture.
+
+### 4.4 Every historical claim sourced
+
+- **Objective cards** each need:
+ - a sourced reference date and event;
+ - a sourced image under the event-image ruling (docs/event-images.md);
+ - a sourced account.
+- **Dated milestones.** For "absorb immigrants", the GDD itself asks for a dated, sourced milestone.
+- **The railway objective needs care.** The Tel Aviv–Haifa railway's historical completion date must be sourced. If it falls after the MVP window, "earlier than history" compares against a date after the game ends. The owner should know before choosing the card (D-B3).
+- **Sourcing for every named place, number and date:**
+ - site names, founding dates and positions;
+ - corridor routes;
+ - unit identities and positions;
+ - city starting values that claim to be historical.
+- **Label design values.** Balance values and counterfactuals are labelled as design assumptions in YAML comments, as `rules.yaml:1` does.
+- **Hula drainage.** "Dry swamp" and the existing `hula_drainage` event (window 1951-03-07) must not contradict each other (D-B4).
+- **Lint.** Each new GDD feature section uses `docs/gdd/TEMPLATE.md` and passes `gdd_lint.py`. Each rule gets an `R-` ID in `docs/rules/` with a citing test (`rule_ids.py`).
+
+---
+
+## 5. Open decisions, for the owner
+
+Every item the GDD marks Open, Proposal or TBD, plus the conflicts this analysis found. The **Rec.** column is a recommendation only.
+**Group A blocks Phase 1.** Each later group blocks only its own phase.
+
+### A. Blocks Phase 1
+
+| # | Decision | Rec. (recommendation, owner decides) |
+|---|---|---|
+| D-A1 | Does a unit represent one person or a group? | **A group.** Population units at a fixed scale (owner picks, for example 1,000 people), so the 1948 population is hundreds of units, not 650,000. Military units at formation scale, one token per formation as the units-in-play ruling does **Owner, 12 October 2026: approved as recommended.** |
+| D-A2 | Population role model: individual units reassigned, or pooled counts per city? | **Hybrid.** Civilians, craftsmen and refugees are **counts per city**, assigned with `AssignWorkers(city, role, n)`. Halutzim and military units are **individual movable units**. This keeps a 48-turn game playable without hundreds of tokens **Owner, 12 October 2026: approved as recommended.** |
+| D-A3 | Work and training: instant or multi-turn? Commitment and cancellation? | **Multi-turn**, with a progress display. Cancelling returns the people but not the Money spent. Durations are balance values set by the owner **Owner, 12 October 2026: approved as recommended.** |
+| D-A4 | Phase 1 content: which city, which designated site, which objective card (historical event, date, image) | **One Jewish city from `settlements_1948.yaml`** (for example Tel Aviv, which has kits and the most art); **one 1949–51 founding site** from #27 research with a sourced date and photo; the card is "first new yishuv founded" **Owner, 12 October 2026: approved as recommended.** |
+| D-A5 | Who is a "Refugee" unit? How do refugees arrive and become civilians? | Newly arrived immigrants without housing, from the CBS series (`aliyah.yaml`). They become civilians when housed. Never the residents removed by Deport (§4.1) |
+| D-A6 | Order of resolution and actions per turn | The fixed order of §2.3. Actions are capped by Attention, with unit orders free |
+| D-A7 | The reference player for goldens | Test code with a stated simple policy (§2.3). Not "historical" unless sourced |
+
+### B. Objectives, score and MVP bounds (block Phase 2, and Phase 7 for completion)
+
+| # | Decision | Rec. |
+|---|---|---|
+| D-B1 | Exact start month, session length, 48 turns or fewer | **Start 15 May 1948** (today's start, the CBS series' first day, `rules.yaml:2`). **End 1 January 1952** (44 monthly turns). An exact 48 needs a 1 January 1948 start, before the state and its offices exist, so it waits on the Yishuv-era work (#80, #49) **Owner, 12 October 2026: approved as recommended.** |
+| D-B2 | When the war objective is complete; bonus amounts; timing formula | Complete on the last armistice event. Bonus linear in months early, capped. Values for the owner |
+| D-B3 | Which railway and which reference date | Source the completion date first (§4.4). If it is after 1951, pick a sourced in-window milestone instead |
+| D-B4 | Which immigrants must be housed and employed; which yishuvim are required | A share of arrivals housed and employed by a sourced milestone date. A short list of named sites |
+| D-B5 | Are all objectives required? Defeat conditions | Not all required (score). Defeat: Money and Food exhausted for N turns, or a war loss. Values for the owner. Coalition collapse is off in the MVP |
+| D-B6 | Point values | Owner |
+
+### C. Resources and kept systems (block cutover, Phase 2)
+
+| # | Decision | Rec. |
+|---|---|---|
+| D-C1 | Social cohesion and International Support: scale, thresholds, effects | 0–1 indicators through the effects web. Cohesion replaces `morale` on screen. Thresholds as situations (`model.yaml:24-26` pattern) |
+| D-C2 | Food and Arms: national pools or local supply? | **National pools** (the GDD's own note: fewer logistics rules) |
+| D-C3 | Keep debt and foreign currency? | Keep them internal, under Money, at least through cutover (they carry the sourced 1951 crisis), and hide them if they confuse |
+| D-C4 | Keep the security rung and call-up? | The rung becomes derived (war state) and no longer sets turn length. The call-up is replaced by recruits once Phase 5 lands |
+| D-C5 | Coalition, legislature votes, budget shares, Attention, policies, diplomacy | §1.9: keep the cabinet and Attention; coalition optional with no collapse; budget optional; policies internal; diplomacy deferred **Owner, 12 October 2026: approved as recommended.** |
+| D-C6 | Income per job, upkeep, costs | Owner (balance) |
+
+### D. Cities and pioneers (block Phases 3 and 4)
+
+| # | Decision | Rec. |
+|---|---|---|
+| D-D1 | People per housing capacity point; overflow | Overflow lowers housing condition and cohesion; no hard cap |
+| D-D2 | Housing condition per city or per building | Per city (average) |
+| D-D3 | Housing types (transit camp?) | Keep the transit camp as a cheap, low-condition type from its sourced date (`rules.yaml:10-11`) |
+| D-D4 | How a craftsman is acquired; extra income | Training in a city with industry. Values for the owner |
+| D-D5 | Hakhshara and military camp: exist at start or built? Capacity | One of each exists at start (a design assumption, labelled). More are built by pioneers |
+| D-D6 | Pioneer work duration, cost, simultaneous projects | Multi-turn; one project per pioneer unit |
+| D-D7 | Corridor list; road and rail costs; operating requirements | Tel Aviv–Haifa rail plus 2–3 roads, from `routes_1948.yaml` sources |
+| D-D8 | Specialised industries and their resources | One example (the GDD's winery) in the MVP |
+| D-D9 | Veteran promotions | After N turns of service. Values for the owner |
+| D-D10 | Plowed-field food yield and labour | Owner (balance) |
+
+### E. Process
+
+| # | Decision | Rec. |
+|---|---|---|
+| D-E1 | Keep the legacy loop runnable after cutover? | No (§3) **Owner, 12 October 2026: approved as recommended.** |
+| D-E2 | Do the chapters and later eras remain the long-term plan? | Keep the infrastructure. Pause new era content until the MVP is playable |
+| D-E3 | Terms: "Liberation War" (GDD) against the repo's existing English usage; ids for veteran units | Owner picks the English term once. New ids avoid `veterans` (§1.3) **Owner, 12 October 2026: "War of Independence" in the game's English.** |
+| D-E4 | Save compatibility at cutover | Refuse old saves with a clear message (§2.4) **Owner, 12 October 2026: approved as recommended.** |
+| D-E5 | Era-boundary turns under monthly turns: one turn lengthened by up to 14 days, or a short turn before the boundary (chapters spec §4.1; deferred here by the owner; #301 merged the 14-day behaviour, `SimTime.cs:20-24`) | **Keep the 14-day rule as merged.** With monthly turns the choice of one 14-day turn against two 7-day turns no longer arises: a turn ends on the boundary or is lengthened to it, so it never falls below 14 days and never runs past a month plus 13 days. **Also put the MVP's boundaries on the turn grid**, so no adjusted turn happens in the MVP. Turns from 15 May fall on the 15th, so end the MVP on 15 January 1952, or move the grid to the 1st (tied to D-B1). As it stands, an end on 1 January 1952 gives a final 17-day turn (15 December to 1 January) |
+
+### F. Settlement control (blocks Phase 6)
+
+| # | Decision | Rec. |
+|---|---|---|
+| D-F1 | Deport cards against the "military events only" rule for Lydda and Ramle | Owner. If Deport stays, its cards must be able to state displacement factually, from sourced mainstream Israeli historiography (CONTENT_POLICY §1) **Owner, 12 October 2026: approved as recommended.** |
+| D-F2 | When a settlement counts as captured; what enemy control means; withdrawal before the timer | Captured when no enemy combatant is in the hex and a player unit holds it at turn end. Withdrawal allowed (it reverts to Raid) |
+| D-F3 | Deportation and razing as separate rules | Separate. No razing option in the MVP |
+| D-F4 | X (occupation turns); puppet against annex effects; required forces; local effects | Owner (balance). Annex brings residents into the player's population, with their housing and jobs |
+| D-F5 | Which enemy settlements are targets | **A short, curated, sourced list** tied to sourced operations, not the 1,096 localities **Owner, 12 October 2026: approved as recommended.** |
+
+### G. Military (blocks Phase 5)
+
+| # | Decision | Rec. |
+|---|---|---|
+| D-G1 | Enemy roster: only the Arab Legion and militia, or Egypt and others too? | Add the forces the MVP's events already name, or keep those fronts in events. Owner **Owner, 12 October 2026: approved as recommended.** |
+| D-G2 | Movement allowance, terrain, roads and rail, stacking, transport, enemy territory | Integer movement points. Roads and rail cheaper. Stack limit per hex |
+| D-G3 | Combat resolution and losses (with or without RNG) | A deterministic strength-ratio table plus one RNG draw per engagement |
+| D-G4 | Fortify and hold: cost, duration, benefit, interception | Owner (balance) |
+| D-G5 | Artillery and armoured car rules; acquisition | Acquired through events and Arms. Values for the owner |
+| D-G6 | Arms supply and consumption | From events (sourced arms deals) and Money. Training and attacks consume it |
+| D-G7 | The enemy AI in Historical mode | A sourced script where research exists, simple goals elsewhere |
+
+### H. Events and ministers (block Phase 7)
+
+| # | Decision | Rec. |
+|---|---|---|
+| D-H1 | Event frequency; mandatory or optional; delayed effects; how much the player sees | Keep today's rules: windows, hard anchors, a cap of 3 soft events, effects shown on the option |
+| D-H2 | Event effects on units, cities and projects (proposal) | Yes, via new effect targets validated by the loader |
+| D-H3 | Minister roles, candidates, rules, costs, effects | Reuse `Cabinet`. Each office's competence scales the matching system (construction, training, absorption) |
+| D-H4 | The legacy report (#19) | Folded into the end-of-MVP score screen |
+
+### I. Repository
+
+| # | Decision | Rec. |
+|---|---|---|
+| D-I1 | PR #336: rules in Unity and a restricted model licence | **Decided by the owner, 12 October 2026:** welcome a models-only PR under CC0 or CC BY, era-correct for 1948–51 and in batches. The Command mode moves to an issue, to be aligned with the GDD and kept in the sim |
+
+---
+
+## 6. Phased build plan
+
+Sizes assume the current agent-driven pace, one reviewed PR at a time per track: S = 1–3 days, M = 1–2 weeks, L = 3–4
+weeks, XL = 6–8 weeks. Each phase ends with a playtest by the controller and a short ruling log, as M3 did.
+
+### Phase 0: owner decisions (S, owner time)
+
+- **Scope:** decide group A (D-A1 to D-A7), plus D-B1 and D-E1. Approve this plan.
+- **Output:** a dated "GDD v0.1 rulings" section, appended by the owner or with the owner's approval (this document does not edit the GDD).
+- **Then:** feature sections in `docs/gdd/` and `R-` IDs in `docs/rules/` for the Phase 1 rules.
+
+### Phase 1: the vertical slice, behind the switch (M–L, 6–8 PRs)
+
+**Scope.**
+1. **Monthly turns as data.** The `turn_lengths` key and `TurnLengthFor(c, date, rung)`, the #81 design without the yearly turn.
+ The default reproduces today's table.
+2. **The switch and state scaffolding.** `systems.loop`, the new `GameState` fields with omit-at-default hashing, `Clone`
+ and `Describe`, save schema 2 with the `ruleset` line, and the five command touch-points. The goldens do not move.
+3. **One city.** Housing capacity and condition, job slots, and civilians and refugees as counts (per D-A2). `AssignWorkers`.
+ Money from jobs. Social cohesion from housing and employment. Arrivals land in the city.
+4. **Training.** One military camp and one Hakhshara. Civilian to recruit, and civilian to halutz, over N turns (no combat yet:
+ a recruit is a count).
+5. **One pioneer action.** "Build yishuv" at one designated site from `sites.yaml`, over N turns. On completion it appears on the map with its
+ name (a placement and a kit).
+6. **One objective card.** "First new yishuv": the completion card with a sourced date, image and text, and a score with the
+ timing bonus.
+7. **Minimal UI.** City panel, assign and train buttons, a site build button, the objective card through the event card, and
+ the score on the HUD. Every number comes from sim helpers.
+
+**Files and systems.**
+- **Sim:** `SimTime.cs`, `SecuritySystem.cs`, `Simulation.cs`, `GameState.cs`, `Commands.cs`, `SaveGame.cs`,
+ `AttentionSystem.cs`, `Content.cs` and `ContentLoader.cs`, plus new `Cities.cs`, `Training.cs`, `Projects.cs`,
+ `Objectives.cs` and `TurnResolver.cs`.
+- **Content:** new `cities.yaml`, `sites.yaml`, `objectives.yaml` and `unit_types.yaml` (population types only).
+- **Tests:** a test content overlay.
+- **Unity:** `SimBridge.cs` (`Key`, `Validate`), `InfoPanelPresenter.cs`, `HudPresenter.cs`, `EventCardPresenter.cs`, and
+ `strings.en.yaml`.
+
+**Tests and goldens.**
+- One test per rule, citing its `R-` ID.
+- Save round-trip of every new command.
+- Clone independence.
+- An omit-at-default test: with the switch off, `Describe()` is unchanged byte for byte.
+- `Hash1950`, `Hash1952`, `smoke5` and the scenarios unchanged.
+- New overlay goldens `mvp-slice` and `scenario-mvp-absorb-first`.
+- Unity EditMode tests for the panel (say in the PR if they were not run).
+
+**Risks.**
+- Inventing values. Mitigation: every balance number is the owner's or labelled as a placeholder in a test overlay, never in
+ real content.
+- UI scope creep.
+- Contributors' era PRs touching `Content.cs` at the same time. Mitigation: merge them first (§7).
+
+### Phase 2: cutover and the resource layer (M–L)
+
+**Scope.**
+- The cutover PR (§3): monthly turns and the switch on, event re-timing, calibration re-check, the #315 seat fix, and every golden
+ rebaselined once, with a history row and WebGL re-check.
+- Then the resource layer:
+ - Money as Treasury;
+ - national Food and Arms pools (D-C2);
+ - Social cohesion and International Support (D-C1);
+ - event effect targets extended to all five;
+ - the D-C5 choices applied (for example, no coalition-collapse game-over);
+ - HUD.
+
+**Touches.**
+- **Sim:** `EconomySystem.cs`, `EffectsSystem.cs`, `EventRules.cs`, `EventSystem.cs` and `PoliticsSystem.cs`.
+- **Content:** `model.yaml`, `rules.yaml`, the 31 event files, `golden/*`, and the docs listed in determinism.md.
+- **Unity:** `HudModel.cs` and `HudPresenter.cs`.
+
+**Tests.**
+- Calibration and invariants.
+- The no-reward check across all five resources.
+- All goldens re-pinned, plus `mvp-end`.
+
+**Risks.**
+- The fx-crisis anchor fails on monthly turns.
+- Re-timed windows read wrong historically. A content review is needed.
+- In-flight PRs must rebase onto the new goldens.
+
+### Phase 3: cities and absorption at MVP scale (L)
+
+**Scope.**
+- All Jewish cities with start values.
+- City projects: housing, industry, specialised industry (one example), with build time and Money cost.
+- Craftsman.
+- Housing assignment and overflow (D-D1 to D-D4, D-D8).
+- Arrivals from the CBS series spread over cities.
+- The "absorb immigrants" objective with its sourced milestone.
+
+**Touches.**
+- **Sim:** `PopulationSystem.cs` (arrivals become units or counts), `MapActions.cs` (absorbed into projects), `Projects.cs`.
+- **Content:** `cities.yaml`, `projects.yaml`, `objectives.yaml`.
+- **Unity:** `PlacementLayer`, and kit density by condition (optional).
+
+**Tests.**
+- Population totals still match the CBS anchors (`CalibrationTests`).
+- `mvp-absorb-first`.
+
+**Risks.**
+- Sourcing city start values.
+- Players micromanaging 25 cities. Mitigation: defaults that auto-fill jobs.
+
+### Phase 4: pioneers, sites and corridors (L)
+
+**Scope.**
+- All six pioneer actions.
+- `sites.yaml` for the MVP's sites.
+- `corridors.yaml` with segment progress, the Tel Aviv–Haifa rail and 2–3 roads, drawn by `RouteLayer` from sim progress.
+- Plow fields: Food.
+- Dry swamp, reconciled with `hula_drainage`.
+- Build a camp.
+- Veteran pioneer.
+- The infrastructure objective.
+
+**Touches.**
+- **Sim:** `Projects.cs`, a new `Corridors.cs`.
+- **Tools:** `tools/routes_1948.py` (traces designated, unbuilt corridors).
+- **Unity:** `RouteLayer`, `SettlementPlacer` and kits.
+
+**Tests.**
+- Corridor progress and completion.
+- Sites only at designated spots.
+- An objective card with its date.
+
+**Risks.**
+- Sourcing corridors and sites (D-B3, D-D7).
+- Geometry for corridors that did not exist in 1946.
+
+### Phase 5: military units, movement and combat (XL)
+
+**Scope.**
+- Recruits, veteran soldiers, artillery and armoured cars as sim units, with an Arms cost and upkeep.
+- Movement with terrain, roads and stacking.
+- Fortify, hold and attack.
+- Combat resolution.
+- Arab Legion and militia units, plus D-G1's answer.
+- The enemy AI, with a Historical script from #226–#233.
+- The UN ceasefire clock kept or retired (D-C4).
+- Prisoners (§4.3).
+- The war objective.
+- The units-in-play roster reads `State.Units`.
+- The call-up retired.
+
+**Touches.**
+- **Sim:** new `Movement.cs`, `Combat.cs`, `EnemyAI.cs`; `SecuritySystem.cs`.
+- **Content:** `unit_types.yaml`, `scenario_1948.yaml` (sourced starting positions).
+- **Unity:** `UnitRoster`, `UnitLayer`, `UnitCard` (with orders), `DefencePresenter`, `HexPicker`; art for artillery, the armoured car and the Arab forces (a sensitivity review).
+
+**Tests.**
+- Path determinism (fixed neighbour order).
+- Combat RNG draw-count tests.
+- Prisoners.
+- `mvp-war-first` and `mvp-captures`.
+- WebGL frame budget with units.
+
+**Risks.**
+- **The largest new system.** It needs an AI opponent that reads as historical without inventing positions. The units-in-play
+ ruling's "sourced positions only" now applies to *starting* positions; afterwards units move by play.
+- Art and sensitivity review load.
+
+### Phase 6: settlement control (L, plus the owner's sensitivity review)
+
+**Scope.**
+- Capture, then raid, occupy or deport (§4.1), and puppet or annex after X turns (D-F2 to D-F5).
+- Residents and combatants as distinct states.
+- The curated target list.
+- The `displacement` tag and its release gate.
+- Sourced follow-up cards.
+
+**Touches.**
+- **Sim:** new `SettlementControl.cs`; `EventRules.cs` and `ReleaseGate.cs`.
+- **Content:** `settlement_targets.yaml`, cards.
+- **Unity:** the capture dialog.
+
+**Tests.**
+- `DeportNeverDominates`.
+- The no-reward check on `displacement` options.
+- Scenarios `mvp-deport-cost` and `mvp-occupy-cost`.
+- The release gate refuses unreviewed cards.
+
+**Risks.** Reception, and the content-policy conflict (D-F1). Do not start this phase until D-F1 and D-F5 are decided.
+
+### Phase 7: ministers, events and the 48-turn MVP (M–L)
+
+**Scope.**
+- Minister roles (D-H3).
+- Event effects on units and cities (D-H2).
+- The new events the MVP needs (1948–51 research: #135).
+- Every objective card complete.
+- Score and the end screen (D-H4).
+- Defeat conditions (D-B5).
+- The final `mvp-end`, smoke and WebGL parity on Mac IL2CPP and WebGL.
+- Balance passes.
+- Onboarding (#42) for the new loop.
+
+**Tests.**
+- A full MVP smoke in the browser.
+- Invariant bands for the MVP from the GDD's objectives.
+
+**Risks.** Balance with no historical calibration for the new quantities. The balance values must be labelled as assumptions.
+
+**Total:** roughly 5–7 months of agent-paced work after Phase 0. Phase 5 dominates.
+
+---
+
+## 7. In-flight work
+
+### 7.1 Open pull requests
+
+| PR | Author | Verdict | Why |
+|---|---|---|---|
+| #329 office successor, #332 aliyah-region windows, #335 map-action windows (refs #57) | agamrafaeli-instinct | **Valid. Review and merge on merit** | Golden-neutral infrastructure. Windows stay useful (projects and sites can carry dates). Merging before Phase 1 avoids conflicts in `Content.cs` and `ContentLoader.cs` |
+| #337 the 14-day rule test uses weekly turns | agamrafaeli-instinct | **Valid** | Test only. It keeps the adjusted-turn rule honest, and Phase 1's `turn_lengths` work relies on it |
+| #338 Yishuv windows (refs #80) | agamrafaeli-instinct | **Valid. Merge only if the owner keeps a pre-May-1948 start possible** (D-B1). Otherwise hold | Golden-neutral. Its open `rationing` question needs an answer either way |
+| #326, #327, #328, #331 content tooling | agamrafaeli-instinct | **Valid** | Unaffected. The event scaffold (#326) learns the new effect targets in Phase 2 |
+| #306 terrain water branch, #302 inland lowland labels | guyshoham | **Valid** | Map and visual work continues (owner ruling 2) |
+| #320 water pass, #339 towns round 2 | eyalgolan | **Valid** | Visual track |
+| #336 Command prototype and 34 models | pixelrenderai-hash | **Pause. Needs changes** | Its `CommandModel.cs` puts mission rules in Unity, against AGENTS.md ("Rules never live there"). Its models carry a restricted licence the owner must accept first (D-I1). The ideas (direct orders, construction) are what Phases 1, 4 and 5 build in the sim. The models can come in as an art-only PR |
+
+### 7.2 Open issues
+
+**Era and model-record work (agamrafaeli-instinct).**
+- **#57 (windows) and #292 (era goldens): stay valid.** The `EraGolden` helper (#312) is how `mvp-end` is pinned.
+- **#59 (boundary carry):** the 14-day adjusted turn is in; **pause the carry rules** (no second era in the MVP).
+- **#81:** re-scope to the `turn_lengths` key with months only, and offer it as Phase 1 item 1. The yearly turn and `war_mode` pause.
+- **#286 (rule IDs): central.** Every GDD rule gets one.
+- **#58 is closed**, and its `EraSystems` switches are where `systems.loop` goes.
+
+**Era epics and their sub-issues: pause.**
+- The epics: #49–#52 and #53's remaining items (#60–#67).
+- The sub-issues: #80 (except #338), #82–#99, #113–#166.
+- The GDD's MVP is 1948–1951. These wait for D-E2.
+
+**Economy and cabinet.**
+- **Pause:** #24 (economy v2 and the 1952 NEP), #25 (policies and voter groups), #7 (coalition event effects), #9
+ (legislation), #10 (Open mode), #11 and #105 (diplomacy), #20 (briefing desk), #22 (defence depth), #106 (decision scenes).
+- **Re-scope by the GDD:** #8 (collapse becomes the MVP's defeat conditions, D-B5) and #19 (the legacy report becomes the
+ score screen, D-H4).
+- **Stay valid as content accuracy:** #2, #283, #310 and #314. Ministers and offices remain.
+- **#315 (51/120 seats, August–October 1951):** it moves `Hash1952`, so it is fixed **inside the cutover rebaseline** (§3, step 4), not on its own (owner decision).
+- **Pause:** #26 and #28 (1952–56 content). They fall outside the MVP.
+
+**Units, towns and villages.**
+- **#197 (units in play): stays as the presentation** until Phase 5 makes `State.Units` the source. Then its "no orders" ruling is superseded for
+ the player's units.
+- **#226–#233 (Arab forces research): higher value now.** They become sourced starting positions for enemy units. Their "map-only, the sim does not read them"
+ framing changes in Phase 5, with a sensitivity review.
+- **#103 (1948 forces research): higher value.**
+- **#200 (villages on the map): the visual work continues.** Making villages sim targets is D-F5. Do not assume all localities become targets.
+- **#31, #32 and art #33–#38: continue.**
+- **#23 (map actions beyond absorption): superseded** by city projects and pioneer work. Close it with a link to this plan when Phase 3 starts.
+- **#85: pause.**
+
+**Superseded or obsolete after cutover.**
+- **#21 (war mode):** superseded by Phase 5's design.
+- **#104:** becomes Phase 5's UI.
+- **#101:** becomes `mvp-end`.
+- **#218 (ceasefire weeks text during the truce):** re-check after D-C4.
+- **#102:** pause.
+
+**Still valid.**
+- **#135 (1948–51 candidate events):** valid and in the MVP window.
+- **#27 (settlements founded 1949–56):** its 1949–51 rows become designated sites. This is high value.
+- **#16 (Hula and historical water):** relevant to "dry swamp".
+- **#266 (opening on the UN vote):** depends on D-B1.
+
+### 7.3 Draft note to contributors (for the owner to post; not posted)
+
+> **A new design of record, and what it means for your work**
+>
+> Thank you all for the care you've put into Statecraft so far. The windows, goldens and tooling, the map and shader
+> fixes, the research on the 1948 forces and the 1948 towns all make the next step possible.
+>
+> I've adopted a new game design, [docs/GDD.md](../../GDD.md) (v0.1). The first goal is now a 1948–1951 MVP with monthly
+> turns: people taking jobs, training as soldiers or pioneers, cities with housing and jobs, pioneer projects at
+> designated sites, units that move and fight, and objective cards tied to real events. Where older specs disagree, the GDD wins.
+>
+> Nothing changes in the code until I approve the impact plan
+> ([docs/superpowers/specs/2026-10-12-gdd-v0.1-impact-and-plan.md](2026-10-12-gdd-v0.1-impact-and-plan.md)). Meanwhile:
+> - **Open PRs that don't move goldens** (windows, tooling, map and visual fixes) will be reviewed and merged on their merits.
+> - **New era content beyond 1951** (the Yishuv, 1957–77, 1977–93) is paused until the MVP is playable. Please hold new work there.
+> Nothing you did is wasted: the windows and era goldens carry into the new design.
+> - **Research on the 1948 forces, on the Arab forces, and on the settlements founded in 1949–51** matters more now. It will feed
+> starting positions and designated sites.
+> - **Prototypes that put game rules in Unity** can't merge as they are. The rules need to live in the sim. Ideas and art are very
+> welcome, and we'll work out together how to bring them in.
+>
+> When monthly turns are switched on, every golden hash will move in one deliberate commit. I'll post here before it lands so you can
+> rebase. Questions are welcome on this thread. Thank you again.