A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
docs: M4 plan re-review fixes: inert code before batched golden moves (#48)
eyalgolana7ad10b0bcdd
diff --git a/docs/superpowers/plans/2026-10-10-m4-plan.md b/docs/superpowers/plans/2026-10-10-m4-plan.mdindex d5c96fc96..19c8fe0ad 100644--- a/docs/superpowers/plans/2026-10-10-m4-plan.md+++ b/docs/superpowers/plans/2026-10-10-m4-plan.md@@ -108,7 +108,7 @@ Each has a recommended default; the plan proceeds with the default until the own| D1 | The scope line | **As above:** #10 (with the Historical Track), #9, #22, #23, N7 and N8 are "if ready" and do not block M4. Everything in "M4 is done when" does || D2 | The slice content budget (spec §4: about 40 events, about 6 decision scenes, about 60 policies, about 15 voter groups) | **Events and scenes as the spec says. Policies about 20 and voter groups about 8 for M4**, the rest later. This deviates from spec §4 on purpose: each policy needs a sourced historical basis and calibration, and a policy no test calibrates is noise in the effects web || D3 | Diplomacy in M4 | **Actor standing in the sim, moved by events, war and policies, read by war mode and the legacy report, and shown on a read-only Diplomacy screen.** Player diplomatic actions and treaties come later, after #11's design. #11's design also says how standing relates to the `intl_standing` indicator, so nothing is counted twice |-| D4 | War mode and the 1948 goldens | **War mode replaces how the 1948 operations resolve, under five conditions:** (a) the code lands inert across its PRs (no content uses it; rung 5 behaves as today) and one final PR switches it on and rebaselines; (b) that PR moves `Hash1950`, `Hash1952`, `SMOKE OK 5 turns`, `Hash1957`, the legacy reference (I2 below) and any chain golden already pinned (#87); (c) `CalibrationTests` and `EconomyCalibrationTests` stay green with no refit of a pre-1952 parameter unless named in the PR; (d) any change to the options or effects of the five signed-off war events (`ten_days`, `operation_yoav`, `operation_hiram`, `operation_horev`, `altalena`) resets them to `fact-checked` for the owner to review again; (e) war mode never models the capture or depopulation of Arab localities as a mechanic or an outcome (the Lydda and Ramle precedent in `docs/m3-release.md`; chapters design §13), and #21's design gets the owner's sensitivity review before code. This supersedes the chapters design §8 line "the founding era's goldens are today's `Hash1950` and `Hash1952`, unchanged"; the switch-on PR amends that line. The alternative, keeping 1948 as events and using war mode only for Suez, misses spec §9 |+| D4 | War mode and the 1948 goldens | **War mode replaces how the 1948 operations resolve, under five conditions:** (a) the code lands inert across its PRs (no content uses it; rung 5 behaves as today) and one final PR switches it on and rebaselines; (b) that PR moves `Hash1950`, `Hash1952`, `SMOKE OK 5 turns`, `Hash1957`, the legacy reference (#19, Phase 4) and any chain golden already pinned (#87); (c) `CalibrationTests` and `EconomyCalibrationTests` stay green with no refit of a pre-1952 parameter unless named in the PR; (d) any change to the options or effects of the five signed-off war events (`ten_days`, `operation_yoav`, `operation_hiram`, `operation_horev`, `altalena`) resets them to `fact-checked` for the owner to review again; (e) war mode never models the capture or depopulation of Arab localities as a mechanic or an outcome (the Lydda and Ramle precedent in `docs/m3-release.md`; chapters design §13), and #21's design gets the owner's sensitivity review before code. This supersedes the chapters design §8 line "the founding era's goldens are today's `Hash1950` and `Hash1952`, unchanged"; the switch-on PR amends that line and the §12 testing table's `DeterminismTests` row ("unchanged through every item in §15"). The alternative, keeping 1948 as events and using war mode only for Suez, misses spec §9 || D5 | The historian-review bar for M4 | **The review guide merged, at least one named reviewer, and recorded reviews for at least the war events (1948 operations and Suez) and the 1952–56 decision scenes.** Requiring every event to be `historian-reviewed` in shareable builds is N9, in M5, because it depends on volunteers outside the project || D6 | The art bar for M4 | **#31, #32, #33, #34, #35 (static roads and rail), #37, #38 and #16 are M4; #36, the moving train and boats, and #39 are M5.** M4 art is done when the measured bars below hold and the owner says the gameplay03 side-by-side reads as promo 03. **Fallback**, if the art lane is the last thing open: one archetype per kit family (a Tel Aviv block, a Mandate town, a kibbutz, a ma'abara, an Arab village) plus citrus and olive trees, with the rest of #31 and #32 moving to M5; the owner chooses the fallback, it is not taken by drift || D7 | The 1957 golden | **Pinned early (N1, end of Phase 1) and moved on purpose by every 1952–56 content PR**, each with a history row; frozen at the M4 merge candidate. Pinning only at the end would leave the 1952–56 work with no determinism check. It keeps the founding naming (`Hash1957`) rather than the chapters design's `Hash_<era>_<year>`; #60 may rename all three founding constants together later |@@ -220,6 +220,15 @@ flowchart LRa38 --> N10a16 --> N10i43 --> N10+ i7 --> N10+ i20 --> N10+ i25 --> N10+ i27 --> N10+ i63 --> N10+ N2 --> N10+ N12 --> N10+ i80 --> N10+ N11 --> N10```#7 is not an edge into all of #28: only the #28 events whose options move coalition stability or support (for example@@ -259,7 +268,7 @@ a 1952–56 government crisis) wait for it.| Design | #19 legacy report design | S–M | — | The six scores, each from existing state; the "what happened" side from a slice-local reference written by a tool from `GoldenRun.Play(…, Until1957)` (see Phase 4) || Design | #8 collapse thresholds and grace periods | S | — | Must leave the historical run alive to 1957 || Design | #20 briefing ranking proposal; N6 decision-scene proposal naming its scenes, under D8 | S each | — | |-| Review | #29 the review guide (`docs/HISTORIAN_REVIEW.md`) and the first reviewer | S *(owner finds reviewers)* | — | Start with the 1948–51 events that M4 does not change (the five war events may change under D4) |+| Review | #29 the review guide (`docs/HISTORIAN_REVIEW.md`) and the first reviewer | S *(owner finds reviewers)* | — | Start with the 1948–51 events that M4 does not change: not the five war events (D4), the armistice and reparations events (N5) or the 1951 education crisis (#7) || Art | #37 markers on the ground (shadow bias) | S | — | First, so every later art checkpoint judges grounded objects || Art | #38 sea and gold-hills saturation | S–M | — | Before the kits, so their colour is judged against the final sea || Art | #31 and #32 style tests (one archetype each) and reference photos | M | — | Public-domain or CC0 references; not the GPO collection (#30) |@@ -269,10 +278,10 @@ a 1952–56 government crisis) wait for it.| Item | Size | Needs | Notes ||---|---|---|---|-| **#24 economy calibration v2 and the NEP** | L | #5 NEP note, #24 step 1, N1, N11 | NEP parameters through N11, dated from the NEP. February 1952 is inside the `Hash1952` run, so these join the 1952 rebaseline batch (below); no 1948–51 parameter moves unless named |+| **#24 economy calibration v2 and the NEP** | L | #5 NEP note, #24 step 1, N1, N11 | NEP parameters through N11, dated from the NEP. The code lands inert; the values act in February 1952, inside the `Hash1952` run, so they go in batch 1, which closes when #24 is ready ("Batch them", below). No 1948–51 parameter moves unless named || **#8 military or economic collapse** | M | #24, #8 design | N1's test (the run ends on the end-of-era reason) must pass with it on |-| #7 event options move coalition stability and support | S–M | — | First real use is the 1951 education crisis, so it moves `Hash1952` (a named move in the 1952 batch) |-| **N5 actor standing in the sim and the Diplomacy screen** | M–L | #11 design | The armistice and reparations events move standing, so it moves `Hash1950` and `Hash1952` (named moves) |+| #7 event options move coalition stability and support | S–M | — | The code lands inert on `main`; its first real use, the 1951 education crisis, moves `Hash1952` and goes in a batch. 1952–56 events can use it as soon as the code is in |+| **N5 actor standing in the sim and the Diplomacy screen** | M–L | #11 design | The standing code and screen land inert on `main` (no event moves standing yet), so #21 Suez and #19 can build on them; the armistice and reparations events that move standing move `Hash1950` and `Hash1952` and go in a batch || **#21 war mode sim, 1948** | XL | #21 design, N3 | Lands inert; the D4 switch-on PR rebaselines. The 1948 operation events stay the anchors || **#21 war mode sim, Suez** | L | 1948 part, N5, #5 Suez note, #28 road-to-Suez events, #26 (Dayan as Chief of Staff) | Moves only `Hash1957` and the legacy reference || #25 policies and voter groups, to D2 | M per batch | #57 | Records whose window opens after 27 Feb 1952 are golden-safe through #57; earlier ones join a rebaseline batch |@@ -346,9 +355,14 @@ event whose `from` is on or before the turn's end date; fired and pending ids ar| #21 1948, the D4 switch-on PR | `Hash1950`, `Hash1952`, `SMOKE OK 5 turns` | D4 || N7, N8 (if ready) | `Hash1950`, `Hash1952` | They change 1948–51 rules |-**Batch them.** The items above other than #21 land on one integration branch (`m4-golden-1952`) as they become ready,-and reach `main` as one rebaseline commit with one history row per item; or, if they are ready together, in D4's-switch-on PR. Two rebaselines of the 1948–51 goldens in M4 is the target, three the limit.+**Batch them.** Each item above is split in two. Its **code** lands on `main` as soon as it is reviewed, **inert**: no+content uses it yet, so no 1948–51 golden moves (N5's standing machinery, #7's option effect, N11's dated rules, the+#24 code paths). Only the **content or parameter** that moves a 1948–51 golden goes in a batch: N2's 1952 rows, the+reparations vote and NEP events, #24's NEP values, #2's holder, and the 1949–51 events that start using #7 and N5.+A batch is one PR, opened when its items are ready and merged as one rebaseline commit with one history row per item;+there is no long-lived branch to keep re-pinned while `Hash1957` moves on `main`. **Batch 1 closes when #24 is ready,+because #8 waits on it;** whatever is not ready then goes in batch 2 or in D4's switch-on PR. Two rebaselines of the+1948–51 goldens in M4 is the target, three the limit.| Golden | Policy in M4 ||---|---|@@ -430,7 +444,7 @@ The Yishuv work (#49) and M4 both touch the founding era. These rules keep them| Golden churn and merge conflicts as many PRs move `Hash1957` | One golden-moving PR at a time; `Hash1950`/`Hash1952` moved only in batches || Changing the five war events undoes the owner's sensitivity sign-off | D4d: any change resets them to `fact-checked` for review again || Sensitive 1953–56 events are left out or framed by contributors | D8: policy-level reprisal choices, react-only Qibya and Kafr Qasim, an owner include/omit list, no omission without the owner |-| Historian reviewers do not appear | Start #29 in Phase 1 with the 1948–51 events M4 does not change; D5 sets an M4 bar the project controls; the full gate is M5 (N9) |+| Historian reviewers do not appear | Start #29 in Phase 1 with the 1948–51 events M4 does not change (not the war, armistice, reparations or education-crisis events); D5 sets an M4 bar the project controls; the full gate is M5 (N9) || Arrivals alone cannot fit the 1952–56 population (emigration in 1953 roughly matched immigration) | N2 adds a dated emigration series and checks the natural-increase rate || Kits and trees break the WebGL frame or download budget | Instancing; one archetype per PR, each measured; the runtime quality fallback (#44); growth named per PR || GPO portraits are a US copyright risk | #30 runs in parallel; it gates a commercial build, not M4 |