A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Sim: credit the owner's #1698 answer only for the level (Refs #1698) (#2502)
Eyal Golan0b1e71f5367b
diff --git a/changelog.d/2416-followup-labels.md b/changelog.d/2416-followup-labels.mdnew file mode 100644index 000000000..5678ce273--- /dev/null+++ b/changelog.d/2416-followup-labels.md@@ -0,0 +1,3 @@+- GDD 0.3 craftsman course notes (Refs #1698): code comments and the rules text now credit the owner's 4 November 2026+ answer only for the level a re-enrolled craftsman keeps; keeping their work XP is labelled a maintainer reading. Comments+ and docs only, so there is no change in the game.diff --git a/docs/rules/mvp.md b/docs/rules/mvp.mdindex d96c139d0..6bc2de285 100644--- a/docs/rules/mvp.md+++ b/docs/rules/mvp.md@@ -188,7 +188,7 @@ R-CRAFT-001: A civilian becomes a craftsman by training (D-D4; Q-CRAFT-1, owner,R-CRAFT-002: A craftsman fills an ordinary job slot (Q-CRAFT-2, owner, 15 October 2026). Of a city's employed, its craftsmen are counted first, and each employed craftsman earns `craftsman_income_multiple` (2, a labelled design value) times `income_per_job_per_year`; every other employed unit earns the R-CITY-002 rate. Under `gdd-0.3`, a craftsman is a novice from the course start, then an apprentice or an expert (R-CRAFT-003); the course's Industry slot and income stay with #1692.-R-CRAFT-003: In `gdd-0.3` synthetic fixtures only (#1698, `Gdd03CraftCourseFixture`; nothing in the game calls it), a craftsman course on the #1689 population ledger. A free civilian with no profession, whatever their reception progress (as R-TRAIN-005; `docs/GDD.md:374`: "Refugees cannot train until they become civilians"), or a novice farmer or pioneer, starts the course and becomes a novice craftsman under the same population id, as a trainee on the course (#1698 follow-up and 27M-3, in the 1 November 2026 answers the owner approved, [answers](https://github.com/eyalgolan/statecraft-israel/pull/1668#issuecomment-6553884547): "When the craftsman course starts." and "The course replaces the novice profession, and paid tools are not refunded."). Work XP restarts at 0 because the course replaces the novice profession, a maintainer call; tools and their paid fact are kept. A person with a job may start: the job is released in the same change, and what they held at the month's opening is no bar. This is a maintainer reading of `docs/gdd/cities.md:42` ("Reassignment releases old capacity atomically.") with `docs/GDD.md:372` Q43(b)/(c), not an owner ruling. A person on a course, teaching or in reception, and a refugee are refused. Course turns follow R-TRAIN-006's Q43 timing: the enrolment month is course turn 1, a later month counts only when its opening snapshot holds the course, and each month ordinal counts once. The turn that reaches Agreed `craft.course_turns` (currently 3) makes an apprentice craftsman with the same id and every other field, released in that turn as a civilian without a job; they cannot start a course that month (Q43(b), R-TRAIN-008), and work starts the next month. Cancelling before that makes an ordinary civilian again: profession and tier none, work XP 0, released at once, same id, tools and their paid fact kept and nothing refunded (#1698 follow-up: "On cancelling before qualifying they are an ordinary civilian again."; 27M-4; Q44). No teacher is read or created and the population count does not change (#1698: "The course adds no mentor population unit"); a teaching record at a craftsman course is refused. The ledger accepts a novice craftsman outside a course too, a maintainer reading of Q55 ("workshop work by a novice craftsman"). A trained or veteran farmer or pioneer may start the course and loses that level, as a qualified civilian a Train order takes does (R-QUAL-006; `docs/GDD.md:349`, D3): they become a novice craftsman with work XP 0, keep their tools and the paid fact, graduate as an apprentice, and on cancelling are an ordinary civilian, not the old level (owner, 4 November 2026, on "#1698: may a trained or veteran farmer or pioneer start the craftsman course?": "Yes, lose old level (Recommended)"). An apprentice or expert craftsman may take the course again (27M-5, `docs/gdd/training.md:66`: "graduates may re-enrol at any time") and keeps their tier and work XP on the course, after graduating and after cancelling; the course never lowers a qualification (owner, 4 November 2026, on "#1698: what level does a craftsman hold when they take the craftsman course again?": "Keep their level (Recommended)"). Not built here, refused with a "Deferred:" reason and the state unchanged: a novice craftsman outside a course starting it (the 4 November 2026 answer names an apprentice or expert), and a course turn when the course is not available at the month's freeze (Q52). Out of this rule, with #1692: the Industry slot, its capacity and the course income; and with their owners: the 0.5 Money course cost, apprentice-to-expert work turns, live `Train` orders and saves. Every refusal leaves the state unchanged; legacy and `gdd-0.1` states are refused.+R-CRAFT-003: In `gdd-0.3` synthetic fixtures only (#1698, `Gdd03CraftCourseFixture`; nothing in the game calls it), a craftsman course on the #1689 population ledger. A free civilian with no profession, whatever their reception progress, which is not read (`docs/GDD.md:374`: "Refugees cannot train until they become civilians"), or a novice farmer or pioneer, starts the course and becomes a novice craftsman under the same population id, as a trainee on the course (#1698 follow-up and 27M-3, in the 1 November 2026 answers the owner approved, [answers](https://github.com/eyalgolan/statecraft-israel/pull/1668#issuecomment-6553884547): "When the craftsman course starts." and "The course replaces the novice profession, and paid tools are not refunded."). Work XP restarts at 0 because the course replaces the novice profession, a maintainer call; tools and their paid fact are kept. A person with a job may start: the job is released in the same change, and what they held at the month's opening is no bar. This is a maintainer reading of `docs/gdd/cities.md:42` ("Reassignment releases old capacity atomically.") with `docs/GDD.md:372` Q43(b)/(c), not an owner ruling. A person on a course, teaching or in reception, and a refugee are refused. Course turns follow R-TRAIN-006's Q43 timing: the enrolment month is course turn 1, a later month counts only when its opening snapshot holds the course, and each month ordinal counts once. The turn that reaches Agreed `craft.course_turns` (currently 3) makes an apprentice craftsman with the same id and every other field, released in that turn as a civilian without a job; they cannot start a course that month (Q43(b), R-TRAIN-008), and work starts the next month. Cancelling before that makes an ordinary civilian again: profession and tier none, work XP 0, released at once, same id, tools and their paid fact kept and nothing refunded (#1698 follow-up: "On cancelling before qualifying they are an ordinary civilian again."; 27M-4; Q44). No teacher is read or created and the population count does not change (#1698: "The course adds no mentor population unit"); a teaching record at a craftsman course is refused. The ledger accepts a novice craftsman outside a course too, a maintainer reading of Q55 ("workshop work by a novice craftsman"). A trained or veteran farmer or pioneer may start the course and loses that level, as a qualified civilian a Train order takes does (R-QUAL-006; `docs/GDD.md:349`, D3): they become a novice craftsman with work XP 0, keep their tools and the paid fact, graduate as an apprentice, and on cancelling are an ordinary civilian, not the old level (owner, 4 November 2026, on "#1698: may a trained or veteran farmer or pioneer start the craftsman course?": "Yes, lose old level (Recommended)"). An apprentice or expert craftsman may take the course again (27M-5, `docs/gdd/training.md:66`: "graduates may re-enrol at any time") and keeps their tier on the course, after graduating and after cancelling; the course never lowers a qualification (owner, 4 November 2026, on "#1698: what level does a craftsman hold when they take the craftsman course again?": "Keep their level (Recommended)"). That they keep their work XP too is a maintainer reading, not the owner's: the recorded answer covers only the level. Not built here, refused with a "Deferred:" reason and the state unchanged: a novice craftsman outside a course starting it (the 4 November 2026 answer names an apprentice or expert), and a course turn when the course is not available at the month's freeze (Q52). Out of this rule, with #1692: the Industry slot, its capacity and the course income; and with their owners: the 0.5 Money course cost, apprentice-to-expert work turns, live `Train` orders and saves. Every refusal leaves the state unchanged; legacy and `gdd-0.1` states are refused.## Sitesdiff --git a/sim/Statecraft.Sim.Tests/Gdd03CraftCourseFixtureTests.cs b/sim/Statecraft.Sim.Tests/Gdd03CraftCourseFixtureTests.csindex 3db5e2f45..5f40d1179 100644--- a/sim/Statecraft.Sim.Tests/Gdd03CraftCourseFixtureTests.cs+++ b/sim/Statecraft.Sim.Tests/Gdd03CraftCourseFixtureTests.cs@@ -189,8 +189,9 @@ public class Gdd03CraftCourseFixtureTests// R-CRAFT-003, 27M-5 (docs/gdd/training.md:66, "graduates may re-enrol at any time") and owner, 4 November 2026, on// "#1698: what level does a craftsman hold when they take the craftsman course again?": "Keep their level- // (Recommended)". An apprentice or expert craftsman starts the course again under the same id and keeps the tier and- // work XP on the course and after graduating: the course never lowers a qualification.+ // (Recommended)". An apprentice or expert craftsman starts the course again under the same id and keeps the tier on+ // the course and after graduating: the course never lowers a qualification. Keeping their work XP too is a maintainer+ // reading, not the owner's: the recorded answer covers only the level.[Theory][InlineData(Apprentice)][InlineData(Expert)]@@ -217,7 +218,8 @@ public class Gdd03CraftCourseFixtureTests}// R-CRAFT-003, owner, 4 November 2026: "Keep their level (Recommended)". Cancelling a re-enrolled apprentice or expert- // at any counted turn keeps the craftsman profession, tier and work XP; only a novice's cancel makes an ordinary civilian.+ // at any counted turn keeps the craftsman profession and tier; keeping their work XP too is a maintainer reading, not+ // the owner's (the recorded answer covers only the level). Only a novice's cancel makes an ordinary civilian.[Theory][InlineData(Apprentice, 0)][InlineData(Apprentice, 2)]diff --git a/sim/Statecraft.Sim/Gdd03CraftCourseFixture.cs b/sim/Statecraft.Sim/Gdd03CraftCourseFixture.csindex 3df319c90..2ad043eb9 100644--- a/sim/Statecraft.Sim/Gdd03CraftCourseFixture.cs+++ b/sim/Statecraft.Sim/Gdd03CraftCourseFixture.cs@@ -75,8 +75,9 @@ namespace Statecraft.Sim/// the course as a novice craftsman (#1698 follow-up) under the same id. Work XP resets to 0 because the course/// replaces the novice profession (a maintainer call); tools and their paid fact are kept (27M-3, Q44). A trained or/// veteran farmer or pioneer starts the same way and loses that level (R-QUAL-006; owner, 4 November 2026: "Yes,- /// lose old level (Recommended)"). An apprentice or expert craftsman re-enrols (27M-5) keeping tier and work XP- /// (owner, 4 November 2026: "Keep their level (Recommended)"); a novice craftsman outside a course is Deferred. A job held+ /// lose old level (Recommended)"). An apprentice or expert craftsman re-enrols (27M-5) keeping their tier (owner,+ /// 4 November 2026: "Keep their level (Recommended)") and their work XP (a maintainer reading: the recorded answer+ /// covers only the level); a novice craftsman outside a course is Deferred. A job held/// now is released in the same commit, and what the person held at the month's opening is no bar: a maintainer/// reading of docs/gdd/cities.md:42 ("Reassignment releases old capacity atomically.") with docs/GDD.md:372/// Q43(b)/(c), as #1697's second slice reads them, not an owner ruling. A person released by a graduation cannot@@ -145,8 +146,9 @@ namespace Statecraft.Sim/// <summary>R-CRAFT-003: cancelling before qualifying makes an ordinary civilian again (#1698 follow-up): profession/// and tier none, work XP 0, released at once as a civilian without a job (Q43(b)). Same id; tools and their paid- /// fact are kept and nothing is refunded (27M-4, Q44). A re-enrolled apprentice or expert keeps the craftsman tier and- /// work XP (owner, 4 November 2026: "Keep their level (Recommended)").</summary>+ /// fact are kept and nothing is refunded (27M-4, Q44). A re-enrolled apprentice or expert keeps the craftsman tier+ /// (owner, 4 November 2026: "Keep their level (Recommended)") and work XP (a maintainer reading: the recorded answer+ /// covers only the level).</summary>internal void Cancel(int traineeId){ValidateInventory();