Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

GDD 0.3 events: the inventory of every effect field under gdd-0.3 (R-EFX-001; Refs #1718) (#2226)

Eyal Golanaed1eaa6e768
diff --git a/changelog.d/1718-event-inventory.md b/changelog.d/1718-event-inventory.md
new file mode 100644
index 000000000..333a12a07
--- /dev/null
+++ b/changelog.d/1718-event-inventory.md
@@ -0,0 +1,3 @@
+- GDD 0.3 events: `docs/gdd03-event-inventory.md` lists every event option's effect fields and what the
+ gdd-0.3 ruleset does with each (kept unchanged, or legacy rulesets only for the five excluded cards); a sim
+ test keeps the table in step with the content (#1718, R-EFX-001).
diff --git a/docs/gdd03-event-inventory.md b/docs/gdd03-event-inventory.md
new file mode 100644
index 000000000..77e7900d1
--- /dev/null
+++ b/docs/gdd03-event-inventory.md
@@ -0,0 +1,171 @@
+# Event effects under gdd-0.3: the inventory (#1718)
+
+Every effect field of every event option in `content/events/`, and what the `gdd-0.3` ruleset does with it. This is
+the inventory #1718 asks for: keyed by event, option and effect field, with the old target, the new validated target
+or "legacy rulesets only", the expected delta and whether the card's review is reset.
+
+**How it is made.** The table between the markers is generated from the real content by
+`sim/Statecraft.Sim.Tests/Gdd03EventInventoryTests.cs`, which loads `content/` once under `gdd-0.1` and once under
+`gdd-0.3` and fails when this file no longer matches. After a card, an option or `content/gdd03-events.yaml` changes,
+regenerate it with `STATECRAFT_UPDATE_GOLDEN=1 dotnet test sim/Statecraft.Sim.Tests --filter Gdd03EventInventoryTests`
+and review the diff. Do not edit the table by hand.
+
+**How to read a row.**
+
+- **Old target** and **old delta**: the field as authored, which `legacy` and `gdd-0.1` apply (R-EFX-001). A
+ `set_policy` or `set_rung` field sets a level instead of adding a delta.
+- **gdd-0.3 target**: "same" when the card is in the `gdd-0.3` catalogue. The loader has then validated the field
+ under `gdd-0.3` (R-EFX-001, R-EFX-002) and it applies with the same delta. "Legacy rulesets only" when
+ `content/gdd03-events.yaml` excludes the whole card: none of its options is in play under `gdd-0.3`.
+- **Review reset**: "no" on every row. No card's source bytes change (`AllThirtyNineSourceRecordsIncludingReviewsAndHebrewAreUnchanged`),
+ and the test checks that a kept card keeps its status and human sign-off under `gdd-0.3`. An excluded card keeps
+ its record and review for the legacy rulesets.
+
+**What decides it.** Decision D1 and answers Q1 to Q4 (owner, 1 November 2026, "Approve all six (Recommended)" for
+D1 to D6; the answers are posted on #1668). Main's economy stays, so under `gdd-0.3` only the Attention targets
+retire among the economy targets, `fx_reserves` stays the foreign-currency ledger, and `food_supply` and `housing`
+stay readouts that an event cannot write (R-EFX-001). No shipped card targets Attention, the passive budget, the Food
+refill or a city-loss defeat. Treasury costs borrow their shortfall as under `gdd-0.1` (R-MONEY-003).
+
+**The excluded cards.** The second table probes each of the five excluded cards: it removes that one exclusion and
+reports what the `gdd-0.3` loader then says. It is a probe only. Returning a card to `gdd-0.3` still needs the
+reviewed follow-up that `docs/WRITING_EVENTS.md` ("GDD 0.3 first-slice availability") describes; this file changes no
+exclusion.
+
+<!-- inventory:begin (generated by Gdd03EventInventoryTests; do not edit by hand) -->
+
+| Event | Option | Effect field (old target) | Old delta | gdd-0.3 target | gdd-0.3 delta | Review reset |
+|---|---|---|---|---|---|---|
+| `altalena` | `enforce` | `effects[0].security` | 0.015 | `effects[0].security` (same) | 0.015 | no |
+| `altalena` | `enforce` | `effects[1].morale` | -0.05 | `effects[1].morale` (same) | -0.05 | no |
+| `altalena` | `compromise` | `effects[0].security` | -0.025 | `effects[0].security` (same) | -0.025 | no |
+| `altalena` | `compromise` | `effects[1].intl_standing` | -0.02 | `effects[1].intl_standing` (same) | -0.02 | no |
+| `armistice_egypt` | `sign` | `set_rung` | set 2 | `set_rung` (same) | set 2 | no |
+| `armistice_egypt` | `sign` | `effects[0].intl_standing` | 0.05 | `effects[0].intl_standing` (same) | 0.05 | no |
+| `armistice_egypt` | `hold_out` | `set_rung` | set 4 | `set_rung` (same) | set 4 | no |
+| `armistice_egypt` | `hold_out` | `effects[0].intl_standing` | -0.1 | `effects[0].intl_standing` (same) | -0.1 | no |
+| `armistice_jordan` | `sign` | `set_rung` | set 2 | `set_rung` (same) | set 2 | no |
+| `armistice_jordan` | `sign` | `effects[0].intl_standing` | 0.05 | `effects[0].intl_standing` (same) | 0.05 | no |
+| `armistice_jordan` | `hold_out` | `set_rung` | set 4 | `set_rung` (same) | set 4 | no |
+| `armistice_jordan` | `hold_out` | `effects[0].intl_standing` | -0.1 | `effects[0].intl_standing` (same) | -0.1 | no |
+| `armistice_lebanon` | `sign` | `set_rung` | set 2 | `set_rung` (same) | set 2 | no |
+| `armistice_lebanon` | `sign` | `effects[0].intl_standing` | 0.05 | `effects[0].intl_standing` (same) | 0.05 | no |
+| `armistice_lebanon` | `hold_out` | `set_rung` | set 4 | `set_rung` (same) | set 4 | no |
+| `armistice_lebanon` | `hold_out` | `effects[0].intl_standing` | -0.1 | `effects[0].intl_standing` (same) | -0.1 | no |
+| `armistice_syria` | `sign` | `set_rung` | set 2 | `set_rung` (same) | set 2 | no |
+| `armistice_syria` | `sign` | `effects[0].intl_standing` | 0.05 | `effects[0].intl_standing` (same) | 0.05 | no |
+| `armistice_syria` | `hold_out` | `set_rung` | set 4 | `set_rung` (same) | set 4 | no |
+| `armistice_syria` | `hold_out` | `effects[0].intl_standing` | -0.1 | `effects[0].intl_standing` (same) | -0.1 | no |
+| `austerity_1949` | `impose` | `set_policy.rationing` | set 1 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `austerity_1949` | `impose` | `effects[0].food_supply` | 0.15 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `austerity_1949` | `impose` | `effects[1].morale` | -0.05 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `austerity_1949` | `decline` | `effects[0].fx_reserves` | -8 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `austerity_1949` | `decline` | `effects[1].food_supply` | -0.05 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `bernadotte_assassination` | `outlaw` | `effects[0].intl_standing` | -0.05 | `effects[0].intl_standing` (same) | -0.05 | no |
+| `bernadotte_assassination` | `outlaw` | `effects[1].security` | 0.01 | `effects[1].security` (same) | 0.01 | no |
+| `bernadotte_assassination` | `outlaw` | `effects[2].morale` | -0.02 | `effects[2].morale` (same) | -0.02 | no |
+| `bernadotte_assassination` | `investigate_only` | `effects[0].intl_standing` | -0.05 | `effects[0].intl_standing` (same) | -0.05 | no |
+| `bernadotte_assassination` | `investigate_only` | `effects[1].intl_standing` | -0.1 | `effects[1].intl_standing` (same) | -0.1 | no |
+| `clothing_rationing_1950` | `extend` | `effects[0].morale` | -0.05 | `effects[0].morale` (same) | -0.05 | no |
+| `clothing_rationing_1950` | `relax` | `effects[0].morale` | 0.03 | `effects[0].morale` (same) | 0.03 | no |
+| `clothing_rationing_1950` | `relax` | `effects[1].fx_reserves` | -8 | `effects[1].fx_reserves` (same) | -8 | no |
+| `degania_defence` | `jordan_valley` | `effects[0].security` | 0.015 | `effects[0].security` (same) | 0.015 | no |
+| `degania_defence` | `jerusalem` | `effects[0].security` | 0 | `effects[0].security` (same) | 0 | no |
+| `education_registration_1951` | `press_plan` | `effects[0].morale` | -0.02 | `effects[0].morale` (same) | -0.02 | no |
+| `education_registration_1951` | `concede` | `effects[0].morale` | -0.03 | `effects[0].morale` (same) | -0.03 | no |
+| `elections_1949` | `hold` | `effects[0].morale` | 0.03 | `effects[0].morale` (same) | 0.03 | no |
+| `elections_1949` | `hold` | `effects[1].intl_standing` | 0.03 | `effects[1].intl_standing` (same) | 0.03 | no |
+| `first_truce` | `accept` | `effects[0].security` | 0.02 | `effects[0].security` (same) | 0.02 | no |
+| `first_truce` | `accept` | `effects[1].intl_standing` | 0.03 | `effects[1].intl_standing` (same) | 0.03 | no |
+| `first_truce` | `refuse` | `effects[0].intl_standing` | -0.08 | `effects[0].intl_standing` (same) | -0.08 | no |
+| `first_truce` | `refuse` | `effects[1].morale` | -0.03 | `effects[1].morale` (same) | -0.03 | no |
+| `forex_crisis_1951` | `request_aid` | `effects[0].fx_reserves` | -45 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `forex_crisis_1951` | `request_aid` | `effects[1].fx_reserves` | 15 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `forex_crisis_1951` | `request_aid` | `effects[2].intl_standing` | -0.01 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `forex_crisis_1951` | `cut_imports` | `effects[0].fx_reserves` | -45 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `forex_crisis_1951` | `cut_imports` | `effects[1].food_supply` | -0.05 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `forex_crisis_1951` | `cut_imports` | `effects[2].morale` | -0.04 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `frumkin_commission` | `inquiry` | `effects[0].morale` | 0.02 | `effects[0].morale` (same) | 0.02 | no |
+| `frumkin_commission` | `dismiss` | `effects[0].morale` | -0.04 | `effects[0].morale` (same) | -0.04 | no |
+| `hula_drainage` | `continue_works` | `effects[0].security` | 0.03 | `effects[0].security` (same) | 0.03 | no |
+| `hula_drainage` | `continue_works` | `effects[1].intl_standing` | -0.05 | `effects[1].intl_standing` (same) | -0.05 | no |
+| `hula_drainage` | `halt` | `effects[0].security` | -0.03 | `effects[0].security` (same) | -0.03 | no |
+| `hula_drainage` | `halt` | `effects[1].intl_standing` | 0.03 | `effects[1].intl_standing` (same) | 0.03 | no |
+| `idf_founding` | `one_army` | `effects[0].security` | 0.015 | `effects[0].security` (same) | 0.015 | no |
+| `idf_founding` | `separate_units` | `effects[0].security` | -0.015 | `effects[0].security` (same) | -0.015 | no |
+| `iraqi_exodus` | `airlift` | `effects[0].housing` | -0.04 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `iraqi_exodus` | `airlift` | `effects[1].morale` | 0.03 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `iraqi_exodus` | `pace` | `effects[0].morale` | -0.05 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `iraqi_exodus` | `pace` | `effects[1].intl_standing` | -0.02 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `israel_bonds` | `launch` | `effects[0].fx_reserves` | 52 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `israel_bonds` | `launch` | `effects[1].intl_standing` | 0.02 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `israel_bonds` | `donations_only` | `effects[0].fx_reserves` | 10 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `jerusalem_ceasefire` | `keep` | `effects[0].security` | 0.015 | `effects[0].security` (same) | 0.015 | no |
+| `jerusalem_ceasefire` | `hold_out` | `effects[0].security` | -0.015 | `effects[0].security` (same) | -0.015 | no |
+| `jerusalem_ceasefire` | `hold_out` | `effects[1].intl_standing` | -0.03 | `effects[1].intl_standing` (same) | -0.03 | no |
+| `jerusalem_military_government` | `military_government` | `effects[0].security` | 0.01 | `effects[0].security` (same) | 0.01 | no |
+| `jerusalem_military_government` | `military_government` | `effects[1].intl_standing` | -0.02 | `effects[1].intl_standing` (same) | -0.02 | no |
+| `jerusalem_military_government` | `accept_demilitarisation` | `effects[0].security` | -0.015 | `effects[0].security` (same) | -0.015 | no |
+| `jerusalem_military_government` | `accept_demilitarisation` | `effects[1].intl_standing` | 0.02 | `effects[1].intl_standing` (same) | 0.02 | no |
+| `latrun_proposal` | `accept_vote` | `effects[0].intl_standing` | 0.01 | `effects[0].intl_standing` (same) | 0.01 | no |
+| `latrun_proposal` | `press_offensive` | `set_rung` | set 5 | `set_rung` (same) | set 5 | no |
+| `latrun_proposal` | `press_offensive` | `effects[0].security` | 0.025 | `effects[0].security` (same) | 0.025 | no |
+| `latrun_proposal` | `press_offensive` | `effects[1].intl_standing` | -0.1 | `effects[1].intl_standing` (same) | -0.1 | no |
+| `latrun_proposal` | `press_offensive` | `effects[2].morale` | -0.02 | `effects[2].morale` (same) | -0.02 | no |
+| `law_of_return` | `enact` | `effects[0].morale` | 0.03 | `effects[0].morale` (same) | 0.03 | no |
+| `law_of_return` | `enact` | `effects[1].intl_standing` | 0.01 | `effects[1].intl_standing` (same) | 0.01 | no |
+| `law_of_return` | `quota` | `effects[0].morale` | -0.06 | `effects[0].morale` (same) | -0.06 | no |
+| `maabarot_policy` | `maabarot` | `set_policy.maabarot` | set 1 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `maabarot_policy` | `maabarot` | `effects[0].housing` | 0.04 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `maabarot_policy` | `maabarot` | `effects[1].morale` | -0.02 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `maabarot_policy` | `maabarot` | `effects[2].treasury` | 2 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `maabarot_policy` | `keep_camps` | `effects[0].housing` | -0.03 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `maabarot_policy` | `keep_camps` | `effects[1].treasury` | -4 | legacy rulesets only (card excluded) | none (not in play) | no |
+| `ministry_supply_crisis` | `restructure` | `effects[0].morale` | 0.02 | `effects[0].morale` (same) | 0.02 | no |
+| `ministry_supply_crisis` | `keep_ministry` | `effects[0].morale` | -0.03 | `effects[0].morale` (same) | -0.03 | no |
+| `operation_hiram` | `stop_at_ceasefire` | `set_rung` | set 5 | `set_rung` (same) | set 5 | no |
+| `operation_hiram` | `stop_at_ceasefire` | `effects[0].security` | 0.02 | `effects[0].security` (same) | 0.02 | no |
+| `operation_hiram` | `advance_into_lebanon` | `set_rung` | set 5 | `set_rung` (same) | set 5 | no |
+| `operation_hiram` | `advance_into_lebanon` | `effects[0].security` | 0.025 | `effects[0].security` (same) | 0.025 | no |
+| `operation_hiram` | `advance_into_lebanon` | `effects[1].intl_standing` | -0.08 | `effects[1].intl_standing` (same) | -0.08 | no |
+| `operation_horev` | `launch` | `set_rung` | set 5 | `set_rung` (same) | set 5 | no |
+| `operation_horev` | `launch` | `effects[0].security` | 0.02 | `effects[0].security` (same) | 0.02 | no |
+| `operation_horev` | `hold` | `effects[0].security` | -0.01 | `effects[0].security` (same) | -0.01 | no |
+| `operation_yoav` | `stop_at_ceasefire` | `set_rung` | set 5 | `set_rung` (same) | set 5 | no |
+| `operation_yoav` | `stop_at_ceasefire` | `effects[0].security` | 0.025 | `effects[0].security` (same) | 0.025 | no |
+| `operation_yoav` | `push_to_hebron` | `set_rung` | set 5 | `set_rung` (same) | set 5 | no |
+| `operation_yoav` | `push_to_hebron` | `effects[0].security` | 0.03 | `effects[0].security` (same) | 0.03 | no |
+| `operation_yoav` | `push_to_hebron` | `effects[1].intl_standing` | -0.08 | `effects[1].intl_standing` (same) | -0.08 | no |
+| `reparations_claim` | `claim` | `effects[0].intl_standing` | 0 | `effects[0].intl_standing` (same) | 0 | no |
+| `reparations_claim` | `claim` | `effects[1].treasury` | -1 | `effects[1].treasury` (same) | -1 | no |
+| `reparations_claim` | `refuse` | `effects[0].intl_standing` | 0 | `effects[0].intl_standing` (same) | 0 | no |
+| `reparations_claim` | `refuse` | `effects[1].fx_reserves` | -4 | `effects[1].fx_reserves` (same) | -4 | no |
+| `reparations_vote` | `negotiate` | `effects[0].morale` | -0.02 | `effects[0].morale` (same) | -0.02 | no |
+| `reparations_vote` | `reject` | `effects[0].fx_reserves` | -4 | `effects[0].fx_reserves` (same) | -4 | no |
+| `reparations_vote` | `referendum` | `effects[0].treasury` | -1 | `effects[0].treasury` (same) | -1 | no |
+| `rhodes_talks` | `send_delegation` | `effects[0].intl_standing` | 0.03 | `effects[0].intl_standing` (same) | 0.03 | no |
+| `rhodes_talks` | `decline` | `effects[0].intl_standing` | -0.05 | `effects[0].intl_standing` (same) | -0.05 | no |
+| `second_truce` | `comply` | `set_rung` | set 4 | `set_rung` (same) | set 4 | no |
+| `second_truce` | `comply` | `effects[0].intl_standing` | 0.03 | `effects[0].intl_standing` (same) | 0.03 | no |
+| `second_truce` | `defy` | `effects[0].intl_standing` | -0.1 | `effects[0].intl_standing` (same) | -0.1 | no |
+| `second_truce` | `defy` | `effects[1].security` | 0.01 | `effects[1].security` (same) | 0.01 | no |
+| `sinai_withdrawal` | `withdraw` | `effects[0].intl_standing` | 0.05 | `effects[0].intl_standing` (same) | 0.05 | no |
+| `sinai_withdrawal` | `withdraw` | `effects[1].security` | -0.01 | `effects[1].security` (same) | -0.01 | no |
+| `sinai_withdrawal` | `hold_el_arish` | `effects[0].intl_standing` | -0.1 | `effects[0].intl_standing` (same) | -0.1 | no |
+| `sinai_withdrawal` | `hold_el_arish` | `effects[1].security` | 0.025 | `effects[1].security` (same) | 0.025 | no |
+| `ten_days` | `central_front` | `set_rung` | set 5 | `set_rung` (same) | set 5 | no |
+| `ten_days` | `central_front` | `effects[0].security` | 0.025 | `effects[0].security` (same) | 0.025 | no |
+| `ten_days` | `southern_front` | `set_rung` | set 5 | `set_rung` (same) | set 5 | no |
+| `ten_days` | `southern_front` | `effects[0].security` | 0.015 | `effects[0].security` (same) | 0.015 | no |
+
+121 rows: 39 cards under gdd-0.1, 34 under gdd-0.3.
+
+| Excluded card | gdd-0.3 loader with only this exclusion removed |
+|---|---|
+| `austerity_1949` | refused at `events[austerity_1949].options[impose].set_policy.rationing`: retired policy write under gdd-0.3 (R-EFX-001) |
+| `forex_crisis_1951` | refused at `events[forex_crisis_1951].options[cut_imports].effects.food_supply`: unsupported event target under gdd-0.3 (R-EFX-001) |
+| `iraqi_exodus` | refused at `events[iraqi_exodus].options[airlift].effects.housing`: unsupported event target under gdd-0.3 (R-EFX-001) |
+| `israel_bonds` | loads: every field passes the gdd-0.3 checks |
+| `maabarot_policy` | refused at `events[maabarot_policy].options[maabarot].set_policy.maabarot`: retired policy write under gdd-0.3 (R-EFX-001) |
+
+<!-- inventory:end -->
diff --git a/docs/rules/mvp.md b/docs/rules/mvp.md
index b59167632..bba90f6a6 100644
--- a/docs/rules/mvp.md
+++ b/docs/rules/mvp.md
@@ -472,7 +472,7 @@ R-NAT-004: "Low international support" (`low_intl_support`) is a situation on `i
R-EFX-001: In legacy and gdd-0.1, an option's effect may target an indicator id from `model.yaml`, `treasury` or `fx_reserves` (game money), or `food`, the national Food stock: the effect moves the stock by whole units (the delta rounds half away from zero) and the stock never drops below 0, so a cut larger than the stock applies only to what is there. Any other target is a load error naming file and field. The Arms stock becomes a target with its pool (#781): `arms` moves it the same way.
-Under gdd-0.3 (#1718, first slice landed in PR #1772 on 26 October 2026): only the active event catalogue is simulated. `content/gdd03-events.yaml` is required, read and hashed only for this identity; it explicitly excludes whole cards by id with a reason. Unknown or duplicate exclusions and stranded requirements, variants, rejoin edges or objective cards are errors. All source YAML is still parsed strictly. Five legacy cards are excluded without changing their source bytes or reviews (eight until the owner's ruling of 2 November 2026, "Bring back 3, design bonds (Recommended)", restored `clothing_rationing_1950`, `reparations_claim` and `reparations_vote`, #2224). There are no replacement amounts. Approved indicator writes and explicit `treasury`, `food`, `arms` effects retain finite checks, stock rounding and bounds. Writable `food_supply`, national `housing`, Attention and city-loss/defeat command targets are rejected before compatibility-indicator acceptance. Under decision D1 and answers Q1 and Q2 (owner, 1 November 2026, "Approve all six (Recommended)" on #1668) the passive budget, the monthly Food refill and the foreign-currency ledger stay, so `fx_reserves` and the budget and Food-refill spellings load under gdd-0.3 exactly as under gdd-0.1: `fx_reserves` moves the ledger, and a budget or refill spelling is accepted only where `model.yaml` defines it, otherwise it is an unknown target. Retired `rationing` and `maabarot` policy writes are errors. Structured `grant_units`, `city_effects` and `unlock_projects` await approved population/facility accounting and are errors in this slice. Explicit Treasury costs continue borrowing with the existing cause under R-MONEY-003; the owner's 26 October 2026 ruling on #1718 overrides the proposal's no-borrowing text. No transaction refusal or new debt limit is introduced.
+Under gdd-0.3 (#1718, first slice landed in PR #1772 on 26 October 2026): only the active event catalogue is simulated. `content/gdd03-events.yaml` is required, read and hashed only for this identity; it explicitly excludes whole cards by id with a reason. Unknown or duplicate exclusions and stranded requirements, variants, rejoin edges or objective cards are errors. All source YAML is still parsed strictly. Five legacy cards are excluded without changing their source bytes or reviews (eight until the owner's ruling of 2 November 2026, "Bring back 3, design bonds (Recommended)", restored `clothing_rationing_1950`, `reparations_claim` and `reparations_vote`, #2224). There are no replacement amounts. Approved indicator writes and explicit `treasury`, `food`, `arms` effects retain finite checks, stock rounding and bounds. Writable `food_supply`, national `housing`, Attention and city-loss/defeat command targets are rejected before compatibility-indicator acceptance. Under decision D1 and answers Q1 and Q2 (owner, 1 November 2026, "Approve all six (Recommended)" on #1668) the passive budget, the monthly Food refill and the foreign-currency ledger stay, so `fx_reserves` and the budget and Food-refill spellings load under gdd-0.3 exactly as under gdd-0.1: `fx_reserves` moves the ledger, and a budget or refill spelling is accepted only where `model.yaml` defines it, otherwise it is an unknown target. Retired `rationing` and `maabarot` policy writes are errors. Structured `grant_units`, `city_effects` and `unlock_projects` await approved population/facility accounting and are errors in this slice. Explicit Treasury costs continue borrowing with the existing cause under R-MONEY-003; the owner's 26 October 2026 ruling on #1718 overrides the proposal's no-borrowing text. No transaction refusal or new debt limit is introduced. Every effect field of every event option, with its `gdd-0.3` target (the same, or legacy rulesets only for an excluded card), its delta and its review state, is listed in `docs/gdd03-event-inventory.md`; `Gdd03EventInventoryTests` regenerates that table from the loader and fails when the file no longer matches the content (#1718).
R-EFX-002: In every ruleset, an option of an event tagged `holocaust`, `terror`, `massacre` or `war-casualties` cannot raise `treasury`, `fx_reserves`, `food`, `arms`, `food_supply`, `morale` or `intl_standing` (Q-EFX-2, decided 15 October 2026: the no-gain rule covers all five resources, with the legacy indicators standing for Food, Social cohesion and International Support; `food` is Food's own target, and Arms joins the rule with its pool, #781). A cost stays allowed. Under gdd-0.3, R-EFX-001 first rejects retired compatibility targets; the remaining Money, Food, Arms and indicator effects keep these no-gain checks. Availability changes do not reset sensitivity tags, review status or human sign-off, and no alias grants an exception (R-EFX-005/007).
diff --git a/sim/Statecraft.Sim.Tests/Gdd03EventInventoryTests.cs b/sim/Statecraft.Sim.Tests/Gdd03EventInventoryTests.cs
new file mode 100644
index 000000000..4ac8a7c08
--- /dev/null
+++ b/sim/Statecraft.Sim.Tests/Gdd03EventInventoryTests.cs
@@ -0,0 +1,107 @@
+using System.Globalization;
+using System.Text;
+using Statecraft.Sim;
+
+// R-EFX-001, R-EFX-002, #1718 (Done-when: "The PR attaches a complete inventory keyed by event + option + effect field:
+// old target, new validated target or "legacy rulesets only", expected delta, and whether the card's review is reset.
+// No row is unresolved."). docs/gdd03-event-inventory.md is checked against what the loader does with the real content,
+// so the inventory cannot drift from the cards or from content/gdd03-events.yaml. STATECRAFT_UPDATE_GOLDEN=1 rewrites
+// the generated block, as for the goldens; review the diff before committing it.
+public class Gdd03EventInventoryTests
+{
+ const string Begin = "<!-- inventory:begin (generated by Gdd03EventInventoryTests; do not edit by hand) -->";
+ const string End = "<!-- inventory:end -->";
+
+ static string DocPath() =>
+ Path.Combine(Directory.GetParent(RealContentTests.ContentRoot())!.FullName, "docs", "gdd03-event-inventory.md");
+
+ static string Num(double v) => v.ToString("G", CultureInfo.InvariantCulture);
+
+ /// <summary>Every effect field of every option, in the card's own order: set_policy (by key), set_rung, effects, then
+ /// the structured grant_units, city_effects and unlock_projects. Same-target effects keep their list index.</summary>
+ static IEnumerable<(string Field, string Change)> Fields(EventOption o)
+ {
+ foreach (var kv in o.SetPolicy.OrderBy(kv => kv.Key, StringComparer.Ordinal))
+ yield return ($"set_policy.{kv.Key}", "set " + Num(kv.Value));
+ if (o.SetRung.HasValue) yield return ("set_rung", "set " + o.SetRung.Value.ToString(CultureInfo.InvariantCulture));
+ for (int i = 0; i < o.Effects.Count; i++)
+ yield return ($"effects[{i}].{o.Effects[i].Target}", Num(o.Effects[i].Delta));
+ for (int i = 0; i < o.GrantUnits.Count; i++)
+ yield return ($"grant_units[{i}]", $"{o.GrantUnits[i].N} {o.GrantUnits[i].Type}");
+ for (int i = 0; i < o.CityEffects.Count; i++)
+ yield return ($"city_effects[{i}].{o.CityEffects[i].City}.{o.CityEffects[i].Field}", Num(o.CityEffects[i].Delta));
+ for (int i = 0; i < o.UnlockProjects.Count; i++)
+ yield return ($"unlock_projects[{i}]", o.UnlockProjects[i]);
+ }
+
+ static string Render()
+ {
+ var old = Gdd03EventRulesTests.Real(false);
+ var modern = Gdd03EventRulesTests.Real(true);
+ var kept = modern.Events.ToDictionary(e => e.Id);
+ var excluded = old.Events.Where(e => !kept.ContainsKey(e.Id)).Select(e => e.Id).ToList();
+ var sb = new StringBuilder();
+ sb.Append(Begin).Append('\n').Append('\n');
+ sb.Append("| Event | Option | Effect field (old target) | Old delta | gdd-0.3 target | gdd-0.3 delta | Review reset |\n");
+ sb.Append("|---|---|---|---|---|---|---|\n");
+ int rows = 0;
+ foreach (var e in old.Events.OrderBy(e => e.Id, StringComparer.Ordinal))
+ {
+ kept.TryGetValue(e.Id, out var m);
+ // "Review reset: no": a kept card keeps its status and human sign-off; an excluded card is not loaded at all.
+ if (m != null) { Assert.Equal(e.Status, m.Status); Assert.Equal(e.ReviewedBy, m.ReviewedBy); Assert.Equal(e.ReviewedOn, m.ReviewedOn); }
+ foreach (var o in e.Options)
+ {
+ // A kept card is the same record under gdd-0.3: its option and every field load unchanged.
+ var mo = m?.Options.Single(x => x.Id == o.Id);
+ var newFields = mo == null ? null : Fields(mo).ToList();
+ var oldFields = Fields(o).ToList();
+ if (newFields != null) Assert.Equal(oldFields, newFields);
+ // No row is unresolved: the shipped cards carry no structured effect, which gdd-0.3 refuses outright.
+ Assert.Empty(o.GrantUnits); Assert.Empty(o.CityEffects); Assert.Empty(o.UnlockProjects);
+ foreach (var (field, change) in oldFields)
+ {
+ rows++;
+ var (target, delta) = m == null
+ ? ("legacy rulesets only (card excluded)", "none (not in play)")
+ : ($"`{field}` (same)", change);
+ sb.Append($"| `{e.Id}` | `{o.Id}` | `{field}` | {change} | {target} | {delta} | no |\n");
+ }
+ }
+ }
+ sb.Append('\n').Append($"{rows} rows: {old.Events.Count} cards under gdd-0.1, {modern.Events.Count} under gdd-0.3.\n");
+
+ // What the gdd-0.3 loader says about each excluded card if its exclusion alone were removed: the first field it
+ // refuses, or that the whole card loads. This is a probe only; content/gdd03-events.yaml is unchanged.
+ sb.Append('\n').Append("| Excluded card | gdd-0.3 loader with only this exclusion removed |\n|---|---|\n");
+ foreach (var id in excluded.OrderBy(x => x, StringComparer.Ordinal))
+ {
+ var manifest = "ruleset: gdd-0.3\nexclusions:\n" + string.Concat(excluded.Where(x => x != id)
+ .Select(x => $" - {{ id: {x}, reason: inventory probe }}\n"));
+ string verdict;
+ try { Gdd03EventRulesTests.Real(true, manifest); verdict = "loads: every field passes the gdd-0.3 checks"; }
+ catch (ContentException ex) { verdict = $"refused at `{ex.Field}`: {ex.Message.Substring(ex.Message.LastIndexOf(": ", StringComparison.Ordinal) + 2)}"; }
+ sb.Append($"| `{id}` | {verdict} |\n");
+ }
+ sb.Append('\n').Append(End);
+ return sb.ToString();
+ }
+
+ // R-EFX-001, R-EFX-002
+ [Fact]
+ public void R_EFX_001_TheInventoryListsEveryEffectFieldAsTheGdd03LoaderResolvesIt()
+ {
+ var expected = Render();
+ var path = DocPath();
+ var doc = File.ReadAllText(path).Replace("\r\n", "\n");
+ int b = doc.IndexOf(Begin, StringComparison.Ordinal), e = doc.IndexOf(End, StringComparison.Ordinal);
+ Assert.True(b >= 0 && e > b, $"{path} needs the {Begin} ... {End} block");
+ var block = doc.Substring(b, e + End.Length - b);
+ if (GoldenManifest.UpdateRequested && block != expected)
+ {
+ File.WriteAllText(path, doc.Substring(0, b) + expected + doc.Substring(e + End.Length));
+ return;
+ }
+ Assert.Equal(expected, block);
+ }
+}
diff --git a/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.cs b/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.cs
index af21ee978..ea2ea10a3 100644
--- a/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.cs
+++ b/sim/Statecraft.Sim.Tests/Gdd03EventRulesTests.cs
@@ -177,7 +177,7 @@ public class Gdd03EventRulesTests
Assert.Equal("events[probe].id", ex.Field);
}
- static Content Real(bool modern, string? manifest = null)
+ internal static Content Real(bool modern, string? manifest = null)
{
var root = RealContentTests.ContentRoot();
return ContentLoader.Load(rel =>