A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
docs(plan): record Q-HOLD-1, Q-HOLD-2 and Q-UI-2 in the Phase 5 plan (refs #375) (#615)
Eyal Golan1e4c8bb6d127
diff --git a/docs/superpowers/plans/2026-10-15-gdd-phase-5.md b/docs/superpowers/plans/2026-10-15-gdd-phase-5.mdindex f45a7c2f1..62a071d98 100644--- a/docs/superpowers/plans/2026-10-15-gdd-phase-5.md+++ b/docs/superpowers/plans/2026-10-15-gdd-phase-5.md@@ -212,7 +212,9 @@ On `main` (15 October 2026, `b04001e2`):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](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183538544), [#375](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183586870)) in that table, and a later #375 comment ([#375](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183762894)) 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 are still open, so PR 7 still waits, and PRs 15, 16 and 17 wait on them. The impact plan §5 and #385's banner are not updated by it.+A second PR 0 (15 October 2026) records the owner's sensitive picks from two #375 comments ([#375](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183538544), [#375](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183586870)) in that table, and a later #375 comment ([#375](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183762894)) 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](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6184081266), and rewrites the banners and tasks of PRs 7, 15 and 16. Q-ART-2 stays open until PR 17's sourcing names 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, <date>):** ..." 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.@@ -435,18 +437,18 @@ A second PR 0 (15 October 2026) records the owner's sensitive picks from two #37## PR 7: fortify and hold-> **Waits for the owner:** Q-HOLD-1, Q-HOLD-2. **Waits for:** PR 2.+> **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](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6184081266)). 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 with the owner's cost, duration, persistence and effect. The command is free (D-A6).+**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, unless the owner says otherwise.-- **R-ORDER-002**: fortify's build-up and benefit (Q-HOLD-1).-- **R-ORDER-003**: hold's protection area and interception (Q-HOLD-2).+- **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.FortifyBuildsUpOverTurns` (R-ORDER-002), `OrdersTests.HoldIntercepts...` (R-ORDER-003, as answered), a save round-trip, `CommandGuardTests`. Mutate, restore.+**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).@@ -728,7 +730,7 @@ A second PR 0 (15 October 2026) records the owner's sensitive picks from two #37## PR 15: unit orders on screen (Unity)-> **Waits for the owner:** Q-UI-2 (the Hebrew is still open). **Decided by the owner (15 October 2026):** Q-UI-1 ("Take all recommendations"; see the table below). **Waits for:** PRs 5, 7, 8 and 14.+> **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](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6184081266)). **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).@@ -736,7 +738,7 @@ A second PR 0 (15 October 2026) records the owner's sensitive picks from two #37**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. Screenshots in English and Hebrew. Keyboard access follows the a11y plan (`docs/superpowers/plans/2026-10-14-a11y-keyboard-map.md`).+**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.@@ -749,7 +751,7 @@ A second PR 0 (15 October 2026) records the owner's sensitive picks from two #37## PR 16: the Defence screen (Unity)-> **Waits for the owner:** Q-UI-2 (the Hebrew is still open). **Decided by the owner (15 October 2026):** Q-WAR-1 and Q-WAR-2 ("Take all recommendations"; see the table below). **Waits for:** PRs 11 and 12.+> **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](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6184081266)). **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.@@ -879,7 +881,7 @@ Each side's flag is drawn only where its design is sourced (#559). Any other sid> **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, each quoted in its row below. Still open: Q-HOLD-1, Q-HOLD-2, Q-ART-2 and Q-UI-2. Where an answer sets no amount, the row says "value: open (owner)".+> **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, 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). Still open: Q-ART-2. 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;@@ -912,8 +914,8 @@ Where a row recommends a structure, its numbers enter `content/` as labelled des| 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](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183538544)):** 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 | **Open: owner pick.** (balance). Options: (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 | **Open: owner pick.** (balance). Options: (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-HOLD-1 fortify | **Decided (owner, 15 Oct 2026, "(a) 1 turn, free, lost on move"; [#375](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6184081266)):** 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](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6184081266)):** 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. |@@ -945,7 +947,7 @@ Where a row recommends a structure, its numbers enter `content/` as labelled des| 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 | **Open: owner pick.** English: Recruit, Veteran soldier, Artillery, Armoured car; Move, Fortify, Hold, Attack. Hebrew: טירון, חייל ותיק, ארטילריה, שריונית; תנועה, ביצור, החזקה, התקפה. **Owner confirms the Hebrew.** | These are the GDD's roster terms in the repo's British spelling. The owner is the Hebrew reviewer. |+| Q-UI-2 names on screen | **Decided (owner, 15 Oct 2026, "Approve as listed"; [#375](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6184081266)):** 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](https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183586870)):** 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 | **Open: owner pick.** After PR 17's sourcing. Options: the vehicles and guns that PR 17's sources tie to the IDF in 1948. | No research note yet names the models. |