A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
GDD v0.1 Phase 5: military units, movement and combat. Implementation plan
For agentic workers: REQUIRED SUB-SKILL: Use superpowers:executing-plans (one PR at a time per track, inline, as in Phases 1 and 2). Steps use checkbox (
- [ ]) syntax for tracking. The owner reviews this plan before any code. Every PR below names the owner questions it waits on. A PR does not start until those questions are answered and the answers are recorded (PR 0).
Goal: Make the War of Independence playable as units on the hex map. Recruits, veteran soldiers, artillery and armoured cars become sim units with an Arms cost and upkeep. Units move over terrain, roads and stacks; take the fortify, hold and attack orders; and fight under a deterministic combat rule. The Arab forces that D-G1 names become units, and an enemy AI follows a sourced script in Historical mode. The call-up and the security rung give way to the war state (D-C4). Prisoners follow the impact plan §4.3. The war objective completes on the last armistice (D-B2). Units-in-play draws the units from State.Units.
Architecture: Phase 1 built TurnResolver with steps 1 to 3 left as comments: "1-3. Enemy orders, combat, capture: Phase 5" (sim/Statecraft.Sim/TurnResolver.cs). This phase fills steps 1 and 2 and leaves step 3 (capture of settlements) to Phase 6. The Unit record (GddState.cs) already holds halutzim as Id, Type, Q, R in GameState.Units, hashed under units[...] only when non-empty (R-LOOP-002). Phase 5 extends that record. A new field is written to the hash only when it is not at its default, so a halutz unit hashes as before. Unit orders are standing orders, and a command carries only a change (spec §2.3). Unit orders cost no Attention (D-A6, decided). Paths, combat and the enemy AI are new files: Movement.cs, Combat.cs and EnemyAI.cs. Every preview number the UI shows comes from a public sim helper (spec §2.6).
Tech stack: as Phase 1: C# netstandard2.1 sim (sim/Statecraft.Sim), xUnit on net10.0 (sim/Statecraft.Sim.Tests), YamlDotNet content, Unity 6000.3.25f1 UI Toolkit (unity/), Python tools and policy checks under uv.
Spec: the impact plan: §1.3, §1.6, §2.2, §2.3, §2.5, §2.6, §3, §4.2, §4.3, §5 groups G and C (D-C4), and §6 "Phase 5". Design of record: docs/GDD.md ("Population and units", "Movement and civilian actions", "Military actions and settlement control", "Objectives"). The format follows the Phase 1 plan and the Phase 2 plan (PR #568, in review; its file will be docs/superpowers/plans/2026-10-14-gdd-phase-2.md). Issue: #385 (part of #374). Owner decisions: #375 and DECISIONS. Research: research_notes/GDD phase 5/arab-forces-1948.md (#419) and research_notes/M4 war mode/war-1948.md (#396).
Map-specification alignment, 17 October 2026: Locations adds map priorities for towns and strategic positions, including Ramallah and the other Arab-held regional hubs. These labels do not supply garrison figures, introduce reinforcements or supply rules, or select settlement-control targets. Source initial/reference control and use campaign state thereafter. Q-MOVE-1's per-biome movement cost on the eight hexes.json biomes stands, so PR 5 (sim/gdd-movement) is not blocked; only new terrain/tile/hex types beyond those biomes, and their extra properties, remain TBD in the GDD. See Military and combat and Map editor. No new terrain costs or combat modifiers are selected by this update.
Where things stand (read before a task)
On main (15 October 2026, b04001e2):
- Phase 1 PRs 1 to 4: #349, #364, #461 and #468.
GameState.Units(SortedList<int, Unit>),NextUnitId,Cohorts,ObjectivesandScoreexist (GameState.cs:65-74). Recruits who finish training are a count on their city (City.Recruits, R-TRAIN-003: "a count until Phase 5"). Halutzim are units. - The legacy military:
GameState.Rung,CeasefireWeeksLeftandMobilization(GameState.cs:38-40).SecuritySystemholds the call-up floor per rung and the UN ceasefire clock (ceasefire_weeks: 52, counted down at rung 5,SecuritySystem.cs). The 1948 operations are events withset_rung. The four armistices are hard-anchored events:armistice_egypt(24 February 1949),armistice_lebanon(23 March),armistice_jordan(3 April) andarmistice_syria(20 July 1949). Each has asignoption (set_rung: 2) and ahold_outoption (set_rung: 4). - Map-only units:
content/map/units_1948.yaml. It holds 15 rows: the twelve brigades, 101 Squadron, INS Haganah and INS Wedgwood. Each row has sourced, dated anchors. The sim never reads the file, so it is outside the content hash.UnitRoster,UnitPlacerandUnitLayer(unity/Assets/Scripts/Map/Units/) draw one token per brigade. The figure count follows the call-up, and the card has no orders (owner rulings, 2026-10-11, docs/units.md). - In flight on the units:
- #559 (open) adds
sidetounits_1948.yaml(Israel and the five states), the earth plinth and the side's flag. A flag is drawn only where its design is sourced. - #563 (open) has the units layer take the map's unit spots.
- #570 (draft): sourced positions for Carmeli (Haifa), Alexandroni (Netanya) and the 8th Brigade (Tel Litvinsky). Oded stays hidden. Owner, 15 October 2026: "Accept, verify later". The same decision says: "The Arab forces go in units_1948.yaml with
side(including the ALA and the local forces) plusstrengthandechelon. The rows stay draft and Wikipedia-only until a sourcing pass against printed histories."
- #559 (open) adds
- Not merged yet that this phase needs:
- Phase 1 PR 5 (#566, #378) and PR 6 (#379:
objectives.yaml, the score and the timing bonus). The war objective is an objective. - Phase 2 (plan in #568): the cutover, and the national Arms and Food pools (Phase 2 PR 3, proposed R-ARMS-001 and R-FOOD-001 to R-FOOD-003).
- Phases 3 and 4. #385 says "Starts after Phase 4". Roads and rail in movement need Phase 4's sim-read corridors.
- Phase 1 PR 5 (#566, #378) and PR 6 (#379:
- Owner answers on #568 (15 October 2026), as they bear on this phase:
- Q-CUT-1 "Labelled design values": the Phase 1 balance numbers move into content, each tagged as a design value, and a test lists them all.
- "Every other question with a recommendation: Take the recommendations." That takes D-C2's national pools (Q-POOL-1). The table row for Q-POOL-5 quotes D-G6's recommendation, and Q-HUD-1 quotes D-C4's. Whether those answers also decide D-G6 and D-C4 for this phase is asked below (Q-UNIT-3 and Q-WAR-1). This plan does not assume it.
- The MVP ends on 15 January 1952.
- Five of the seven war cards are rewritten as during-or-after decisions (#567). The first truce and Rhodes accept arriving late.
- Phase 5 docs: #532 (Agam) plans
docs/gdd/military-combat.mdanddocs/gdd/settlement-control.md. Neither is onmain. Before a PR writes the section, check whether #532 has landed it. If it has, update that section rather than add a second one.
Global constraints
- The GDD wins over every older spec (AGENTS.md). Anything the GDD marks Open, Proposal or TBD is built only as the owner's answer. No PR in this plan decides an open D-row. Where this plan states a recommendation, it quotes the impact plan, and the owner decides.
- Owner decisions this phase builds on (impact plan §5; #375; DECISIONS):
- D-A1: a unit is a group. "Military units at formation scale, one token per formation."
- D-A2: halutzim and military units are individual movable units.
- D-A3: work and training take several turns.
- D-A6: the fixed resolution order of spec §2.3. Actions are capped by Attention, and unit orders are free.
- D-A7: the reference player is test code with a stated policy.
- D-B1, Q-CUT-2: 15 May 1948 to 15 January 1952, monthly turns.
- D-B2: the war objective is complete on the last armistice event, with +5 points per month earlier than the historical date, capped at +60. D-B6: 100 points per objective.
- D-C2: national pools.
- D-E3: the game's English says "War of Independence".
- D-F1, D-F5: settlement control (Phase 6).
- D-G1: the Arab Legion and the militia, plus Egypt, Syria, Iraq and Lebanon, as units (#385). The #570 decision adds the ALA and the local forces to the map rows.
- Still open, and needed by this phase:
- from #375 "Open for later phases": D-G2, D-G3, D-G4, D-G5, D-G6, D-G7 and D-C4;
- D-D9 (veteran promotions; a Phase 3/4 row this phase also needs);
- D-H2 (event effects on units; a Phase 7 row that D-G5's recommendation leans on);
- D-B5 (defeat), only for what "a war loss" means. The questions below list each one.
- Sensitivity (CONTENT_POLICY §2.3 and §4; GDD owner ruling 1; impact plan §4.2 and §4.3). No Phase 5 rule may reward harm to civilians, from any side:
- Combat acts on combatant units only. Residents are never a target, a unit, a count that combat changes, or a source of any resource or score.
- Capturing a settlement is Phase 6. This phase builds no settlement-control state and no capture check (resolver step 3 stays a comment).
- Kills and enemy losses never score. Prisoners come only from a combat outcome against combatant units. Their points come at the return, not at the capture (§4.3).
- The Arab forces carry their own names. The card names a specific formation where a source does. There is no caricature. Casualties are reported as soberly as the player's own (§4.2).
- Any change to the options or effects of the sensitivity-reviewed war events (
ten_days,operation_yoav,operation_hiram,operation_horev,altalena; DECISIONS D11) sends them back for review (M4 plan D4(d); Q-ENEMY-5). - Decided (owner, 15 October 2026, Q-ENEMY-5): "Cards give orders to units" (#375). This changes
ten_days,operation_yoav,operation_hiramandoperation_horev, so their sensitivity review resets: PR 10 sets each back tostatus: fact-checkedfor the owner to review again, and DECISIONS D11 no longer covers them until that review.altalenais not one of the four and keeps its review. - Sensitivity tags and the release gates are left to the maintainer (AGENTS.md).
- Sourcing.
- Starting positions are never invented (§4.2; units-in-play ruling). Every sim starting unit traces to a sourced anchor row. Rows marked
hiddenstay out. - Strength figures take one value per fact, chosen by CONTENT_POLICY §1. The research notes record the conflicts (
arab-forces-1948.md§8). This plan does not pick a value. - Every date in
content/carriessources:with achecked:date. - Balance values follow the owner's answer to Q-GEN-1.
- Starting positions are never invented (§4.2; units-in-play ruling). Every sim starting unit traces to a sourced anchor row. Rows marked
- Determinism (docs/determinism.md):
- one RNG, no trigonometry, no unordered iteration into state, invariant culture;
- counts, strengths, movement points and timers are integers (spec §2.2);
- paths use a fixed neighbour order and a stated tie-break. Movement costs differ by terrain, so the search is a uniform-cost search, ordered by (cost, q, r) ordinal, not a plain BFS;
- combat draws from the RNG only as D-G3 is answered, in ascending attacker id, with a documented number of draws per engagement. A turn with no engagement draws nothing;
- the enemy AI draws nothing unless the owner says so (Q-ENEMY-2).
- Goldens. Phase 5 runs after the cutover, so each PR that changes an MVP rule re-pins every golden it moves, in the same PR, with a rebaseline-history row and the reason in the commit and the PR (spec §3, "After cutover"; determinism.md). PRs that move goldens merge one at a time, each rebased on the last. New goldens:
mvp-war-firstandmvp-captures(spec §3), andsmoke-orders(one unit order through the UI buttons). - Rule IDs. Every new rule gets an
R-ID indocs/rules/mvp.md. The ID is defined in the code PR together with its citing test (rule_ids.pyfails a defined ID with no test). The IDs below are proposed. The new area names need the maintainer's sign-off, as #532 asked for its areas: R-UNIT, R-MOVE, R-ORDER, R-COMBAT, R-ENEMY, R-WAR and R-POW. Rewording a rule keeps its ID. A retired ID is not reused. - Each PR:
- a branch from current
origin/mainin.worktrees/<branch>; - a claimed issue (Task form);
- a
CHANGELOG.mdline forsim/,content/orunity/; - the session's
Co-Authored-Byline on commits and its attribution line at the end of the PR body; - "Refs #385" (never "Fixes" until the phase's last PR).
- a branch from current
- Full checks before every PR (exact commands in the Phase 1 plan, Global constraints):
dotnet test sim/Statecraft.sln(0 warnings), the tools and policy pytest runs,check_repo.py,changelog_check.py --base origin/main,gdd_lint.pyandrule_ids.py. - Unity:
- When
unity/changes or the DLL's behaviour changes, runtools/build_sim_for_unity.sh, then EditMode undermachine_lock.py(the Phase 1 plan's command; never-nographicson the editor; revert the settings churn). - Every sim PR that moves a golden also needs the WebGL
web_check, and a re-recordedsmoke5if the first five turns change. - A PR that cannot run Unity says so. It does not merge until someone with Unity has run it (CI does not run Unity).
- When
Review focus
- Determinism of paths and combat.
- The same state and orders give the same path, bit for bit, on .NET, Mono and IL2CPP.
- A tie between equal-cost paths is broken by the stated order, never by collection order.
- Each engagement draws exactly the documented number of RNG values, and a turn with no engagement draws none.
- Tests: PR 5 (paths), PR 8 (draw count).
- Civilian harm that pays, through a loophole.
- No combat outcome changes a city's or locality's residents, housing, jobs or any resource in the player's favour.
- A player unit cannot enter an enemy-held locality's hex before Phase 6 (Q-CIV-1, decided: "No entry until Phase 6"), so entering or holding one gives nothing.
- Prisoners are never labour, Money, Arms or a bargaining resource, and they score only when returned.
- Tests: PR 8 (
CombatTouchesOnlyCombatants), PR 12 (PrisonersAreNeverAResource), and the property test in PR 13.
- Invented positions.
- Every starting unit in the sim names its
units_1948.yamlrow and anchor. - A hidden row (Oded) or an anchor outside its window starts nothing.
- Test: PR 4.
- Every starting unit in the sim names its
- Units that vanish, duplicate or reuse an id.
- Recruits who finish training become units with conservation: the people in = the people out.
- A destroyed unit leaves the state, and its id is never reused (
NextUnitId). - Tests: PRs 3 and 8.
- The enemy AI bends the rules.
- Its orders go through the same validation as the player's.
- It reads only the state, so it has no information a rule does not give it.
- In Historical mode it never moves a unit to a position no source gives while its script still runs (Q-ENEMY-1).
- Test: PR 10.
- Frame budget. One
Stepstays under 16 ms in the WebGL player with the full starting forces of both sides (spec §2.5), and the units layer rebuild stays within #563's budget. Test: PR 18.
The PR list
| PR | Branch | Issue | What | Waits on (owner) |
|---|---|---|---|---|
| 0 | docs/gdd-phase-5-answers |
#375, #385 | Record the owner's Phase 5 answers in the impact plan §5, #375 and this plan. Rewrite each PR's tasks to them | the answers |
| 1 | content/arab-forces-1948-rows |
new Task issue (refs #226, #385) | Map-only content: the Arab forces' sourced 15 May and 11 June 1948 rows in units_1948.yaml with side, strength and echelon (owner decision on #570) |
Q-START-3, Q-START-4, Q-ART-1 (flag only) |
| 2 | sim/gdd-military-units |
new Task issue | The military unit record (side, strength, order, experience), military unit_types.yaml entries, hashing at default. No behaviour |
Q-GEN-1, Q-UNIT-1, Q-UNIT-4 |
| 3 | sim/gdd-recruits-as-units |
new Task issue | Recruits who finish training become military units (R-TRAIN-003 reworded). Arms cost of training, and Arms and Money upkeep in step 7 | Q-UNIT-1, Q-UNIT-3, Q-UNIT-6 |
| 4 | sim/gdd-starting-forces |
new Task issue (refs #197) | The sim reads the sourced starting forces of both sides on 15 May 1948 in Historical mode | Q-START-1 to Q-START-4 |
| 5 | sim/gdd-movement |
new Task issue | Move(unit, q, r): movement points, terrain cost per biome, stacking, enemy ground. The Reachable preview helper |
Q-MOVE-1, Q-MOVE-3, Q-MOVE-4, Q-MOVE-5, Q-CIV-1 |
| 6 | sim/gdd-movement-roads |
new Task issue | Roads and rail lower the movement cost | Q-MOVE-2 |
| 7 | sim/gdd-fortify-hold |
new Task issue | UnitOrder(unit, fortify / hold): standing orders and their effect |
Q-HOLD-1, Q-HOLD-2 |
| 8 | sim/gdd-combat |
new Task issue | UnitOrder(unit, attack, q, r) and resolver step 2: resolution, losses, retreat, surrender, Arms per attack |
Q-COMBAT-1 to Q-COMBAT-4, Q-CIV-2, Q-CIV-4 |
| 9 | sim/gdd-artillery-armour |
new Task issue | Artillery's combat role and the armoured car. How each is acquired | Q-ARTY-1 to Q-ARTY-4 |
| 10 | sim/gdd-enemy-ai |
new Task issue (refs #226) | EnemyAI in resolver step 1: the Historical script, simple goals elsewhere, reinforcements |
Q-ENEMY-1 to Q-ENEMY-5 |
| 11 | sim/gdd-war-state |
new Task issue (refs #218) | D-C4: the rung derived from the war state, the call-up retired, the ceasefire clock and the truces | Q-WAR-1 to Q-WAR-5, Q-CIV-3 |
| 12 | sim/gdd-prisoners |
new Task issue | Prisoners (§4.3): taken by surrender, held with Food upkeep, returned in the sourced exchanges, scored at the return | Q-POW-1 to Q-POW-5 |
| 13 | sim/gdd-war-objective |
new Task issue | The war objective (D-B2), its completion card, the goldens mvp-war-first and mvp-captures |
Q-OBJ-1 to Q-OBJ-4 |
| 14 | unity/gdd-units-from-state |
new Task issue (refs #197) | UnitRoster reads State.Units. The sim hex is authoritative, and the figure count no longer follows the call-up |
Q-UI-3 |
| 15 | unity/gdd-unit-orders |
new Task issue (refs #104) | The unit card with orders, HexPicker targets, the reachable-hex and attack previews from sim helpers, SimBridge keys, smoke-orders |
Q-UI-1, Q-UI-2 |
| 16 | unity/gdd-defence-screen |
new Task issue (refs #218) | The Defence screen without the call-up. The war state, the truces and prisoners on screen | Q-WAR-1, Q-WAR-2, Q-UI-2 |
| 17 | art/gdd-phase-5-units |
new Task issue (refs #226) | Figures and models for artillery, the armoured car and the Arab forces; their flags or markers; the sensitivity review | Q-ART-1 to Q-ART-3 |
| 18 | sim/gdd-phase-5-close |
new Task issue | The WebGL frame budget with units, the Roadmap table, the playtest and the ruling log | none |
Sequencing and parallelism
Can start now (before Phases 2 to 4 finish):
- PR 0 goes first and can land in pieces as answers arrive (as #456 did for Phase 1).
- PR 1 (map-only content) can run as soon as #559 (the
sidefield) and #570 have merged. Q-START-3 and Q-START-4 are answered (PR 1's banner). It moves no golden, because the sim does not read the file. - PR 17's sourcing and modelling can run in parallel with everything. It is art, with no sim change. Only its acquisition-dependent pieces wait on D-G5 (Q-ARTY-2). Shipping waits on the sensitivity review.
After Phase 4, Phase 2 PR 3 (the Arms pool) and Phase 1 PR 6 (objectives and score):
- PR 2 is the first sim PR, and every sim PR below needs it. It moves no golden.
- PRs 3, 4 and 5 can be written in parallel worktrees, because they touch different files (
Training.cs;ContentLoader.csand a newStartingForces.cs; a newMovement.cs).- PR 4 moves every golden: units exist from the first turn.
- PR 3 moves goldens only if the reference player trains recruits. It says which.
- PR 5 moves none: the reference player issues no
Moveuntil PR 13. - Golden-moving PRs merge one at a time.
- PR 6 needs PR 5 and the Phase 4 corridors PR. It is small, and it can wait without blocking anything else.
- PR 7 needs PR 2. It can run in parallel with PRs 3 to 5.
- PR 8 needs PRs 4, 5 and 7: it needs enemies to fight, adjacency and the fortify modifier.
- PR 9 needs PR 8.
- PR 10 needs PRs 4, 5 and 8. PR 11 needs PR 8. PRs 9, 10 and 11 can be written in parallel. All three move goldens, so they merge one at a time.
- PR 12 needs PR 8 and Phase 2 PR 3 (the Food pool for upkeep). It can run beside PRs 9 to 11.
- PR 13 needs PRs 10, 11 and 12, and Phase 1 PR 6.
Unity:
- PR 14 needs PR 4. It can run in parallel with PRs 5 to 13.
- PR 15 needs PRs 5, 7, 8 and 14.
- PR 16 needs PRs 11 and 12.
- PR 18 is last.
Critical path: Phase 4, then PR 2, then PR 4, then PR 5, then PR 8, then PR 10, then PR 13, then PR 18. The other PRs sit beside it: PRs 3 and 7 beside PRs 4 and 5; PRs 9, 11 and 12 beside PR 10; PRs 14 to 17 on the Unity and art track.
File map
| File | Responsibility | PRs |
|---|---|---|
content/map/units_1948.yaml, tools/tests/test_units_1948.py, docs/units.md |
The Arab forces' rows (side, strength, echelon); later read by the sim (Q-START-1) |
1, 4 |
content/unit_types.yaml (or the overlay, per Q-GEN-1) |
Military types (recruit, veteran_soldier, artillery, armoured_car, and the enemy types D-G1 names): side, class, movement points, strength, upkeep, art_type |
2, 3, 5, 9 |
content/rules.yaml (mvp: block) |
Terrain costs, the stacking limit, the combat table, fortify and hold values, Arms costs (owner values) | 3, 5, 7, 8, 9 |
content/scenario_1948.yaml (new, only if Q-START-1 chooses it) |
The Historical starting forces and the enemy script | 4, 10 |
content/events/*.yaml |
Arms deals that bring units (Q-ARTY-3); the armistices' prisoner returns (Q-POW-3); the war objective's card (Q-OBJ-3) | 9, 12, 13 |
sim/Statecraft.Sim/GddState.cs |
Unit gains Side, Strength, Order, OrderTarget, Experience, Home, each hashed only when not at its default |
2 |
sim/Statecraft.Sim/GameState.cs |
PrisonersHeld, PrisonersReturned (spec §2.2), the war state, the truce state (Q-WAR-2) |
11, 12 |
sim/Statecraft.Sim/Content.cs, ContentLoader.cs |
Military unit types, the mvp: keys, the starting-forces source |
2, 4, 5, 7, 8, 9 |
sim/Statecraft.Sim/Training.cs |
R-TRAIN-003 reworded: recruits become units | 3 |
sim/Statecraft.Sim/StartingForces.cs (new) |
Seeds Historical starting units from sourced rows | 4 |
sim/Statecraft.Sim/Movement.cs (new) |
Paths, costs, stacking, Reachable helper |
5, 6 |
sim/Statecraft.Sim/Orders.cs (new) |
UnitOrder validation and standing orders |
7, 8 |
sim/Statecraft.Sim/Combat.cs (new) |
Resolver step 2 | 8, 9 |
sim/Statecraft.Sim/EnemyAI.cs (new) |
Resolver step 1 | 10 |
sim/Statecraft.Sim/SecuritySystem.cs, Simulation.cs, HistoricalAI.cs |
D-C4: the derived rung, the call-up retired, the clock | 11 |
sim/Statecraft.Sim/Prisoners.cs (new) |
§4.3 | 12 |
sim/Statecraft.Sim/Objectives.cs (Phase 1 PR 6) |
The war objective | 13 |
sim/Statecraft.Sim/TurnResolver.cs |
Steps 1 and 2, the upkeep in step 7 | 3, 8, 10, 12 |
sim/Statecraft.Sim/Commands.cs, AttentionSystem.cs, SaveGame.cs, Scenario.cs |
Move and UnitOrder: the five command touch-points (spec §2.3). Both are free (D-A6) |
5, 7, 8 |
sim/Statecraft.Sim/Reference/ReferencePlayer.cs |
The test policy's military orders (D-A7) | 8, 13 |
sim/Statecraft.Sim.Tests/*, golden/*, scenarios/* |
Tests per task; snapshots and the manifest | 2 to 13 |
docs/rules/mvp.md, docs/gdd/military-combat.md (unless #532 wrote it) |
Rule IDs and the feature section | 2 to 13 |
docs/determinism.md, docs/RELEASING.md, tools/web_check.py |
Every golden move | each golden-moving PR |
unity/Assets/Scripts/Map/Units/UnitRoster.cs, UnitLayer.cs, UnitPlacer.cs, UnitData.cs, UnitFlags.cs (#559) |
Tokens from State.Units |
14, 17 |
unity/Assets/Scripts/UI/UnitCard.cs, SimBridge.cs, unity/Assets/Scripts/Map/HexPicker.cs |
Orders, targets, previews | 15 |
unity/Assets/Scripts/UI/DefencePresenter.cs, HudModel.cs |
The Defence screen and the war state | 16 |
unity/Assets/UI/strings.en.yaml, strings.he.yaml, unity/Assets/Tests/EditMode/* |
Strings and EditMode tests | 14, 15, 16 |
unity/Assets/Resources/Units/Authored/*, ASSETS.yaml, docs/units.md |
Art | 17 |
README.md, README.he.md |
The Roadmap table when Phase 5 is done (CONTRIBUTING rule 9) | 18 |
Cross-cutting owner questions
- Q-GEN-1. Phase 5's balance values in content (D-G2 to D-G6, D-C6 and D-D9 values; controller ruling 2; the owner's Q-CUT-1 answer on #568). The owner answered Q-CUT-1 for the Phase 1 numbers: "Labelled design values ... each tagged as a design value rather than a historical one, and a test lists them all". Does the same rule cover Phase 5's new numbers: movement points, terrain costs, the stacking limit, the combat table, fortify and hold values, Arms costs and upkeep? If it does, they go in
content/tagged as design values, as they are answered. If it does not, they stay in the overlay until the owner sets them. The impact plan gives no recommendation.
PR 0: record the owner's Phase 5 answers
Docs only, as #456 was for Phase 1. The first PR 0 (15 October 2026) adds "Recommended answers for the open questions" below: one recommended answer per open question, or "owner pick" with options for every sensitive question and every question with no basis.
A second PR 0 (15 October 2026) records the owner's sensitive picks from two #375 comments (#375, #375) in that table, and a later #375 comment (#375) that re-rules Q-CIV-4. It rewrites the tasks of PRs 1, 4, 5, 8, 9, 10, 11, 12, 13, 16 and 17 to them. It also replaces every PR banner whose questions are decided with a "Decided by the owner" banner, citing "Take all recommendations" for the rows that answer decided: PRs 1 to 6 and 8 to 14, and the decided half of PRs 15, 16 and 17. Q-HOLD-1, Q-HOLD-2, Q-ART-2 and Q-UI-2 were then still open.
A third PR 0 (15 October 2026) records Q-HOLD-1, Q-HOLD-2 and Q-UI-2 from #375, and rewrites the banners and tasks of PRs 7, 15 and 16. Q-ART-2 was decided on 17 October 2026 after PR 17's sourcing named the vehicles and guns. The impact plan §5 and #385's banner are not updated by it.
- Step 1. For each answer, append "Decided (owner, ): ..." to its row in the impact plan §5, verbatim where the owner gave words. Move the row out of #375's "Open for later phases" with a comment, and copy the answers to #385's banner.
- Step 2. In this plan, replace each PR's "Waits for the owner" banner with a "Decided by the owner" banner that quotes the answers. Rewrite the PR's tasks to them. A PR whose questions are still open keeps its banner and does not start.
- Step 3. Checks:
md_links.py,check_repo.py. No CHANGELOG line (docs only). Refs #375, #385.
PR 1: the Arab forces' rows in units_1948.yaml (map-only)
Decided by the owner (15 October 2026): Q-START-3 ("Take all recommendations"; see the table below); Q-START-4, "Armies + ALA + local forces" (#375); Q-ART-1, "2+3": a neutral pennant now, replaced by a sourced emblem when one is found (#375). Waits for: #559 (
side) and #570 merged. Decided (owner, 15 October 2026, on #570): the Arab forces go inunits_1948.yamlwithside(including the ALA and the local forces) plusstrengthandechelon. The rows stay draft and Wikipedia-only until a sourcing pass against printed histories.
Goal: the forces D-G1 names stand on the map at their sourced positions on 15 May and 11 June 1948. The source is arab-forces-1948.md §10, "Game use, per issue", which lists the places two or more independent sources agree on. Each row has a sourced strength and echelon. The file stays map-only in this PR.
Files: content/map/units_1948.yaml (new rows, side values for the ALA and the local forces, the strength and echelon keys in the header's key list), tools/tests/test_units_1948.py, unity/Assets/Tests/EditMode/UnitsInPlayTests.cs (the 15 May roster count), unity/Assets/Scripts/Map/Units/UnitData.cs (parse strength and echelon; accept the new sides), docs/units.md, CHANGELOG.md.
Rule IDs: none. Map-only content is not a sim rule.
Test-first steps:
-
test_units_1948.py::test_every_side_is_knownfails on the first new side value until the loader list grows. Its expected list follows Q-START-4: Israel, the five armies, the ALA and the local forces, each under its own name (§4.2). The Saudi, Sudanese and Yemeni contingents are not units of their own. -
test_units_1948.py::test_strength_has_one_value_and_a_source: everystrengthhas one value (CONTENT_POLICY §1), anas_ofdate andsources. It fails on a row that copies a range. The research note's conflicts stay in the note, not in the file. -
test_units_1948.py::test_no_anchor_rests_on_one_source_where_the_note_says_contested: the rows for Latrun on 15 May (al-Tall alone, note §8 item 1) and al-Malkiyya on 15 May (contested, ruled ALA) follow the owner's answers. They fail until the rows exist. - EditMode
UnitsInPlayTests: the 15 May roster gains the new tokens. No token is drawn with Israel's flag unless its side isisrael, and a side with no sourced flag draws a neutral pennant (Q-ART-1). The test fails untilUnitDatareads the sides. - Sensitivity: the rows add no text near the places the note lists as sensitive (Kfar Etzion, the Jewish Quarter, Nitzanim, Lydda and Ramla; note "Conventions"). The PR asks the owner to review the cards (§4.2).
Golden impact: none. The sim does not read the file, and the content hash does not include it.
Unity: UnitData parsing and the EditMode run. Flags only where sourced (#559); otherwise a neutral pennant, replaced by a sourced emblem when one is found (Q-ART-1).
PR 2: the military unit record and unit types
Decided by the owner (15 October 2026): Q-GEN-1, Q-UNIT-1 and Q-UNIT-4 ("Take all recommendations"; see the table below). Waits for: Phase 4 done (#385), Phase 2 PR 3 (Arms).
Then decided (owner, 18 Oct 2026, "all defaults"; #741): (1)
movement_pointsis left to Phase 5 PR 5; (2) strength and upkeep come off the unit type in PR 2; (3) the recruit stays a population count, and PR 2 adds onlyveteran_soldier,artilleryandarmoured_car; (4) enemy unit types come in PR 4; (5) Experience and Home are left out; (6) PR 2 starts without #786 and #781.
Goal: the state can hold a military unit of any side, with the fields the later PRs need. The content can describe the military unit types. Nothing moves or fights yet. A halutz unit and every existing golden hash as before.
Files: GddState.cs (Unit: Side, Strength, Order, OrderTarget, Experience, Home, with With... copies and Canonical() writing a field only when it is not at its default), Content.cs and ContentLoader.cs (unit_types.yaml: military types with side, class (infantry, artillery, armour), movement_points, strength, upkeep, art_type, each required only for a military type), GddStateTests.cs, new MilitaryUnitTests.cs, docs/rules/mvp.md, docs/gdd/military-combat.md.
Files ruling: Experience, Home and movement_points are left out (owner 18 Oct 2026, #741).
Rule IDs (proposed):
- R-UNIT-001: a military unit is a group at the scale Q-UNIT-1 sets (D-A1: "Military units at formation scale, one token per formation"). It has a side, a type, a hex, a strength (an integer) and a standing order.
- R-UNIT-002: a unit's fields are written to the state hash only when they are not at their default (R-LOOP-002's rule), so a halutz unit's hash text is unchanged.
Test-first steps:
-
MilitaryUnitTests.AHalutzHashesAsBefore(R-UNIT-002): a state with one halutz unit gives the sameDescribe()text asmain. It compiles today and must stay green, and it is the guard for the change. -
MilitaryUnitTests.AMilitaryUnitWritesItsFields(R-UNIT-001): a unit with a side and a strength writes them. It fails to compile until the fields exist. -
ContentLoaderTests: a military type with nomovement_pointsfails to load, naming the file and field. A population type without it still loads. It fails until the loader validates.movement_pointsis left out (owner 18 Oct 2026, #741). -
GddStateTests.ClonesDoNotShareUnits: still green with the new fields. - Mutate: write
Sidealways.AHalutzHashesAsBeforefails. Restore.
Golden impact: none (no unit has the new fields yet).
Unity: EditMode run for the DLL only.
Owner questions for PR 2
- Q-UNIT-1. A military unit's scale, and how trained recruits become one (D-A1, D-A2). Recommendation (impact plan, D-A1, decided): "Military units at formation scale, one token per formation as the units-in-play ruling does". A training cohort is counted in population units (1,000 people in the Phase 1 placeholder). A formation such as a brigade is several thousand people. Which applies?
- (a) A finished cohort becomes a new unit of its own.
- (b) It reinforces an existing formation (which one, and where).
- (c) Units have a fixed size, such as a battalion, below the brigade.
The answer also sets what
Strengthcounts: people, population units or design points.
- Q-UNIT-4. Where a unit's combat strength comes from (D-G3; CONTENT_POLICY §1; the owner's #570 decision adds
strength). The two options:- (a) the sourced
strength(people) on the unit's row, with one value per fact where sources disagree (for example the Arab Legion on 15 May: 4,500 (Glubb) to about 9,000 (al-Tall);arab-forces-1948.md§8); - (b) a design value per unit type, with the sourced strength shown on the card only. The impact plan gives no recommendation.
- (a) the sourced
PR 3: recruits become units; Arms cost and upkeep
Decided by the owner (15 October 2026): Q-UNIT-1, Q-UNIT-2, Q-UNIT-3 and Q-UNIT-6 ("Take all recommendations"; see the table below). Waits for: PR 2; Phase 2 PR 2 (Money upkeep in step 7) and PR 3 (the Arms pool).
Goal: a recruit cohort that finishes training becomes military units at its camp's hex, per Q-UNIT-1, instead of City.Recruits. Training costs Arms if D-G6 says so. Military units pay Arms and Money upkeep in step 7.
Files: Training.cs (R-TRAIN-003), GddState.cs (City.Recruits retired or migrated), TurnResolver.cs (step 7), Content.cs, TrainingTests.cs, new UpkeepTests.cs, docs/rules/mvp.md.
Rule IDs (proposed):
- R-TRAIN-003 reworded: a finished recruit cohort becomes units.
- R-UNIT-003: the people in the cohort equal the people in the new units (conservation).
- R-ARMS-002: training a recruit costs Arms (Q-UNIT-3).
- R-ARMS-003: military units pay Arms and Money upkeep in step 7, and a shortfall does what the owner sets.
- R-UNIT-004: veteran promotion, only if Q-UNIT-2 is answered.
- R-UNIT-005: return to civilian life, only if Q-UNIT-6 is answered.
Test-first steps:
-
TrainingTests.AFinishedRecruitCohortBecomesUnits(R-TRAIN-003, R-UNIT-003). It fails today: the count goes toCity.Recruits. -
TrainingTests.NoRecruitIsLostOrDoubled(R-UNIT-003): over a run with cohorts of every size, the sum of unit sizes equals the sum of cohort sizes. -
UpkeepTests.MilitaryUnitsPayInStepSeven(R-ARMS-003): a test of the order (after production, before housing), in the style ofCitiesTests.CohesionReadsTheCountsAfterThisTurnsHousing. -
UpkeepTests.AShortfall...(R-ARMS-003): the owner's rule, never a silent clamp. - Mutate (skip conservation by one), restore.
- Re-pin the goldens if they move. The reference player trains halutzim only (
ReferencePlayer.cs), so expect no move. The PR states it either way.
Golden impact: none expected (see above). City.Recruits leaves the hash only if some city had recruits in a golden run.
Unity: EditMode run for the DLL.
Owner questions for PR 3
- Q-UNIT-2. Veteran soldiers (D-D9, open; a Phase 3/4 row). Recommendation (impact plan): "After N turns of service. Values for the owner." Also: does experience from combat count?
- Q-UNIT-3. Arms supply and use (D-G6, D-C6; D-C2 decided: national pools). Recommendation (impact plan, D-G6): "From events (sourced arms deals) and Money. Training and attacks consume it." The owner answered #568's Q-POOL-5 with "Take the recommendations", and that row quoted D-G6. Does that answer decide D-G6 for Phase 5? The values are the owner's in either case:
- Arms per recruit trained;
- Arms and Money upkeep per unit per turn;
- what an Arms or Money shortfall does to units (lower strength? no attacks?);
- whether Money can buy Arms, and at what rate.
- Q-UNIT-6. Return to civilian life (the GDD's open rules for civilians ("return from trained roles") and for the population role model ("Decide reassignment and return to civilian life"); D-A2). Can the player send soldiers back to a city as civilians, during the war or after a front's armistice? Does demobilisation happen on its own? The impact plan gives no recommendation.
PR 4: the sourced starting forces, both sides
Decided by the owner (15 October 2026): Q-START-1 to Q-START-3 ("Take all recommendations"; see the table below); Q-START-4, "Armies + ALA + local forces" (#375). Waits for: PR 2; PR 1 for the Arab rows.
Goal: in Historical mode, a new game on 15 May 1948 holds one unit per sourced, not hidden row whose anchor window covers the start, on the anchor's hex, for both sides. The units-in-play ruling's "sourced positions only" now governs starting positions. After the start, units move by play (impact plan §6 Phase 5, Risks).
Files: new StartingForces.cs; ContentLoader.cs (reads units_1948.yaml, or scenario_1948.yaml per Q-START-1; the file enters the content hash), Simulation.cs (NewGame), new StartingForcesTests.cs, RealContentTests.cs, docs/rules/mvp.md, the header comment of units_1948.yaml ("Map-only: the sim never reads this file" changes), docs/units.md.
Rule IDs (proposed):
- R-UNIT-006: in Historical mode, a new game places one unit per sourced row whose anchor covers the start date, on the hex nearest the anchor's coordinates. A hidden row places nothing.
- R-UNIT-007: the Open mode's start, per Q-START-2.
Test-first steps:
-
StartingForcesTests.EveryStartingUnitNamesItsRowAndAnchor(R-UNIT-006). It fails today (no units). -
StartingForcesTests.HiddenRowsStartNothing(R-UNIT-006):odedis absent. -
StartingForcesTests.TheStartMatchesTheMap: the sim's starting hexes equal the hexesUnitRosterreads from the same rows. The token may still stand one hex away for presentation (UnitPlacer); the sim hex is the anchor's. -
StartingForcesTests.AirAndNavyFollowTheAnswer: the squadron and the ships start as Q-UNIT-5 says. - Mutate (drop the hidden check), restore.
- Re-pin every golden. Add a history row: "GDD Phase 5 PR 4: the sourced starting forces enter the state".
Golden impact: every golden moves: units are in the state from the first turn.
Unity: none beyond the EditMode run. The tokens keep reading the map rows until PR 14.
Owner questions for PR 4
- Q-START-1. Where the sim reads starting positions (D-G7; impact plan §2.2 and §2.6; the owner's #570 decision). Recommendation (impact plan §2.6): "
units_1948.yamlbrigade anchors can seed Historical starting positions (moving them into the content hash at that point)". §2.2 also lists ascenario_1948.yamlfor "starting units and the enemy script". The two options:- (a) the sim reads
units_1948.yaml, which then moves the content hash; - (b) a new
scenario_1948.yamlrefers to its rows.
- (a) the sim reads
- Q-START-2. Starting forces in Open mode (
Mode.Open; D-G7). Open mode could start with the same forces as Historical mode, with none, or with something else. The impact plan gives no recommendation. - Q-START-3. Draft rows in a shareable build (CONTENT_POLICY §2.1: "As of M3 every fact is at least
fact-checked"; the owner's #570 decision: "draft and Wikipedia-only until a sourcing pass"). Once the sim reads the rows, they are game state, not decoration. Must they befact-checkedbefore a shareable build carries them, with the release gate enforcing it? Also, which singlestrengthvalue does each force take where the sources conflict (§1: one value from Israeli official or mainstream sources)? The impact plan gives no recommendation. - Q-START-4. Which forces are units, and their names (D-G1, decided; impact plan §4.2; #570). Sensitive (§4.2, dignity and naming).
- The
sidevalues and the on-screen names for the ALA and the local forces. §4.2: "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"; "'Palestinian militia' is the GDD's working label." - Whether the Saudi, Sudanese and Yemeni contingents under Egyptian command are units.
- Whether the local forces, which held positions inside towns, are units at all, given the GDD's rule that "enemy combatants and settlement residents require distinct states". The impact plan gives no recommendation beyond the naming rule.
- The
- Q-UNIT-5. 101 Squadron, INS Haganah and INS Wedgwood (the GDD's unit roster has no air or naval unit). Are they sim units, or do they stay presentation-only tokens? The impact plan gives no recommendation.
PR 5: movement
Decided by the owner (15 October 2026): Q-MOVE-1, Q-MOVE-3, Q-MOVE-4 and Q-MOVE-5 ("Take all recommendations"; see the table below); Q-CIV-1, "No entry until Phase 6" (#375). Waits for: PR 2.
Goal: Move(unit, q, r) moves a unit along the cheapest path the sim computes, within its movement points, at command time (spec §2.3). It is refused, with a reason, when the target cannot be reached. Movement.Reachable(c, s, unitId) gives the UI the hexes and costs.
Files: new Movement.cs; Commands.cs (Move), AttentionSystem.cs (move in Kinds and GddKinds, cost 0 per D-A6), SaveGame.cs, Scenario.cs, CommandGuardTests.Samples, new MovementTests.cs, SaveGameTests.cs, docs/rules/mvp.md.
Rule IDs (proposed):
- R-MOVE-001: each unit type has an integer movement allowance per turn, and each biome an integer cost. A path's cost is the sum of the costs of the hexes it enters.
- R-MOVE-002: the path is the cheapest one, found with neighbours in the fixed order of
hexes.json's layout and ties broken by (cost, q, r) ordinal. - R-MOVE-003: the stacking limit (Q-MOVE-3).
- R-MOVE-004: entering or passing next to hexes held by the enemy (Q-MOVE-4).
- R-MOVE-005: before Phase 6 a player unit cannot enter the hex of an enemy-held locality, and no path passes through one (Q-CIV-1). The answer does not say which localities count as enemy-held while Phase 5 has no settlement-control state and the 1948 control layer is display-only (Q-MOVE-4). PR 5 proposes that list for the owner's review; it is not invented in the sim.
- R-MOVE-006:
Moveis refused with the state unchanged when the unit is not the player's, the target cannot be reached, or the target breaks a stacking or ground rule.
Test-first steps:
-
MovementTests.ThePathIsTheSameEveryRun(R-MOVE-002): the same state twice, and withUnitsbuilt in a different insertion order, gives the same path. It fails to compile today. -
MovementTests.EqualCostPathsBreakTiesByTheStatedOrder(R-MOVE-002): a fixture with two equal paths. -
MovementTests.TerrainCosts(R-MOVE-001): one test per biome cost the owner sets. -
MovementTests.StackingLimit(R-MOVE-003);MovementTests.EnemyGround(R-MOVE-004);MovementTests.NoEntryToEnemyHeldLocalities(R-MOVE-005):Moveto such a hex is refused with a reason, andReachablenever lists it. -
MovementTests.ReachableMatchesMove: every hexReachablelists can be reached withMove, and no other hex can. -
SaveGameTests: aMoveline round-trips.CommandGuardTestscovers the new kind. - Performance:
MovementTests.AFullTurnOfMovesIsFast. Every starting unit'sReachableon 870 land hexes stays under the budget spec §2.5 sets for oneStep(16 ms in WebGL). Here it is measured on .NET, with the margin stated. - Mutate (iterate neighbours from a
HashSet), confirm the determinism test fails, restore.
Golden impact: none (the reference player issues no Move until PR 13). A new scenario, scenario-mvp-moves, pins one scripted move per terrain.
Unity: EditMode run for the DLL. The UI is PR 15.
Owner questions for PR 5
- Q-MOVE-1. Movement points and terrain (D-G2). Recommendation (impact plan): "Integer movement points. Roads and rail cheaper. Stack limit per hex." The values are the owner's: points per unit type, and a cost for each of the map's biomes (
hexes.json: desert, mountains, hills, coastal plain, valley, lowland; lake and sea are impassable unless the owner says otherwise). - Q-MOVE-3. Stacking (D-G2). Recommendation: "Stack limit per hex." What is the limit, and does it count units of both sides?
- Q-MOVE-4. Enemy ground, the frontier and the board (D-G2, "access to enemy territory"; the GDD's "MVP completion rules": map extent; Agam's proposal on #375 to play on the full 870-hex board).
- Can a unit pass next to an enemy unit, or must it stop (a zone of control)?
- Does the 1948 control layer (
content/map/control_hexes_1948_49.yaml, display only today) mean anything in the sim? - Can units cross the Mandate frontier? The board's land runs from 34.2 E to 35.9 E and from 29.48 N to 33.35 N, so it holds part of south Lebanon (Operation Hiram) but not El Arish (Operation Horev's furthest point). The impact plan gives no recommendation beyond D-G2's.
- Q-MOVE-5. Transport (D-G2). Is there faster movement by truck or rail, and does it cost anything? No recommendation beyond "roads and rail cheaper".
- Q-CIV-1. Localities before Phase 6. Sensitive (the GDD: "Enemy combatants and settlement residents require distinct states"; D-F2 and D-F5 are Phase 6 rows; CONTENT_POLICY §4). Phase 5 has no settlement control. Until Phase 6, what may a player unit do on, or next to, the hex of an enemy-held locality?
- (a) It cannot enter the hexes of the curated target list (D-F5) or any enemy-held locality.
- (b) It can enter, with no change to the locality's state and no gain of any kind.
- (c) Something else. Whatever the answer, Phase 5 gives no reward for it. D-F2's recommendation is for Phase 6 only ("Captured when no enemy combatant is in the hex and a player unit holds it at turn end").
PR 6: roads and rail in movement
Decided by the owner (15 October 2026): Q-MOVE-2 ("Take all recommendations"; see the table below). Waits for: PR 5; Phase 4's sim-read
corridors.yamland its segment progress.
Goal: a hex on a built road or rail segment costs what the owner sets (D-G2: "Roads and rail cheaper").
Files: Movement.cs, MovementTests.cs, docs/rules/mvp.md.
Rule IDs (proposed): R-MOVE-007: entering a hex along a built corridor segment, from a hex on the same segment, costs the corridor kind's cost.
Test-first steps: MovementTests.RoadsAreCheaper and MovementTests.AnUnbuiltSegmentCostsTerrain fail until the cost exists. Mutate (read unbuilt segments), restore.
Golden impact: none until the reference player moves (PR 13). If PR 13 has merged first, the war goldens move.
Unity: none.
Owner questions for PR 6
- Q-MOVE-2. Which roads count (D-G2, with D-D7). Recommendation: "Roads and rail cheaper." The two options:
- (a) only the corridors Phase 4 builds count;
- (b) the existing 1948 roads (
content/map/routes_1948.yaml, map-only and sourced) also enter the sim, and the content hash. The impact plan gives no recommendation on (a) against (b).
PR 7: fortify and hold
Decided by the owner (15 October 2026): Q-HOLD-1, "(a) 1 turn, free, lost on move"; Q-HOLD-2, "(a) Own hex, no interception" (#375). The defence bonuses are labelled design values (Q-GEN-1; value: open (owner)). Waits for: PR 2.
Goal: UnitOrder(unit, fortify) and UnitOrder(unit, hold) set standing orders. Fortify takes one turn to set, costs nothing, gives a defence bonus and is lost when the unit moves (Q-HOLD-1). Hold covers the unit's own hex only and intercepts nothing (Q-HOLD-2). The command is free (D-A6).
Files: new Orders.cs; Commands.cs (UnitOrder), AttentionSystem.cs (unit_order), SaveGame.cs, Scenario.cs, new OrdersTests.cs, docs/rules/mvp.md.
Rule IDs (proposed):
- R-ORDER-001: a unit keeps its order until the player changes it. Moving clears fortify (Q-HOLD-1).
- R-ORDER-002: fortify takes one turn to set, costs no Arms or Money, and gives a defence bonus, a design value (Q-HOLD-1; value: open (owner)).
- R-ORDER-003: hold acts on the unit's own hex only and does not intercept enemy moves (Q-HOLD-2). What hold does on that hex is a design value (value: open (owner)).
Test-first steps: OrdersTests.AnOrderStandsUntilChanged (R-ORDER-001), OrdersTests.FortifyTakesOneTurnAndCostsNothing and OrdersTests.MovingClearsFortify (R-ORDER-001, R-ORDER-002), OrdersTests.HoldNeverIntercepts (R-ORDER-003: an enemy move past or next to a holding unit is not stopped), a save round-trip, CommandGuardTests. Mutate, restore.
Golden impact: none until combat reads the benefit (PR 8) and the reference player gives orders (PR 13).
Unity: EditMode for the DLL.
Owner questions for PR 7
- Q-HOLD-1. Fortify (D-G4). Recommendation (impact plan): "Owner (balance)." Its cost (Arms? Money?), how many turns it takes, whether it persists when the unit leaves, and its defensive benefit.
- Q-HOLD-2. Hold (D-G4). Recommendation: "Owner (balance)." Its protection area (its own hex or the ring around it), whether it intercepts enemy moves through that area, and its upkeep.
PR 8: combat
Decided by the owner (15 October 2026): Q-COMBAT-1 to Q-COMBAT-4 ("Take all recommendations"; see the table below); Q-CIV-2, "Enemy units only, no effect" (#375); Q-CIV-4, "2+3": people lost per engagement in the Why line (#375); the completion card's total re-ruled as "A: Israeli total only" (#375; PR 13). Waits for: PRs 4, 5 and 7.
Goal: UnitOrder(unit, attack, q, r) sets an attack. Resolver step 2 resolves every attack of both sides in ascending attacker id, by the owner's table, with the documented RNG draws. It applies losses, retreats, destruction and surrender. Combat acts on combatant units only.
Files: new Combat.cs; Orders.cs, TurnResolver.cs (step 2), Content.cs (the table under mvp:), new CombatTests.cs, CombatDrawCountTests.cs, docs/rules/mvp.md, docs/determinism.md (the draw count per engagement, in "RNG draws").
Rule IDs (proposed):
- R-COMBAT-001: an attack's valid targets and range (Q-COMBAT-2). Enemy units on a hex that holds a locality with residents may be attacked; the residents are not a target and nothing about them changes (Q-CIV-2, R-COMBAT-005).
- R-COMBAT-002: resolution: the strength ratio, the terrain and fortify modifiers, and the owner's table, with exactly N RNG draws per engagement (Q-COMBAT-1).
- R-COMBAT-003: the outcomes (strength loss, retreat, destruction, surrender) and what each does (Q-COMBAT-3).
- R-COMBAT-004: Arms spent per attack (Q-COMBAT-4).
- R-COMBAT-005: combat changes only combatant units. No locality's residents, housing, jobs or buildings, and no player resource, change because of a combat outcome (Q-CIV-2).
- R-COMBAT-006: each engagement's Why line states the people lost on each side, worded the same way for both sides (Q-CIV-4; §4.2). No other running count of losses is added in this PR. The war's total on the completion card is PR 13's, and it is the Israeli total only (Q-CIV-4 re-ruled).
Test-first steps:
-
CombatDrawCountTests.EachEngagementDrawsExactlyN(R-COMBAT-002): the RNG state after k engagements equals the state after k*NNextcalls. A turn with no attack leavesRngStateunchanged. -
CombatTests.AttackersResolveInAscendingId(R-COMBAT-002): two attacks in either insertion order give the same result. -
CombatTests.TheTableIsApplied(R-COMBAT-002, R-COMBAT-003): one test per row of the owner's table, with the RNG seeded to land in it. -
CombatTests.CombatTouchesOnlyCombatants(R-COMBAT-005): a property test over every engagement in the war goldens. City records, locality data, Money, Food, Social cohesion and score are equal before and after step 2, except Arms (R-COMBAT-004). -
CombatTests.KillsNeverScore(R-COMBAT-005; §4.3 item 2):Scoreis unchanged by any combat outcome. -
CombatTests.ALocalityHexIsAttackedOnlyThroughItsUnits(R-COMBAT-001, R-COMBAT-005): a fixture with enemy units on a locality's hex. The attack resolves, and the locality's data is unchanged. -
CombatTests.TheWhyLineGivesPeopleLostOnBothSides(R-COMBAT-006): the line names the people lost by each side, from the strength lost andpeople_per_unit(Q-UNIT-1). -
CombatTests.ADestroyedUnitLeavesTheState, and its id is not reused (Review focus 4). -
ReferencePlayer: an attack policy formvp-war-first, stated in the class comment (D-A7), such as "attack an adjacent enemy unit only at a strength ratio of at least R". It is test code. - Mutate (draw once more on a loss), confirm the draw-count test fails, restore. Re-pin the goldens.
Golden impact: every golden moves once enemy units attack (PR 10), or the reference player does. Until then a golden moves only if an engagement happens. The PR states which.
Unity: EditMode for the DLL. The attack order's UI is PR 15.
Owner questions for PR 8
- Q-COMBAT-1. Resolution (D-G3). Recommendation (impact plan): "A deterministic strength-ratio table plus one RNG draw per engagement." The table and its values are the owner's.
- Q-COMBAT-2. Targets, range and joint attacks (D-G3; the GDD's Attack row: "Valid targets, range, combat resolution and losses"). Adjacent hexes only? Can several units attack one hex together? Does the defender's terrain count? There is no recommendation beyond D-G3's.
- Q-COMBAT-3. Outcomes (D-G3). Strength loss, retreat, destruction, and surrender. Surrender is the only source of prisoners (§4.3 item 1), so its rule decides how prisoners arise. Also: may the attacker advance into the hex? There is no recommendation beyond D-G3's.
- Q-COMBAT-4. Arms per attack (D-G6). Recommendation: "Training and attacks consume it." How much does an attack use, and what happens to an attack when Arms is short?
- Q-CIV-2. Localities in combat. Sensitive (D-G3 and D-G5; the GDD's "distinct states"; CONTENT_POLICY §4). May an attack, or artillery fire (PR 9), target a hex that holds a locality with residents, Jewish or Arab? This plan builds no effect of combat on residents in either case (R-COMBAT-005). The question is only whether such a hex is a valid target. The impact plan gives no recommendation.
- Q-CIV-4. How losses are shown. Sensitive (CONTENT_POLICY §2.3; impact plan §4.2: "Its casualties are reported as soberly as the player's"; §4.3: "Kills and enemy casualties never score"). Are losses shown as strength or as people? Is there a running count of losses on any screen? What wording do the Why lines use? Recommendation: only the two §4.2 and §4.3 lines quoted.
PR 9: artillery and armoured cars
Decided by the owner (15 October 2026): Q-ARTY-1 to Q-ARTY-4 ("Take all recommendations"; see the table below). Waits for: PR 8.
Goal: artillery has its own combat role (the GDD: "Artillery has a separate combat role whose orders and rules are open"). The armoured car has its own movement and combat rules. Both are acquired as D-G5 says.
Files: Combat.cs, Movement.cs, Orders.cs (artillery orders), unit_types.yaml entries, EventRules.cs and EventSystem.cs (a unit effect target, only if Q-ARTY-3 says so), content/events/* (sourced arms deals, only if Q-ARTY-3 says so), new ArtilleryTests.cs, docs/rules/mvp.md.
Rule IDs (proposed):
- R-COMBAT-007: artillery's range and support role.
- R-COMBAT-008: the armoured car's movement and combat values.
- R-UNIT-008: how either type is acquired.
- R-EFX-003: an event option may add a unit, only if Q-ARTY-3 builds D-H2 now. The area and its first two IDs are Phase 2's.
Test-first steps: one failing test per answered rule. Artillery follows Q-CIV-2 ("Enemy units only, no effect"): it may support an attack on enemy units on a locality's hex, with no effect on the residents (R-COMBAT-005). If an event adds units: the loader validates the unit type and hex, and a war-casualties option cannot add a unit as a gain (the extension of R-EFX-002's rule, Phase 2). Mutate, restore. Re-pin the goldens if the reference run uses either type.
Golden impact: only if the reference run gains or uses the types.
Unity: EditMode for the DLL. The models are PR 17.
Owner questions for PR 9
- Q-ARTY-1. Artillery's role (D-G5; the GDD's Artillery row: "Acquisition, crew, range, ammunition and combat role"). Recommendation (impact plan): "Acquired through events and Arms. Values for the owner." Its range, whether it supports an adjacent attack or fires on its own, its ammunition from Arms, and its crew (population units?).
- Q-ARTY-2. The armoured car (D-G5; the GDD's row: "Acquisition, armor, movement and combat rules"). Same recommendation.
- Q-ARTY-3. Acquisition through events, and D-H2 (D-G5, D-H2). D-G5's recommendation acquires these units "through events". Event effects on units are D-H2, a GDD Proposal planned for Phase 7, with the recommendation "Yes, via new effect targets validated by the loader". Should Phase 5 build a unit effect target for sourced arms deals now, or buy the units with Arms and Money only until Phase 7?
- Q-ARTY-4. The name "Napoleonchik" (the GDD's Artillery row: "the working label Napoleonchik"). What does the game show, in English and Hebrew? The name for the sourced gun type is the owner's choice. The impact plan gives no recommendation.
PR 10: the enemy AI
Decided by the owner (15 October 2026): Q-ENEMY-1 to Q-ENEMY-4 ("Take all recommendations"; see the table below); Q-ENEMY-5, "Cards give orders to units" (#375). This changes the four operation cards, so their sensitivity review resets (Global constraints). Waits for: PRs 4, 5 and 8.
Goal: resolver step 1 computes the orders of every non-player unit from the state, through the same validation as the player's orders. In Historical mode it follows a sourced script where research exists, and simple goals elsewhere (D-G7). The enemy pursues its own goals (CONTENT_POLICY §1).
Files: new EnemyAI.cs; TurnResolver.cs (step 1), content/scenario_1948.yaml or units_1948.yaml (the script's dated positions, per Q-START-1), new EnemyAITests.cs, docs/rules/mvp.md, docs/gdd/military-combat.md. For Q-ENEMY-5: EventRules.cs and EventSystem.cs (an event effect that gives orders to units, validated by the loader), content/events/ten_days.yaml, operation_yoav.yaml, operation_hiram.yaml and operation_horev.yaml (the orders, and status: fact-checked), docs/oss/DECISIONS.md (D11 lists the four as signed off), sim/Statecraft.Sim.Tests/RealContentTests.cs and sim/Statecraft.Sim/ReleaseGate.cs (the four cards pending review; the gate stays closed until they are reviewed).
Rule IDs (proposed):
- R-ENEMY-001: the enemy's orders are computed in step 1 from the state only, and validated like the player's.
- R-ENEMY-002: the Historical script: dated, sourced positions (for example 11 June 1948 from
arab-forces-1948.md§10), and what happens when play diverges. - R-ENEMY-003: the simple goals.
- R-ENEMY-004: reinforcements by date.
- R-ENEMY-005: an option of
ten_days,operation_yoav,operation_hiramoroperation_horevgives orders to units, and those orders go through the same validation as the player's (Q-ENEMY-5). The answer does not say which units each card orders, whose units they are, or what the orders are. PR 10 proposes them for the owner's review with the cards; nothing is invented in the sim.
Test-first steps:
-
EnemyAITests.OrdersComeOnlyFromTheState(R-ENEMY-001): two states equal in every field give the same orders. -
EnemyAITests.AnInvalidEnemyOrderIsRefusedLikeThePlayers(R-ENEMY-001). -
EnemyAITests.TheScriptNeverInventsAPosition(R-ENEMY-002): every scripted target is a sourced anchor. -
EnemyAITests.NoRngUnlessAnswered(Q-ENEMY-2):RngStateis unchanged by step 1. -
EnemyAITests.OperationCardOrdersAreValidated(R-ENEMY-005): an order from a card that breaks a movement or combat rule is refused like the player's. The loader rejects an order effect that names an unknown unit type or hex. - The four changed cards carry
status: fact-checked, and the PR asks the owner for their sensitivity review again (M4 plan D4(d)). They do not return tosensitivity-reviewedin this PR. - The reset breaks two things on purpose, and the PR handles both.
RealContentTests.EveryHistoricalRecordIsSourcedAndFactChecked(RealContentTests.cs:78) requires every event inReleaseGate.SensitiveEvents(any event with a sensitive tag) to besensitivity-reviewed, so PR 10 updates that test to allow the four cards as pending review.ReleaseGate.SensitiveUnreviewedwill list them, so--release-gate(scripts/oss/release_gate.sh) and the-shareableUnity build (Build.cs) fail. That is the intended fail-closed result: no shareable build ships until the owner reviews the four cards again. Keeping themsensitivity-reviewedwith changed options would be fail-open, and is not done. PR 10 also updates DECISIONS D11. - Mutate, restore. Re-pin every golden.
Golden impact: every golden moves (the enemy acts from the first turn).
Unity: EditMode for the DLL.
Owner questions for PR 10
- Q-ENEMY-1. The Historical script (D-G7). Recommendation (impact plan): "A sourced script where research exists, simple goals elsewhere." Which positions are scripted: 15 May and 11 June 1948 (
arab-forces-1948.md§10), the control periods ofcontrol_hexes_1948_49.yaml(#555), and the operations' dates (war-1948.md§3)? What does the script do when the player's play has made a scripted move impossible: drop it, fall back to goals, or wait? - Q-ENEMY-2. The simple goals, and the RNG (D-G7). There are two parts:
- what the enemy does where no script exists (hold, attack the nearest, defend a named place);
- whether its choices may draw from the RNG. A draw shifts every later draw in the turn (spec §2.3). There is no recommendation beyond D-G7's.
- Q-ENEMY-3. Reinforcements (D-G7, D-G1). Sources give the Arab regular forces in the field rising during the first truce "from about 25,000 to perhaps about 45,000" (O'Ballance p. 138, in
arab-forces-1948.md), and the CIA's table of 27 July 1948. Do enemy units arrive or grow by date? From which sourced figures? - Q-ENEMY-4. Do the enemy forces have Arms and Food (D-G6, D-C2)? Are they limited by their own supply, or not? The impact plan gives no recommendation.
- Q-ENEMY-5. The 1948 operation events and the units. Sensitive (D-G7, D-H2; DECISIONS D11; M4 plan D4(d); the owner's #567 answer rewrote five war cards as during-or-after decisions).
ten_days,operation_yoav,operation_hiramandoperation_horevare sensitivity-reviewed events withset_rungoptions. With units on the map, the options are:- (a) they stay as event cards beside the combat, with no tie to units;
- (b) they open only when the units' state allows (for example, forces in the south for Yoav);
- (c) they give orders to units.
(b) and (c) change their conditions or effects. Under D4(d) that resets them to
fact-checkedfor the owner's review again. The impact plan gives no recommendation.
PR 11: the war state (D-C4)
Decided by the owner (15 October 2026): Q-WAR-1 to Q-WAR-5 ("Take all recommendations"; see the table below); Q-CIV-3, "No effect in Phase 5" (#375). Waits for: PR 8.
Goal: the security rung stops being a player lever in the GDD loop and follows the war state, as D-C4 is answered. The call-up is retired. The UN ceasefire clock is kept, retired or replaced. The truces exist in the sim if the owner says so. #218 is re-checked.
Files: SecuritySystem.cs, Simulation.cs, HistoricalAI.cs (its call-up orders), Commands.cs (SetMobilization and SecurityOrder refused in the GDD loop, with "not available in this game" and the Attention refunded, as R-CITY-001 does for the legacy loop), GameState.cs (the truce state, if any), content/rules.yaml (ceasefire_weeks, rung_min_mobilization), content/events/first_truce.yaml and second_truce.yaml (only if Q-WAR-2 adds a truce field; both are fact-checked, not sensitivity-reviewed), SecurityTests.cs, new WarStateTests.cs, docs/rules/mvp.md.
Rule IDs (proposed):
- R-WAR-001: in the GDD loop the rung is derived from the war state (Q-WAR-1).
- R-WAR-002: the call-up and the security order are refused in the GDD loop.
- R-WAR-003: the ceasefire clock or the truces (Q-WAR-2, Q-WAR-3).
- R-WAR-004: in Phase 5 no military action moves International Support or Social cohesion (Q-CIV-3). The prisoners' Food shortfall cost to Social cohesion is R-POW-002 (Q-POW-5), a later and narrower answer; the test exempts it, and the owner confirms that reading in PR 11's review.
Test-first steps:
-
WarStateTests.TheRungFollowsTheWarState(R-WAR-001). -
WarStateTests.TheCallUpIsRefusedInTheGddLoop(R-WAR-002): Attention refunded, state unchanged. Keep the legacy tests on a legacy fixture while the code exists (D-E1). -
WarStateTests.TheTruce...(R-WAR-003, as answered). It reproduces #218's case: the Defence screen's clock during 11 June to 8 July 1948. -
WarStateTests.MilitaryActionsMoveNoParameter(R-WAR-004): attacks, attacks refused in a truce, frontier crossings and losses leave International Support and Social cohesion unchanged. - Mutate, restore. Re-pin every golden (
cf=andmob=leave the real runs or change).
Golden impact: every golden moves.
Unity: the Defence screen is PR 16. This PR runs EditMode for the DLL. If the Defence screen's call-up buttons would otherwise send a refused command, the PR hides them behind Content.IsGdd, with an EditMode test.
Owner questions for PR 11
- Q-WAR-1. The rung in the GDD loop (D-C4, open). Recommendation (impact plan): "The rung becomes derived (war state) and no longer sets turn length. The call-up is replaced by recruits once Phase 5 lands." The owner's #568 answer ("Take the recommendations") covered Q-HUD-1, which quotes this. Does that decide D-C4 for Phase 5? If it does, what derives the rung? Possible inputs are the fronts without an armistice, units in contact, and the truces.
- Q-WAR-2. The UN ceasefire clock and the truces (D-C4; #218, whose ruling was "(b) This waits for D-C4";
war-1948.md§4). The impact plan's scope line reads "The UN ceasefire clock kept or retired (D-C4)", with no recommendation. The options:- (a) keep the 52-week clock;
- (b) retire it;
- (c) replace it with the sourced truce dates: the first truce 11 June to 8 or 9 July 1948 (the end date conflicts), the second from 18 July 1948, and the later cease-fires.
- Q-WAR-3. What a truce means for units (D-C4;
first_truceandsecond_truce). During a truce, are attacks refused, allowed at a cost, or allowed? Is movement allowed, and are reinforcements? The impact plan gives no recommendation. - Q-WAR-4. Events that set the rung (D-C4). The armistices'
sign(set_rung: 2) andhold_out(set_rung: 4), and the war events'set_rung. In the GDD loop, doesset_rungkeep acting, or is it read as a war-state change (a front's war ends or goes on)? The impact plan gives no recommendation beyond D-C4's. - Q-WAR-5. What "a war loss" is (D-B5, open; Phase 7 builds defeat). Recommendation (impact plan, D-B5): "Defeat: Money and Food exhausted for N turns, or a war loss." Phase 5 holds the state a war loss would read: a city lost, a strength threshold, a named place. The defeat itself is not built here.
- Q-CIV-3. Military actions and the national parameters. Sensitive (D-C1; the GDD's resources table: Social cohesion has "effects of military decisions and events" open, and International Support lists "military decisions and events" among its proposed influences;
war-1948.md§5, the pressure sequence: resolution 50's embargo, the British note and the 7 January 1949 air losses). Which military actions move International Support or Social cohesion, and how? Candidates: attacking during a truce, crossing a frontier, losses, prisoners held. The impact plan gives no recommendation.
PR 12: prisoners
Decided by the owner (15 October 2026): Q-POW-1, "§4.3 as written"; Q-POW-2, "Points per unit returned" (#375). Q-POW-3, "Sourced event card per front"; Q-POW-4, "As above, with a cost"; Q-POW-5, "Food cost; shortfall costs cohesion" (#375). Waits for: PR 8; Phase 2 PR 3 (the Food pool); Phase 1 PR 6 (the score). Sensitive throughout.
Goal: the impact plan §4.3, as written (Q-POW-1):
- only enemy combatant units, by surrender in combat, become prisoners;
- residents never do;
- prisoners are held with Food upkeep;
- they are not labour, Money, Arms or a bargaining resource;
- they are returned in the sourced exchanges after each armistice;
- the bonus comes at the return, and any loss while held is a cost;
- nothing on screen celebrates a capture.
Files: new Prisoners.cs; GameState.cs (PrisonersHeld, PrisonersReturned, spec §2.2, per front because each front returns on its own card; and the player's soldiers held, Q-POW-4), TurnResolver.cs (step 7 upkeep), Combat.cs (surrender adds to PrisonersHeld), new sourced exchange events, one per front (Q-POW-3), new PrisonersTests.cs, docs/rules/mvp.md. The Egypt card still needs a source for the start of its 21 days (war-1948.md §9 item 8); the answer does not settle it, and the card does not ship on a guessed date. Superseded by the owner's ruling (16 October 2026, #385): the card carries 9 March 1949, the end of the main exchange.
Rule IDs (proposed):
- R-POW-001: prisoners come only from a surrender in combat.
- R-POW-002: prisoners eat Food in step 7, a labelled design value per prisoner per turn (value: open (owner)). A shortfall never reduces the prisoners; it costs Social cohesion (amount: open (owner)) (Q-POW-5).
- R-POW-003: prisoners are never labour, Money, Arms, housing occupants or a resource any command or event can spend.
- R-POW-004: each front's prisoners are returned by a sourced event card for that front (Q-POW-3), and the points are scored then: a fixed number per population unit returned (Q-POW-2; value: open (owner)).
- R-POW-005: the player's soldiers held by the enemy are a count, returned at the same exchanges with no score effect, and they cost the player something each turn while held (Q-POW-4; the kind and amount of the cost: open (owner)).
Test-first steps:
-
PrisonersTests.OnlySurrenderTakesPrisoners(R-POW-001): no command and no event option raisesPrisonersHeld. This is a reflection test over every command kind and a loader check over every effect target. -
PrisonersTests.PrisonersAreNeverAResource(R-POW-003): for every command kind, a state with prisoners and one without give equal Money, Arms, Food (less upkeep), housing and jobs. -
PrisonersTests.NoScoreAtCapture(R-POW-004): the score is unchanged on the turn of a surrender. -
PrisonersTests.ScoredAtTheReturn(R-POW-004): scored on the turn its front's exchange card fires, per population unit returned. -
PrisonersTests.AFoodShortfallNeverReducesPrisoners(R-POW-002). -
PrisonersTests.AFoodShortfallCostsCohesion(R-POW-002). -
PrisonersTests.OwnSoldiersReturnWithNoScoreandPrisonersTests.OwnSoldiersCostWhileHeld(R-POW-005). - Mutate (score at capture), confirm the test fails, restore. Re-pin the goldens.
Golden impact: moves the runs that take prisoners. New golden mvp-captures (prisoners taken and returned), pinned here or in PR 13.
Unity: none here. The count shows in PR 16, with no celebratory text and no sound sting (§4.1 item 6, applied to captures by §4.3 item 4).
Owner questions for PR 12 (all sensitive)
- Q-POW-1. The §4.3 rule as written (no D-row; impact plan §4.3; GDD objective 1: "Earn bonus points ... for capturing enemy soldiers"). §4.3 sets four points: only combatants, by surrender; no reward for kills; the bonus at the return, with prisoners held on Food upkeep and not labour, Money or a bargaining resource; and wording that frames it as ending the fighting with fewer lives lost. The owner approved the impact plan "as the basis for Phase 1". Does that approval cover §4.3 for this phase, or does the owner confirm or change it now?
- Q-POW-2. Points per prisoner returned (GDD objective 1; D-B6 decided 100 points per objective, which does not cover this). Are points per prisoner, per group, or capped? The impact plan gives no recommendation.
- Q-POW-3. When each front's prisoners return (no D-row;
war-1948.md§6 and §9 item 8). The armistices give these terms:- Egypt: "begins within ten days after signing and is completed not later than twenty-one days following" (Art. IX; the start point of the 21 days is not stated);
- Lebanon and Syria: within 24 hours;
- Jordan: completed before signing. Should each return be a sourced event card, or a rule on the armistice's date? How is the Egypt start point settled? The impact plan says only "a sourced event; the dates need sources".
- Q-POW-4. The player's soldiers captured by the enemy (no D-row). Are they modelled? If so, what do they cost, and how do they come back? The impact plan gives no recommendation.
- Q-POW-5. Prisoners' Food, and a shortfall (§4.3: "Any loss while they are held is a cost"; D-C6). How much Food per prisoner per turn? What does a shortfall cost the player? This plan proposes that a shortfall never reduces the prisoners (R-POW-002), so that hunger can never be a mechanic. That is an engineering guard for the owner's review, not a decision.
PR 13: the war objective
Decided by the owner (15 October 2026): Q-OBJ-1 to Q-OBJ-4 ("Take all recommendations"; see the table below); Q-CIV-4's completion-card total, "A: Israeli total only" (#375). Waits for: PRs 10, 11 and 12; Phase 1 PR 6 (
objectives.yaml, the score, the timing bonus). Decided (D-B2, owner 14 October 2026): "Complete on the last armistice event", with "+5 points per month earlier than the historical date, capped at +60". The historical date is the Syria armistice, 20 July 1949 (armistice_syria.yaml; Avalon arm04). D-B6: 100 points per objective.
Goal: objective 1 ("Survive the War of Independence") completes on the turn the last armistice is signed. Its completion card carries the sourced date, image and account. It scores 100 points plus the timing bonus. The goldens mvp-war-first and mvp-captures are pinned.
Files: content/objectives.yaml (the war objective: the reference date 20 July 1949 with its sources), a card event (content/events/, Q-OBJ-3; it also carries the war's Israeli total of deaths only, Q-CIV-4, "A: Israeli total only", #375), Objectives.cs, EventSystem.cs (only if Q-OBJ-1 makes an armistice open early), ReferencePlayer.cs (the war-first policy), golden/*, scenarios/*, new WarObjectiveTests.cs, docs/rules/mvp.md, docs/determinism.md.
Rule IDs (proposed):
- R-OBJ-004: the war objective completes on the turn the last front's armistice is signed. The objective rule IDs R-OBJ-001 to R-OBJ-003 are Phase 1 PR 6's.
- R-WAR-005: what lets a front's armistice open earlier than its sourced date (Q-OBJ-1).
- R-WAR-006: a refused armistice (Q-OBJ-2).
- Alternate timelines (owner, 17 October 2026, #945;
docs/superpowers/plans/2026-10-17-alternate-timelines.md§A.4.9): if the re-offer is built as a separate event rather than the same card firing again, give itkind: consequenceand arejoin: armistice_<front>on its signing option, so the timeline shows the refusal and the return to the record.
- Alternate timelines (owner, 17 October 2026, #945;
- R-WAR-007: what a front's armistice does to its units (Q-OBJ-4).
Test-first steps:
-
WarObjectiveTests.CompletesOnTheLastArmistice(R-OBJ-004): in the historical run, the objective completes on the turn covering 20 July 1949 with 0 bonus points. -
WarObjectiveTests.AnEarlierEndEarnsTheCappedBonus(R-OBJ-004 with D-B2): 13 months early gives +60, not +65. -
WarObjectiveTests.ARefusedArmistice...(R-WAR-006). -
WarObjectiveTests.TheCardFiresOnce(the Phase 1 review focus 5, applied here). - The completion card states the Israeli total only, with no other side's total (Q-CIV-4, "A: Israeli total only", #375). It has
sources:with achecked:date, one value from Israeli official or mainstream sources (CONTENT_POLICY §1). The owner's proposed wording: "More than 6,000 Israelis were killed in the war, about one in a hundred of the Jewish population; more than 4,000 of them were soldiers." (owner's proposed wording, figures not yet verified; needs a sourced Israeli official value and a human check (§1, §2.6) before content). Value: open until a sourced Israeli figure is chosen. The card does not ship without a sourced one. - Goldens:
mvp-war-first(the reference player's war-first policy, stated in its comment) andmvp-captures(if not pinned in PR 12). Add each to the manifest, determinism.md and the history. - Mutate (complete on the first armistice), restore.
Golden impact: every golden that reaches July 1949 moves (the score). Two new goldens.
Unity: none beyond EditMode. The card uses the Phase 1 objective card path.
Owner questions for PR 13
- Q-OBJ-1. How the war can end earlier than history (D-B2, decided only on "complete on the last armistice event"; GDD objective 1: "bonus points for finishing the war earlier than its historical end"). The four armistice events are hard anchors on their sourced dates (24 February, 23 March, 3 April and 20 July 1949). As they stand, no play can end the war earlier, so the timing bonus can never be earned. What should open a front's armistice card earlier? For example: no enemy unit of that front left on the board, or the front's units held for N turns. Or should the cards keep their dates, so that the bonus is reachable only by some other rule? The impact plan gives no recommendation.
- Q-OBJ-2. A refused armistice (D-B2; the
hold_outoption). If the player refuses, when is the next chance? Does the war objective stay open to the MVP's end? The impact plan gives no recommendation. - Q-OBJ-3. The completion card (GDD "Historical events on objective completion"; impact plan §4.4). Is the card's event the Syria armistice of 20 July 1949, as D-B2 implies? Which image, under the event-image ruling (docs/event-images.md)? The impact plan gives no recommendation for the image.
- Q-OBJ-4. What a front's armistice does to units (D-B2, D-C4). On each front's armistice date, do that front's enemy units leave the board? Do the player's units on that front become free for other fronts, or are they bound by the agreement's lines (
content/map/armistice_hexes_1949.yaml, display only today)? The impact plan gives no recommendation.
PR 14: units from the state (Unity)
Decided by the owner (15 October 2026): Q-UI-3 ("Take all recommendations"; see the table below). Waits for: PR 4.
Then decided (owner, 18 Oct 2026, "Beri's defaults"; #588): The per-town clearance budget goes to Haifa and Tel Aviv only. It is one unit's clearing per town; each town's census floor drops by the houses that clearing takes, as measured in the PR (Haifa 40 to 35 on the #570 run; Tel Aviv's #652 floor of 24 by its measured amount). #570's workaround is lifted in the same PR: Carmeli goes back to Haifa, and the 8th Brigade is drawn at Tel Litvinsky again (
content/map/units_1948.yaml).
Goal: in the GDD loop, UnitRoster builds the tokens from State.Units, grouped per hex (spec §2.6). The sim hex is authoritative. UnitPlacer's one-hex offset stays only to clear town kits and roads. The legacy path (anchors, call-up) stays for the legacy loop until D-E1 deletes it. The token, badge, plinth, flag (#559), card and art hook are unchanged.
Files: UnitRoster.cs (a sibling builder from State.Units), UnitLayer.cs, UnitPlacer.cs, UnitData.cs, UnitCard.cs (it reads the unit's row for sources), unity/Assets/Tests/EditMode/UnitsInPlayTests.cs and new UnitsFromStateTests.cs, docs/units.md ("Units in play").
Rule IDs: none (presentation).
Test-first steps:
- EditMode
UnitsFromStateTests.OneTokenPerUnitOnItsHex: fails until the builder exists. -
UnitsFromStateTests.FiguresFollowTheAnswer: the figure count follows Q-UI-3. -
UnitsFromStateTests.ARebuildAfterAMoveKeepsTheSpotCache(with #563'sUnitSpotsFor: spots are re-placed only for moved units). - The WebGL
web_checkwith the current values. Screenshots of 15 May 1948 in English and Hebrew.
Golden impact: none (presentation).
Owner questions for PR 14
- Q-UI-3. A token's figure count (owner ruling, 2026-10-11: "The figure count comes from the call-up"; D-C4 retires the call-up). Should the 1, 2 or 3 figures follow the unit's strength, its type, or be fixed? The impact plan gives no recommendation.
PR 15: unit orders on screen (Unity)
Decided by the owner (15 October 2026): Q-UI-1 ("Take all recommendations"; see the table below); Q-UI-2, "Approve as listed", English and Hebrew (#375). Waits for: PRs 5, 7, 8 and 14.
Goal: the unit card gets orders (move, fortify, hold, attack, and artillery's orders once PR 9 exists). Today the card has none and links to the Defence screen. HexPicker picks targets. The reachable hexes and the attack preview come from sim helpers only (spec §2.6). SimBridge gains the Move and UnitOrder keys and their validation, with the reflection guard from Phase 1 PR 7. The new golden smoke-orders issues one unit order through the UI buttons (spec §3).
Files: UnitCard.cs, InfoPanelPresenter.cs, HexPicker.cs, SimBridge.cs (Key, Validate), a reachable-hex overlay in unity/Assets/Scripts/Map/, strings.en.yaml, strings.he.yaml, EditMode tests, tools/web_check.py (smoke-orders), docs/determinism.md.
Rule IDs: none (presentation). Every number comes from Movement.Reachable, the combat preview helper (PR 8), or another helper covered by an R- ID.
Test-first steps: EditMode tests that the card shows only the orders the sim's helper allows. A refused order shows the sim's reason. The reachable overlay equals Reachable on a fixture. The SimBridge reflection guard covers Move and UnitOrder. smoke-orders is recorded and its value added to determinism.md. The unit-type and order names in strings.en.yaml and strings.he.yaml are Q-UI-2's approved list, word for word. They are UI strings, so the *_review: agent-checked flag for Hebrew names in content/ (#610) and the human-review queue (#611) do not apply to them; the owner's approval is the person's read those rules ask for. The enemy forces' names follow Q-START-4 and are not part of this list. Screenshots in English and Hebrew. Keyboard access follows the a11y plan (docs/superpowers/plans/2026-10-14-a11y-keyboard-map.md).
Golden impact: smoke-orders is new. smoke5 moves only if the UI path changes.
Owner questions for PR 15
- Q-UI-1. The attack preview (D-G3; spec §2.6: "Every preview number (reachable hexes, cost and time) comes from a sim helper"). Should the card show the odds of an attack, which reveals the table, show only the strength ratio, or show nothing? The impact plan gives no recommendation.
- Q-UI-2. Names on screen (D-E3 decided "War of Independence"). The English and Hebrew names of the unit types (recruit, veteran soldier, artillery, armoured car, and the enemy forces per Q-START-4) and of the orders. The impact plan gives no recommendation.
PR 16: the Defence screen (Unity)
Decided by the owner (15 October 2026): Q-WAR-1 and Q-WAR-2 ("Take all recommendations"; see the table below); Q-UI-2, "Approve as listed", English and Hebrew (#375). Waits for: PRs 11 and 12.
Goal: in the GDD loop the Defence screen drops the call-up controls and the per-rung turn-length legend. It shows the war state (Q-WAR-1), the truce or clock (Q-WAR-2), the prisoners held and returned, and the player's soldiers held (Q-POW-4), without celebratory wording (§4.3 item 4). #218 is closed or re-scoped by its result.
Files: DefencePresenter.cs, HudModel.cs (the Security meter, per #568's Q-HUD-1 answer), strings.en.yaml, strings.he.yaml, EditMode tests, docs/units.md (the card no longer links to the Defence screen for orders).
Test-first steps: EditMode: no call-up control in the GDD loop. The prisoner line reads its state. #218's case (11 June to 8 July 1948) shows what Q-WAR-2 decided. Screenshots in English and Hebrew.
Golden impact: none, unless the smoke path changes.
PR 17: art for the new units
Decided (owner, 17 Oct 2026, "yes, model both the 65 mm "Napoleonchik" gun and the "sandwich" armoured truck (sourced in #724), in [Tal Heuberger's] style. They go into the model queue and must pass the asset load gate (stream after the first frame, slimmed, no LFS, credited).", #756): Q-ART-2. Decided by the owner (15 October 2026): Q-ART-1, "2+3": a neutral pennant now, replaced by a sourced emblem when one is found; Q-ART-3, "Named reviewer + owner sign-off" (#375), then re-ruled on 17 October 2026: Decided (owner, 17 Oct 2026, "Me (the owner)"; #756): the owner signs off each unit model (the 65 mm gun, the sandwich armoured truck, and later unit art) before it ships. Clarified (owner, 17 Oct 2026; #756): unit models by Tal Heuberger count as reviewed and approved. They need no separate owner sign-off, only the asset load gate, the licence and the provenance rows. Unit art from anyone else goes to the owner for sign-off. Waits for: nothing for sourcing. The
-shareablegate is not part of the chosen option; whether it enforces the review is left to the owner.
Goal: era-correct figures or models, sourced to the same standard as the IDF units (docs/units.md "Sources"; §4.2), for:
- artillery;
- the Israeli armoured car;
- each Arab force D-G1 names.
Each side's flag is drawn only where its design is sourced (#559). Any other side's token carries a neutral pennant until a sourced emblem for that force is found, which then replaces it (Q-ART-1). The art hook is unity/Assets/Resources/Units/Authored/<art type>. No caricature, slurs, or dehumanising names or poses. Civilian figures are never combat units (§4.2).
Files: unity/Assets/Scripts/Map/Units/UnitModels.cs, UnitFlags.cs, UnitPalette.cs, authored prefabs, ASSETS.yaml rows, docs/units.md (sources per uniform, vehicle and marking), EditMode tests (UnitShowcaseTests).
Rule IDs: none.
Test-first steps: EditMode tests that every unit type in unit_types.yaml has an art type with a model, and that no token of a side with no sourced flag draws a flag: it draws the neutral pennant, or the sourced emblem once one is in ASSETS.yaml. ASSETS.yaml rows are checked by check_repo.py. Art-checkpoint renders go in the PR.
Golden impact: none.
Owner questions for PR 17 (sensitive)
- Q-ART-1. Markers for sides with no sourced flag (§4.2; #559 draws a flag only where its design is sourced). What marks the ALA's and the local forces' tokens, and any state whose 1948 flag is not yet sourced? Options: no flag, a neutral pennant, or a sourced emblem. The impact plan gives no recommendation.
- Q-ART-2. Which vehicles and guns (D-G5; the GDD's Armored car (Israeli) and Artillery rows). Which sourced armoured car and gun does the model show? The impact plan gives no recommendation.
- Q-ART-3. The sensitivity review (§4.2: "A sensitivity review of the unit cards and art before shipping, as #226 already requires"). Who reviews, the owner or a named reviewer? Does the
-shareablegate enforce it, as it does for event images?
PR 18: closing the phase
Waits for: every PR above.
Goal: the measured WebGL frame budget with the full forces of both sides (spec §2.5: one Step under 16 ms in the WebGL player; a 48-turn golden under 200 ms on .NET), the Roadmap table (CONTRIBUTING rule 9), and the controller's playtest with a short ruling log, as each phase ends (impact plan §6).
Files: tools/web_check.py or the ?vprofile toggles (units), a perf test in sim/Statecraft.Sim.Tests, README.md, README.he.md, a ruling log in docs/.
Test-first steps:
-
PerformanceTests.AFullWarTurnStepsUnderBudgeton .NET, with the WebGL measurement in the PR. -
?vprofile&unitsprices the units layer. The values go in the PR.
Golden impact: none.
Not in Phase 5 (and why)
- Capture of settlements, and raid, occupy, deport, puppet and annex. Phase 6 (D-F2 to D-F4; D-F1 and D-F5 decided). Resolver step 3 stays a comment. Phase 5's only touch is Q-CIV-1, decided as "No entry until Phase 6", and it rewards nothing. The
displacementtag,DeportNeverDominatesand the capture dialog are Phase 6. - Defeat conditions (D-B5). Phase 7 builds them. Phase 5 asks only what a war loss reads (Q-WAR-5).
- Event effects on units, cities and projects (D-H2). Phase 7, except the unit orders the four 1948 operation cards give (Q-ENEMY-5, decided: "Cards give orders to units"; PR 10). Q-ARTY-3 leaves event grants of units to Phase 7.
- Minister effects on training or combat (D-H3). Phase 7.
- The 1956 war. Outside the MVP (#103).
- Air and naval combat, unless Q-UNIT-5 makes them units.
All owner questions, by D-row
"Sensitive" marks a question that touches civilians, prisoners, casualties, the Arab forces' depiction or sensitivity-reviewed events (CONTENT_POLICY §2.3 and §4; impact plan §4.1 to §4.3).
| Question | D-row | PR | Sensitive | Impact plan recommendation |
|---|---|---|---|---|
| Q-GEN-1 Phase 5 balance values in content | D-G2 to D-G6, D-C6, D-D9 values; ruling 2; #568 Q-CUT-1 | all | none | |
| Q-UNIT-1 unit scale; recruits into units | D-A1, D-A2 | 2, 3 | D-A1 (decided): formation scale, one token per formation | |
| Q-UNIT-2 veteran soldiers | D-D9 | 3 | after N turns of service; values for the owner | |
| Q-UNIT-3 Arms supply and use | D-G6, D-C6 (D-C2 decided) | 3 | from events and Money; training and attacks consume it | |
| Q-UNIT-4 source of combat strength | D-G3; CONTENT_POLICY §1 | 2 | none | |
| Q-UNIT-5 air and naval units | none (GDD roster) | 4 | none | |
| Q-UNIT-6 return to civilian life | GDD population role model; D-A2 | 3 | none | |
| Q-START-1 where starting positions live | D-G7; spec §2.2, §2.6 | 4 | §2.6: seed from units_1948.yaml, moved into the content hash |
|
| Q-START-2 starting forces in Open mode | D-G7 | 4 | none | |
| Q-START-3 draft rows in a shareable build; one strength value | CONTENT_POLICY §1, §2.1 | 1, 4 | none | |
| Q-START-4 which forces are units; their names | D-G1 (decided); §4.2 | 1, 4 | yes | §4.2: each force's own name, nothing generic |
| Q-MOVE-1 movement points and terrain | D-G2 | 5 | integer movement points; roads and rail cheaper; stack limit | |
| Q-MOVE-2 which roads count | D-G2, D-D7 | 6 | roads and rail cheaper | |
| Q-MOVE-3 stacking | D-G2 | 5 | stack limit per hex | |
| Q-MOVE-4 enemy ground, the frontier, the board | D-G2; GDD map extent | 5 | none beyond D-G2 | |
| Q-MOVE-5 transport | D-G2 | 5 | none beyond D-G2 | |
| Q-CIV-1 localities before Phase 6 | GDD "distinct states"; D-F2, D-F5 (Phase 6) | 5 | yes | none for Phase 5 (D-F2's is for Phase 6) |
| Q-HOLD-1 fortify | D-G4 | 7 | owner (balance) | |
| Q-HOLD-2 hold | D-G4 | 7 | owner (balance) | |
| Q-COMBAT-1 resolution | D-G3 | 8 | a deterministic strength-ratio table plus one RNG draw per engagement | |
| Q-COMBAT-2 targets, range, joint attacks | D-G3 | 8 | none beyond D-G3 | |
| Q-COMBAT-3 outcomes, surrender, advance | D-G3 | 8 | none beyond D-G3 | |
| Q-COMBAT-4 Arms per attack | D-G6 | 8 | attacks consume Arms | |
| Q-CIV-2 localities as targets of attacks and artillery | D-G3, D-G5; CONTENT_POLICY §4 | 8, 9 | yes | none |
| Q-CIV-4 how losses are shown | CONTENT_POLICY §2.3; §4.2, §4.3 | 8 | yes | casualties reported as soberly as the player's; kills never score |
| Q-ARTY-1 artillery's role | D-G5 | 9 | acquired through events and Arms; values for the owner | |
| Q-ARTY-2 the armoured car | D-G5 | 9, 17 | as Q-ARTY-1 | |
| Q-ARTY-3 acquisition by events now | D-G5, D-H2 | 9 | D-H2: yes, via new effect targets validated by the loader | |
| Q-ARTY-4 "Napoleonchik" on screen | GDD Artillery row | 9 | none | |
| Q-ENEMY-1 the Historical script | D-G7 | 10 | a sourced script where research exists, simple goals elsewhere | |
| Q-ENEMY-2 simple goals; RNG in the AI | D-G7 | 10 | as Q-ENEMY-1 | |
| Q-ENEMY-3 reinforcements | D-G7, D-G1 | 10 | as Q-ENEMY-1 | |
| Q-ENEMY-4 enemy supply | D-G6, D-C2 | 10 | none | |
| Q-ENEMY-5 the 1948 operation events and the units | D-G7, D-H2; D11; M4 D4(d) | 10 | yes | none |
| Q-WAR-1 the rung in the GDD loop | D-C4 | 11, 16 | rung derived from the war state; call-up replaced by recruits | |
| Q-WAR-2 the ceasefire clock and the truces | D-C4; #218 | 11, 16 | none ("kept or retired") | |
| Q-WAR-3 what a truce means for units | D-C4 | 11 | none | |
| Q-WAR-4 events that set the rung | D-C4 | 11 | none beyond D-C4 | |
| Q-WAR-5 what "a war loss" is | D-B5 | 11 | Money and Food exhausted for N turns, or a war loss | |
| Q-CIV-3 military actions and the national parameters | D-C1 | 11 | yes | none |
| Q-POW-1 the §4.3 rule as written | none (§4.3) | 12 | yes | §4.3 as written |
| Q-POW-2 points per prisoner returned | GDD objective 1; D-B6 does not cover it | 12 | yes | none |
| Q-POW-3 when each front's prisoners return | none; armistice texts | 12 | yes | a sourced event; the dates need sources |
| Q-POW-4 the player's soldiers captured | none | 12 | yes | none |
| Q-POW-5 prisoners' Food; a shortfall | §4.3; D-C6 | 12 | yes | any loss while held is a cost |
| Q-OBJ-1 how the war can end earlier | D-B2 (decided in part) | 13 | D-B2: complete on the last armistice event (decided); nothing on early | |
| Q-OBJ-2 a refused armistice | D-B2 | 13 | none | |
| Q-OBJ-3 the completion card and image | GDD objective cards; §4.4 | 13 | none for the image | |
| Q-OBJ-4 what an armistice does to units | D-B2, D-C4 | 13 | none | |
| Q-UI-1 the attack preview | D-G3; spec §2.6 | 15 | previews from sim helpers | |
| Q-UI-2 names on screen, English and Hebrew | D-E3 (decided) | 15, 16 | none | |
| Q-UI-3 a token's figure count | units-in-play ruling 2026-10-11; D-C4 | 14 | none | |
| Q-ART-1 markers for sides with no sourced flag | §4.2; #559 | 1, 17 | yes | none |
| Q-ART-2 which vehicles and guns | D-G5 | 17 | none | |
| Q-ART-3 the sensitivity review of cards and art | §4.2; #226 | 17 | yes | a sensitivity review before shipping |
Recommended answers for the open questions (PR 0, 15 October 2026)
Owner decision, 15 October 2026 (given in the coordinator's session, recorded on #375: https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6180592337): "Take all recommendations". Every row with a recommended answer is decided as recommended (38 rows). Sensitive and "owner pick" rows stay open (17 rows: Q-START-4, Q-CIV-1, Q-HOLD-1, Q-HOLD-2, Q-CIV-2, Q-CIV-3, Q-CIV-4, Q-ENEMY-5, Q-POW-1, Q-POW-2, Q-POW-3, Q-POW-4, Q-POW-5, Q-ART-1, Q-ART-2, Q-ART-3; and Q-UI-2, whose Hebrew goes to the owner's Hebrew sitting with Phase 2's Q-HUD-3, by the coordinator's ruling). The impact plan §5 records the D-rows this decides.
Owner decisions, 15 October 2026, on the sensitive rows (given in the coordinator's session, recorded on #375: https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183538544 and https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183586870): Q-START-4, Q-CIV-1, Q-CIV-2, Q-CIV-3, Q-CIV-4 (its card total re-ruled later: https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183762894), Q-ENEMY-5, Q-POW-1 to Q-POW-5, Q-ART-1 and Q-ART-3 (Q-ART-3 re-ruled on 17 October 2026), each quoted in its row below. Q-HOLD-1, Q-HOLD-2 and Q-UI-2 were decided later the same day (https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6184081266). Q-ART-2 was decided on 17 October 2026. Where an answer sets no amount, the row says "value: open (owner)".
These are recommendations for the owner, not decisions. Each one rests on the GDD, the impact plan, CONTENT_POLICY, the research (#419, #396, #570) or what the code does today, and prefers the smallest change. Two kinds of row carry no recommendation and say "owner pick":
- every question this plan marks sensitive: these list the options and one neutral line of context;
- questions with no basis to ground a default.
Where a row recommends a structure, its numbers enter content/ as labelled design values in the PR that adds them, as Q-GEN-1 recommends. The owner sets or accepts them in that PR's review.
Two rows the Phase 2 answers may already decide. #575 (Phase 2 PR 0) records the owner's "Take the recommendations" of 15 October 2026 as deciding D-G6 and D-C4 "as recommended".
- D-G6 reads "From events (sourced arms deals) and Money. Training and attacks consume it." That is the whole of Q-UNIT-3's supply question and Q-COMBAT-4's principle.
- D-C4 reads "The rung becomes derived (war state) and no longer sets turn length. The call-up is replaced by recruits once Phase 5 lands." That is Q-WAR-1's principle.
Decided (owner, 15 Oct 2026, "Take all recommendations"): both are treated as decided for Phase 5, since the text matches. What stays open is only what the rows do not say: the amounts, what a shortfall does, and what derives the rung. Those parts are answered in the table below.
| Question | Recommended answer | Why (one line) |
|---|---|---|
| Q-GEN-1 balance values in content | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Yes. Phase 5's numbers enter content/ as labelled design values in the PR that adds them, and DesignValuesTests lists them. |
It is the owner's Q-CUT-1 rule for Phase 1's numbers, and #575's reading 1 for Phase 2's. One rule for all balance numbers. |
| Q-UNIT-1 unit scale; recruits into units | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Option (a). A finished recruit cohort becomes one new unit at its city's settlement hex, and Strength counts population units (people_per_unit). |
It is the path R-TRAIN-003 already gives halutzim: one unit per group, conserved. D-A1's "one token per formation" holds, with the cohort as the formation the player raises. |
| Q-UNIT-2 veteran soldiers | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Promote after N turns of service (a design value). Combat does not count in Phase 5. | It is D-D9's recommendation as written, and the smallest rule. |
| Q-UNIT-3 Arms supply and use | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. (D-G6, decided on #568.) Arms comes from events and Money (Phase 2 PR 3). Training a recruit costs Arms, a design value. No Arms upkeep; Money upkeep per unit, a design value. An Arms shortfall refuses the training with a reason. | D-G6 names training and attacks as the uses, not upkeep. A refusal with a reason is R-TRAIN-001's pattern. |
| Q-UNIT-4 source of combat strength | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Option (a). A starting unit's Strength is its sourced strength, one value per CONTENT_POLICY §1, converted to population units. A trained unit takes its cohort's size. Combat multiplies Strength by a per-type design factor. |
The owner's #570 decision records strength for this use, and one scale for both sides avoids a second, invented number per unit. |
| Q-UNIT-5 air and naval units | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. They stay presentation-only tokens in Phase 5. | The GDD's roster has no air or naval unit, and #250 built them as presentation. |
| Q-UNIT-6 return to civilian life | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. No return in Phase 5. List it for Phase 7, with absorption after the armistices. | The GDD leaves it open, and no Phase 5 objective needs it. |
| Q-START-1 where starting positions live | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Option (a). The sim reads units_1948.yaml, which enters the content hash. No scenario_1948.yaml. |
It is impact plan §2.6's recommendation, and the owner's #570 decision puts the Arab rows, strength and echelon in this file. One file keeps one copy of each position. |
| Q-START-2 starting forces in Open mode | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. None. Phase 5 builds Historical mode only. | Open mode cannot start a game today (Simulation.NewGame throws "Open mode arrives with milestone M4"; SaveGame.cs:138). |
| Q-START-3 draft rows; one strength value | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. The rows the sim reads must be fact-checked before a shareable build carries them, enforced by the release gate. Each force's strength takes one value: from an Israeli official or mainstream source where one gives it, otherwise the value two of the note's sources agree on. |
CONTENT_POLICY §2.1 already asks every fact to be at least fact-checked, and the owner's "verify later" means before shipping. §1 sets the one-value rule. |
| Q-START-4 which forces; their names | Decided (owner, 15 Oct 2026, "Armies + ALA + local forces"; #375): option (a). Options were: (a) the five armies, the ALA and the local forces as units, each under its own name (§4.2); (b) as (a) without the local forces; (c) as (a) plus the Saudi, Sudanese and Yemeni contingents. | Context: arab-forces-1948.md §10 places the local forces only in Jerusalem's Old City and in Lydda and Ramla, inside towns. |
| Q-MOVE-1 movement points and terrain | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Integer movement points per unit type and an integer cost per biome. Lake and sea are impassable. The numbers are design values PR 5 proposes. | It is D-G2's recommendation, on the eight biomes hexes.json already holds. |
| Q-MOVE-2 which roads count | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Option (a). Only the corridors Phase 4 builds count. | Phase 4 already brings corridors into the sim. routes_1948.yaml is map-only, with traced geometry not built for movement. |
| Q-MOVE-3 stacking | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. A per-hex limit on one side's units, a design value. A hex never holds both sides' units: entering an enemy-held hex is an attack. | It is D-G2's "stack limit per hex", and one side per hex keeps combat's targets plain. |
| Q-MOVE-4 enemy ground, the frontier, the board | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. No zone of control. Units may enter any land hex on the board, and the 1948 control layer stays display-only. Localities are Q-CIV-1. | This is the smallest rule. The political cost of crossing a frontier is Q-CIV-3's, not a movement rule's. |
| Q-MOVE-5 transport | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. None in Phase 5. | D-G2's recommendation names only roads and rail as cheaper, and PR 6 covers them. |
| Q-CIV-1 localities before Phase 6 | Decided (owner, 15 Oct 2026, "No entry until Phase 6"; #375): option (a). Options were: (a) no entry to enemy-held localities' hexes until Phase 6; (b) entry with no change of state and no gain; (c) entry only to hexes with no residents. | Context: the GDD keeps "enemy combatants and settlement residents" as distinct states, and D-F2's rule for capture is Phase 6's. |
| Q-HOLD-1 fortify | Decided (owner, 15 Oct 2026, "(a) 1 turn, free, lost on move"; #375): option (a). The defence bonus: value: open (owner). Options were: (a) one turn to set, no cost, a defence bonus, lost on moving; (b) builds over N turns to a larger bonus; (c) as (b) with an Arms cost. | D-G4's recommendation is "Owner (balance)", and no source sets a value. |
| Q-HOLD-2 hold | Decided (owner, 15 Oct 2026, "(a) Own hex, no interception"; #375): option (a). Hold's effect: value: open (owner). Options were: (a) the unit's own hex only, no interception; (b) the ring around it, stopping enemy moves that enter it; (c) as (b) with a Money upkeep. | D-G4's recommendation is "Owner (balance)". |
| Q-COMBAT-1 resolution | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. A deterministic strength-ratio table plus one RNG draw per engagement. The table is a design value. | It is D-G3's recommendation. |
| Q-COMBAT-2 targets, range, joint attacks | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Adjacent hexes only. Several units may attack one hex together, with their strengths summed. The defender's biome and fortify modify the ratio. | This is the smallest rule on the hex grid that D-G3's ratio table needs. |
| Q-COMBAT-3 outcomes, surrender, advance | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Strength losses per the table. A losing defender retreats one hex. A unit at 0 is removed. A unit that must retreat and has no free hex surrenders. The attacker does not advance in the same turn. | Surrender then comes only from combatants cut off in combat (§4.3 item 1). With no advance, nothing resembles capture before Phase 6. |
| Q-COMBAT-4 Arms per attack | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. (D-G6, decided on #568.) Each attacking unit spends Arms, a design value. An attack with too little Arms is refused with a reason. | D-G6: "Training and attacks consume it". Refusal matches Q-UNIT-3. |
| Q-CIV-2 localities as targets | Decided (owner, 15 Oct 2026, "Enemy units only, no effect"; #375): option (b). Artillery is not excluded. Options were: (a) no hex with a locality's residents is a valid target; (b) enemy units on such a hex may be attacked, with no effect on residents (R-COMBAT-005); (c) as (b), with artillery excluded. | Context: in 1948 the forces of both sides held positions in and around towns (arab-forces-1948.md §10; war-1948.md §3). |
| Q-CIV-3 military actions and the national parameters | Decided (owner, 15 Oct 2026, "No effect in Phase 5"; #375): option (a). Options were: (a) none in Phase 5; (b) attacking during a truce and crossing the Mandate frontier lower International Support; (c) as (b), with losses also lowering Social cohesion. | Context: war-1948.md §5 dates outside pressure to resolution 50's embargo, the British note and the 7 January 1949 air losses. |
| Q-CIV-4 how losses are shown | Decided (owner, 15 Oct 2026, "2+3"; #375): people lost per engagement in the Why line (b). Re-ruled (owner, 15 Oct 2026, "A: Israeli total only"; #375): the war's completion card shows the Israeli total only. Value: open until a sourced Israeli figure is chosen (CONTENT_POLICY §1; a human checks the sources, §2.6). Options were: (a) strength only, with no count of people; (b) people per engagement in the Why line; (c) as (a), plus a sourced historical total on the war's completion card. | Context: impact plan §4.2 asks that casualties be reported as soberly as the player's own, and §4.3 that kills never score. |
| Q-ARTY-1 artillery's role | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Artillery adds its strength to an attack on a hex within its range (a design value). It never attacks alone or holds ground. It spends Arms when it fires. | This is the smallest "separate combat role" (the GDD's Artillery row) on the combat rule above. |
| Q-ARTY-2 the armoured car | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. A recruit-like unit with more movement points and its own combat factor (design values). No other special rule. | This is the smallest rule that gives it the GDD's "armor, movement and combat" difference. |
| Q-ARTY-3 acquisition by events; D-H2 | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Acquire them through training with Arms and Money in Phase 5. Leave event grants to Phase 7 (D-H2). Artillery and the armoured car become Train tracks at a military camp: a crew of civilians, plus an Arms and Money cost as design values. |
This reconciles D-G5's "through events and Arms" with no new effect target. Sourced arms deals already reach the units through Arms (D-G6, Phase 2). D-H2 then stays whole in Phase 7. |
| Q-ARTY-4 "Napoleonchik" on screen | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Show the GDD's class name, "Artillery". The card names the gun type only once a source gives it. | The GDD calls "Napoleonchik" a working label. A generic name needs no source. |
| Q-ENEMY-1 the Historical script | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Script the positions of 15 May and 11 June 1948 that two sources agree on (arab-forces-1948.md §10). After 11 June, or when a scripted move cannot be made, the unit follows the simple goals. |
Those are the only dates with two-source positions. The fallback never invents a position (§4.2). |
| Q-ENEMY-2 simple goals; RNG in the AI | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Hold the current hex, fortified, and attack an adjacent player unit when the strength ratio meets a design threshold. No RNG in the AI. | No RNG keeps RNG draws to combat only, documented per engagement. This is the smallest goal set. |
| Q-ENEMY-3 reinforcements | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. None in Phase 5 until a dated per-army figure is chosen under CONTENT_POLICY §1. | The note finds no country-by-country figure dated 11 June. Its later per-army table is the CIA's of 27 July, not an Israeli source. |
| Q-ENEMY-4 enemy supply | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. None. Enemy units have no Arms or Food pools. | D-C2's pools are the player's, and an enemy economy would need data no note gives. |
| Q-ENEMY-5 the 1948 operation events and the units | Decided (owner, 15 Oct 2026, "Cards give orders to units"; #375): option (c). The four cards' sensitivity review resets (PR 10). Which units, whose, and which orders: open (owner). Options were: (a) they stay as event cards beside the combat, unchanged; (b) they open only when the units' state allows; (c) they give orders to units. | Context: (b) and (c) change the cards, which resets their sensitivity review (DECISIONS D11; M4 plan D4(d)). |
| Q-WAR-1 the rung in the GDD loop | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. (D-C4, decided on #568.) The rung stays the value the war events set (set_rung on the truce, operation and armistice cards). The player's security order and call-up are refused in the GDD loop. |
The events already carry the war state, so this adds no rule. D-C4's turn-length half was done at cutover. |
| Q-WAR-2 the ceasefire clock and the truces | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Option (b). Retire the 52-week clock, and model the truces under Q-WAR-3. | rules.yaml sets the clock "long enough that the historical armistice events end the war first", so it never binds. Retiring it ends #218's contradiction. |
| Q-WAR-3 what a truce means for units | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. From accepting first_truce until the turn covering 8 July 1948, and from accepting second_truce until the turn covering 15 October 1948, attacks are refused with "a truce is in force". Movement is allowed. |
These are the sourced dates (war-1948.md §4: the MFA chronology). The player accepted the truce on the card, so the sim honours it. |
| Q-WAR-4 events that set the rung | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. set_rung keeps acting (see Q-WAR-1). |
This is the smallest change, and no event file changes. |
| Q-WAR-5 what "a war loss" is | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Enemy units hold the hex of one of the player's GDD cities at turn end. Phase 7 reads it for D-B5. | The cities are the state the player builds. This is the least invented reading of "a war loss". |
| Q-POW-1 the §4.3 rule as written | Decided (owner, 15 Oct 2026, "§4.3 as written"; #375): option (a). Options were: (a) §4.3 as written; (b) §4.3 with changes the owner names; (c) no prisoner mechanic, which drops the capture bonus from objective 1. | Context: the GDD's objective 1 names a bonus "for capturing enemy soldiers", and §4.3 places it at the return. |
| Q-POW-2 points per prisoner returned | Decided (owner, 15 Oct 2026, "Points per unit returned"; #375): option (a). Points per unit: value: open (owner). Options were: (a) a fixed number of points per population unit returned; (b) the same, capped; (c) a flat bonus for any return. | Context: D-B6's 100 points is per objective, and it does not cover prisoners. |
| Q-POW-3 when each front's prisoners return | Decided (owner, 15 Oct 2026, "Sourced event card per front"; #375): option (a). The Egypt card's start point still needs a source (superseded: the owner ruled 9 March 1949 for the card, 16 Oct 2026, #385). Options were: (a) a sourced event card per front; (b) a rule on each armistice's date; (c) as (a), with Egypt's start point settled first. | Context: the armistices give Lebanon and Syria 24 hours, Jordan "completed before signing", and Egypt 21 days from an unstated start (war-1948.md §6, §9 item 8). |
| Q-POW-4 the player's soldiers captured | Decided (owner, 15 Oct 2026, "As above, with a cost"; #375): option (c): counted and returned at the exchanges, with no score effect, plus a cost while held. The cost's kind and amount: value: open (owner). Options were: (a) not modelled; (b) a count that returns at the exchanges, with no score effect; (c) as (b), with a cost while held. | Context: the armistice articles cover both sides' prisoners. |
| Q-POW-5 prisoners' Food; a shortfall | Decided (owner, 15 Oct 2026, "Food cost; shortfall costs cohesion"; #375): option (a). A shortfall never reduces the number of prisoners (R-POW-002). Food per prisoner and the cohesion cost: value: open (owner). Options were: (a) a Food cost per prisoner per turn, and a shortfall costs Social cohesion; (b) as (a), with the shortfall costing International Support; (c) no Food cost. | Context: §4.3 says "any loss while they are held is a cost". R-POW-002's guard (a shortfall never reduces prisoners) is proposed in every option. |
| Q-OBJ-1 how the war can end earlier | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Keep the bonus, and let each front's armistice open early. Do not drop it. Each armistice card stays hard-anchored on its sourced date, which becomes the latest it can come. It may also come earlier, as a soft event, on the first turn on or after 16 November 1948 that the front has been quiet for N turns (a design value): no engagement with that front's units. The fronts follow the agreements' parties: Egypt, Lebanon, Syria, and Jordan with Iraq (the Jordan agreement takes over the Iraqi sector, Art. VI). The ALA and the local forces belong to no front. This needs a new event key, front_quiet, built in PR 13 (R-WAR-005). |
The GDD's objective 1 and D-B2 (decided) both reward finishing earlier, so dropping the bonus would contradict the design of record, and a goal that cannot be earned is a bug. Resolution 62 of 16 November 1948 called the armistice talks (all four preambles cite it), so it is the sourced floor. That floor is about 8 months before 20 July 1949, so the bonus stays under the +60 cap. |
| Q-OBJ-2 a refused armistice | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. The card comes back on the next turn its front has again been quiet for N turns, and before its sourced date. The objective stays open until it is signed or the MVP ends. | This reuses Q-OBJ-1's rule. The hold_out option keeps its existing cost. |
| Q-OBJ-3 the completion card and image | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. The card's event is the Syria armistice, 20 July 1949. The image is an archival photograph of a signing that meets the event-image ruling (public domain, CC0 or CC BY; not GPO). If none is found, the card shows no photograph. | D-B2 completes the objective on the last armistice, and Avalon arm04 dates it. docs/event-images.md sets the image rule. |
| Q-OBJ-4 what an armistice does to units | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. On a front's armistice, that front's units leave the board. The player's units are free to move. The armistice lines stay display-only. | This is the smallest rule. The agreements withdraw and reduce the forces (Egypt Art. VII; Lebanon within 10 days; war-1948.md §6). |
| Q-UI-1 the attack preview | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. Show the strength ratio and the table's outcome bands for it, from a sim helper. | The game already shows each event option's effects before the choice (D-H1's recommendation), and spec §2.6 asks every preview number to come from the sim. |
| Q-UI-2 names on screen | Decided (owner, 15 Oct 2026, "Approve as listed"; #375): the English and Hebrew below. English: Recruit, Veteran soldier, Artillery, Armoured car; Move, Fortify, Hold, Attack. Hebrew: טירון, חייל ותיק, ארטילריה, שריונית; תנועה, ביצור, החזקה, התקפה. The owner approved the Hebrew. | These are the GDD's roster terms in the repo's British spelling. The owner is the Hebrew reviewer. |
| Q-UI-3 a token's figure count | Decided (owner, 15 Oct 2026, "Take all recommendations"): as recommended. 3 figures at two thirds or more of the type's full strength, 2 at a third or more, 1 below that. | It keeps the 1 to 3 figures the call-up drove, and it shows losses on the map. |
| Q-ART-1 markers for sides with no sourced flag | Decided (owner, 15 Oct 2026, "2+3"; #375): a neutral pennant now (b), replaced by a sourced emblem when one is found (c). Options were: (a) no flag; (b) a neutral pennant; (c) a sourced emblem per force, once found. | Context: #559 draws a flag only where its design is sourced, and only Israel's is sourced today. |
| Q-ART-2 which vehicles and guns | Decided (owner, 17 Oct 2026, "yes, model both the 65 mm "Napoleonchik" gun and the "sandwich" armoured truck (sourced in #724), in [Tal Heuberger's] style. They go into the model queue and must pass the asset load gate (stream after the first frame, slimmed, no LFS, credited).", #756): model both named assets, subject to the stated asset load gate. | PR 17's sourcing is #724. |
| Q-ART-3 the sensitivity review | Decided (owner, 15 Oct 2026, "Named reviewer + owner sign-off"; #375), then re-ruled on 17 Oct 2026: Decided (owner, 17 Oct 2026, "Me (the owner)"; #756): the owner signs off each unit model (the 65 mm gun, the sandwich armoured truck, and later unit art) before it ships. Clarified (owner, 17 Oct 2026; #756): unit models by Tal Heuberger count as reviewed and approved. They need no separate owner sign-off, only the asset load gate, the licence and the provenance rows. Unit art from anyone else goes to the owner for sign-off. The -shareable gate (part of (c)) is not chosen; whether it enforces the review is left to the owner. Options were: (a) the owner reviews every card and model; (b) a reviewer the owner names, with the owner's sign-off; (c) as (a), with the -shareable gate enforcing it, as it does for event images. |
Context: #226 already requires the review, and §4.2 asks for it before shipping. |
Self-review notes
- Spec §6 Phase 5 scope, mapped to PRs:
- recruits, veteran soldiers, artillery and armoured cars with an Arms cost and upkeep: PRs 2, 3, 9;
- movement with terrain, roads and stacking: PRs 5, 6;
- fortify, hold and attack: PRs 7, 8;
- combat resolution: PR 8;
- the Arab forces plus D-G1's answer: PRs 1, 4;
- the enemy AI with a Historical script: PR 10;
- the ceasefire clock kept or retired: PR 11;
- prisoners: PR 12;
- the war objective: PR 13;
- the roster reads
State.Units: PR 14; - the call-up retired: PR 11.
- Spec §6 Phase 5 tests:
- path determinism: PR 5;
- combat RNG draw-count: PR 8;
- prisoners: PR 12;
mvp-war-firstandmvp-captures: PRs 12 and 13;- the WebGL frame budget: PR 18.
- #385's done-when adds the sensitivity review of the unit cards and art: PR 17, Q-ART-3.
- No value is set in this plan, and no D-row is decided. The one engineering guard proposed beyond the spec is R-POW-002: a Food shortfall never reduces prisoners. The owner's Q-POW-5 answer keeps it: "Food cost; shortfall costs cohesion", and a shortfall never reduces the number of prisoners (#375).
- Checked against
mainatb04001e2:- the resolver's step 1 to 3 comment;
UnitandCity.RecruitsinGddState.cs;GameState.Units,Scoreand the hash sections;- the security code and the clock in
SecuritySystem.cs; - the four armistice events and their dates;
- the 15 rows of
units_1948.yaml; - the board's extent in
hexes.json; - the two research notes.