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.

docs(rules): cite #1725 issuecomment-6725822701 for three R-ARMS-005 rulings (#2966 follow-up) (#2980)

Eyal Golan2a018219f21d
diff --git a/docs/rules/mvp.md b/docs/rules/mvp.md
index cdbb8d004..b39b6cbf3 100644
--- a/docs/rules/mvp.md
+++ b/docs/rules/mvp.md
@@ -470,7 +470,7 @@ R-ARMS-003: Recruit training (R-TRAIN-001) takes `arms_per_recruit_group` (1) Ar
R-ARMS-004: Under gdd-0.3 only, the arms workshop (`projects.yaml` `arms_workshop`, #1701) is a city project kind: `StartProject` builds it as R-PROJ-001 to R-PROJ-003 build any kind, for IL 15m and 3 turns (owner, 2 November 2026, #1701 OQ2: "IL 15m, 3 turns (Recommended)"; the gdd-0.3 catalogue's `arms_workshop` cost 15 and work 3). Built, it gives one workshop worker slot (`worker_slots: 1`, the catalogue's `arms_workshop.parts.worker_slots`) and adds no housing, condition or job slots: a workshop gives no Industry job (`docs/gdd/cities.md`, "Arms workshops"). Its row carries `rulesets: [gdd-0.3]`, and the loader leaves it out of every other ruleset's kinds, so a gdd-0.1 game neither lists nor starts it (`StartProject` refuses it as an unknown kind) and its state does not change; the row still moves the content hash. The loader refuses an unknown ruleset id in `rulesets`, `worker_slots` other than 0 or 1, a kind with a worker slot that has capacity, condition or job slots or is not limited to exactly gdd-0.3, and, under gdd-0.3, an `arms_workshop` whose worker slots differ from the catalogue's. It pays no upkeep: R-MONEY-002 has no rate for it (the catalogue's 0.50 is a Default). Its Hebrew name סדנת נשק remains a draft until a native speaker, or an AI-assisted contributor who discloses it, has read it (`name_he_review: agent-checked`, #564; owner, 2 November 2026, #1701 OQ8; owner, 4 November 2026: "AI-assisted can clear it").
-R-ARMS-005: Under gdd-0.3, `AssignWorkers(city, "workshop", n)` is a standing order that staffs the city's first `n` built arms workshops, in ascending project id, and leaves the rest unstaffed (27M-13, owner-approved 1 November 2026: "Any free civilian. The cost tier follows the worker (novice or ordinary / apprentice / expert)."). A newly staffed workshop takes one of the city's civilians and craftsmen who hold no job; the worker stays one of them, with no job, profession or qualification change, is not employed (R-CITY-001) and earns no job income (R-CITY-002). On the aggregate cities every worker is priced at the ordinary or novice tier until the population ledger's tiers are live (owner, 2 November 2026, #1701 OQ6: "Accept all four (Recommended)"; R-POP-004). It is refused, state unchanged, for an unknown city, a negative count, more than the city's built workshops ("Town A has 1 arms workshop"), or more newly staffed workshops than the city's people without a job ("... civilians and craftsmen without a job"); under gdd-0.1 the `workshop` role is refused as "There is no such role", and the legacy loop refuses the order before charging Attention ("That order is not available in this game", R-CITY-001). While the city's job default is on (R-CITY-009), a newly staffed workshop may take its worker from the default's jobs instead: the order is refused only past the city's civilians and craftsmen less its staffed workshops and builders (R-CITY-011) ("... civilians and craftsmen"), the city's employed falls to at most its civilians and craftsmen less the staffed workshops and builders (a `city` cause, "Town: N groups in work"), and the default stays on, filling one job fewer (R-CITY-001; #2270 review fix, 2 November 2026). A number of jobs the player set (default off) is never lowered: there the order needs people without a job. A builder (R-CITY-011) is not one of the city's people without a job for this order. A staffed workshop's worker is not idle: `Train` (R-TRAIN-001) and `ReassignPioneers` (R-QUAL-005) cannot take them, and the Train panel's limit (`Training.Available`) counts a pending `workshop` order's newly staffed workers, never as jobs. An unstaffed workshop keeps its record, paid cost and progress (a pause, R-ARMS-007). There is no limit on workshops per city beyond one project a hex and the starts a turn (R-PROJ-001; #1701 OQ7). `GameState.Workshops` holds every workshop ever staffed, by project id, and is hashed as `wshop[...]` only when it has one (R-LOOP-002). The hex panel of a built workshop (#1722, #1701 slice E) queues it: `Workshops.Check(city, n, pending)` gives the order's own refusal and, with this turn's queue, also counts the city's pending `job` order and its Train and reassignment orders, so a count it accepts is accepted whichever runs first; the jobs stepper's limit (`Cities.MaxWorkers` with the queue) counts a pending `workshop` order's newly staffed workers, as `Training.Available` does. The panel's next-cycle price is `Workshops.NextCyclePrice`, what the production step would charge (R-ARMS-006), shown for a workshop never staffed too, at the ordinary or novice tier, and its cycle length is `Workshops.CycleMonths`. A jobs order past the city's civilians and craftsmen less its staffed workshops is refused with the staffing order's people format, "Town A has N civilians and craftsmen" (#1722 review). On a game with an initialized Historical ledger (the dark start, R-POP-002; #1725 PR 7) the same order runs on the people records, under the owner's rulings (owner, 8 November 2026): "Keep existing order (Rec.)": `AssignWorkers(city, "workshop", n)` is the order there too, and the order picks the records; every other role is still refused. "Unassigned, lowest id (Rec.)": a workshop no longer staffed first releases its worker record, an unassigned free civilian again in place; then each newly staffed workshop, in ascending project id, takes the city's unassigned free-civilian record (located in the city) with the lowest population id, so the Haifa teacher, the city's last record, is taken last. "Work assignment (Rec.)": that record holds a Work assignment on the target `workshop/<project id>` in the city's region, bound the first time the workshop is staffed (owner, 8 November 2026: "At first staffing (Recommended)"), in the same all-or-nothing ledger commit as the records; it keeps its status, place, profession, tier and XP (Q55). "Keep tier field (Rec.)": the workshop's `WorkerTier` is the record's priced tier (R-ARMS-006), with no new field. The order is refused, state unchanged, for an unknown city, a negative count and more than the city's built workshops as above, and for more newly staffed workshops than those records ("Haifa has N free civilians without an assignment"). "Wait for Industry records (Rec.)": no count of the city's people without a job is made, and no city field is read or written, so the job default's path above (a worker taken from the city's jobs) waits for #1725 PR 3's Industry records. A city with builders (R-CITY-011) is refused, state unchanged and nothing thrown, since builders are not records yet (owner, 8 November 2026: "Refuse with a reason (Recommended)"), with "Haifa has builders on city projects, who are not on the population ledger yet"; this internal English text gets its Hebrew with the UI wiring PR. `Workshops.Check` and the panel's limits are the aggregate game's and are not used there: they still read the city counts, and the workshop UI PR makes them read the records (owner, 8 November 2026: "Fix in the UI PR (Recommended)").
+R-ARMS-005: Under gdd-0.3, `AssignWorkers(city, "workshop", n)` is a standing order that staffs the city's first `n` built arms workshops, in ascending project id, and leaves the rest unstaffed (27M-13, owner-approved 1 November 2026: "Any free civilian. The cost tier follows the worker (novice or ordinary / apprentice / expert)."). A newly staffed workshop takes one of the city's civilians and craftsmen who hold no job; the worker stays one of them, with no job, profession or qualification change, is not employed (R-CITY-001) and earns no job income (R-CITY-002). On the aggregate cities every worker is priced at the ordinary or novice tier until the population ledger's tiers are live (owner, 2 November 2026, #1701 OQ6: "Accept all four (Recommended)"; R-POP-004). It is refused, state unchanged, for an unknown city, a negative count, more than the city's built workshops ("Town A has 1 arms workshop"), or more newly staffed workshops than the city's people without a job ("... civilians and craftsmen without a job"); under gdd-0.1 the `workshop` role is refused as "There is no such role", and the legacy loop refuses the order before charging Attention ("That order is not available in this game", R-CITY-001). While the city's job default is on (R-CITY-009), a newly staffed workshop may take its worker from the default's jobs instead: the order is refused only past the city's civilians and craftsmen less its staffed workshops and builders (R-CITY-011) ("... civilians and craftsmen"), the city's employed falls to at most its civilians and craftsmen less the staffed workshops and builders (a `city` cause, "Town: N groups in work"), and the default stays on, filling one job fewer (R-CITY-001; #2270 review fix, 2 November 2026). A number of jobs the player set (default off) is never lowered: there the order needs people without a job. A builder (R-CITY-011) is not one of the city's people without a job for this order. A staffed workshop's worker is not idle: `Train` (R-TRAIN-001) and `ReassignPioneers` (R-QUAL-005) cannot take them, and the Train panel's limit (`Training.Available`) counts a pending `workshop` order's newly staffed workers, never as jobs. An unstaffed workshop keeps its record, paid cost and progress (a pause, R-ARMS-007). There is no limit on workshops per city beyond one project a hex and the starts a turn (R-PROJ-001; #1701 OQ7). `GameState.Workshops` holds every workshop ever staffed, by project id, and is hashed as `wshop[...]` only when it has one (R-LOOP-002). The hex panel of a built workshop (#1722, #1701 slice E) queues it: `Workshops.Check(city, n, pending)` gives the order's own refusal and, with this turn's queue, also counts the city's pending `job` order and its Train and reassignment orders, so a count it accepts is accepted whichever runs first; the jobs stepper's limit (`Cities.MaxWorkers` with the queue) counts a pending `workshop` order's newly staffed workers, as `Training.Available` does. The panel's next-cycle price is `Workshops.NextCyclePrice`, what the production step would charge (R-ARMS-006), shown for a workshop never staffed too, at the ordinary or novice tier, and its cycle length is `Workshops.CycleMonths`. A jobs order past the city's civilians and craftsmen less its staffed workshops is refused with the staffing order's people format, "Town A has N civilians and craftsmen" (#1722 review). On a game with an initialized Historical ledger (the dark start, R-POP-002; #1725 PR 7) the same order runs on the people records, under the owner's rulings (owner, 8 November 2026): "Keep existing order (Rec.)": `AssignWorkers(city, "workshop", n)` is the order there too, and the order picks the records; every other role is still refused. "Unassigned, lowest id (Rec.)": a workshop no longer staffed first releases its worker record, an unassigned free civilian again in place; then each newly staffed workshop, in ascending project id, takes the city's unassigned free-civilian record (located in the city) with the lowest population id, so the Haifa teacher, the city's last record, is taken last. "Work assignment (Rec.)": that record holds a Work assignment on the target `workshop/<project id>` in the city's region, bound the first time the workshop is staffed (owner, 8 November 2026, #1725 issuecomment-6725822701: "At first staffing (Recommended)"), in the same all-or-nothing ledger commit as the records; it keeps its status, place, profession, tier and XP (Q55). "Keep tier field (Rec.)": the workshop's `WorkerTier` is the record's priced tier (R-ARMS-006), with no new field. The order is refused, state unchanged, for an unknown city, a negative count and more than the city's built workshops as above, and for more newly staffed workshops than those records ("Haifa has N free civilians without an assignment"). "Wait for Industry records (Rec.)": no count of the city's people without a job is made, and no city field is read or written, so the job default's path above (a worker taken from the city's jobs) waits for #1725 PR 3's Industry records. A city with builders (R-CITY-011) is refused, state unchanged and nothing thrown, since builders are not records yet (owner, 8 November 2026, #1725 issuecomment-6725822701: "Refuse with a reason (Recommended)"), with "Haifa has builders on city projects, who are not on the population ledger yet"; this internal English text gets its Hebrew with the UI wiring PR. `Workshops.Check` and the panel's limits are the aggregate game's and are not used there: they still read the city counts, and the workshop UI PR makes them read the records (owner, 8 November 2026, #1725 issuecomment-6725822701: "Fix in the UI PR (Recommended)").
R-ARMS-006: On step 6 of the turn, after the cities' job income, in ascending project id, each staffed arms workshop under gdd-0.3 works this month when its city is not held (R-CITY-010) and one of the city's people without a job is left for it once step 5's builders have taken theirs (R-CITY-011; each workshop of the city takes one, in ascending project id; when none is left for it, it waits, and the Why screen says so). A workshop with no cycle under way first pays for one there (27M-11: "At the monthly production step."), at its worker's tier from the gdd-0.3 catalogue: `workshop.cost` IL 5m / 4m / 3m (ordinary or novice / apprentice / expert; `docs/GDD.md`'s balance ruling: "`workshop.cost` is Money per Arms and stays."), beside the IL 1m an Arms of R-ARMS-002 (owner, 2 November 2026, #1701 OQ1: "Keep as ruled"). A short Treasury borrows the rest (R-MONEY-003; 27M-12: "Automatic each month while the workshop is staffed, paid like any GDD cost."), but a cycle whose borrowing would take the debt past `debt_ceiling` is not paid: the workshop waits that month, the turn report says why (below), and nothing is borrowed (owner, 2 November 2026, #1701 OQ4: "Refuse past the ceiling (Recommended)"; exactly at the ceiling is allowed, and a Treasury that pays in full is never refused, as in R-ARMS-002). The month a cycle is paid is its first staffed month (#1701 OQ3: "Accept all four (Recommended)"). After `workshop.staffed_turns` (3) staffed months the cycle adds 1 Arms to the stock (R-ARMS-001) and ends, and the next month starts the next one by itself, with no order. When the Arms stock is `int.MaxValue`, a finished cycle waits silently at its completed, paid progress, keeps its worker, and adds no Arms or Why line. A worker change keeps the cycle's paid cost and progress; only the next cycle is priced at the new worker's tier (27M-13). An unstaffed workshop, or one in a held city, keeps its cycle as it is and is not charged. The turn-report panel lists, in a row of its own after the stocks, each Arms a workshop made ("Workshop in Town: +1 Arms") and each ceiling pause ("Workshop in Town paused: debt ceiling") (owner, 2 November 2026, #1701 A1: "Yes, in the panel (Recommended)", the option "The turn-report panel shows 'Workshop in <city>: +1 Arms' and 'Workshop in <city> paused: debt ceiling'."); a no-worker pause is on the Why screen only. A city's Arms are one line and its ceiling pauses another, each with its count when there are two or more ("Workshops in Town (2): +2 Arms", "Workshops in Town (2) paused: debt ceiling"), in the order each first appears among the turn's causes (owner, 2 November 2026: "Combine per city (Recommended)", the option "'Workshops in Tel Aviv (6): +6 Arms'; pauses likewise combined with a count."). The option gives no wording for one workshop, so a city with one keeps A1's line. The count is the number of the sim's causes; the UI computes nothing else. On a game with an initialized Historical ledger (R-POP-002; #1725 PR 7) a staffed workshop works when its own worker record (R-ARMS-005) is still a free civilian of the workshop's city on its target; a builder never takes that record (R-CITY-011), so no count of the city's people without a job is read (owner, 8 November 2026: "Wait for Industry records (Rec.)"). "Waits, stays staffed (Rec.)": a workshop whose worker is gone waits with the no-worker Why line, stays staffed and is given no other record. "Only craftsmen discount (Rec.)": a new cycle is priced at the record's tier, IL 4m for a craftsman apprentice and IL 3m for an expert, and IL 5m for every other record (profession none, a farmer or pioneer at any tier, a craftsman novice); "Keep tier field (Rec.)": the tier is written to `WorkerTier` when that cycle is priced, and a cycle under way keeps its paid cost. The held-city pause, the payment, the borrowing, the ceiling, the Arms and the Why lines are as above. A synthetic or Open ledger is still refused.