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/mvp.md R-VET-001/002: promotion and veteran_progress hold under gdd-0.3 until the ledger's tiers (#2828)
Eyal Golandb43a0e4cf52
diff --git a/docs/rules/mvp.md b/docs/rules/mvp.mdindex 069ffbba0..74c2af05b 100644--- a/docs/rules/mvp.md+++ b/docs/rules/mvp.md@@ -208,9 +208,9 @@ R-SITE-003: Each turn, in ordinal site id order, every site being built has one## Veteran pioneers-R-VET-001: Under legacy/gdd-0.1, in step 5, after its site's or segment's progress (R-COR-002), a halutz unit whose site or corridor segment is being built gains one turn of service, the turn it is built included; an idle unit gains none. At `veteran_halutz_service` turns of service it becomes a `veteran_halutz` at the end of that turn, keeping its id, hex, service and project, and a cause says so. A veteran gains no more service. A unit's service is written into the state hash only when it is not 0 (D-D9; Q-VET-1, owner, 17 October 2026, #782). A halutz or veteran can return to civilian life and keep its service or its status (R-QUAL-003). In gdd-0.3 synthetic fixtures only, the pure profession helper proposes one actual-work XP increment for a received free civilian with a matching Work assignment and completed staffed-farming evidence regardless of output or advancement, or evidence of advancing an on-site pioneer project. Adopted sources at `605277dfa511dc512562ececeb273b8393b21d35`: `docs/gdd/training.md:17`, "Farmers earn work XP only on staffed farming turns. Pioneers earn it only while advancing an on-site pioneer project."; `docs/gdd/balance.md:70`, "Work XP counts actual qualifying turns, not output or work quantity." Multiple matching results count once per evaluation; zero pioneer advancement, wrong profession/target, generic work, travel, idle, teaching and courses give none. Both novice and trained farmer/pioneer become veteran at the Agreed catalogue `profession.work_to_veteran` threshold (currently 9). Craftsmen do not use this path. The caller must use one turn-start snapshot and commit at most once at turn end; turn scheduling, authoritative evidence production and cross-call deduplication remain held. No game-loop caller is added. The fixture-only pioneer producer (`Gdd03PioneerWorkFixture.ResolveTurnEnd`, #1693) is that caller for pioneers on initialized gdd-0.3 ledger fixtures: from one turn-start state and the pioneer projects being built that turn (yishuv sites and corridor segments alike; owner, 3 November 2026, #1693 answer 5), each pioneer record at Work on one of them gives advancement evidence and its result is committed once, in ascending id, into a new state, except that a veteran's work XP is not advanced (maintainer call, not a ruling, matching the legacy veteran that gains no more service; it still works at its rate); the turn-start state is unchanged, so resolving the same snapshot twice gives one tick. Records off the job (idle, travel, course, teaching) earn nothing and keep their tier and work XP (answer 4). MVP pioneers are course-trained (answer 2). The fixture-only farmer producer (`Gdd03FieldFixture.ResolveWorkXp`, #2468) is the same caller for farmers: from one turn-start state and the month's snapshot (27M-2), each farmer the snapshot has working a field that is still Israeli-held (Q37, the fields R-FIELD-002 pays) gives one staffed-farming receipt, committed the same way, with the same veteran exception; a farmer whose turn-start record is no longer on that field, idle, travelling, teaching or in a course earns nothing. It has no game-loop caller until #1689's integration slice.+R-VET-001: Under legacy/gdd-0.1, and under gdd-0.3 until the population ledger's work-XP tiers are live, in step 5, after its site's or segment's progress (R-COR-002), a halutz unit whose site or corridor segment is being built gains one turn of service, the turn it is built included; an idle unit gains none. At `veteran_halutz_service` turns of service it becomes a `veteran_halutz` at the end of that turn, keeping its id, hex, service and project, and a cause says so. A veteran gains no more service. A unit's service is written into the state hash only when it is not 0 (D-D9; Q-VET-1, owner, 17 October 2026, #782). A halutz or veteran can return to civilian life and keep its service or its status (R-QUAL-003). In gdd-0.3 synthetic fixtures only, the pure profession helper proposes one actual-work XP increment for a received free civilian with a matching Work assignment and completed staffed-farming evidence regardless of output or advancement, or evidence of advancing an on-site pioneer project. Adopted sources at `605277dfa511dc512562ececeb273b8393b21d35`: `docs/gdd/training.md:17`, "Farmers earn work XP only on staffed farming turns. Pioneers earn it only while advancing an on-site pioneer project."; `docs/gdd/balance.md:70`, "Work XP counts actual qualifying turns, not output or work quantity." Multiple matching results count once per evaluation; zero pioneer advancement, wrong profession/target, generic work, travel, idle, teaching and courses give none. Both novice and trained farmer/pioneer become veteran at the Agreed catalogue `profession.work_to_veteran` threshold (currently 9). Craftsmen do not use this path. The caller must use one turn-start snapshot and commit at most once at turn end; turn scheduling, authoritative evidence production and cross-call deduplication remain held. No game-loop caller is added. The fixture-only pioneer producer (`Gdd03PioneerWorkFixture.ResolveTurnEnd`, #1693) is that caller for pioneers on initialized gdd-0.3 ledger fixtures: from one turn-start state and the pioneer projects being built that turn (yishuv sites and corridor segments alike; owner, 3 November 2026, #1693 answer 5), each pioneer record at Work on one of them gives advancement evidence and its result is committed once, in ascending id, into a new state, except that a veteran's work XP is not advanced (maintainer call, not a ruling, matching the legacy veteran that gains no more service; it still works at its rate); the turn-start state is unchanged, so resolving the same snapshot twice gives one tick. Records off the job (idle, travel, course, teaching) earn nothing and keep their tier and work XP (answer 4). MVP pioneers are course-trained (answer 2). The fixture-only farmer producer (`Gdd03FieldFixture.ResolveWorkXp`, #2468) is the same caller for farmers: from one turn-start state and the month's snapshot (27M-2), each farmer the snapshot has working a field that is still Israeli-held (Q37, the fields R-FIELD-002 pays) gives one staffed-farming receipt, committed the same way, with the same veteran exception; a farmer whose turn-start record is no longer on that field, idle, travelling, teaching or in a course earns nothing. It has no game-loop caller until #1689's integration slice.-R-VET-002: Under legacy/gdd-0.1, a veteran's site or corridor segment being built has `veteran_progress` turns less to go each turn, against a halutz's 1; one with that many or fewer left is built that turn. A veteran does the same pioneer work as a halutz (R-SITE-001) (D-D9; Q-VET-2, owner, 17 October 2026, #782). In gdd-0.3 synthetic fixtures only, output quotes read the turn-start tier from Agreed catalogue `pioneer.work_rate` (novice/trained/veteran: 0.75/1/1.5) or `farmer.output` (2/3/5, multiples of `field_food_per_turn`, R-FIELD-002 (owner, 1 November 2026: "Main's base x 0.3's tiers (Recommended)"; #2112); the farmer quote here and in the synthetic field evaluator is that multiple, which equals Food only while `field_food_per_turn` is 1, and `Gdd03FieldRates.FoodPerTurn` converts it). Promotion returns a separate record for the next turn, preserving identity, assignment, placement, equipment and independent military history. No project progress or farming yield is applied by the helper; absent, Deferred or malformed values fail closed without legacy fallback. The #1693 pioneer producer quotes each record's work with this turn-start `pioneer.work_rate`, never `veteran_progress`, and returns the quote per target, summed over the records at Work on an advancing target, without applying it to any project.+R-VET-002: Under legacy/gdd-0.1, and under gdd-0.3 until the population ledger's work-XP tiers are live, a veteran's site or corridor segment being built has `veteran_progress` turns less to go each turn, against a halutz's 1; one with that many or fewer left is built that turn. A veteran does the same pioneer work as a halutz (R-SITE-001) (D-D9; Q-VET-2, owner, 17 October 2026, #782). In gdd-0.3 synthetic fixtures only, output quotes read the turn-start tier from Agreed catalogue `pioneer.work_rate` (novice/trained/veteran: 0.75/1/1.5) or `farmer.output` (2/3/5, multiples of `field_food_per_turn`, R-FIELD-002 (owner, 1 November 2026: "Main's base x 0.3's tiers (Recommended)"; #2112); the farmer quote here and in the synthetic field evaluator is that multiple, which equals Food only while `field_food_per_turn` is 1, and `Gdd03FieldRates.FoodPerTurn` converts it). Promotion returns a separate record for the next turn, preserving identity, assignment, placement, equipment and independent military history. No project progress or farming yield is applied by the helper; absent, Deferred or malformed values fail closed without legacy fallback. The #1693 pioneer producer quotes each record's work with this turn-start `pioneer.work_rate`, never `veteran_progress`, and returns the quote per target, summed over the records at Work on an advancing target, without applying it to any project.### Return to civilian life and reassignment (#1511)