A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
docs(gdd): the cutover/resource-layer section, and D-E5 + D-B5 decided (refs #532) (#580)
agamrafaeli-instinctd8404fa6c764
diff --git a/docs/gdd/cutover-resource-layer.md b/docs/gdd/cutover-resource-layer.mdnew file mode 100644index 000000000..62a67cbe2--- /dev/null+++ b/docs/gdd/cutover-resource-layer.md@@ -0,0 +1,55 @@+# The cutover and the resource layer++## Player story++As a player of the MVP, I want the real game to switch to the GDD loop with monthly turns and the GDD's five resources moving on screen, so that from the cutover on, the game I play is the MVP's game (the Phase 2 plan [S2]; GDD "MVP scope" [S1]).++## Rules++- The cutover sets `systems.loop: gdd` and monthly `turn_lengths` in the real `content/eras.yaml` and `content/rules.yaml`, so the real game runs `TurnResolver` and saves name their ruleset `gdd-0.1` (the plan's cutover PR [S2]). It starts after the first phase's remaining PRs merge (#382).+- The cutover re-pins every golden once; after it, every PR that changes an MVP rule re-pins the goldens it moves in the same PR and says why (the spec, §3 [S2]).+- The legacy loop is not kept runnable after the cutover (D-E1 [S2]), and old saves are refused with a clear message (D-E4 [S2]).+- Money is the Treasury, in IL millions, and every GDD cost and income moves it (the plan's Money PR [S2]). Debt and foreign currency stay internal, under Money, at least through the cutover, and are hidden if they confuse (D-C3, decided 15 October 2026 [S2]).+- A GDD cost above the Treasury is still paid and the shortfall moves to debt: the owner allowed borrowing for training and pioneer work, and the plan reads this as applying to every GDD cost (D-C3, decided 15 October 2026 [S2]; proposed R-MONEY-003; the plan's reading [S2]).+- Food and Arms are national pools, whole numbers (D-C2, decided 15 October 2026 [S2]). Arms comes from sourced arms-deal events and from Money, and training and attacks consume it (D-G6, decided 15 October 2026 [S2]).+- Social cohesion is the `morale` indicator on its zero-to-one scale, shown to the player as Social cohesion, its thresholds as situations, and International Support is the `intl_standing` indicator on its zero-to-one scale, under its player name (D-C1, decided 15 October 2026 [S2]; proposed R-NAT-001 and R-NAT-003).+- An event option's effects may target Money, Food, Arms, Social cohesion and International Support; any other target is a load error (proposed R-EFX-001 [S2]). An option tagged `holocaust`, `terror`, `massacre` or `war-casualties` cannot raise any of the five resources or foreign currency unless the same option carries a matching cost (the sensitive-option answer of 15 October 2026 [S2]; proposed R-EFX-002). The owner chose to add a real cost: the check is a net of zero or less across the five resources, with the cost falling on a different resource than the gain (owner, 15 October 2026 [S3]; the plan [S2]).+- The historical run has at most six months without any event, and at most two months in wartime, the full-war level of the war state counting as wartime (owner, 15 October 2026 [S3] and [S4]; the gap rule, docs/m3-rulings.md). Five war event cards are rewritten as decisions taken during or after the event, and the first truce and Rhodes cards are accepted as arriving late (`Q-CUT-3`, "Mixed" [S2]). The Altalena card opens on 15 June 1948 without the Kfar Vitkin clause, and the Ten Days card is rewritten (the owner on #567, recorded in the plan [S2]). Cards whose text changed go back to `fact-checked` until the owner re-reviews them (`Q-CUT-4`, decided 15 October 2026 [S3]).+- Every balance number lives in `content/`, tagged on its line as a design value, not a historical figure, and one test lists them all, so no number slips in untagged (the design-values answer of 15 October 2026 [S2]). The numbers themselves stay the owner's to set or accept in review.+- The cabinet and Attention stay; coalition is optional with no collapse; the budget is optional; policies are internal; diplomacy is deferred (D-C5 [S2]).++## Data touched++- `content/eras.yaml` and `content/rules.yaml`: `systems.loop: gdd` and monthly `turn_lengths` (the plan, PR 1 [S2]).+- `content/` balance lines: each tagged `# DESIGN VALUE: owner-set balance, not a historical figure` (Q-CUT-1 [S2]).+- `GameState`: the new Food and Arms pools; `GameState.Cohesion` and its hash line go as cohesion becomes `morale` under the player name (the plan, PR 4 [S2]).+- `model.yaml`: player names and the effects web for the two national indicators (the plan, PR 4 [S2]).+- The event-effect loader: the five allowed targets (proposed R-EFX-001 [S2]).+- The HUD: the existing meters stay (`Q-HUD-1`, decided 15 October 2026 [S3]); the five resources are shown, and approval appears as Public support (`Q-HUD-2`, decided 15 October 2026 [S3]). The Hebrew words are כסף, מזון, נשק and תמיכה בינלאומית, with Social cohesion staying לכידות חברתית (`Q-HUD-3` and `Q-MONEY-4`, decided 15 October 2026 [S4]).++## Done when++- This file passes `uv run scripts/oss/gdd_lint.py`.+- Every rule above names its source: a decided row of #375, the GDD, or the phase's plan.++## Out of scope++- Upkeep: none until the third phase, then the values enter `content/` as labelled design values (`Q-MONEY-2`, decided 15 October 2026 [S3]; D-C6 [S2]).+- The sensitive options' real costs: the Altalena, Bernadotte and reparations options each get one (owner, 15 October 2026 [S3]); each amount is a labelled design value set in `#577`; the reparations claim's cost falls on Money (owner, 15 October 2026 [S4]).+- D-B3 and D-B4: moved to Phases 3 and 4 (owner, 15 October 2026 [S5]).+- The war objective, prisoners and the ceasefire clock (Phase 5).+- Defeat: built in the final phase, with the counter set then (`Q-GOV-2`, decided 15 October 2026 [S3]); what "Money exhausted" means now that borrowing is allowed stays open.++## Sources++- [S1] The game design of record, docs/GDD.md+- [S2] GDD v0.1 impact analysis and phased plan, section 5, docs/superpowers/specs/2026-10-12-gdd-v0.1-impact-and-plan.md, with the owner's answers of 15 October 2026 recorded by #575; and the Phase 2 plan, docs/superpowers/plans/2026-10-14-gdd-phase-2.md+- [S3] The owner's phase answers announced on #375, 15 October 2026, https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6180592337, checked 2026-10-15+- [S4] The owner's decisions recorded on #375, 15 October 2026, https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6183538544, checked 2026-10-15+- [S5] The owner's answers on #375, 15 October 2026, https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6178976670, checked 2026-10-15++## Open questions++- No Phase 2 plan question is open (owner, 15 October 2026 [S3] and [S4]); the plan's table records the decided rows (`Q-CUT-4` to `Q-CUT-8`, `Q-POOL-2/4/5`, `Q-NAT-2/3/5`, `Q-EFX-1/3`, `Q-GOV-1/2`, `Q-HUD-1` to `Q-HUD-3`, `Q-MONEY-2` and `Q-MONEY-4`) [S2], `Q-HUD-3` and `Q-MONEY-4` included, as merged by #604.+- D-C6: the balance values themselves. Each enters `content/` as a labelled design value for the owner to set or accept in review (decided 15 October 2026 [S2]).+- D-B3 (the railway card's reference date) and D-B4: open, moved to Phases 3 and 4 [S5].diff --git a/docs/gdd/ministers-events-end.md b/docs/gdd/ministers-events-end.mdindex 51a39bb1c..700f01c7b 100644--- a/docs/gdd/ministers-events-end.md+++ b/docs/gdd/ministers-events-end.md@@ -2,12 +2,13 @@## Player story-As a player of the MVP, I want the game to run its events and my chosen ministers through to an end screen on 1 January 1952 [S2], so that a full game resolves into a score and its historical completion cards (GDD "MVP scope" and "Historical events on objective completion" [S1]).+As a player of the MVP, I want the game to run its events and my chosen ministers through to an end screen on 15 January 1952 [S2], so that a full game resolves into a score and its historical completion cards (GDD "MVP scope" and "Historical events on objective completion" [S1]).## Rules-- The MVP runs 44 turns (monthly), from 15 May 1948 to 1 January 1952 (D-B1 [S2]); the final turn's length is D-E5, open [S2]. The GDD text still says "approximately 48 turns" [S1]; the owner settled 44 turns [S2].-- Objective cards and scoring belong to the first phase (#379, `objectives-and-score.md`; D-B2, D-B6 [S2]) and are not restated here. This section covers only what the final phase adds: every card complete, the end screen (D-H4, open), defeat handling (D-B5, open), the events (D-H1, D-H2, open) and the ministers (D-H3, open) [S2].+- The MVP runs 44 turns (monthly), from 15 May 1948 to 15 January 1952: D-B1 fixes the start and the monthly grid [S2], and the owner ended the MVP on 15 January 1952, keeping the 15th grid with no adjusted turn (D-E5, decided 15 October 2026 [S2]). The GDD text still says "approximately 48 turns" [S1]; the owner settled 44 turns [S2].+- Objective cards and scoring belong to the first phase (#379, `objectives-and-score.md`; D-B2, D-B6 [S2]) and are not restated here. This section covers only what the final phase adds: every card complete, the end screen (D-H4, open), defeat (D-B5, decided 15 October 2026 [S2]), the events (D-H1, D-H2, open) and the ministers (D-H3, open) [S2].+- Defeat: not all objectives are required to finish. The game is lost when Money and Food are exhausted for several turns in a row or on a war loss, and coalition collapse is off in the MVP (D-B5, decided 15 October 2026 [S2]). The defeat is built in this phase, with the counter set then (`Q-GOV-2`, decided 15 October 2026 [S4]). A war loss is enemy units holding the hex of one of the player's cities at turn end (`Q-WAR-5`, decided 15 October 2026 [S4]); what "Money exhausted" means now that borrowing is allowed stays open.- The war-survival objective completes on the last armistice event, the Syria-Israel agreement of 20 July 1949 (D-B2 [S2]; [S3]). The four signings were Egypt on 24 February 1949, Lebanon on 23 March 1949, Jordan on 3 April 1949 and Syria on 20 July 1949 [S3].- The existing cabinet and Attention stay (D-C5 [S2]). Minister roles, candidates and effects are D-H3, open [S2].@@ -35,10 +36,11 @@ As a player of the MVP, I want the game to run its events and my chosen minister- [S1] The game design of record, docs/GDD.md- [S2] GDD v0.1 impact analysis and phased plan, sections 5 and 6, docs/superpowers/specs/2026-10-12-gdd-v0.1-impact-and-plan.md- [S3] The 1949 armistice layer, content/map/armistice_hexes_1949.yaml (signing dates per agreement)+- [S4] The owner's phase answers announced on #375, 15 October 2026, https://github.com/eyalgolan/statecraft-israel/issues/375#issuecomment-6180592337, checked 2026-10-15## Open questions- Minister roles, candidates and effects (D-H3); event frequency and caps (D-H1); event effects on units, cities and projects (D-H2).-- Bonus amounts, the timing formula's remaining parts, defeat conditions and whether all three objectives are required to finish (GDD "MVP completion rules" [S1]).-- D-E5: the last turn. A 1 January 1952 end gives a 17-day final turn; the options are 15 January 1952 or a monthly grid on the 1st [S2].+- Bonus amounts and the timing formula's remaining parts (GDD "MVP completion rules" [S1]).+- What "Money exhausted" means for defeat now that borrowing is allowed (D-B5 follow-up [S4]).- The GDD's "approximately 48 turns" [S1] against the decided 44 turns [S2]: a one-line GDD fix for the owner.