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: the nine player regions, with localities and sites as members (Refs #1691) (#2294)

Eyal Golancfc8b1b07422
diff --git a/ASSETS.yaml b/ASSETS.yaml
index c3fb4f3f0..bead534b1 100644
--- a/ASSETS.yaml
+++ b/ASSETS.yaml
@@ -1593,6 +1593,15 @@ rules:
licence: CC-BY-SA-4.0
source: "Generated by tools/unit_anchor_hexes.py from units_1948.yaml and hexes.json"
status: verified
+ - glob: "content/map/locality_hexes.yaml"
+ licence: CC-BY-SA-4.0
+ source: "Generated by tools/locality_hexes.py from localities_1948.yaml, region_places_1948.yaml and hexes.json"
+ status: verified
+ - glob: "content/map/region_places_1948.yaml"
+ licence: CC-BY-SA-4.0
+ source: "Gdd-0.3 region member places with no other record (#1691; owner, 2 November 2026, 'Fix all, then ship (Recommended)'): coordinates and facts from English and Hebrew Wikipedia by revision (CC BY-SA 4.0; facts only, short quotes in notes); per-row sources and check dates in the file"
+ status: verified
+ note: "Every row is status draft until a person checks each fact (CONTENT_POLICY section 2, rule 6). Neither the sim nor the map reads it; tools/locality_hexes.py does."
- glob: "content/map/settlement_population_1945.yaml"
licence: CC-BY-SA-4.0
source: "Village Statistics, 1945 (Government of Palestine), figures read from https://en.wikipedia.org/wiki/Village_Statistics,_1945 on 2026-10-11; per-row sources in the file"
diff --git a/changelog.d/1691.md b/changelog.d/1691.md
new file mode 100644
index 000000000..4470cff4b
--- /dev/null
+++ b/changelog.d/1691.md
@@ -0,0 +1,4 @@
+- The GDD 0.3 ruleset's nine player regions (#1691): Galilee, the Valleys, Haifa-Sharon, Tel Aviv-Jaffa, the Central
+ Plain, the Jerusalem Hills, the Northern Hills, the Southern Coast and the Negev, each with a label place (not a
+ regional capital). A region's places may now be localities and designated sites, and each region lists its opening
+ field hexes (20 in all, data only). No game uses the regions yet.
diff --git a/content/map/locality_hexes.yaml b/content/map/locality_hexes.yaml
new file mode 100644
index 000000000..65d0d7068
--- /dev/null
+++ b/content/map/locality_hexes.yaml
@@ -0,0 +1,278 @@
+# Generated by tools/locality_hexes.py from localities_1948.yaml, region_places_1948.yaml and hexes.json
+# (hexgrid.settlement_hex). Do not edit by hand: rerun the tool after changing any input. Read by the sim only
+# under exact gdd-0.3, to place region members (R-CITY-006).
+localities:
+ - { id: hebron, q: -4, r: 30 }
+ - { id: nablus, q: 4, r: 19 }
+ - { id: khan_yunis, q: -16, r: 34 }
+ - { id: ramat_gan, q: -3, r: 21 }
+ - { id: al_majdal, q: -9, r: 28 }
+ - { id: dura_hebron, q: -5, r: 31 }
+ - { id: bethlehem, q: -1, r: 27 }
+ - { id: tulkarm, q: 2, r: 17 }
+ - { id: salama_jaffa, q: -3, r: 22 }
+ - { id: qalqilya, q: 0, r: 19 }
+ - { id: al_abbasiyya, q: -2, r: 22 }
+ - { id: givatayim, q: -3, r: 21 }
+ - { id: bnei_brak, q: -3, r: 21 }
+ - { id: tubas, q: 6, r: 17 }
+ - { id: umm_al_fahm, q: 5, r: 14 }
+ - { id: yibna, q: -6, r: 25 }
+ - { id: pardes_hanna_karkur, q: 2, r: 15 }
+ - { id: al_tira_haifa, q: 5, r: 10 }
+ - { id: yatta, q: -5, r: 32 }
+ - { id: beit_shean, q: 9, r: 14 }
+ - { id: ramallah, q: 0, r: 25 }
+ - { id: hamama, q: -9, r: 28 }
+ - { id: isdud, q: -8, r: 27 }
+ - { id: al_faluja, q: -8, r: 29 }
+ - { id: herzliya, q: -2, r: 20 }
+ - { id: sepphoris, q: 8, r: 10 }
+ - { id: kfar_saba, q: -1, r: 20 }
+ - { id: taibe_2, q: 1, r: 18 }
+ - { id: balad_al_sheikh, q: 5, r: 10 }
+ - { id: yazur, q: -4, r: 22 }
+ - { id: jenin, q: 6, r: 15 }
+ - { id: bayt_dajan_jaffa, q: -3, r: 22 }
+ - { id: tarshiha, q: 10, r: 6 }
+ - { id: silwan, q: 0, r: 26 }
+ - { id: arraba_2, q: 5, r: 16 }
+ - { id: al_dahiriya, q: -7, r: 33 }
+ - { id: ajjur, q: -5, r: 28 }
+ - { id: al_dawayima, q: -6, r: 30 }
+ - { id: beit_yala, q: -1, r: 27 }
+ - { id: qabatiya, q: 5, r: 16 }
+ - { id: shefa_amr, q: 8, r: 9 }
+ - { id: jabalia, q: -12, r: 31 }
+ - { id: yabad, q: 5, r: 15 }
+ - { id: samakh, q: 12, r: 11 }
+ - { id: halhul, q: -4, r: 30 }
+ - { id: raanana, q: -2, r: 20 }
+ - { id: holon, q: -4, r: 22 }
+ - { id: bani_suheila, q: -15, r: 34 }
+ - { id: ein_karem, q: -1, r: 26 }
+ - { id: tira, q: 0, r: 19 }
+ - { id: anabta, q: 3, r: 17 }
+ - { id: al_safiriyya, q: -3, r: 23 }
+ - { id: kafr_ana, q: -3, r: 22 }
+ - { id: jericho, q: 3, r: 25 }
+ - { id: ijzim, q: 4, r: 12 }
+ - { id: al_bassa, q: 9, r: 5 }
+ - { id: al_bireh, q: 1, r: 24 }
+ - { id: deir_al_ghusun, q: 2, r: 17 }
+ - { id: silat_adh_dhahr, q: 4, r: 17 }
+ - { id: nesher, q: 5, r: 10 }
+ - { id: at_tur, q: 0, r: 26 }
+ - { id: beit_sahour, q: -1, r: 28 }
+ - { id: bayt_daras, q: -7, r: 27 }
+ - { id: burayr, q: -10, r: 30 }
+ - { id: sair, q: -3, r: 30 }
+ - { id: attil, q: 3, r: 16 }
+ - { id: sakhnin, q: 10, r: 8 }
+ - { id: burqa_nablus, q: 4, r: 17 }
+ - { id: deir_al_balah, q: -14, r: 32 }
+ - { id: lifta, q: -1, r: 26 }
+ - { id: al_masmiyya_al_kabira, q: -6, r: 27 }
+ - { id: al_yamun, q: 6, r: 14 }
+ - { id: as_samu, q: -6, r: 33 }
+ - { id: aqir, q: -5, r: 25 }
+ - { id: sur_bahir, q: -1, r: 27 }
+ - { id: bayt_jibrin, q: -6, r: 29 }
+ - { id: al_jura, q: -9, r: 28 }
+ - { id: barbara_gaza, q: -10, r: 29 }
+ - { id: bayt_mahsir, q: -3, r: 26 }
+ - { id: zarnuqa, q: -5, r: 25 }
+ - { id: shwiaka_tulkarm, q: 2, r: 17 }
+ - { id: lubya, q: 10, r: 10 }
+ - { id: afula, q: 7, r: 13 }
+ - { id: bayt_nabala, q: -2, r: 23 }
+ - { id: hiribya, q: -10, r: 29 }
+ - { id: arara, q: 4, r: 14 }
+ - { id: baqa_al_gharbiyye, q: 3, r: 15 }
+ - { id: abasan_al_kabira, q: -15, r: 34 }
+ - { id: bala, q: 3, r: 17 }
+ - { id: iraq_al_manshiyya, q: -7, r: 29 }
+ - { id: rafah, q: -17, r: 35 }
+ - { id: idna, q: -5, r: 30 }
+ - { id: surif, q: -3, r: 28 }
+ - { id: ayn_ghazal, q: 4, r: 12 }
+ - { id: bani_naim, q: -3, r: 31 }
+ - { id: bayt_nattif, q: -4, r: 28 }
+ - { id: kafr_rai, q: 4, r: 16 }
+ - { id: maghar, q: 11, r: 8 }
+ - { id: dayr_aban, q: -3, r: 27 }
+ - { id: jaba_2, q: 4, r: 17 }
+ - { id: deir_dibwan, q: 1, r: 24 }
+ - { id: tammun, q: 6, r: 18 }
+ - { id: aqraba, q: 4, r: 21 }
+ - { id: asira_ash_shamaliya, q: 4, r: 18 }
+ - { id: daliyat_al_karmel, q: 5, r: 11 }
+ - { id: naana, q: -4, r: 25 }
+ - { id: bat_yam, q: -4, r: 22 }
+ - { id: al_qubab, q: -3, r: 25 }
+ - { id: qaqun, q: 2, r: 16 }
+ - { id: sarafand_al_amar, q: -3, r: 23 }
+ - { id: abu_dis, q: 0, r: 27 }
+ - { id: malha, q: -1, r: 27 }
+ - { id: al_shaykh_muwannis, q: -3, r: 21 }
+ - { id: kafr_kanna, q: 9, r: 10 }
+ - { id: az_zeeb, q: 9, r: 5 }
+ - { id: silwad, q: 2, r: 23 }
+ - { id: abu_kishk, q: -2, r: 20 }
+ - { id: al_mujaydil, q: 7, r: 11 }
+ - { id: silat_al_harithiya, q: 6, r: 14 }
+ - { id: al_khalisa, q: 16, r: 2 }
+ - { id: salfit, q: 2, r: 21 }
+ - { id: talluza, q: 5, r: 18 }
+ - { id: tamra, q: 9, r: 8 }
+ - { id: arraba, q: 10, r: 8 }
+ - { id: isfiya, q: 5, r: 11 }
+ - { id: zeita_tulkarm, q: 3, r: 16 }
+ - { id: ness_ziona, q: -5, r: 24 }
+ - { id: dayr_tarif, q: -2, r: 23 }
+ - { id: al_maghar, q: -5, r: 25 }
+ - { id: shaab, q: 9, r: 8 }
+ - { id: beit_hanoun, q: -11, r: 30 }
+ - { id: al_qubayba_ramla, q: -5, r: 24 }
+ - { id: kfar_ganim, q: -2, r: 21 }
+ - { id: beit_lahia, q: -11, r: 30 }
+ - { id: sabbarin, q: 4, r: 13 }
+ - { id: kiryat_ata, q: 7, r: 9 }
+ - { id: rameh, q: 11, r: 7 }
+ - { id: beit_ummar, q: -3, r: 29 }
+ - { id: ibillin, q: 8, r: 9 }
+ - { id: al_walaja, q: -1, r: 27 }
+ - { id: bashshit, q: -6, r: 26 }
+ - { id: hunin, q: 16, r: 2 }
+ - { id: wadi_hunayn, q: -5, r: 24 }
+ - { id: beit_hanina, q: 0, r: 25 }
+ - { id: kafr_zibad, q: 1, r: 19 }
+ - { id: beita, q: 4, r: 20 }
+ - { id: fajja, q: -2, r: 21 }
+ - { id: qaffin, q: 3, r: 16 }
+ - { id: birzeit, q: 1, r: 23 }
+ - { id: tarqumiyah, q: -5, r: 30 }
+ - { id: burqin, q: 6, r: 15 }
+ - { id: qalansawe, q: 1, r: 18 }
+ - { id: al_kabri, q: 9, r: 6 }
+ - { id: al_salihiyya, q: 16, r: 3 }
+ - { id: beit_jann, q: 12, r: 6 }
+ - { id: binyamina, q: 2, r: 14 }
+ - { id: majdal_yaba, q: -1, r: 21 }
+ - { id: jimzu, q: -3, r: 24 }
+ - { id: kafr_qara, q: 4, r: 14 }
+ - { id: yarka, q: 9, r: 7 }
+ - { id: beitunia, q: 0, r: 24 }
+ - { id: tantura, q: 3, r: 12 }
+ - { id: beit_fajjar, q: -3, r: 29 }
+ - { id: ramatayim, q: -1, r: 20 }
+ - { id: awarta, q: 4, r: 20 }
+ - { id: umm_az_zinat, q: 5, r: 12 }
+ - { id: al_birwa, q: 9, r: 7 }
+ - { id: kafr_qasim, q: -1, r: 21 }
+ - { id: ilar, q: 3, r: 16 }
+ - { id: imwas, q: -3, r: 25 }
+ - { id: nahariya, q: 9, r: 5 }
+ - { id: al_khayriyya, q: -3, r: 22 }
+ - { id: innaba, q: -3, r: 24 }
+ - { id: nabi_rubin, q: -5, r: 24 }
+ - { id: nilin, q: -2, r: 24 }
+ - { id: zirin, q: 8, r: 13 }
+ - { id: beit_iksa, q: -1, r: 26 }
+ - { id: beit_safafa, q: -1, r: 27 }
+ - { id: al_mazraa_ash_sharqiya, q: 2, r: 23 }
+ - { id: kafr_yasif, q: 9, r: 6 }
+ - { id: majd_al_krum, q: 10, r: 7 }
+ - { id: karatiyya, q: -8, r: 29 }
+ - { id: biddya, q: 0, r: 21 }
+ - { id: meithalun, q: 5, r: 17 }
+ - { id: simsim_gaza, q: -10, r: 30 }
+ - { id: turan, q: 10, r: 10 }
+ - { id: nazla, q: -12, r: 31 }
+ - { id: taybeh_ramallah, q: 2, r: 23 }
+ - { id: wadi_al_hawarith, q: 1, r: 16 }
+ - { id: nahef, q: 10, r: 7 }
+ - { id: sinjil, q: 2, r: 22 }
+ - { id: al_damun, q: 8, r: 8 }
+ - { id: beit_ula, q: -4, r: 29 }
+ - { id: niilya, q: -10, r: 29 }
+ - { id: qabalan, q: 6, r: 15 }
+ - { id: huwara, q: 3, r: 20 }
+ - { id: al_tira, q: -2, r: 22 }
+ - { id: daburiyya, q: 9, r: 11 }
+ - { id: kafr_thulth, q: 1, r: 20 }
+ - { id: reineh, q: 9, r: 10 }
+ - { id: tell_es_safi, q: -6, r: 28 }
+ - { id: rantis, q: -1, r: 22 }
+ - { id: kfar_saba_2, q: -1, r: 20 }
+ - { id: kafr_manda, q: 9, r: 9 }
+ - { id: magdiel, q: -1, r: 20 }
+ - { id: al_sindiyana, q: 4, r: 13 }
+ - { id: dayr_al_qassi, q: 12, r: 5 }
+ - { id: qibya, q: -1, r: 23 }
+ - { id: al_naima, q: 16, r: 3 }
+ - { id: amka, q: 9, r: 6 }
+ - { id: ash_shuyukh, q: -3, r: 30 }
+ - { id: bayt_nuba, q: -2, r: 25 }
+ - { id: beit_furik, q: 4, r: 20 }
+ - { id: ghuwayr_abu_shusha, q: 12, r: 8 }
+ - { id: jammain, q: 2, r: 21 }
+ - { id: kafr_qaddum, q: 2, r: 19 }
+ - { id: al_jiyya, q: -10, r: 29 }
+ - { id: yagur, q: 6, r: 10 }
+ - { id: yalo, q: -2, r: 25 }
+ - { id: qatra, q: -6, r: 26 }
+ - { id: al_mansi, q: 6, r: 13 }
+ - { id: burin, q: 3, r: 20 }
+ - { id: azzoun, q: 1, r: 20 }
+ - { id: deir_istiya, q: 2, r: 20 }
+ - { id: hittin, q: 11, r: 9 }
+ - { id: az_zakariyya, q: -4, r: 27 }
+ - { id: jusayr, q: -7, r: 28 }
+ - { id: al_muzayria, q: -2, r: 22 }
+ - { id: al_jauna, q: 14, r: 6 }
+ - { id: qatanna, q: -1, r: 25 }
+ - { id: jaba, q: 4, r: 12 }
+ - { id: al_khader, q: -2, r: 28 }
+ - { id: sasa, q: 12, r: 5 }
+ - { id: suhmata, q: 11, r: 6 }
+ - { id: caesarea, q: 2, r: 14 }
+ - { id: jatt, q: 3, r: 15 }
+ - { id: qusra, q: 4, r: 21 }
+ - { id: iksal, q: 9, r: 11 }
+ - { id: deir_al_asad, q: 10, r: 7 }
+ - { id: kafr_malik, q: 2, r: 23 }
+ - { id: saqiya, q: -3, r: 22 }
+ - { id: jish, q: 13, r: 5 }
+ - { id: aboud, q: 0, r: 22 }
+ - { id: al_jammasin_al_gharbi, q: -3, r: 21 }
+ - { id: al_manshiyya_acre, q: 8, r: 7 }
+ - { id: deir_jarir, q: 2, r: 23 }
+ - { id: saliha, q: 13, r: 5 }
+ - { id: yafa_an_naseriyye, q: 8, r: 11 }
+ - { id: yasur, q: -6, r: 26 }
+ - { id: al_eizariya, q: 0, r: 26 }
+ - { id: al_qubayba_hebron, q: -7, r: 30 }
+ - { id: bayt_tima, q: -9, r: 29 }
+ - { id: irtah, q: 1, r: 18 }
+ - { id: tell_nablus, q: 3, r: 19 }
+ - { id: al_zuq_al_tahtani, q: 16, r: 2 }
+ - { id: battir, q: -2, r: 27 }
+ - { id: fassuta, q: 11, r: 5 }
+ - { id: kuwaykat, q: 9, r: 6 }
+ - { id: beit_liqya, q: -2, r: 25 }
+ - { id: ein_mahil, q: 9, r: 11 }
+ - { id: sarafand_al_kharab, q: -4, r: 24 }
+ - { id: al_sawafir_al_gharbiyya, q: -8, r: 28 }
+ - { id: julis_2, q: -8, r: 28 }
+ - { id: al_ghazzawiyya, q: 10, r: 14 }
+ - { id: ashdot_yaakov, q: 11, r: 12 }
+ - { id: sanur_jenin, q: 5, r: 17 }
+ - { id: sebastia, q: 3, r: 18 }
+ - { id: givat_brenner, q: -5, r: 25 }
+ - { id: qula, q: -2, r: 22 }
+ - { id: bartaa, q: 4, r: 15 }
+ - { id: tarbikha, q: 11, r: 5 }
+ - { id: gesher, q: 11, r: 12 }
+ - { id: mishmar_haemek, q: 6, r: 12 }
+ - { id: nitzanim, q: -8, r: 27 }
diff --git a/content/map/region_places_1948.yaml b/content/map/region_places_1948.yaml
new file mode 100644
index 000000000..d7c5da56b
--- /dev/null
+++ b/content/map/region_places_1948.yaml
@@ -0,0 +1,70 @@
+# Places that a gdd-0.3 player region names (content/regions.yaml, #1691) but no other roster holds: they are not
+# localities of 1,000 or more (localities_1948.yaml), game settlements, named map locations or designated sites. Owner,
+# 2 November 2026: "Fix all, then ship (Recommended)", whose option read "Accept site ids too; author records for the 4
+# (sourced); ...". Status: draft, needs a person to check (docs/CONTENT_POLICY.md section 2, rule 6).
+#
+# Neither the sim nor the map reads this file: tools/locality_hexes.py places each row on its hex with the map's rule
+# (hexgrid.settlement_hex) and writes content/map/locality_hexes.yaml, which the sim reads only under exact gdd-0.3. So it
+# draws nothing on the map and is outside every content hash.
+#
+# Fields: id (the region member id), name, kind, lon/lat (WGS84, a reference point copied from the source named in
+# coordinate_source, never estimated), coordinate_source, sources ({url, checked}: the revision an AI agent opened on that
+# day), notes. Tags in notes, as in research_notes/Map/caesarea-1948-1874.md: V opened and read by the agent; [S]
+# secondary (Wikipedia by revision); [C] conflicting, both values kept; [GAP] still open.
+#
+# Not authored: rosh_haayin_camp (Rosh HaAyin immigrant camp). The only coordinates found are the present town's (en
+# Wikipedia "Rosh HaAyin", revision 1381183838: 32.09556 N, 34.95667 E), not the camp's, and the camp opened only in 1950:
+# "A large British army camp erected during World War ii was converted in 1950 into a ma'barah" (Encyclopaedia Judaica on
+# encyclopedia.com, read 2 November 2026). [GAP] the camp's footprint. The region keeps it in the research evidence only
+# (#1691 PR body).
+places:
+- id: gesher
+ name: Gesher
+ kind: kibbutz
+ # The 1948 site, the old khan by the Jordan bridge, not the kibbutz rebuilt after the war: both points fall on the
+ # same hex, (11, 12).
+ lon: 35.56296
+ lat: 32.62333
+ coordinate_source: he.wikipedia "חצר גשר הישנה" (Old Gesher courtyard), revision 43461554, page coordinates
+ sources:
+ - { url: 'https://he.wikipedia.org/w/index.php?oldid=43461554', checked: 2026-11-02 }
+ - { url: 'https://en.wikipedia.org/w/index.php?oldid=1374530453', checked: 2026-11-02 }
+ notes: >-
+ Founded 1939 [S] (en Wikipedia "Gesher, Israel": "Founded in 1939 by Jewish refugees from Germany"). The original
+ site, "known as Old Gesher, was located immediately north of the old Roman bridge", "1 km east of its current
+ location"; "After the war, the kibbutz was rebuilt about 1 km to the west" [S]. The Hebrew article: attacked in the
+ War of Independence and almost entirely destroyed (translated); after the war the kibbutz moved to a higher point near Givat Gamal,
+ north-west of the courtyard [S]. The present kibbutz's point (32.62139 N, 35.55222 E, en Wikipedia) is on the same
+ hex. [GAP] a primary source for the 1948 site.
+ status: draft
+- id: mishmar_haemek
+ name: Mishmar HaEmek
+ kind: kibbutz
+ lon: 35.14167
+ lat: 32.60972
+ coordinate_source: en.wikipedia "Mishmar HaEmek", revision 1378097624, page coordinates
+ sources:
+ - { url: 'https://en.wikipedia.org/w/index.php?oldid=1378097624', checked: 2026-11-02 }
+ notes: >-
+ "The kibbutz was established in 1926 by members of the HaShomer HaTzair" [S], and the article records no move after
+ 1948 (in 1948 "the women and children of the kibbutz were evacuated with the aid of the British to other settlements", a
+ temporary evacuation), so the present
+ point is taken as the 1948 site. [GAP] a primary source for the 1948 site.
+ status: draft
+- id: nitzanim
+ name: Nitzanim
+ kind: kibbutz
+ # The 1943 kibbutz stood where Nitzan is now; the present kibbutz Nitzanim (31.7175 N, 34.63556 E) is the post-war
+ # site. Both points fall on the same hex, (-8, 27).
+ lon: 34.63111
+ lat: 31.74028
+ coordinate_source: en.wikipedia "Nitzan", revision 1375063920, page coordinates (the original site's grounds)
+ sources:
+ - { url: 'https://en.wikipedia.org/w/index.php?oldid=1375063920', checked: 2026-11-02 }
+ - { url: 'https://en.wikipedia.org/w/index.php?oldid=1375064495', checked: 2026-11-02 }
+ notes: >-
+ Established 8 December 1943 [S] (en Wikipedia "Nitzanim"); captured by the Egyptian army in 1948; "Following the war,
+ the kibbutz was moved four kilometres south of the original location" [S]. [C] en Wikipedia "Nitzan" gives "3
+ kilometers" for the same move; both values kept. "The first settlement on Nitzan's current grounds was the kibbutz of
+ Nitzanim in 1943" and "The original site became a youth village" [S]. [GAP] a primary source for the 1943 site.
+ status: draft
diff --git a/content/regions.yaml b/content/regions.yaml
index 009ed933e..760605fe8 100644
--- a/content/regions.yaml
+++ b/content/regions.yaml
@@ -1,5 +1,1012 @@
# yaml-language-server: $schema=schema/regions.schema.json
-# Exact gdd-0.3 only. Regional activation remains off.
-# Approved associations and unresolved geometry are retained in research_notes/.
-# No incomplete region is admitted to the runtime catalogue.
-player_regions: []
+# The nine gdd-0.3 player regions (#1691). Exact gdd-0.3 only: legacy and gdd-0.1 never read this file. Geography and
+# the approved opening field hexes only: no capacities, residents or other opening allocation, and nothing initializes
+# regions in a new game yet (#1689).
+# Built from research_notes/gdd03-regions.schema-input.yaml (the owner-approved 27 October 2026 draft, extents from
+# sub-districts: "C: sub-district, then Amir adjusts", 30 October 2026) with these owner rulings of 2 November 2026:
+# - Q1 "Accept localities": a member may be a locality (map/localities_1948.yaml), placed by map/locality_hexes.yaml.
+# - "Fix all, then ship (Recommended)", whose option read: "Accept site ids too; author records for the 4 (sourced); for
+# the 14, the member's hex joins its region where it's unclaimed, and where another region holds the hex the member
+# moves to that region. All listed for Amir to review." Applied here: sites.yaml ids are members; gesher,
+# mishmar_haemek and nitzanim have records in map/region_places_1948.yaml; every one of the 14 members off its
+# region's hexes stands on a hex another region holds, so each moves to that region (marked below) and no hex joins.
+# - Q3 "All nine drafts as labels": capital_location is each region's LABEL place, kept because the loader requires one.
+# It is NOT the regional-capital model the owner declined on 30 October 2026 (docs/GDD.md, "Regional-capital model"):
+# no capital mechanics, no pooled administration. All nine labels are APPROVED as labels (owner, 2 November 2026
+# evening: "Approve all nine as labels (Recommended)"); before that only valleys, tel_aviv_jaffa and central_plain were.
+# - #1691 Q4 "Approve as drafted (Recommended)" (owner, 2 November 2026 evening): field_hexes lists the 20 opening field
+# hexes by the 27 October 2026 split (2/6/6/2/2/0/0/1/1), each a land hex of its region with a coastal_plain, lowland or
+# valley biome, Israeli-held on 15 May 1948 in map/control_hexes_1948_49.yaml (tools/tests/test_region_field_hexes.py).
+# Agent proposal, approved by the owner; a person's check pending. Data only: nothing farms them yet (#1689, #1690).
+# Q2 (owner, 2 November 2026: "Add (10,4) to Galilee (Recommended)"): hex (10,4), Hanita's own hex after the 4.4 km
+# regrid, joins galilee.
+# Deferred, not a member here: rosh_haayin_camp (tel_aviv_jaffa in the evidence). No sourced position for the camp was
+# found and it opened in 1950 (map/region_places_1948.yaml header); it stays in research_notes for Amir.
+# Every hex below is land and in at most one region; a land hex in no region is allowed (docs/rules/mvp.md R-CITY-006).
+player_regions:
+- id: galilee
+ # Label, not a regional capital (Q3 "All nine drafts as labels"): Safed.
+ capital_location: safed
+ capital_approval: APPROVED # as labels, owner 2 Nov 2026: "Approve all nine as labels (Recommended)"; labels only, not the regional-capital model declined 30 Oct 2026
+ member_hexes:
+ - { q: 8, r: 7 }
+ - { q: 8, r: 8 }
+ - { q: 9, r: 5 }
+ - { q: 9, r: 6 }
+ - { q: 9, r: 7 }
+ - { q: 9, r: 8 }
+ - { q: 10, r: 4 } # Q2, owner 2 Nov 2026 "Add (10,4) to Galilee (Recommended)": Hanita's own hex, in no region after the 4.4 km regrid
+ - { q: 10, r: 5 }
+ - { q: 10, r: 6 }
+ - { q: 10, r: 7 }
+ - { q: 10, r: 8 }
+ - { q: 11, r: 5 }
+ - { q: 11, r: 6 }
+ - { q: 11, r: 7 }
+ - { q: 12, r: 5 }
+ - { q: 12, r: 6 }
+ - { q: 12, r: 7 }
+ - { q: 13, r: 5 }
+ - { q: 13, r: 6 }
+ - { q: 13, r: 7 }
+ - { q: 14, r: 5 }
+ - { q: 14, r: 6 }
+ - { q: 14, r: 7 }
+ - { q: 15, r: 4 }
+ - { q: 15, r: 5 }
+ - { q: 16, r: 2 }
+ - { q: 16, r: 3 }
+ - { q: 16, r: 4 }
+ - { q: 17, r: 1 }
+ - { q: 17, r: 2 }
+ # Opening field hexes (#1691 Q4), by the 27 October 2026 split ("Approve as proposed"). Agent proposal, approved by the
+ # owner 2 Nov 2026 ("Approve as drafted (Recommended)"); a person's check pending. Data only: nothing farms them yet.
+ field_hexes:
+ - { q: 9, r: 5 } # coastal_plain; I on 15 May (map/control_hexes_1948_49.yaml:36); on Nahariya, next to Hanita (map/localities_1948.yaml:4260; map/settlements_1948.yaml:331, founded 1938, en.wiki Hanita)
+ - { q: 14, r: 7 } # lowland; I (map/control_hexes_1948_49.yaml:55); next to Rosh Pinna (map/settlements_1948.yaml:233, founded 1878, en.wiki Rosh Pinna)
+ member_locations:
+ - acre
+ - safed
+ - rosh_pinna
+ - hanita
+ - tarshiha
+ - al_bassa
+ - sakhnin
+ - az_zeeb
+ - al_khalisa
+ - tamra
+ - arraba
+ - shaab
+ - rameh
+ - hunin
+ - al_kabri
+ - al_salihiyya
+ - beit_jann
+ - yarka
+ - al_birwa
+ - nahariya
+ - kafr_yasif
+ - majd_al_krum
+ - nahef
+ - al_damun
+ - dayr_al_qassi
+ - al_naima
+ - amka
+ - al_jauna
+ - sasa
+ - suhmata
+ - deir_al_asad
+ - jish
+ - al_manshiyya_acre
+ - saliha
+ - al_zuq_al_tahtani
+ - fassuta
+ - kuwaykat
+ - tarbikha
+ - kiryat_shmona
+ - kiryat_shmona_field
+ - hula
+ - hula_field
+ design_note: 'design value, not a historical boundary'
+ sources: ['research_notes/gdd03-regions-capitals-fields.yaml: galilee', 'owner 2 Nov 2026: capital_location APPROVED as a label, "Approve all nine as labels (Recommended)"']
+ binding_status: NEEDS-RESEARCH
+ opening_control: { status: NEEDS-RESEARCH, value: null }
+- id: valleys
+ # Label, not a regional capital (Q3 "All nine drafts as labels"): Tiberias.
+ capital_location: tiberias
+ capital_approval: APPROVED # as labels, owner 2 Nov 2026: "Approve all nine as labels (Recommended)"; labels only, not the regional-capital model declined 30 Oct 2026
+ member_hexes:
+ - { q: 7, r: 11 }
+ - { q: 7, r: 12 }
+ - { q: 7, r: 13 }
+ - { q: 8, r: 10 }
+ - { q: 8, r: 11 }
+ - { q: 8, r: 12 }
+ - { q: 8, r: 13 }
+ - { q: 9, r: 9 }
+ - { q: 9, r: 10 }
+ - { q: 9, r: 11 }
+ - { q: 9, r: 12 }
+ - { q: 9, r: 13 }
+ - { q: 9, r: 14 }
+ - { q: 9, r: 15 }
+ - { q: 10, r: 9 }
+ - { q: 10, r: 10 }
+ - { q: 10, r: 11 }
+ - { q: 10, r: 12 }
+ - { q: 10, r: 13 }
+ - { q: 10, r: 14 }
+ - { q: 11, r: 8 }
+ - { q: 11, r: 9 }
+ - { q: 11, r: 10 }
+ - { q: 11, r: 11 }
+ - { q: 11, r: 12 }
+ - { q: 12, r: 8 }
+ - { q: 12, r: 11 }
+ - { q: 13, r: 10 }
+ # Opening field hexes (#1691 Q4), by the 27 October 2026 split ("Approve as proposed"). Agent proposal, approved by the
+ # owner 2 Nov 2026 ("Approve as drafted (Recommended)"); a person's check pending. Data only: nothing farms them yet.
+ field_hexes:
+ - { q: 7, r: 11 } # coastal_plain; I (map/control_hexes_1948_49.yaml:79); on Nahalal (map/settlements_1948.yaml:317)
+ - { q: 7, r: 12 } # lowland; I (map/control_hexes_1948_49.yaml:89); next to Nahalal and Mishmar HaEmek (map/settlements_1948.yaml:317; map/region_places_1948.yaml:40)
+ - { q: 8, r: 13 } # lowland; I (map/control_hexes_1948_49.yaml:99); on Ein Harod (map/settlements_1948.yaml:303)
+ - { q: 9, r: 13 } # lowland; I (map/control_hexes_1948_49.yaml:100); next to Ein Harod (map/settlements_1948.yaml:303)
+ - { q: 11, r: 12 } # valley; I (map/control_hexes_1948_49.yaml:93); on Ashdot Ya'akov and Gesher (map/localities_1948.yaml:6591; map/region_places_1948.yaml:21, he.wiki rev 43461554, en.wiki rev 1374530453)
+ - { q: 12, r: 11 } # valley; I (map/control_hexes_1948_49.yaml:84); on Degania Alef (map/settlements_1948.yaml:289)
+ member_locations:
+ - tiberias
+ - nazareth
+ - degania_alef
+ - ein_harod
+ - nahalal
+ - beit_shean
+ - sepphoris
+ - samakh
+ - lubya
+ - afula
+ - maghar
+ - kafr_kanna
+ - al_mujaydil
+ - turan
+ - daburiyya
+ - reineh
+ - kafr_manda
+ - ghuwayr_abu_shusha
+ - hittin
+ - iksal
+ - yafa_an_naseriyye
+ - ein_mahil
+ - al_ghazzawiyya
+ - ashdot_yaakov
+ - gesher
+ - zirin # moved from northern_hills: its hex is this region's (2 Nov ruling)
+ design_note: 'design value, not a historical boundary'
+ sources: ['research_notes/gdd03-regions-capitals-fields.yaml: valleys', 'owner 27 Oct 2026: APPROVED "Tiberias"; all six choices approved as proposed; the nine-region draft was separately approved by name on 27 October 2026 (owner ruling, 27 October 2026)', 'owner 2 Nov 2026: capital_location APPROVED as a label, "Approve all nine as labels (Recommended)"']
+ binding_status: NEEDS-RESEARCH
+ opening_control: { status: NEEDS-RESEARCH, value: null }
+- id: haifa_sharon
+ # Label, not a regional capital (Q3 "All nine drafts as labels"): Haifa.
+ capital_location: haifa
+ capital_approval: APPROVED # as labels, owner 2 Nov 2026: "Approve all nine as labels (Recommended)"; labels only, not the regional-capital model declined 30 Oct 2026
+ member_hexes:
+ - { q: -1, r: 18 }
+ - { q: -1, r: 19 }
+ - { q: -1, r: 21 }
+ - { q: 0, r: 17 }
+ - { q: 0, r: 18 }
+ - { q: 0, r: 19 }
+ - { q: 0, r: 20 }
+ - { q: 1, r: 15 }
+ - { q: 1, r: 16 }
+ - { q: 1, r: 17 }
+ - { q: 1, r: 18 }
+ - { q: 1, r: 19 }
+ - { q: 2, r: 14 }
+ - { q: 2, r: 15 }
+ - { q: 2, r: 16 }
+ - { q: 2, r: 17 }
+ - { q: 2, r: 18 }
+ - { q: 3, r: 12 }
+ - { q: 3, r: 13 }
+ - { q: 3, r: 14 }
+ - { q: 3, r: 15 }
+ - { q: 3, r: 16 }
+ - { q: 3, r: 17 }
+ - { q: 4, r: 11 }
+ - { q: 4, r: 12 }
+ - { q: 4, r: 13 }
+ - { q: 4, r: 14 }
+ - { q: 5, r: 10 }
+ - { q: 5, r: 11 }
+ - { q: 5, r: 12 }
+ - { q: 5, r: 13 }
+ - { q: 6, r: 9 }
+ - { q: 6, r: 10 }
+ - { q: 6, r: 11 }
+ - { q: 6, r: 12 }
+ - { q: 7, r: 8 }
+ - { q: 7, r: 9 }
+ - { q: 7, r: 10 }
+ - { q: 8, r: 9 }
+ # Opening field hexes (#1691 Q4), by the 27 October 2026 split ("Approve as proposed"). Agent proposal, approved by the
+ # owner 2 Nov 2026 ("Approve as drafted (Recommended)"); a person's check pending. Data only: nothing farms them yet.
+ field_hexes:
+ - { q: 1, r: 15 } # coastal_plain; I (map/control_hexes_1948_49.yaml:111); on Hadera, a game city (map/settlements_1948.yaml:261)
+ - { q: 2, r: 14 } # coastal_plain; I (map/control_hexes_1948_49.yaml:102); on Binyamina (map/localities_1948.yaml:3900)
+ - { q: 2, r: 15 } # coastal_plain; I (map/control_hexes_1948_49.yaml:112); on Pardes Hanna (map/localities_1948.yaml:471)
+ - { q: 3, r: 13 } # coastal_plain; I (map/control_hexes_1948_49.yaml:94); on Zikhron Ya'akov (map/settlements_1948.yaml:219)
+ - { q: 6, r: 10 } # coastal_plain; I (map/control_hexes_1948_49.yaml:69); on Yagur (map/localities_1948.yaml:5434)
+ - { q: 6, r: 12 } # coastal_plain; I (map/control_hexes_1948_49.yaml:88); on Mishmar HaEmek (map/region_places_1948.yaml:40, en.wiki rev 1378097624)
+ member_locations:
+ - haifa
+ - zikhron_yaakov
+ - hadera
+ - netanya
+ - tulkarm
+ - qalqilya
+ - pardes_hanna_karkur
+ - al_tira_haifa
+ - taibe_2
+ - balad_al_sheikh
+ - shefa_amr
+ - tira
+ - anabta
+ - ijzim
+ - deir_al_ghusun
+ - nesher
+ - attil
+ - shwiaka_tulkarm
+ - arara
+ - baqa_al_gharbiyye
+ - bala
+ - ayn_ghazal
+ - daliyat_al_karmel
+ - qaqun
+ - isfiya
+ - zeita_tulkarm
+ - sabbarin
+ - kiryat_ata
+ - ibillin
+ - kafr_zibad
+ - qaffin
+ - qalansawe
+ - binyamina
+ - kafr_qara
+ - tantura
+ - umm_az_zinat
+ - kafr_qasim
+ - ilar
+ - wadi_al_hawarith
+ - al_sindiyana
+ - yagur
+ - jaba
+ - caesarea
+ - jatt
+ - irtah
+ - shaar_haaliyah
+ - camp_80
+ - mishmar_haemek
+ - majdal_yaba # moved from central_plain: its hex is this region's (2 Nov ruling)
+ design_note: 'design value, not a historical boundary'
+ sources: ['research_notes/gdd03-regions-capitals-fields.yaml: haifa_sharon', 'owner 27 Oct 2026: APPROVED extent "Keep as proposed"; all six choices approved as proposed; the nine-region draft was separately approved by name on 27 October 2026 (owner ruling, 27 October 2026)', 'owner 2 Nov 2026: capital_location APPROVED as a label, "Approve all nine as labels (Recommended)"']
+ binding_status: NEEDS-RESEARCH
+ opening_control: { status: NEEDS-RESEARCH, value: null }
+- id: tel_aviv_jaffa
+ # Label, not a regional capital (Q3 "All nine drafts as labels"): Tel Aviv.
+ capital_location: tel_aviv
+ capital_approval: APPROVED # as labels, owner 2 Nov 2026: "Approve all nine as labels (Recommended)"; labels only, not the regional-capital model declined 30 Oct 2026
+ member_hexes:
+ - { q: -4, r: 22 }
+ - { q: -3, r: 21 }
+ - { q: -3, r: 22 }
+ - { q: -2, r: 20 }
+ - { q: -2, r: 21 }
+ - { q: -2, r: 22 }
+ - { q: -1, r: 20 }
+ # Opening field hexes (#1691 Q4), by the 27 October 2026 split ("Approve as proposed"). Agent proposal, approved by the
+ # owner 2 Nov 2026 ("Approve as drafted (Recommended)"); a person's check pending. Data only: nothing farms them yet.
+ field_hexes:
+ - { q: -2, r: 21 } # coastal_plain; I (map/control_hexes_1948_49.yaml:166); on Petah Tikva, a game city (map/settlements_1948.yaml:191, founded 1878)
+ - { q: -1, r: 20 } # coastal_plain; I (map/control_hexes_1948_49.yaml:157); on Kfar Saba (map/localities_1948.yaml:720)
+ member_locations:
+ - tel_aviv
+ - jaffa
+ - petah_tikva
+ - ramat_gan
+ - salama_jaffa
+ - al_abbasiyya
+ - givatayim
+ - bnei_brak
+ - herzliya
+ - kfar_saba
+ - yazur
+ - bayt_dajan_jaffa
+ - raanana
+ - holon
+ - kafr_ana
+ - bat_yam
+ - al_shaykh_muwannis
+ - abu_kishk
+ - kfar_ganim
+ - fajja
+ - ramatayim
+ - al_khayriyya
+ - magdiel
+ - saqiya
+ - al_jammasin_al_gharbi
+ - kfar_saba_2 # moved from haifa_sharon: its hex is this region's (2 Nov ruling)
+ - al_tira # moved from central_plain: its hex is this region's (2 Nov ruling)
+ - al_muzayria # moved from central_plain: its hex is this region's (2 Nov ruling)
+ - qula # moved from central_plain: its hex is this region's (2 Nov ruling)
+ - tzrifin # moved from central_plain: its hex is this region's (2 Nov ruling)
+ design_note: 'design value, not a historical boundary'
+ sources: ['research_notes/gdd03-regions-capitals-fields.yaml: tel_aviv_jaffa', 'owner 27 Oct 2026: APPROVED "Tel Aviv"; all six choices approved as proposed; the nine-region draft was separately approved by name on 27 October 2026 (owner ruling, 27 October 2026)', 'owner 2 Nov 2026: capital_location APPROVED as a label, "Approve all nine as labels (Recommended)"']
+ binding_status: NEEDS-RESEARCH
+ opening_control: { status: NEEDS-RESEARCH, value: null }
+- id: central_plain
+ # Label, not a regional capital (Q3 "All nine drafts as labels"): Rishon LeZion.
+ capital_location: rishon_lezion
+ capital_approval: APPROVED # as labels, owner 2 Nov 2026: "Approve all nine as labels (Recommended)"; labels only, not the regional-capital model declined 30 Oct 2026
+ member_hexes:
+ - { q: -6, r: 25 }
+ - { q: -6, r: 26 }
+ - { q: -5, r: 24 }
+ - { q: -5, r: 25 }
+ - { q: -5, r: 26 }
+ - { q: -4, r: 23 }
+ - { q: -4, r: 24 }
+ - { q: -4, r: 25 }
+ - { q: -4, r: 26 }
+ - { q: -3, r: 23 }
+ - { q: -3, r: 24 }
+ - { q: -3, r: 25 }
+ - { q: -2, r: 23 }
+ - { q: -2, r: 24 }
+ - { q: -2, r: 25 }
+ - { q: -1, r: 22 }
+ - { q: -1, r: 23 }
+ # Opening field hexes (#1691 Q4), by the 27 October 2026 split ("Approve as proposed"). Agent proposal, approved by the
+ # owner 2 Nov 2026 ("Approve as drafted (Recommended)"); a person's check pending. Data only: nothing farms them yet.
+ field_hexes:
+ - { q: -5, r: 25 } # coastal_plain; I (map/control_hexes_1948_49.yaml:206); on Givat Brenner (map/localities_1948.yaml:6668)
+ - { q: -4, r: 25 } # coastal_plain; I (map/control_hexes_1948_49.yaml:207); on Hulda (map/locations_1948.yaml:25, Wikidata, checked 2026-10-18)
+ member_locations:
+ - lod
+ - ramla
+ - rishon_lezion
+ - rehovot
+ - yibna
+ - aqir
+ - zarnuqa
+ - bayt_nabala
+ - naana
+ - al_qubab
+ - sarafand_al_amar
+ - ness_ziona
+ - dayr_tarif
+ - al_maghar
+ - al_qubayba_ramla
+ - bashshit
+ - wadi_hunayn
+ - jimzu
+ - imwas
+ - innaba
+ - nabi_rubin
+ - nilin
+ - rantis
+ - qibya
+ - bayt_nuba
+ - yalo
+ - qatra
+ - sarafand_al_kharab
+ - givat_brenner
+ - hulda
+ - latrun_fort
+ - al_safiriyya # moved from tel_aviv_jaffa: its hex is this region's (2 Nov ruling)
+ - beit_liqya # moved from jerusalem_hills: its hex is this region's (2 Nov ruling)
+ - yasur # moved from southern_coast: its hex is this region's (2 Nov ruling)
+ design_note: 'design value, not a historical boundary'
+ sources: ['research_notes/gdd03-regions-capitals-fields.yaml: central_plain', 'owner 27 Oct 2026: APPROVED "Rishon LeZion"; all six choices approved as proposed; the nine-region draft was separately approved by name on 27 October 2026 (owner ruling, 27 October 2026)', 'owner 2 Nov 2026: capital_location APPROVED as a label, "Approve all nine as labels (Recommended)"']
+ binding_status: NEEDS-RESEARCH
+ opening_control: { status: NEEDS-RESEARCH, value: null }
+- id: jerusalem_hills
+ # Label, not a regional capital (Q3 "All nine drafts as labels"): Jerusalem.
+ capital_location: jerusalem
+ capital_approval: APPROVED # as labels, owner 2 Nov 2026: "Approve all nine as labels (Recommended)"; labels only, not the regional-capital model declined 30 Oct 2026
+ member_hexes:
+ - { q: -8, r: 31 }
+ - { q: -8, r: 32 }
+ - { q: -7, r: 29 }
+ - { q: -7, r: 30 }
+ - { q: -7, r: 31 }
+ - { q: -7, r: 32 }
+ - { q: -7, r: 33 }
+ - { q: -7, r: 34 }
+ - { q: -6, r: 28 }
+ - { q: -6, r: 29 }
+ - { q: -6, r: 30 }
+ - { q: -6, r: 31 }
+ - { q: -6, r: 32 }
+ - { q: -6, r: 33 }
+ - { q: -6, r: 34 }
+ - { q: -6, r: 35 }
+ - { q: -5, r: 27 }
+ - { q: -5, r: 28 }
+ - { q: -5, r: 29 }
+ - { q: -5, r: 30 }
+ - { q: -5, r: 31 }
+ - { q: -5, r: 32 }
+ - { q: -5, r: 33 }
+ - { q: -5, r: 34 }
+ - { q: -5, r: 35 }
+ - { q: -4, r: 27 }
+ - { q: -4, r: 28 }
+ - { q: -4, r: 29 }
+ - { q: -4, r: 30 }
+ - { q: -4, r: 31 }
+ - { q: -4, r: 32 }
+ - { q: -4, r: 33 }
+ - { q: -4, r: 34 }
+ - { q: -4, r: 35 }
+ - { q: -3, r: 26 }
+ - { q: -3, r: 27 }
+ - { q: -3, r: 28 }
+ - { q: -3, r: 29 }
+ - { q: -3, r: 30 }
+ - { q: -3, r: 31 }
+ - { q: -3, r: 32 }
+ - { q: -3, r: 33 }
+ - { q: -3, r: 34 }
+ - { q: -3, r: 35 }
+ - { q: -2, r: 26 }
+ - { q: -2, r: 27 }
+ - { q: -2, r: 28 }
+ - { q: -2, r: 29 }
+ - { q: -2, r: 30 }
+ - { q: -2, r: 31 }
+ - { q: -2, r: 32 }
+ - { q: -2, r: 33 }
+ - { q: -2, r: 34 }
+ - { q: -1, r: 24 }
+ - { q: -1, r: 25 }
+ - { q: -1, r: 26 }
+ - { q: -1, r: 27 }
+ - { q: -1, r: 28 }
+ - { q: -1, r: 29 }
+ - { q: -1, r: 30 }
+ - { q: -1, r: 31 }
+ - { q: 0, r: 22 }
+ - { q: 0, r: 23 }
+ - { q: 0, r: 24 }
+ - { q: 0, r: 25 }
+ - { q: 0, r: 26 }
+ - { q: 0, r: 27 }
+ - { q: 0, r: 28 }
+ - { q: 0, r: 29 }
+ - { q: 1, r: 22 }
+ - { q: 1, r: 23 }
+ - { q: 1, r: 24 }
+ - { q: 1, r: 25 }
+ - { q: 1, r: 26 }
+ - { q: 1, r: 27 }
+ - { q: 1, r: 28 }
+ - { q: 2, r: 22 }
+ - { q: 2, r: 23 }
+ - { q: 2, r: 24 }
+ - { q: 2, r: 25 }
+ - { q: 2, r: 26 }
+ - { q: 2, r: 27 }
+ - { q: 3, r: 22 }
+ - { q: 3, r: 23 }
+ - { q: 3, r: 24 }
+ - { q: 3, r: 25 }
+ - { q: 3, r: 26 }
+ - { q: 4, r: 23 }
+ - { q: 4, r: 24 }
+ - { q: 4, r: 25 }
+ - { q: 5, r: 23 }
+ # Opening field hexes (#1691 Q4): none here, by the 27 October 2026 split ("Approve as proposed"); the list was approved
+ # by the owner 2 Nov 2026 ("Approve as drafted (Recommended)").
+ field_hexes: []
+ member_locations:
+ - jerusalem
+ - hebron
+ - dura_hebron
+ - bethlehem
+ - yatta
+ - ramallah
+ - silwan
+ - al_dahiriya
+ - ajjur
+ - al_dawayima
+ - beit_yala
+ - halhul
+ - ein_karem
+ - jericho
+ - al_bireh
+ - at_tur
+ - beit_sahour
+ - sair
+ - lifta
+ - as_samu
+ - sur_bahir
+ - bayt_jibrin
+ - bayt_mahsir
+ - idna
+ - surif
+ - bani_naim
+ - bayt_nattif
+ - dayr_aban
+ - deir_dibwan
+ - abu_dis
+ - malha
+ - silwad
+ - beit_ummar
+ - al_walaja
+ - beit_hanina
+ - birzeit
+ - tarqumiyah
+ - beitunia
+ - beit_fajjar
+ - beit_iksa
+ - beit_safafa
+ - al_mazraa_ash_sharqiya
+ - taybeh_ramallah
+ - sinjil
+ - beit_ula
+ - tell_es_safi
+ - ash_shuyukh
+ - az_zakariyya
+ - qatanna
+ - al_khader
+ - kafr_malik
+ - aboud
+ - deir_jarir
+ - al_eizariya
+ - al_qubayba_hebron
+ - battir
+ - shaar_hagai
+ - east_jerusalem_old_city
+ - beit_shemesh
+ - beit_shemesh_field
+ - iraq_al_manshiyya # moved from southern_coast: its hex is this region's (2 Nov ruling)
+ design_note: 'design value, not a historical boundary'
+ sources: ['research_notes/gdd03-regions-capitals-fields.yaml: jerusalem_hills', 'owner 27 Oct 2026: APPROVED extent "Keep as proposed"; all six choices approved as proposed; the nine-region draft was separately approved by name on 27 October 2026 (owner ruling, 27 October 2026)', 'owner 2 Nov 2026: capital_location APPROVED as a label, "Approve all nine as labels (Recommended)"']
+ binding_status: NEEDS-RESEARCH
+ opening_control: { status: NEEDS-RESEARCH, value: null }
+- id: northern_hills
+ # Label, not a regional capital (Q3 "All nine drafts as labels"): Nablus.
+ capital_location: nablus
+ capital_approval: APPROVED # as labels, owner 2 Nov 2026: "Approve all nine as labels (Recommended)"; labels only, not the regional-capital model declined 30 Oct 2026
+ member_hexes:
+ - { q: 0, r: 21 }
+ - { q: 1, r: 20 }
+ - { q: 1, r: 21 }
+ - { q: 2, r: 19 }
+ - { q: 2, r: 20 }
+ - { q: 2, r: 21 }
+ - { q: 3, r: 18 }
+ - { q: 3, r: 19 }
+ - { q: 3, r: 20 }
+ - { q: 3, r: 21 }
+ - { q: 4, r: 15 }
+ - { q: 4, r: 16 }
+ - { q: 4, r: 17 }
+ - { q: 4, r: 18 }
+ - { q: 4, r: 19 }
+ - { q: 4, r: 20 }
+ - { q: 4, r: 21 }
+ - { q: 4, r: 22 }
+ - { q: 5, r: 14 }
+ - { q: 5, r: 15 }
+ - { q: 5, r: 16 }
+ - { q: 5, r: 17 }
+ - { q: 5, r: 18 }
+ - { q: 5, r: 19 }
+ - { q: 5, r: 20 }
+ - { q: 5, r: 21 }
+ - { q: 5, r: 22 }
+ - { q: 6, r: 13 }
+ - { q: 6, r: 14 }
+ - { q: 6, r: 15 }
+ - { q: 6, r: 16 }
+ - { q: 6, r: 17 }
+ - { q: 6, r: 18 }
+ - { q: 6, r: 19 }
+ - { q: 6, r: 20 }
+ - { q: 6, r: 21 }
+ - { q: 7, r: 14 }
+ - { q: 7, r: 15 }
+ - { q: 7, r: 16 }
+ - { q: 7, r: 17 }
+ - { q: 7, r: 18 }
+ - { q: 7, r: 19 }
+ - { q: 8, r: 14 }
+ - { q: 8, r: 15 }
+ - { q: 8, r: 16 }
+ - { q: 8, r: 17 }
+ - { q: 8, r: 18 }
+ # Opening field hexes (#1691 Q4): none here, by the 27 October 2026 split ("Approve as proposed"); the list was approved
+ # by the owner 2 Nov 2026 ("Approve as drafted (Recommended)").
+ field_hexes: []
+ member_locations:
+ - nablus
+ - tubas
+ - umm_al_fahm
+ - jenin
+ - arraba_2
+ - qabatiya
+ - yabad
+ - silat_adh_dhahr
+ - burqa_nablus
+ - al_yamun
+ - kafr_rai
+ - jaba_2
+ - tammun
+ - aqraba
+ - asira_ash_shamaliya
+ - silat_al_harithiya
+ - salfit
+ - talluza
+ - beita
+ - burqin
+ - awarta
+ - biddya
+ - meithalun
+ - qabalan
+ - huwara
+ - beit_furik
+ - jammain
+ - kafr_qaddum
+ - burin
+ - deir_istiya
+ - qusra
+ - tell_nablus
+ - sanur_jenin
+ - sebastia
+ - bartaa
+ - kafr_thulth # moved from haifa_sharon: its hex is this region's (2 Nov ruling)
+ - azzoun # moved from haifa_sharon: its hex is this region's (2 Nov ruling)
+ - al_mansi # moved from haifa_sharon: its hex is this region's (2 Nov ruling)
+ design_note: 'design value, not a historical boundary'
+ sources: ['research_notes/gdd03-regions-capitals-fields.yaml: northern_hills', 'owner 2 Nov 2026: capital_location APPROVED as a label, "Approve all nine as labels (Recommended)"']
+ binding_status: NEEDS-RESEARCH
+ opening_control: { status: NEEDS-RESEARCH, value: null }
+- id: southern_coast
+ # Label, not a regional capital (Q3 "All nine drafts as labels"): Gaza.
+ capital_location: gaza
+ capital_approval: APPROVED # as labels, owner 2 Nov 2026: "Approve all nine as labels (Recommended)"; labels only, not the regional-capital model declined 30 Oct 2026
+ member_hexes:
+ - { q: -17, r: 35 }
+ - { q: -16, r: 34 }
+ - { q: -15, r: 33 }
+ - { q: -15, r: 34 }
+ - { q: -14, r: 32 }
+ - { q: -13, r: 32 }
+ - { q: -12, r: 31 }
+ - { q: -12, r: 32 }
+ - { q: -11, r: 30 }
+ - { q: -11, r: 31 }
+ - { q: -10, r: 29 }
+ - { q: -10, r: 30 }
+ - { q: -10, r: 31 }
+ - { q: -9, r: 28 }
+ - { q: -9, r: 29 }
+ - { q: -8, r: 27 }
+ - { q: -8, r: 28 }
+ - { q: -8, r: 29 }
+ - { q: -7, r: 26 }
+ - { q: -7, r: 27 }
+ - { q: -7, r: 28 }
+ - { q: -6, r: 27 }
+ # Opening field hexes (#1691 Q4), by the 27 October 2026 split ("Approve as proposed"). Agent proposal, approved by the
+ # owner 2 Nov 2026 ("Approve as drafted (Recommended)"); a person's check pending. Data only: nothing farms them yet.
+ field_hexes:
+ - { q: -11, r: 31 } # coastal_plain; I (map/control_hexes_1948_49.yaml:272); on Nir Am, the D5 housing place (map/locations_1948.yaml:45, Wikidata Q2891278; map/control_1948_49.geojson pin, en.wiki Nir_Am)
+ member_locations:
+ - gaza
+ - yad_mordechai
+ - khan_yunis
+ - al_majdal
+ - hamama
+ - isdud
+ - al_faluja
+ - jabalia
+ - bani_suheila
+ - bayt_daras
+ - burayr
+ - deir_al_balah
+ - al_masmiyya_al_kabira
+ - al_jura
+ - barbara_gaza
+ - hiribya
+ - abasan_al_kabira
+ - rafah
+ - beit_hanoun
+ - beit_lahia
+ - karatiyya
+ - simsim_gaza
+ - nazla
+ - niilya
+ - al_jiyya
+ - jusayr
+ - bayt_tima
+ - al_sawafir_al_gharbiyya
+ - julis_2
+ - negba
+ - nir_am
+ - iraq_suwaydan_fort
+ - ad_halom_bridge
+ - mefalsim
+ - mefalsim_field
+ - nitzanim
+ design_note: 'design value, not a historical boundary'
+ sources: ['research_notes/gdd03-regions-capitals-fields.yaml: southern_coast', 'owner 2 Nov 2026: capital_location APPROVED as a label, "Approve all nine as labels (Recommended)"']
+ binding_status: NEEDS-RESEARCH
+ opening_control: { status: NEEDS-RESEARCH, value: null }
+- id: negev
+ # Label, not a regional capital (Q3 "All nine drafts as labels"): Beersheba.
+ capital_location: beersheba
+ capital_approval: APPROVED # as labels, owner 2 Nov 2026: "Approve all nine as labels (Recommended)"; labels only, not the regional-capital model declined 30 Oct 2026
+ member_hexes:
+ - { q: -23, r: 64 }
+ - { q: -22, r: 61 }
+ - { q: -22, r: 62 }
+ - { q: -22, r: 63 }
+ - { q: -21, r: 56 }
+ - { q: -21, r: 57 }
+ - { q: -21, r: 58 }
+ - { q: -21, r: 59 }
+ - { q: -21, r: 60 }
+ - { q: -21, r: 61 }
+ - { q: -21, r: 62 }
+ - { q: -20, r: 49 }
+ - { q: -20, r: 51 }
+ - { q: -20, r: 52 }
+ - { q: -20, r: 53 }
+ - { q: -20, r: 54 }
+ - { q: -20, r: 55 }
+ - { q: -20, r: 56 }
+ - { q: -20, r: 57 }
+ - { q: -20, r: 58 }
+ - { q: -20, r: 59 }
+ - { q: -20, r: 60 }
+ - { q: -19, r: 46 }
+ - { q: -19, r: 47 }
+ - { q: -19, r: 48 }
+ - { q: -19, r: 49 }
+ - { q: -19, r: 50 }
+ - { q: -19, r: 51 }
+ - { q: -19, r: 52 }
+ - { q: -19, r: 53 }
+ - { q: -19, r: 54 }
+ - { q: -19, r: 55 }
+ - { q: -19, r: 56 }
+ - { q: -19, r: 57 }
+ - { q: -19, r: 58 }
+ - { q: -18, r: 40 }
+ - { q: -18, r: 41 }
+ - { q: -18, r: 42 }
+ - { q: -18, r: 43 }
+ - { q: -18, r: 44 }
+ - { q: -18, r: 45 }
+ - { q: -18, r: 46 }
+ - { q: -18, r: 47 }
+ - { q: -18, r: 48 }
+ - { q: -18, r: 49 }
+ - { q: -18, r: 50 }
+ - { q: -18, r: 51 }
+ - { q: -18, r: 52 }
+ - { q: -18, r: 53 }
+ - { q: -18, r: 54 }
+ - { q: -18, r: 55 }
+ - { q: -18, r: 56 }
+ - { q: -18, r: 57 }
+ - { q: -17, r: 36 }
+ - { q: -17, r: 37 }
+ - { q: -17, r: 38 }
+ - { q: -17, r: 39 }
+ - { q: -17, r: 40 }
+ - { q: -17, r: 41 }
+ - { q: -17, r: 42 }
+ - { q: -17, r: 43 }
+ - { q: -17, r: 44 }
+ - { q: -17, r: 45 }
+ - { q: -17, r: 46 }
+ - { q: -17, r: 47 }
+ - { q: -17, r: 48 }
+ - { q: -17, r: 49 }
+ - { q: -17, r: 50 }
+ - { q: -17, r: 51 }
+ - { q: -17, r: 52 }
+ - { q: -17, r: 53 }
+ - { q: -17, r: 54 }
+ - { q: -17, r: 55 }
+ - { q: -17, r: 56 }
+ - { q: -16, r: 35 }
+ - { q: -16, r: 36 }
+ - { q: -16, r: 37 }
+ - { q: -16, r: 38 }
+ - { q: -16, r: 39 }
+ - { q: -16, r: 40 }
+ - { q: -16, r: 41 }
+ - { q: -16, r: 42 }
+ - { q: -16, r: 43 }
+ - { q: -16, r: 44 }
+ - { q: -16, r: 45 }
+ - { q: -16, r: 46 }
+ - { q: -16, r: 47 }
+ - { q: -16, r: 48 }
+ - { q: -16, r: 49 }
+ - { q: -16, r: 50 }
+ - { q: -16, r: 51 }
+ - { q: -16, r: 52 }
+ - { q: -16, r: 53 }
+ - { q: -16, r: 54 }
+ - { q: -16, r: 55 }
+ - { q: -15, r: 35 }
+ - { q: -15, r: 36 }
+ - { q: -15, r: 37 }
+ - { q: -15, r: 38 }
+ - { q: -15, r: 39 }
+ - { q: -15, r: 40 }
+ - { q: -15, r: 41 }
+ - { q: -15, r: 42 }
+ - { q: -15, r: 43 }
+ - { q: -15, r: 44 }
+ - { q: -15, r: 45 }
+ - { q: -15, r: 46 }
+ - { q: -15, r: 47 }
+ - { q: -15, r: 48 }
+ - { q: -15, r: 49 }
+ - { q: -15, r: 50 }
+ - { q: -15, r: 51 }
+ - { q: -15, r: 52 }
+ - { q: -15, r: 53 }
+ - { q: -14, r: 33 }
+ - { q: -14, r: 34 }
+ - { q: -14, r: 35 }
+ - { q: -14, r: 36 }
+ - { q: -14, r: 37 }
+ - { q: -14, r: 38 }
+ - { q: -14, r: 39 }
+ - { q: -14, r: 40 }
+ - { q: -14, r: 41 }
+ - { q: -14, r: 42 }
+ - { q: -14, r: 43 }
+ - { q: -14, r: 44 }
+ - { q: -14, r: 45 }
+ - { q: -14, r: 46 }
+ - { q: -14, r: 47 }
+ - { q: -14, r: 48 }
+ - { q: -14, r: 49 }
+ - { q: -14, r: 50 }
+ - { q: -14, r: 51 }
+ - { q: -13, r: 33 }
+ - { q: -13, r: 34 }
+ - { q: -13, r: 35 }
+ - { q: -13, r: 36 }
+ - { q: -13, r: 37 }
+ - { q: -13, r: 38 }
+ - { q: -13, r: 39 }
+ - { q: -13, r: 40 }
+ - { q: -13, r: 41 }
+ - { q: -13, r: 42 }
+ - { q: -13, r: 43 }
+ - { q: -13, r: 44 }
+ - { q: -13, r: 45 }
+ - { q: -13, r: 46 }
+ - { q: -13, r: 47 }
+ - { q: -13, r: 48 }
+ - { q: -13, r: 49 }
+ - { q: -13, r: 50 }
+ - { q: -12, r: 33 }
+ - { q: -12, r: 34 }
+ - { q: -12, r: 35 }
+ - { q: -12, r: 36 }
+ - { q: -12, r: 37 }
+ - { q: -12, r: 38 }
+ - { q: -12, r: 39 }
+ - { q: -12, r: 40 }
+ - { q: -12, r: 41 }
+ - { q: -12, r: 42 }
+ - { q: -12, r: 43 }
+ - { q: -12, r: 44 }
+ - { q: -12, r: 45 }
+ - { q: -12, r: 46 }
+ - { q: -12, r: 47 }
+ - { q: -12, r: 48 }
+ - { q: -11, r: 32 }
+ - { q: -11, r: 33 }
+ - { q: -11, r: 34 }
+ - { q: -11, r: 35 }
+ - { q: -11, r: 36 }
+ - { q: -11, r: 37 }
+ - { q: -11, r: 38 }
+ - { q: -11, r: 39 }
+ - { q: -11, r: 40 }
+ - { q: -11, r: 41 }
+ - { q: -11, r: 42 }
+ - { q: -11, r: 43 }
+ - { q: -11, r: 44 }
+ - { q: -11, r: 45 }
+ - { q: -11, r: 46 }
+ - { q: -11, r: 47 }
+ - { q: -10, r: 32 }
+ - { q: -10, r: 33 }
+ - { q: -10, r: 34 }
+ - { q: -10, r: 35 }
+ - { q: -10, r: 36 }
+ - { q: -10, r: 37 }
+ - { q: -10, r: 38 }
+ - { q: -10, r: 39 }
+ - { q: -10, r: 40 }
+ - { q: -10, r: 41 }
+ - { q: -10, r: 42 }
+ - { q: -10, r: 43 }
+ - { q: -10, r: 44 }
+ - { q: -10, r: 45 }
+ - { q: -9, r: 30 }
+ - { q: -9, r: 31 }
+ - { q: -9, r: 32 }
+ - { q: -9, r: 33 }
+ - { q: -9, r: 34 }
+ - { q: -9, r: 35 }
+ - { q: -9, r: 36 }
+ - { q: -9, r: 37 }
+ - { q: -9, r: 38 }
+ - { q: -9, r: 39 }
+ - { q: -9, r: 40 }
+ - { q: -9, r: 41 }
+ - { q: -9, r: 42 }
+ - { q: -9, r: 43 }
+ - { q: -9, r: 44 }
+ - { q: -8, r: 30 }
+ - { q: -8, r: 33 }
+ - { q: -8, r: 34 }
+ - { q: -8, r: 35 }
+ - { q: -8, r: 36 }
+ - { q: -8, r: 37 }
+ - { q: -8, r: 38 }
+ - { q: -8, r: 39 }
+ - { q: -8, r: 40 }
+ - { q: -8, r: 41 }
+ - { q: -8, r: 42 }
+ - { q: -8, r: 43 }
+ - { q: -7, r: 35 }
+ - { q: -7, r: 36 }
+ - { q: -7, r: 37 }
+ - { q: -7, r: 38 }
+ - { q: -7, r: 39 }
+ - { q: -7, r: 40 }
+ - { q: -7, r: 41 }
+ - { q: -7, r: 42 }
+ - { q: -6, r: 36 }
+ - { q: -6, r: 37 }
+ - { q: -6, r: 38 }
+ - { q: -6, r: 39 }
+ - { q: -6, r: 40 }
+ - { q: -5, r: 36 }
+ - { q: -5, r: 37 }
+ - { q: -5, r: 38 }
+ - { q: -5, r: 39 }
+ - { q: -4, r: 36 }
+ - { q: -4, r: 37 }
+ # Opening field hexes (#1691 Q4), by the 27 October 2026 split ("Approve as proposed"). Agent proposal, approved by the
+ # owner 2 Nov 2026 ("Approve as drafted (Recommended)"); a person's check pending. Data only: nothing farms them yet.
+ field_hexes:
+ - { q: -10, r: 33 } # lowland; I (map/control_hexes_1948_49.yaml:301); on Mishmar HaNegev, founded 6 Oct 1946 (map/control_1948_49.geojson:223 pin; en.wiki rev 1375580227); hex by nearest centre, no roster record
+ member_locations:
+ - beersheba
+ - revivim
+ - beit_kama
+ - beit_kama_field
+ - reim
+ - reim_field
+ - gilat
+ - gilat_field
+ - umm_rashrash
+ design_note: 'design value, not a historical boundary'
+ sources: ['research_notes/gdd03-regions-capitals-fields.yaml: negev', 'owner 2 Nov 2026: capital_location APPROVED as a label, "Approve all nine as labels (Recommended)"']
+ binding_status: NEEDS-RESEARCH
+ opening_control: { status: NEEDS-RESEARCH, value: null }
diff --git a/content/schema/regions.schema.json b/content/schema/regions.schema.json
index c6ecc3581..f10e63cdc 100644
--- a/content/schema/regions.schema.json
+++ b/content/schema/regions.schema.json
@@ -43,6 +43,7 @@
"capital_location": { "$ref": "#/$defs/id" },
"member_hexes": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/hex" } },
"member_locations": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "$ref": "#/$defs/id" } },
+ "field_hexes": { "type": "array", "uniqueItems": true, "items": { "$ref": "#/$defs/hex" }, "description": "Optional opening field hexes (#1691 Q4), each one of this region's member_hexes. Data only." },
"design_note": { "type": "string", "minLength": 1 },
"sources": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
"capital_approval": { "enum": ["APPROVED", "NEEDS-RESEARCH"] },
diff --git a/docs/rules/mvp.md b/docs/rules/mvp.md
index 1d3c91988..3201a5839 100644
--- a/docs/rules/mvp.md
+++ b/docs/rules/mvp.md
@@ -118,9 +118,9 @@ R-CITY-005: The cities' employed share (employed over civilians and craftsmen, s
R-CITY-006: The cities are the `city` and `town` rows of `map/settlements_1948.yaml`, in that file's order, and their start values are `cities.yaml`'s. Each of a city's values (`people`, `employed_share`, `housing_capacity`, `job_slots`) is required and has a status: `sourced` (read from the source named), `derived` (computed from sourced values), `wikipedia-only` (an owner-accepted Wikipedia figure) or `design` (a labelled design value, R-LOOP-005). A `sourced`, `derived` or `wikipedia-only` value has at least one source, each with a url and a checked date, and the day (YYYY-MM-DD) or month (YYYY-MM) it describes; the loader refuses a value without them, naming the file and field (GDD Phase 3 plan, review focus 3).
-The regional foundation under exact `gdd-0.3` identity reads optional `regions.yaml` (`schema/regions.schema.json`), separate from aliyah origins. Each explicit region has a stable id, one capital, land member hexes and member place ids from settlements or named map locations. Validation uses effective placements after overrides; inconsistent dual identities, repeated members and overlapping ownership are errors. Different place ids may share one hex within a region. No contiguity or complete-map coverage is required. Unknown opening control stays null and never grants access. Geography approval is separate from evidence status and human historical review.
+The regional foundation under exact `gdd-0.3` identity reads optional `regions.yaml` (`schema/regions.schema.json`), separate from aliyah origins. Each explicit region has a stable id, one label place (`capital_location`), land member hexes and member place ids. A member place is a settlement, a named map location, a designated site (`sites.yaml`) or a locality, whose hex is `map/locality_hexes.yaml`'s (written by `tools/locality_hexes.py` from `map/localities_1948.yaml` and `map/region_places_1948.yaml`; read only under exact `gdd-0.3` and only with `regions.yaml`, so no older identity reads or hashes it). Owner, 2 November 2026: Q1 "Accept localities", and "Fix all, then ship (Recommended)", whose option read "Accept site ids too; author records for the 4 (sourced); for the 14, the member's hex joins its region where it's unclaimed, and where another region holds the hex the member moves to that region. All listed for Amir to review." The label place must be a member; it is a label only (Q3, owner, 2 November 2026: "All nine drafts as labels"), not the regional-capital model the owner declined on 30 October 2026 ([GDD](../GDD.md), "Regional-capital model"), and nothing gives it capital mechanics. All nine shipped labels are `APPROVED` as labels (owner, 2 November 2026: "Approve all nine as labels (Recommended)"); that changes no rule. A region may list optional `field_hexes`, the opening field hexes (#1691 Q4, owner, 2 November 2026: "Approve as drafted (Recommended)", the 20 by the 27 October 2026 split): each must be a land hex of the region's own member hexes, listed once; a hex is in at most one region, so no field hex is in two. They are data only: no rule reads them yet, and the four checks of the shipped list (land, a coastal plain, lowland or valley biome, Israeli-held on 15 May 1948 in `map/control_hexes_1948_49.yaml`, in its region) are in `tools/tests/test_region_field_hexes.py`; a person's check of each row is pending. Validation uses effective placements after overrides; a place id with different hexes in two place files, repeated members and overlapping ownership are errors. Different place ids may share one hex within a region. No contiguity or complete-map coverage is required: a land hex may be in no region. Unknown opening control stays null and never grants access. Geography approval is separate from evidence status and human historical review. The shipped file has the nine regions of #1691; no new game initializes them yet (#1689).
-The approved region associations and capital choices are recorded in `research_notes/gdd03-regions-capitals-fields.md` and its evidence ledger. All nine full extents remain unresolved, so the runtime catalogue is explicitly empty and regional activation stays off. Inactive schema inputs retain every member id; the shared strict loader rejects their empty member-hex lists. Named-place acceptance projections do not stand in for complete regions. Reception-camp design association does not establish its footprint, operation or control; historical rows still require a person's check.
+The approved region associations and capital choices are recorded in `research_notes/gdd03-regions-capitals-fields.md` and its evidence ledger. The shipped extents are the sub-district design draft (owner, 30 October 2026: "C: sub-district, then Amir adjusts") with the 2 November 2026 fixes above, listed for Amir to review; they are design regions, not settled historical extents, and regional activation stays off (#1689). The inactive schema input `research_notes/gdd03-regions.schema-input.yaml` stays as evidence and retains every member id; the shared strict loader refuses seven of its nine rows, each on a member place that the 2 November fixes resolved. Named-place acceptance projections do not stand in for complete regions. Reception-camp design association does not establish its footprint, operation or control; historical rows still require a person's check.
Regional state is currently initialized only by explicit internal fixtures, through the existing population ledger. Immutable pools keep base ordinary housing, condition fractions, Industry/workshop slots and uniquely owned facility contributions separate; reception/training beds do not add ordinary housing. Population and assignment summaries come from the ledger. Canonical geography/capacity sections are limited to initialized `gdd-0.3` regional fixtures, and clones share only immutable records. No shipped era selects regional initialization, no nonempty production regional roster or allocations are supplied, and the aggregate-city guards remain. The city behavior above remains the production path; capital-addressed commands, replay, capacity reservation policy and the production cutover are later increments of #1690 and its consumers.
@@ -571,7 +571,7 @@ R-POP-002: A ledger record has exactly one typed status and assignment, validate
R-POP-003: Clone copies all ledger containers; immutable records and frozen bindings may be shared. The canonical writer emits a gdd-0.3-only section ordered by numeric population id, with fixed field order, stable machine tokens, invariant integer formatting and length-prefixed reference strings. It covers every record/assignment/equipment/reference field, binding, creation/loss provenance and allocator even after the last combat loss. Legacy/gdd-0.1 emit no ledger section or allocator marker. R-SAVE-001/002 still govern identity mismatch refusal and replay: no ledger snapshot or new command syntax is added in this foundation, and fixture injection is not replay evidence. Existing unpublished schema-4 draft hashes change; no migration promise is made.
-R-POP-004: The Historical start inventory under exact `gdd-0.3` (#1689; owner, 1 November 2026, D2: "Approve all six (Recommended)", and D4). It is read from the same content as the aggregate start: each census city (R-CITY-006) gives its R-CITY-007 start units as free civilians, and each Israeli starting formation of `map/units_1948.yaml` (R-UNIT-006) gives its strength as active soldiers, no more and no less. Enemy formations are not own population, and a dated arrival (R-UNIT-009) is not in the start inventory: it takes new ids when it arrives (Q11). Counts use `rules.yaml`'s `people_per_unit` (1,000, D2), as R-CITY-007 and R-UNIT-006 do; the `gdd-0.3` catalogue's `population.people_per_unit` (10,000) is Open mode's (D2). A city's records have source key `census/<city id>` and a formation's `units_1948/<row id>`, each with within-source ordinals from 0, so R-POP-001's order (source key by ordinal string comparison, then ordinal) gives the ascending population ids that Q10's "N units" commands take. Legacy and `gdd-0.1` content refuse it. It reads no RNG and changes no state. It is not yet wired into `Simulation.NewGame`: an initialized ledger refuses every aggregate system (R-POP-002), so a new `gdd-0.3` game keeps the aggregate start until the producers are integrated. Still Deferred: the region or location binding of each record (#1690, #1691; `content/regions.yaml` has no region), the work assignments of the employed share, which census units are farmers (fields, #1691/#1717; the owner's 1:2:1 novice/trained/veteran ratio per city then applies), the formations' military qualification, combat experience and issued equipment (#1717), and the ledger scale for this start (R-POP-001 reads the catalogue's 10,000).
+R-POP-004: The Historical start inventory under exact `gdd-0.3` (#1689; owner, 1 November 2026, D2: "Approve all six (Recommended)", and D4). It is read from the same content as the aggregate start: each census city (R-CITY-006) gives its R-CITY-007 start units as free civilians, and each Israeli starting formation of `map/units_1948.yaml` (R-UNIT-006) gives its strength as active soldiers, no more and no less. Enemy formations are not own population, and a dated arrival (R-UNIT-009) is not in the start inventory: it takes new ids when it arrives (Q11). Counts use `rules.yaml`'s `people_per_unit` (1,000, D2), as R-CITY-007 and R-UNIT-006 do; the `gdd-0.3` catalogue's `population.people_per_unit` (10,000) is Open mode's (D2). A city's records have source key `census/<city id>` and a formation's `units_1948/<row id>`, each with within-source ordinals from 0, so R-POP-001's order (source key by ordinal string comparison, then ordinal) gives the ascending population ids that Q10's "N units" commands take. Legacy and `gdd-0.1` content refuse it. It reads no RNG and changes no state. It is not yet wired into `Simulation.NewGame`: an initialized ledger refuses every aggregate system (R-POP-002), so a new `gdd-0.3` game keeps the aggregate start until the producers are integrated. Still Deferred: the region or location binding of each record (#1690, #1689; `content/regions.yaml` has the nine regions of #1691, which no game initializes yet), the work assignments of the employed share, which census units are farmers (fields, #1691/#1717; the owner's 1:2:1 novice/trained/veteran ratio per city then applies), the formations' military qualification, combat experience and issued equipment (#1717), and the ledger scale for this start (R-POP-001 reads the catalogue's 10,000).
#1706 slices 0/1 (coordinator decision, 26 Oct 2026, Q5): the synthetic combat catalogue foundation is inactive in the actual game. R-COMBAT-001 through R-COMBAT-008 retain their current runtime meanings. See [the catalogue foundation](../gdd03-catalogue.md#1706-slices-01-inactive-combat-catalogue-foundation) for its data contract and sources.
diff --git a/sim/Statecraft.Sim.Tests/Gdd03RegionAuthoringTests.cs b/sim/Statecraft.Sim.Tests/Gdd03RegionAuthoringTests.cs
index 015f2b9b2..26b62e6f7 100644
--- a/sim/Statecraft.Sim.Tests/Gdd03RegionAuthoringTests.cs
+++ b/sim/Statecraft.Sim.Tests/Gdd03RegionAuthoringTests.cs
@@ -94,20 +94,91 @@ public class Gdd03RegionAuthoringTests
}, Directory.GetFiles(Path.Combine(root, "events"), "*.yaml").Select(p => "events/" + Path.GetFileName(p)));
}
+ // #1691, owner rulings of 2 November 2026: Q1 "Accept localities"; Q3 "All nine drafts as labels"; and "Fix all, then
+ // ship (Recommended)", whose option read: "Accept site ids too; author records for the 4 (sourced); for the 14, the
+ // member's hex joins its region where it's unclaimed, and where another region holds the hex the member moves to that
+ // region. All listed for Amir to review." Q2 (owner, 2 Nov 2026, "Add (10,4) to Galilee (Recommended)"): (10,4), Hanita's hex, joins Galilee.
+ // Each of the 14 members off its region's hexes stands on a hex another region holds, so it moves there.
+ static readonly (string Member, string From, string To)[] Moved =
+ {
+ ("kafr_thulth", "haifa_sharon", "northern_hills"), ("azzoun", "haifa_sharon", "northern_hills"),
+ ("al_mansi", "haifa_sharon", "northern_hills"), ("kfar_saba_2", "haifa_sharon", "tel_aviv_jaffa"),
+ ("al_safiriyya", "tel_aviv_jaffa", "central_plain"), ("majdal_yaba", "central_plain", "haifa_sharon"),
+ ("al_tira", "central_plain", "tel_aviv_jaffa"), ("al_muzayria", "central_plain", "tel_aviv_jaffa"),
+ ("qula", "central_plain", "tel_aviv_jaffa"), ("tzrifin", "central_plain", "tel_aviv_jaffa"),
+ ("beit_liqya", "jerusalem_hills", "central_plain"), ("zirin", "northern_hills", "valleys"),
+ ("iraq_al_manshiyya", "southern_coast", "jerusalem_hills"), ("yasur", "southern_coast", "central_plain"),
+ };
+
[Fact]
- public void AuthoredRuntimeFileLoadsUnderExactIdentityWithActivationOff()
+ public void ShippedRegionsLoadUnderExactIdentityWithEveryMemberOnAMemberHex()
{
var text = File.ReadAllText(Path.Combine(RealContentTests.ContentRoot(), "regions.yaml"));
var reads = new List<string>();
var c = PlayerRegionsContentTests.Load(text, onRead: reads.Add);
Assert.Equal(SaveGame.Gdd03Ruleset, c.Ruleset);
Assert.Contains("regions.yaml", reads);
- Assert.Empty(c.PlayerRegions.Regions);
+ var staged = Rows(Parse(Staged), "player_regions");
+ Assert.Equal(staged.Select(r => Text(r, "id")).OrderBy(x => x, StringComparer.Ordinal), c.PlayerRegions.Regions.Keys);
+ // Every member's own hex, from the files the loader places it by: settlements, named locations, sites, localities.
+ var localities = Rows(Parse(File.ReadAllText(Path.Combine(RealContentTests.ContentRoot(), "map", "locality_hexes.yaml"))), "localities");
+ var at = new Dictionary<string, (int, int)>(StringComparer.Ordinal);
+ foreach (var s in c.SettlementHexes) at[s.Id] = (s.Q, s.R);
+ foreach (var l in c.MapLocations) at[l.Id] = (l.Q, l.R);
+ foreach (var s in c.Sites) at[s.Id] = (s.Q, s.R);
+ foreach (var l in localities) at[Text(l, "id")!] = (Int(l, "q"), Int(l, "r"));
+ foreach (var region in c.PlayerRegions.Regions.Values)
+ {
+ var row = staged.Single(r => Text(r, "id") == region.Id);
+ Assert.Equal(Text(row, "capital_location"), region.CapitalLocation); // Q3: the nine draft labels
+ Assert.Contains(region.CapitalLocation, region.MemberLocations);
+ Assert.Same(region, c.PlayerRegions.AtCapital(region.CapitalLocation));
+ foreach (var m in region.MemberLocations)
+ {
+ Assert.True(at.ContainsKey(m), m);
+ Assert.Contains(at[m], region.MemberHexes);
+ Assert.Same(region, c.PlayerRegions.AtLocation(m));
+ }
+ }
+ // 326 approved members, less rosh_haayin_camp (deferred: no sourced position), each in exactly one region.
+ Assert.Equal(325, c.PlayerRegions.Regions.Values.Sum(r => r.MemberLocations.Count));
+ Assert.Null(c.PlayerRegions.AtLocation("rosh_haayin_camp"));
+ foreach (var (member, from, to) in Moved)
+ {
+ Assert.Contains(member, Strings(staged.Single(r => Text(r, "id") == from), "member_locations"));
+ Assert.Equal(to, c.PlayerRegions.AtLocation(member)!.Id);
+ }
+ Assert.DoesNotContain(staged.SelectMany(r => Assert.IsType<YamlSequenceNode>(Get(r, "member_hexes")).Children.Cast<YamlMappingNode>()),
+ h => Int(h, "q") == 10 && Int(h, "r") == 4); // in no region after the 4.4 km regrid
+ Assert.Equal("galilee", c.PlayerRegions.AtHex(10, 4)!.Id); // Q2, owner 2 Nov 2026: Hanita's own hex
+ Assert.Equal("galilee", c.PlayerRegions.AtLocation("hanita")!.Id);
+ Assert.Equal(524, c.PlayerRegions.Regions.Values.Sum(r => r.MemberHexes.Count)); // the staged 523 and (10,4)
+ // Activation stays off: nothing initializes regions in a new game yet (#1689).
var state = Simulation.NewGame(c, 1, Mode.Historical);
Assert.Empty(state.PlayerRegions);
Assert.False(state.PopulationLedger.IsInitialized);
}
+ // The roster claims of the two inputs of map/locality_hexes.yaml, checked against the effective rosters the loader
+ // places members by: a locality is "not one of the 25 game settlements" (localities_1948.yaml), and a region place is
+ // one "no other roster holds" (region_places_1948.yaml). The sim refuses a member placed on two hexes, but only once it
+ // is a member, and never a shared id on one hex, so these are pinned here. Any other shared id must share the hex.
+ [Fact]
+ public void ShippedLocalityHexIdsKeepTheRosterClaimsOfTheirInputs()
+ {
+ var map = Path.Combine(RealContentTests.ContentRoot(), "map");
+ var c = PlayerRegionsContentTests.Load(File.ReadAllText(Path.Combine(RealContentTests.ContentRoot(), "regions.yaml")));
+ var localities = Rows(Parse(File.ReadAllText(Path.Combine(map, "locality_hexes.yaml"))), "localities")
+ .ToDictionary(l => Text(l, "id")!, l => (Int(l, "q"), Int(l, "r")), StringComparer.Ordinal);
+ var regionPlaces = Rows(Parse(File.ReadAllText(Path.Combine(map, "region_places_1948.yaml"))), "places").Select(p => Text(p, "id")!).ToArray();
+ Assert.Equal(3, regionPlaces.Length);
+ Assert.All(regionPlaces, p => Assert.True(localities.ContainsKey(p), p));
+ var others = c.MapLocations.Select(l => (l.Id, Hex: (l.Q, l.R))).Concat(c.Sites.Select(s => (s.Id, Hex: (s.Q, s.R)))).ToArray();
+ Assert.DoesNotContain(c.SettlementHexes, s => localities.ContainsKey(s.Id));
+ Assert.Empty(others.Select(o => o.Id).Intersect(regionPlaces, StringComparer.Ordinal));
+ Assert.DoesNotContain(others, o => localities.TryGetValue(o.Id, out var hex) && hex != o.Hex);
+ }
+
[Fact]
public void SchemaAdaptationRetainsEveryNamedMemberAndEvidenceStatus()
{
@@ -183,22 +254,102 @@ public class Gdd03RegionAuthoringTests
others.Select(x => ((string?)x.Path, Value(x.Control, "status"), Value(x.Control, "value"), Value(x.Control, "date"))));
}
+ // Owner, 2 November 2026 evening: "Approve all nine as labels (Recommended)". Every capital_location is an approved
+ // LABEL; this is still not the regional-capital model the owner declined on 30 October 2026.
+ [Fact]
+ public void AllNineShippedCapitalsAreApprovedLabels()
+ {
+ var c = PlayerRegionsContentTests.Load(File.ReadAllText(Path.Combine(RealContentTests.ContentRoot(), "regions.yaml")));
+ Assert.Equal(9, c.PlayerRegions.Regions.Count);
+ Assert.All(c.PlayerRegions.Regions.Values, r => Assert.Equal("APPROVED", r.CapitalApproval));
+ Assert.Equal(0, c.PlayerRegions.Regions.Values.Count(r => r.CapitalApproval == "NEEDS-RESEARCH"));
+ }
+
+ // #1691 Q4, owner, 2 November 2026 evening: "Approve as drafted (Recommended)". The 20 opening field hexes, by the
+ // per-region split of 27 October 2026 ("Approve as proposed"). Data only: nothing farms them yet. A person's check of
+ // each row is pending. The 15 May control check is tools/tests/test_region_field_hexes.py (the sim never reads control).
+ static readonly (string Region, int Q, int R)[] ApprovedFields =
+ {
+ ("galilee", 9, 5), ("galilee", 14, 7),
+ ("valleys", 7, 11), ("valleys", 7, 12), ("valleys", 8, 13), ("valleys", 9, 13), ("valleys", 11, 12), ("valleys", 12, 11),
+ ("haifa_sharon", 6, 10), ("haifa_sharon", 6, 12), ("haifa_sharon", 3, 13), ("haifa_sharon", 2, 14), ("haifa_sharon", 2, 15), ("haifa_sharon", 1, 15),
+ ("tel_aviv_jaffa", -1, 20), ("tel_aviv_jaffa", -2, 21),
+ ("central_plain", -5, 25), ("central_plain", -4, 25),
+ ("southern_coast", -11, 31),
+ ("negev", -10, 33),
+ };
+
+ [Fact]
+ public void ShippedFieldHexesAreTheOwnerApprovedTwentyOnWorkableLandOfTheirOwnRegion()
+ {
+ var c = PlayerRegionsContentTests.Load(File.ReadAllText(Path.Combine(RealContentTests.ContentRoot(), "regions.yaml")));
+ var split = new Dictionary<string, int>(StringComparer.Ordinal)
+ {
+ ["galilee"] = 2, ["valleys"] = 6, ["haifa_sharon"] = 6, ["tel_aviv_jaffa"] = 2, ["central_plain"] = 2,
+ ["jerusalem_hills"] = 0, ["northern_hills"] = 0, ["southern_coast"] = 1, ["negev"] = 1,
+ };
+ Assert.Equal(split.Keys.OrderBy(x => x, StringComparer.Ordinal), c.PlayerRegions.Regions.Keys);
+ foreach (var region in c.PlayerRegions.Regions.Values)
+ {
+ Assert.Equal(split[region.Id], region.FieldHexes.Count);
+ Assert.Equal(ApprovedFields.Where(f => f.Region == region.Id).Select(f => (f.Q, f.R)).OrderBy(h => h.Q).ThenBy(h => h.R),
+ region.FieldHexes);
+ foreach (var h in region.FieldHexes)
+ {
+ Assert.True(c.HexAt(h.Q, h.R)!.Land);
+ Assert.Contains(c.HexAt(h.Q, h.R)!.Biome, new[] { "coastal_plain", "lowland", "valley" });
+ Assert.Contains(h, region.MemberHexes);
+ Assert.Same(region, c.PlayerRegions.AtHex(h.Q, h.R));
+ }
+ }
+ var all = c.PlayerRegions.Regions.Values.SelectMany(r => r.FieldHexes).ToArray();
+ Assert.Equal(20, all.Length);
+ Assert.Equal(20, all.Distinct().Count());
+ // Data only: activation stays off, so nothing reads the fields in a new game yet (#1689).
+ Assert.Empty(Simulation.NewGame(c, 1, Mode.Historical).PlayerRegions);
+ }
+
+ // The staged evidence rows, before the 2 November fixes: with localities and sites accepted (and the three new
+ // records placed), only the rows the ruling had to fix are still refused, each on a member place. Each refusal is
+ // pinned by member and reason, and the refused member is dropped until the row loads, so every refused member is
+ // listed: without locality or site placement the 14 moved members would be refused as "unknown place id" instead.
[Theory]
- [InlineData("galilee")]
- [InlineData("valleys")]
- [InlineData("haifa_sharon")]
- [InlineData("tel_aviv_jaffa")]
- [InlineData("central_plain")]
- [InlineData("jerusalem_hills")]
- [InlineData("northern_hills")]
- [InlineData("southern_coast")]
- [InlineData("negev")]
- public void EveryUnresolvedPlaceRosterIsRejectedAfterGeneratedGeometry(string id)
+ [InlineData("galilee", "hanita", "")] // hanita on (10,4)
+ [InlineData("valleys", "", "")]
+ [InlineData("haifa_sharon", "kafr_thulth azzoun al_mansi kfar_saba_2", "")]
+ [InlineData("tel_aviv_jaffa", "al_safiriyya", "rosh_haayin_camp")] // the camp: deferred, no sourced position
+ [InlineData("central_plain", "majdal_yaba al_tira al_muzayria qula tzrifin", "")]
+ [InlineData("jerusalem_hills", "beit_liqya", "")]
+ [InlineData("northern_hills", "zirin", "")]
+ [InlineData("southern_coast", "iraq_al_manshiyya yasur", "")]
+ [InlineData("negev", "", "")]
+ public void StagedRowsLoadExceptWhereTheRulingMovedAMemberOrAHex(string id, string outside, string unknown)
{
+ const string Outside = "effective location lies outside member_hexes", Unknown = "unknown place id";
var row = Rows(Parse(Staged), "player_regions").Single(r => Text(r, "id") == id);
- var error = Assert.Throws<ContentException>(() => PlayerRegionsContentTests.Load(SingleRow(row)));
- Assert.Equal("regions.yaml", error.File);
- Assert.StartsWith("player_regions[0].member_locations", error.Field, StringComparison.Ordinal);
+ var members = Assert.IsType<YamlSequenceNode>(Get(row, "member_locations")).Children;
+ var refused = new List<(string Member, string Reason)>();
+ while (true)
+ {
+ ContentException? error = null;
+ try { Assert.Single(PlayerRegionsContentTests.Load(SingleRow(row)).PlayerRegions.Regions); }
+ catch (ContentException e) { error = e; }
+ if (error == null) break;
+ Assert.Equal("regions.yaml", error.File);
+ var match = System.Text.RegularExpressions.Regex.Match(error.Field, @"^player_regions\[0\]\.member_locations\[(\d+)\]$");
+ Assert.True(match.Success, error.Message);
+ var i = int.Parse(match.Groups[1].Value, CultureInfo.InvariantCulture);
+ var reason = error.Message.Substring(("regions.yaml: " + error.Field + ": ").Length);
+ Assert.Contains(reason, new[] { Outside, Unknown });
+ refused.Add((Assert.IsType<YamlScalarNode>(members[i]).Value!, reason));
+ members.RemoveAt(i);
+ }
+ static IEnumerable<string> Split(string s) => s.Split(' ', StringSplitOptions.RemoveEmptyEntries);
+ var expected = Split(outside).Select(m => (m, Outside)).Concat(Split(unknown).Select(m => (m, Unknown)));
+ Assert.Equal(expected.OrderBy(x => x.m, StringComparer.Ordinal), refused.OrderBy(x => x.Member, StringComparer.Ordinal));
+ // The members refused as off their hexes are this row's moves in the ruling's table (and Hanita, Q2, for Galilee).
+ Assert.Equal(Moved.Where(x => x.From == id).Select(x => x.Member).Concat(id == "galilee" ? new[] { "hanita" } : Array.Empty<string>())
+ .OrderBy(x => x, StringComparer.Ordinal), Split(outside).OrderBy(x => x, StringComparer.Ordinal));
}
[Fact]
@@ -358,6 +509,7 @@ public class Gdd03RegionAuthoringTests
var authored = File.ReadAllText(Path.Combine(RealContentTests.ContentRoot(), "regions.yaml"));
var old = LoadShipped(authored, reads.Add);
Assert.DoesNotContain("regions.yaml", reads);
+ Assert.DoesNotContain("map/locality_hexes.yaml", reads);
var absent = LoadShipped(null);
var incomplete = LoadShipped(Staged);
Assert.Equal(absent.Hash, old.Hash);
diff --git a/sim/Statecraft.Sim.Tests/Gdd03RegionalIsolationTests.cs b/sim/Statecraft.Sim.Tests/Gdd03RegionalIsolationTests.cs
index a6c52be73..119fa89a9 100644
--- a/sim/Statecraft.Sim.Tests/Gdd03RegionalIsolationTests.cs
+++ b/sim/Statecraft.Sim.Tests/Gdd03RegionalIsolationTests.cs
@@ -3,8 +3,9 @@ using Statecraft.Sim;
/// <summary>#1690 acceptance checks (owner, 1 November 2026): map markers and completed sites create no extra economy or
/// people, and fixture values never become production defaults (R-CITY-006, R-CITY-008, R-POP-001, R-SITE-003).
/// Authored campaign initialization is not on main yet, so each check is pinned to what exists today: the explicit
-/// regional fixture (PlayerRegions.CreateFixture) or the exact gdd-0.3 identity's game path with its authored, empty
-/// region catalogue. Neither stands in for the later production cutover.</summary>
+/// regional fixture (PlayerRegions.CreateFixture) or the exact gdd-0.3 identity's game path with its authored region
+/// catalogue (nine regions since #1691), which no new game initializes yet. Neither stands in for the later production
+/// cutover.</summary>
public class Gdd03RegionalIsolationTests
{
const string A = "ramla_rehovot";
@@ -83,8 +84,8 @@ public class Gdd03RegionalIsolationTests
}
// R-CITY-006 ("The cities are the `city` and `town` rows of `map/settlements_1948.yaml`"), R-POP-001. Pinned to the
- // exact gdd-0.3 game path with the authored, empty region catalogue (so the empty PlayerRegions check pins that
- // catalogue): adding a rural marker to the location roster changes no start state, and no turn after it, and no
+ // exact gdd-0.3 game path with the authored region catalogue (nine regions since #1691; the empty PlayerRegions
+ // check pins that no new game initializes them, #1689): adding a rural marker to the location roster changes no start state, and no turn after it, and no
// marker without managed_city is a city.
[Fact]
public void R_CITY_006_ARuralMarkerOnTheMapCreatesNoCityRegionOrPersonInTheGame()
@@ -148,7 +149,10 @@ public class Gdd03RegionalIsolationTests
var after = Load();
Assert.Equal(before.Hash, after.Hash);
- Assert.Empty(after.PlayerRegions.Regions); Assert.Empty(PlayerRegionCatalogue.Empty.Regions);
+ // The authored catalogue (nine regions since #1691) is unchanged by the fixture and holds none of its regions.
+ Assert.Equal(before.PlayerRegions.Regions.Keys, after.PlayerRegions.Regions.Keys);
+ Assert.Equal(9, after.PlayerRegions.Regions.Count); Assert.DoesNotContain(A, after.PlayerRegions.Regions.Keys);
+ Assert.Empty(PlayerRegionCatalogue.Empty.Regions);
Assert.Equal(before.PopulationPeoplePerUnit, after.PopulationPeoplePerUnit);
var production = Simulation.NewGame(after, 1, Mode.Historical);
Assert.Equal(game, production.Describe());
diff --git a/sim/Statecraft.Sim.Tests/PlayerRegionsContentTests.cs b/sim/Statecraft.Sim.Tests/PlayerRegionsContentTests.cs
index c94839099..d2663b9fd 100644
--- a/sim/Statecraft.Sim.Tests/PlayerRegionsContentTests.cs
+++ b/sim/Statecraft.Sim.Tests/PlayerRegionsContentTests.cs
@@ -29,7 +29,7 @@ public class PlayerRegionsContentTests
opening_control: { status: NEEDS-RESEARCH, value: null }
";
internal static Content Load(string? regions = "player_regions:\n" + RamlaRehovot, bool modern = true,
- string? overrideText = null, Action<string>? onRead = null)
+ string? overrideText = null, Action<string>? onRead = null, bool localities = true, string? localityText = null)
{
var root = RealContentTests.ContentRoot();
return ContentLoader.Load(rel =>
@@ -37,6 +37,8 @@ public class PlayerRegionsContentTests
onRead?.Invoke(rel);
if (rel == PlayerRegionCatalogue.FileName) return regions;
if (rel == MapOverrides.FileName) return overrideText;
+ if (!localities && rel == PlayerRegionCatalogue.LocalityHexesFileName) return null;
+ if (localityText != null && rel == PlayerRegionCatalogue.LocalityHexesFileName) return localityText;
var path = Path.Combine(root, rel);
var text = File.Exists(path) ? File.ReadAllText(path) : null;
return modern && rel == "eras.yaml" ? text!.Replace("loop: gdd", "loop: gdd, ruleset: gdd-0.3") : text;
@@ -169,20 +171,155 @@ public class PlayerRegionsContentTests
Assert.Null(partial.PlayerRegions.Regions["ramla_rehovot"].OpeningController);
}
+ // Owner, 2 November 2026, Q1 "Accept localities", and "Fix all, then ship (Recommended)": "Accept site ids too".
+ // Tarshiha is a locality (map/localities_1948.yaml) on (10,6) by map/locality_hexes.yaml; Kiryat Shmona is a
+ // designated site (sites.yaml) on (16,2). The row is a test region; its label is not an owner choice.
+ internal const string LocalityAndSite = @"
+ - id: upper_galilee
+ capital_location: tarshiha
+ member_hexes: [{ q: 10, r: 6 }, { q: 16, r: 2 }]
+ member_locations: [tarshiha, kiryat_shmona]
+ design_note: 'Named-place projection for testing; not a historical boundary'
+ sources: ['content/map/locality_hexes.yaml', 'content/sites.yaml', 'test fixture: no owner label choice']
+ capital_approval: NEEDS-RESEARCH
+ binding_status: NEEDS-RESEARCH
+ opening_control: { status: NEEDS-RESEARCH, value: null }
+";
+
+ [Fact]
+ public void LocalityAndSiteMembersAreAcceptedOnTheirOwnHexes()
+ {
+ var c = Load("player_regions:\n" + LocalityAndSite);
+ var r = Assert.Single(c.PlayerRegions.Regions).Value;
+ Assert.Equal(new[] { "kiryat_shmona", "tarshiha" }, r.MemberLocations);
+ Assert.Same(r, c.PlayerRegions.AtLocation("tarshiha"));
+ Assert.Same(r, c.PlayerRegions.AtLocation("kiryat_shmona"));
+ Assert.Same(r, c.PlayerRegions.AtCapital("tarshiha"));
+ }
+
+ // Each case asserts the reason as well as the field: without locality and site placement, every member here
+ // would fail earlier as an "unknown place id", so a field-only assert could pass for the wrong reason.
+ [Theory]
+ // A locality or a site off the region's hexes is placed, and refused there.
+ [InlineData("[{ q: 10, r: 6 }, { q: 16, r: 2 }]", "[{ q: 10, r: 6 }, { q: 16, r: 3 }]", "member_locations[1]", "effective location lies outside member_hexes")]
+ [InlineData("[{ q: 10, r: 6 }, { q: 16, r: 2 }]", "[{ q: 10, r: 5 }, { q: 16, r: 2 }]", "member_locations[0]", "effective location lies outside member_hexes")]
+ // An id in no placement file stays unknown.
+ [InlineData("[tarshiha, kiryat_shmona]", "[tarshiha, kiryat_shmona, nowhere_1948]", "member_locations[2]", "unknown place id")]
+ // The label still has to be a member (Q3: a label, but the loader's requirement stays).
+ [InlineData("capital_location: tarshiha", "capital_location: hebron", "capital_location", "must name a member location on a member hex")]
+ public void LocalityAndSiteMembersKeepEveryPlacementCheck(string from, string to, string field, string reason)
+ {
+ var e = Assert.Throws<ContentException>(() => Load("player_regions:\n" + LocalityAndSite.Replace(from, to)));
+ Assert.Equal("regions.yaml", e.File); Assert.Equal("player_regions[0]." + field, e.Field);
+ Assert.Equal("regions.yaml: player_regions[0]." + field + ": " + reason, e.Message);
+ }
+
+ // #1691 Q4 (owner, 2 November 2026: "Approve as drafted (Recommended)"): optional field_hexes, data only. A field hex
+ // is a land hex of the region's own member_hexes, listed once. (-4,24) is coastal_plain; (-4,23) is Rishon LeZion's.
+ [Fact]
+ public void FieldHexesAreOptionalAndLoadOnTheRegionsOwnHexes()
+ {
+ Assert.Empty(Assert.Single(Load().PlayerRegions.Regions).Value.FieldHexes); // absent: none
+ var c = Load("player_regions:\n" + RamlaRehovot.Replace(" member_locations:", " field_hexes: [{ q: -4, r: 24 }]\n member_locations:"));
+ Assert.Equal(new[] { (-4, 24) }, Assert.Single(c.PlayerRegions.Regions).Value.FieldHexes);
+ }
+
+ [Theory]
+ [InlineData("[{ q: -4 }]", "player_regions[0].field_hexes[0]", "q and r are required integers")]
+ [InlineData("[{ r: 24 }]", "player_regions[0].field_hexes[0]", "q and r are required integers")]
+ [InlineData("[{ q: 0, r: 0 }]", "player_regions[0].field_hexes[0]", "must name an existing land hex")]
+ [InlineData("[{ q: 99, r: 99 }]", "player_regions[0].field_hexes[0]", "must name an existing land hex")]
+ [InlineData("[{ q: -4, r: 23 }]", "player_regions[0].field_hexes[0]", "must be one of the region's member_hexes")]
+ [InlineData("[{ q: -4, r: 24 }, { q: -4, r: 24 }]", "player_regions[0].field_hexes[1]", "duplicate field hex")]
+ [InlineData("null", "player_regions[ramla_rehovot].field_hexes", null)] // CheckNulls, as for every list
+ public void MalformedFieldHexRowsAreRefused(string list, string field, string? reason)
+ {
+ var e = Assert.Throws<ContentException>(() => Load("player_regions:\n"
+ + RamlaRehovot.Replace(" member_locations:", " field_hexes: " + list + "\n member_locations:")));
+ Assert.Equal("regions.yaml", e.File); Assert.Equal(field, e.Field);
+ if (reason != null) Assert.Equal("regions.yaml: " + field + ": " + reason, e.Message);
+ }
+
+ // Another region's member hex is refused as a field: ownership is exclusive, so no field hex can be in two regions.
+ [Fact]
+ public void AFieldHexOfAnotherRegionIsRefused()
+ {
+ var e = Assert.Throws<ContentException>(() => Load("player_regions:\n" + RamlaRehovot
+ + Central.Replace(" member_locations:", " field_hexes: [{ q: -4, r: 24 }]\n member_locations:")));
+ Assert.Equal("regions.yaml: player_regions[1].field_hexes[0]: must be one of the region's member_hexes", e.Message);
+ }
+
+ // The site is listed first, so it must resolve (sites.yaml is always placed) before the locality is refused.
+ [Fact]
+ public void WithoutTheLocalityHexesALocalityIsUnknown()
+ {
+ var e = Assert.Throws<ContentException>(() => Load("player_regions:\n"
+ + LocalityAndSite.Replace("[tarshiha, kiryat_shmona]", "[kiryat_shmona, tarshiha]"), localities: false));
+ Assert.Equal("regions.yaml", e.File); Assert.Equal("player_regions[0].member_locations[1]", e.Field);
+ Assert.Equal("regions.yaml: player_regions[0].member_locations[1]: unknown place id", e.Message);
+ }
+
+ // map/locality_hexes.yaml is generated, but the sim still refuses a malformed row instead of placing it: the
+ // settlement_hexes.yaml checks (unique ids, land hexes), plus q and r required so a missing one is never a silent 0.
+ // hebron is in no region of the default fixture, so without these checks each row would load silently.
+ [Theory]
+ [InlineData("localities:\n", "localities:\n - { id: hebron, q: -4, r: 29 }\n", "localities[hebron].id", "duplicate id")]
+ [InlineData("{ id: hebron, q: -4, r: 30 }", "{ q: -4, r: 30 }", "localities[].id", ContentLoader.IdRule)]
+ [InlineData("{ id: hebron, q: -4, r: 30 }", "{ id: hebron, r: 30 }", "localities[hebron]", "q and r are required integers")]
+ [InlineData("{ id: hebron, q: -4, r: 30 }", "{ id: hebron, q: -4 }", "localities[hebron]", "q and r are required integers")]
+ [InlineData("{ id: hebron, q: -4, r: 30 }", "{ id: hebron, q: 0, r: 0 }", "localities[hebron]", "hex q=0 r=0 is not a land hex in map/hexes.json")]
+ [InlineData("{ id: hebron, q: -4, r: 30 }", "{ id: hebron, q: 99, r: 99 }", "localities[hebron]", "hex q=99 r=99 is not a land hex in map/hexes.json")]
+ public void MalformedLocalityHexRowsAreRefused(string from, string to, string field, string reason)
+ {
+ var real = File.ReadAllText(Path.Combine(RealContentTests.ContentRoot(), PlayerRegionCatalogue.LocalityHexesFileName));
+ Assert.Contains(from, real);
+ var e = Assert.Throws<ContentException>(() => Load(localityText: real.Replace(from, to)));
+ Assert.Equal(PlayerRegionCatalogue.LocalityHexesFileName, e.File); Assert.Equal(field, e.Field);
+ Assert.Equal(PlayerRegionCatalogue.LocalityHexesFileName + ": " + field + ": " + reason, e.Message);
+ }
+
+ // A locality row may not give a member a second hex: a settlement (ramla, on (-4,24)) or a site (kiryat_shmona, on
+ // (16,2)) placed again on another land hex by map/locality_hexes.yaml is refused as a member. The same hex is no conflict.
+ [Theory]
+ [InlineData(RamlaRehovot, " - { id: ramla, q: -4, r: 23 }\n", "member_locations[0]")]
+ [InlineData(LocalityAndSite, " - { id: kiryat_shmona, q: 10, r: 6 }\n", "member_locations[1]")]
+ [InlineData(RamlaRehovot, " - { id: ramla, q: -4, r: 24 }\n", null)]
+ public void AMemberPlacedOnTwoHexesAcrossThePlaceFilesIsRefused(string region, string locality, string? field)
+ {
+ var real = File.ReadAllText(Path.Combine(RealContentTests.ContentRoot(), PlayerRegionCatalogue.LocalityHexesFileName));
+ Assert.EndsWith("\n", real);
+ if (field == null) { Assert.Single(Load("player_regions:\n" + region, localityText: real + locality).PlayerRegions.Regions); return; }
+ var e = Assert.Throws<ContentException>(() => Load("player_regions:\n" + region, localityText: real + locality));
+ Assert.Equal("regions.yaml: player_regions[0]." + field + ": one place id has inconsistent placements across the place files", e.Message);
+ }
+
[Fact]
public void OnlyExactNewIdentityConsumesAndHashesGeography()
{
var reads = new List<string>();
var old = Load(modern: false, onRead: reads.Add);
Assert.DoesNotContain("regions.yaml", reads); Assert.Empty(old.PlayerRegions.Regions);
+ Assert.DoesNotContain(PlayerRegionCatalogue.LocalityHexesFileName, reads);
+ Assert.Equal(old.Hash, Load("malformed: [", modern: false, localities: false).Hash);
+ reads.Clear();
+ Load(onRead: reads.Add);
+ Assert.Contains(PlayerRegionCatalogue.LocalityHexesFileName, reads);
Assert.Equal(old.Hash, Load("malformed: [", modern: false).Hash);
Assert.NotEqual(Load().Hash, Load("player_regions:\n" + RamlaRehovot + "\n# consumed provenance\n").Hash);
- Assert.Empty(Load(null).PlayerRegions.Regions);
+ // Under gdd-0.3 the locality hexes are a hash input: one locality off the fixture's members moved by one hex.
+ var localities = File.ReadAllText(Path.Combine(RealContentTests.ContentRoot(), PlayerRegionCatalogue.LocalityHexesFileName));
+ Assert.Contains("{ id: hebron, q: -4, r: 30 }", localities);
+ Assert.NotEqual(Load().Hash, Load(localityText: localities.Replace("{ id: hebron, q: -4, r: 30 }", "{ id: hebron, q: -5, r: 31 }")).Hash);
+ // Without regions.yaml the locality hexes are not read either.
+ reads.Clear();
+ Assert.Empty(Load(null, onRead: reads.Add).PlayerRegions.Regions);
+ Assert.Contains("regions.yaml", reads); Assert.DoesNotContain(PlayerRegionCatalogue.LocalityHexesFileName, reads);
// Legacy also has no read, even when an unrelated file is present and malformed.
var files = new Dictionary<string, string>(Fixture.Files) { ["regions.yaml"] = "malformed: [" };
reads.Clear();
var legacy = ContentLoader.Load(rel => { reads.Add(rel); return files.TryGetValue(rel, out var text) ? text : null; }, Array.Empty<string>());
Assert.DoesNotContain("regions.yaml", reads); Assert.Empty(legacy.PlayerRegions.Regions);
+ Assert.DoesNotContain(PlayerRegionCatalogue.LocalityHexesFileName, reads);
files.Remove("regions.yaml");
Assert.Equal(legacy.Hash, ContentLoader.Load(rel => files.TryGetValue(rel, out var text) ? text : null, Array.Empty<string>()).Hash);
}
diff --git a/sim/Statecraft.Sim/ContentLoader.cs b/sim/Statecraft.Sim/ContentLoader.cs
index bc21bfb71..df9e66ef5 100644
--- a/sim/Statecraft.Sim/ContentLoader.cs
+++ b/sim/Statecraft.Sim/ContentLoader.cs
@@ -45,6 +45,9 @@ namespace Statecraft.Sim
public List<MapHex> Hexes { get; set; } = new List<MapHex>();
}
sealed class SettlementHexesFile { public List<SettlementHex> Settlements { get; set; } = new List<SettlementHex>(); }
+ sealed class LocalityHexesFile { public List<LocalityHex> Localities { get; set; } = new List<LocalityHex>(); }
+ /// <summary>A map/locality_hexes.yaml row. q and r are nullable so a missing one is refused, never read as 0.</summary>
+ sealed class LocalityHex { public string Id { get; set; } = ""; public int? Q { get; set; } public int? R { get; set; } }
sealed class MapLocationsFile { public List<MapLocation> Locations { get; set; } = new List<MapLocation>(); }
sealed class SettlementTargetsFile { public List<SettlementTarget> Targets { get; set; } = new List<SettlementTarget>(); }
sealed class CitiesFile { public List<CityStart> Cities { get; set; } = new List<CityStart>(); }
@@ -190,6 +193,25 @@ namespace Statecraft.Sim
internal const string ObjectivesFileName = "objectives.yaml";
+ /// <summary>R-CITY-006: the locality placements, with the settlement_hexes.yaml checks (unique ids, land hexes) and
+ /// q and r required. Only the exact gdd-0.3 regions path calls this.</summary>
+ static List<SettlementHex>? LocalityHexes(Content c, LocalityHexesFile? file)
+ {
+ if (file == null) return null;
+ const string f = PlayerRegionCatalogue.LocalityHexesFileName;
+ Unique(f, "localities", file.Localities.Select(l => l.Id));
+ var result = new List<SettlementHex>(file.Localities.Count);
+ foreach (var l in file.Localities)
+ {
+ if (!l.Q.HasValue || !l.R.HasValue) throw new ContentException(f, $"localities[{l.Id}]", "q and r are required integers");
+ int q = l.Q.Value, r = l.R.Value;
+ if (c.HexAt(q, r)?.Land != true)
+ throw new ContentException(f, $"localities[{l.Id}]", FormattableString.Invariant($"hex q={q} r={r} is not a land hex in {HexesFile}"));
+ result.Add(new SettlementHex { Id = l.Id, Q = q, R = r });
+ }
+ return result;
+ }
+
/// <summary>Like <see cref="Read{T}"/>, but a missing file is null, not an error. The file is read once.</summary>
static T? ReadOptional<T>(Func<string, string?> readFile, string relPath) where T : class
{
@@ -418,12 +440,6 @@ namespace Statecraft.Sim
// R-POP-001: validate the identity-specific scale without altering old content reads/hash inputs.
if (c.UsesPopulationLedger) _ = c.PopulationPeoplePerUnit;
ApplyMapOverrides(readFile, c, settlementIds); // after the map's own checks, before the GDD records that read it
- // R-CITY-006: no read or hash input in either old identity. Absence leaves the capability inactive.
- if (c.Ruleset == SaveGame.Gdd03Ruleset)
- {
- var regions = ReadOptional<PlayerRegionsFile>(readFile, PlayerRegionCatalogue.FileName);
- if (regions != null) c.PlayerRegions = PlayerRegionCatalogue.Validate(c, regions.PlayerRegions);
- }
if (c.IsGdd)
{
// GDD v0.1 city data (Phase 1 PR 3), read once eras.yaml is known to be valid. Only the GDD loop reads it, so
@@ -441,6 +457,15 @@ namespace Statecraft.Sim
// The sourced starting forces (Phase 5 PR 4, R-UNIT-006), once the types and people_per_unit are known valid.
c.StartingForces = StartingForces.Read(readFile, c);
}
+ // R-CITY-006: no read or hash input in either old identity. Absence leaves the capability inactive. After the
+ // sites (a site id may be a member) and the effective map overrides; the locality hexes are read only with regions.
+ if (c.Ruleset == SaveGame.Gdd03Ruleset)
+ {
+ var regions = ReadOptional<PlayerRegionsFile>(readFile, PlayerRegionCatalogue.FileName);
+ if (regions != null)
+ c.PlayerRegions = PlayerRegionCatalogue.Validate(c, regions.PlayerRegions,
+ LocalityHexes(c, ReadOptional<LocalityHexesFile>(readFile, PlayerRegionCatalogue.LocalityHexesFileName)));
+ }
EventRules.ValidateStructured(c); // R-EFX-006: after the GDD records it names are read
c.BuildWindows();
c.Hash = HashOf(read);
diff --git a/sim/Statecraft.Sim/PlayerRegions.cs b/sim/Statecraft.Sim/PlayerRegions.cs
index 3d26bb76d..143fb2b59 100644
--- a/sim/Statecraft.Sim/PlayerRegions.cs
+++ b/sim/Statecraft.Sim/PlayerRegions.cs
@@ -12,6 +12,7 @@ namespace Statecraft.Sim
public string CapitalLocation { get; set; } = "";
public List<PlayerRegionHex> MemberHexes { get; set; } = new List<PlayerRegionHex>();
public List<string> MemberLocations { get; set; } = new List<string>();
+ public List<PlayerRegionHex> FieldHexes { get; set; } = new List<PlayerRegionHex>();
public string DesignNote { get; set; } = "";
public List<string> Sources { get; set; } = new List<string>();
public string CapitalApproval { get; set; } = "";
@@ -40,6 +41,7 @@ namespace Statecraft.Sim
public string CapitalLocation { get; }
public IReadOnlyList<(int Q, int R)> MemberHexes { get; }
public IReadOnlyList<string> MemberLocations { get; }
+ public IReadOnlyList<(int Q, int R)> FieldHexes { get; }
public string DesignNote { get; }
public IReadOnlyList<string> Sources { get; }
public string CapitalApproval { get; }
@@ -52,6 +54,8 @@ namespace Statecraft.Sim
MemberHexes = Array.AsReadOnly(row.MemberHexes.Select(h => (h.Q!.Value, h.R!.Value))
.OrderBy(h => h.Item1).ThenBy(h => h.Item2).ToArray());
MemberLocations = Array.AsReadOnly(row.MemberLocations.OrderBy(x => x, StringComparer.Ordinal).ToArray());
+ FieldHexes = Array.AsReadOnly(row.FieldHexes.Select(h => (h.Q!.Value, h.R!.Value))
+ .OrderBy(h => h.Item1).ThenBy(h => h.Item2).ToArray());
DesignNote = row.DesignNote; Sources = Array.AsReadOnly(row.Sources.OrderBy(x => x, StringComparer.Ordinal).ToArray());
CapitalApproval = row.CapitalApproval; BindingStatus = row.BindingStatus;
ControlStatus = row.OpeningControl.Status;
@@ -65,10 +69,18 @@ namespace Statecraft.Sim
}
}
- /// <summary>R-CITY-006. One validator and one immutable exact-identity geography index for all consumers.</summary>
+ /// <summary>R-CITY-006. One validator and one immutable exact-identity geography index for all consumers.
+ /// A member place is a settlement, a named map location, a designated site (sites.yaml) or a locality placed by
+ /// <see cref="LocalityHexesFileName"/> (owner, 2 November 2026: Q1 "Accept localities"; "Fix all, then ship
+ /// (Recommended)": "Accept site ids too"). capital_location is the region's label place (Q3 "All nine drafts as
+ /// labels"), required to be a member; it is NOT the regional-capital model the owner declined on 30 October 2026
+ /// (docs/GDD.md, "Regional-capital model"), and nothing gives it capital mechanics.</summary>
public sealed class PlayerRegionCatalogue
{
public const string FileName = "regions.yaml";
+ /// <summary>Each locality's hex, written by tools/locality_hexes.py with the map's projection and rounding, so the
+ /// sim needs no trigonometry (docs/determinism.md). Read only under exact gdd-0.3, with regions.yaml.</summary>
+ public const string LocalityHexesFileName = "map/locality_hexes.yaml";
readonly SortedDictionary<string, PlayerRegionGeography> regions = new SortedDictionary<string, PlayerRegionGeography>(StringComparer.Ordinal);
readonly Dictionary<string, string> places = new Dictionary<string, string>(StringComparer.Ordinal);
readonly Dictionary<string, string> capitals = new Dictionary<string, string>(StringComparer.Ordinal);
@@ -80,7 +92,8 @@ namespace Statecraft.Sim
public PlayerRegionGeography? AtCapital(string id) => capitals.TryGetValue(id, out var r) ? regions[r] : null;
public PlayerRegionGeography? AtHex(int q, int r) => hexes.TryGetValue((q, r), out var id) ? regions[id] : null;
- internal static PlayerRegionCatalogue Validate(Content c, IEnumerable<PlayerRegionDefinition> rows)
+ internal static PlayerRegionCatalogue Validate(Content c, IEnumerable<PlayerRegionDefinition> rows,
+ IEnumerable<SettlementHex>? localities = null)
{
var result = new PlayerRegionCatalogue();
var placements = new Dictionary<string, (int, int)>(StringComparer.Ordinal);
@@ -92,6 +105,8 @@ namespace Statecraft.Sim
}
foreach (var p in c.SettlementHexes) Place(p.Id, p.Q, p.R);
foreach (var p in c.MapLocations) Place(p.Id, p.Q, p.R);
+ foreach (var p in c.Sites) Place(p.Id, p.Q, p.R);
+ foreach (var p in localities ?? Enumerable.Empty<SettlementHex>()) Place(p.Id, p.Q, p.R);
int index = 0;
foreach (var row in rows)
{
@@ -124,13 +139,27 @@ namespace Statecraft.Sim
if (c.HexAt(key.Item1, key.Item2)?.Land != true) Fail(field, "must name an existing land hex");
if (result.hexes.ContainsKey(key)) Fail(field, "hex already belongs to another region");
}
+ // #1691 Q4 (owner, 2 November 2026: "Approve as drafted (Recommended)"): optional, data only; nothing reads
+ // them in play yet. A field hex is a land hex of this region's own member_hexes, so (hex ownership being
+ // exclusive) no field hex is in two regions. Control on 15 May is checked by tools/tests (the sim never
+ // reads the control layer).
+ var ownFields = new HashSet<(int, int)>();
+ for (int i = 0; i < row.FieldHexes.Count; i++)
+ {
+ var h = row.FieldHexes[i]; var field = FormattableString.Invariant($"field_hexes[{i}]");
+ if (!h.Q.HasValue || !h.R.HasValue) Fail(field, "q and r are required integers");
+ var key = (h.Q!.Value, h.R!.Value);
+ if (c.HexAt(key.Item1, key.Item2)?.Land != true) Fail(field, "must name an existing land hex");
+ if (!ownHexes.Contains(key)) Fail(field, "must be one of the region's member_hexes");
+ if (!ownFields.Add(key)) Fail(field, "duplicate field hex");
+ }
if (row.MemberLocations.Count == 0) Fail("member_locations", "must not be empty");
var ownPlaces = new HashSet<string>(StringComparer.Ordinal);
for (int i = 0; i < row.MemberLocations.Count; i++)
{
var id = row.MemberLocations[i]; var field = FormattableString.Invariant($"member_locations[{i}]");
if (string.IsNullOrWhiteSpace(id) || !placements.TryGetValue(id, out var hex)) { Fail(field, "unknown place id"); continue; }
- if (conflicts.Contains(id)) Fail(field, "settlement and named location have inconsistent effective placements");
+ if (conflicts.Contains(id)) Fail(field, "one place id has inconsistent placements across the place files");
if (!ownPlaces.Add(id)) Fail(field, "duplicate member location");
if (result.places.ContainsKey(id)) Fail(field, "location already belongs to another region");
if (!ownHexes.Contains(hex)) Fail(field, "effective location lies outside member_hexes");
diff --git a/tools/README.md b/tools/README.md
index 5226d5e01..eeb54e7ff 100644
--- a/tools/README.md
+++ b/tools/README.md
@@ -22,6 +22,9 @@ Offline data tools (uv inline-script Python). Run from the repo root.
`hexgrid.settlement_hex` rule. The sim reads it, so it needs no projection maths.
- `unit_anchor_hexes.py` writes `content/map/unit_anchor_hexes.yaml` (committed): the hex holding each anchor of
`units_1948.yaml`, for the sim's starting forces (R-UNIT-006). Rerun it after changing an anchor.
+- `locality_hexes.py` writes `content/map/locality_hexes.yaml` (committed): the hex of each place in `localities_1948.yaml`
+ and `region_places_1948.yaml`, by the `hexgrid.settlement_hex` rule, so the sim can place gdd-0.3 region members that
+ are localities (R-CITY-006, #1691). Rerun it after changing either file.
- `routes_1948.py [--fetch] [--only ID ...] [--preview DIR]` traces the railways and main roads of May 1948 (issue #35)
on the Survey of Palestine 1:250,000 map of 1946 (public domain; Palestine Open Maps' tiles, downloaded with `--fetch`
into `tools/.cache/pal250k-1946/`, not committed): it reads the hand-written routes, sources and waypoints in
diff --git a/tools/locality_hexes.py b/tools/locality_hexes.py
new file mode 100644
index 000000000..d6354e92c
--- /dev/null
+++ b/tools/locality_hexes.py
@@ -0,0 +1,58 @@
+# /// script
+# requires-python = ">=3.11"
+# dependencies = ["numpy==2.5.3", "pyyaml==6.0.3"]
+# ///
+"""Locality -> hex for the gdd-0.3 player regions (R-CITY-006, #1691).
+
+Usage: uv run tools/locality_hexes.py (reads content/map/hexes.json, content/map/localities_1948.yaml and
+content/map/region_places_1948.yaml, writes content/map/locality_hexes.yaml)
+Owner, 2 November 2026: "Accept localities" (a locality id may be a region member). Each place's hex is the one holding
+its coordinates, placed as the game places settlements (hexgrid.settlement_hex: a point in a sea hex takes the nearest
+land neighbour). The sim reads the result instead of projecting lon/lat itself, so it needs no trigonometry
+(docs/determinism.md), as for settlement_hexes.py and unit_anchor_hexes.py. Rows keep the input order: the localities,
+then the region places."""
+import json
+import sys
+from pathlib import Path
+
+sys.path.insert(0, str(Path(__file__).resolve().parent))
+import hexgrid as hg # noqa: E402
+import yaml12 # noqa: E402
+
+ROOT = Path(__file__).resolve().parents[1]
+MAP = ROOT / "content" / "map"
+OUT = MAP / "locality_hexes.yaml"
+HEADER = ("# Generated by tools/locality_hexes.py from localities_1948.yaml, region_places_1948.yaml and hexes.json\n"
+ "# (hexgrid.settlement_hex). Do not edit by hand: rerun the tool after changing any input. Read by the sim only\n"
+ "# under exact gdd-0.3, to place region members (R-CITY-006).\n")
+
+
+def places() -> list[dict]:
+ """The localities, then the region places, as their files list them."""
+ loc = yaml12.load((MAP / "localities_1948.yaml").read_text(encoding="utf-8"))["places"]
+ extra = yaml12.load((MAP / "region_places_1948.yaml").read_text(encoding="utf-8"))["places"]
+ return loc + extra
+
+
+def render(hexes: dict, rows: list[dict]) -> str:
+ """The file text: one flow mapping per place. A repeated id is an error, not a silent second hex."""
+ seen: set[str] = set()
+ lines = [HEADER, "localities:\n"]
+ for p in rows:
+ if p["id"] in seen:
+ raise ValueError(f"duplicate place id {p['id']}")
+ seen.add(p["id"])
+ q, r = hg.settlement_hex(p["lon"], p["lat"], hexes)
+ lines.append(f" - {{ id: {p['id']}, q: {q}, r: {r} }}\n")
+ return "".join(lines)
+
+
+def main() -> None:
+ hexes = json.loads((MAP / "hexes.json").read_text())
+ rows = places()
+ OUT.write_text(render(hexes, rows))
+ print(f"wrote {OUT.relative_to(ROOT)} ({len(rows)} places)")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/tools/tests/test_locality_hexes.py b/tools/tests/test_locality_hexes.py
new file mode 100644
index 000000000..65e1ce7f9
--- /dev/null
+++ b/tools/tests/test_locality_hexes.py
@@ -0,0 +1,54 @@
+"""content/map/locality_hexes.yaml is the committed output of tools/locality_hexes.py and must stay in sync: the sim places
+gdd-0.3 region members that are localities (owner, 2 November 2026: "Accept localities") on these hexes instead of
+projecting lon/lat itself (docs/determinism.md)."""
+import json
+import re
+from pathlib import Path
+
+import pytest
+import yaml12
+
+import locality_hexes as lh
+
+ROOT = Path(__file__).resolve().parents[2]
+MAP = ROOT / "content" / "map"
+HEXES = json.loads((MAP / "hexes.json").read_text())
+LAND = {(h["q"], h["r"]) for h in HEXES["hexes"] if h["land"]}
+
+
+def rows():
+ return yaml12.load((MAP / "locality_hexes.yaml").read_text())["localities"]
+
+
+def test_committed_file_is_up_to_date():
+ assert (MAP / "locality_hexes.yaml").read_text() == lh.render(HEXES, lh.places()), "rerun: uv run tools/locality_hexes.py"
+
+
+def test_every_place_has_one_land_hex_in_input_order():
+ got = rows()
+ assert [r["id"] for r in got] == [p["id"] for p in lh.places()]
+ assert len({r["id"] for r in got}) == len(got)
+ assert not [r for r in got if (r["q"], r["r"]) not in LAND]
+
+
+def test_known_places_are_pinned_literally():
+ at = {r["id"]: (r["q"], r["r"]) for r in rows()}
+ assert at["tarshiha"] == (10, 6) # a Galilee member (localities_1948.yaml, 33.009 N, 35.2683 E)
+ assert at["gesher"] == (11, 12) # region_places_1948.yaml: Old Gesher, a Valleys member
+ assert at["nitzanim"] == (-8, 27) # region_places_1948.yaml: the 1943 site, a Southern Coast member
+
+
+def test_a_repeated_id_is_refused():
+ with pytest.raises(ValueError, match="duplicate place id x"):
+ lh.render(HEXES, [{"id": "x", "lon": 35.2683, "lat": 33.009}, {"id": "x", "lon": 35.2683, "lat": 33.009}])
+
+
+def test_region_places_are_sourced_drafts_with_checked_dates():
+ places = yaml12.load((MAP / "region_places_1948.yaml").read_text(encoding="utf-8"))["places"]
+ assert [p["id"] for p in places] == ["gesher", "mishmar_haemek", "nitzanim"]
+ for p in places:
+ assert p["status"] == "draft" and p["coordinate_source"] and p["notes"], p["id"]
+ assert p["sources"], p["id"]
+ for s in p["sources"]:
+ assert s["url"].startswith("https://"), p["id"]
+ assert re.fullmatch(r"\d{4}-\d{2}-\d{2}", str(s["checked"])), p["id"]
diff --git a/tools/tests/test_region_field_hexes.py b/tools/tests/test_region_field_hexes.py
new file mode 100644
index 000000000..62d8fb746
--- /dev/null
+++ b/tools/tests/test_region_field_hexes.py
@@ -0,0 +1,43 @@
+"""#1691 Q4: the 20 opening field hexes in content/regions.yaml (owner, 2 November 2026: "Approve as drafted
+(Recommended)"), by the per-region split of 27 October 2026 ("Approve as proposed"). The sim checks that each is a land
+hex of its own region; the sim never reads the control layer, so the Israeli-held-on-15-May check is here, with the
+workable-biome check (coastal_plain, lowland, valley). A person's check of each row is still pending."""
+import json
+from pathlib import Path
+
+import yaml12
+
+ROOT = Path(__file__).resolve().parents[2]
+CONTENT = ROOT / "content"
+SPLIT = {"galilee": 2, "valleys": 6, "haifa_sharon": 6, "tel_aviv_jaffa": 2, "central_plain": 2,
+ "jerusalem_hills": 0, "northern_hills": 0, "southern_coast": 1, "negev": 1}
+WORKABLE = {"coastal_plain", "lowland", "valley"}
+
+
+def regions():
+ return yaml12.load((CONTENT / "regions.yaml").read_text(encoding="utf-8"))["player_regions"]
+
+
+def fields(region):
+ return [(h["q"], h["r"]) for h in region.get("field_hexes", [])]
+
+
+def test_twenty_field_hexes_by_the_approved_split():
+ got = {r["id"]: len(fields(r)) for r in regions()}
+ assert got == SPLIT
+ every = [h for r in regions() for h in fields(r)]
+ assert len(every) == 20 and len(set(every)) == 20
+
+
+def test_each_field_hex_passes_the_four_checks():
+ hexes = {(h["q"], h["r"]): h for h in json.loads((CONTENT / "map" / "hexes.json").read_text())["hexes"]}
+ control = yaml12.load((CONTENT / "map" / "control_hexes_1948_49.yaml").read_text(encoding="utf-8"))
+ assert control["periods"][0]["id"] == "opening" and str(control["periods"][0]["from"]) == "1948-05-15"
+ opening = {(q, r): codes[0] for q, r, codes in control["hexes"]}
+ for region in regions():
+ own = {(h["q"], h["r"]) for h in region["member_hexes"]}
+ for hex_ in fields(region):
+ assert hexes[hex_]["land"], (region["id"], hex_)
+ assert hexes[hex_]["biome"] in WORKABLE, (region["id"], hex_)
+ assert opening[hex_] == "I", (region["id"], hex_)
+ assert hex_ in own, (region["id"], hex_)