Skip to content

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

docs(plan): GDD Phase 3 implementation plan, cities and absorption (refs #383) (#573)

Eyal Golan9bbedd0b6a04
diff --git a/docs/superpowers/plans/2026-10-15-gdd-phase-3.md b/docs/superpowers/plans/2026-10-15-gdd-phase-3.md
new file mode 100644
index 000000000..a8ec69f58
--- /dev/null
+++ b/docs/superpowers/plans/2026-10-15-gdd-phase-3.md
@@ -0,0 +1,461 @@
+# GDD v0.1 Phase 3: cities and absorption at MVP scale. Implementation plan
+
+> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:executing-plans (one PR at a time, inline, as in Phases 1 and 2). Steps use checkbox (`- [ ]`) syntax for tracking. **The owner reviews this plan before any code.** Every PR below names the owner questions it waits on; a PR does not start until its questions are answered and the answers are recorded (PR 0).
+
+**Goal:** Take the one-city slice to the MVP's twelve Jewish cities and towns: census start values, the CBS arrivals spread over the cities, housing capacity and condition with overflow, city projects (housing, industry, one specialised industry) with a build time and a Money cost, the craftsman, and the "absorb immigrants" objective with its sourced milestone.
+
+**Architecture:** Phase 1 built one city (`Cities.cs`, R-CITY-001 to R-CITY-005) and the resolver (`TurnResolver.cs`). Phase 2 turns the GDD loop on for the real game and moves the Phase 1 balance values into `content/` as labelled design values (#568, Q-CUT-1). Phase 3 fills `content/cities.yaml` with the twelve cities, makes arrivals land across them, adds housing condition and overflow to step 8 of the resolver, and adds city projects to step 5 (construction) beside the pioneer work of Phase 1 PR 5 (`Projects.cs`). It retires the legacy map actions (`MapActions.cs`) into projects, and adds an objective to the Phase 1 PR 6 objective machinery. After cutover every PR that changes an MVP rule moves the goldens, re-pins them in the same PR and says why (spec §3, "After cutover").
+
+**Tech stack:** as Phases 1 and 2: C# netstandard2.1 sim (`sim/Statecraft.Sim`), xUnit on net10.0 (`sim/Statecraft.Sim.Tests`), YamlDotNet content, Unity 6000.3.25f1 UI Toolkit (`unity/`), Python tools and policy checks under `uv`.
+
+**Spec:** [the impact plan](../specs/2026-10-12-gdd-v0.1-impact-and-plan.md), §1.2 (the Housing row), §1.4, §2.2, §2.3, §4.4 and §6 "Phase 3"; its §5 group D rows and D-B4. Design of record: [docs/GDD.md](../../GDD.md), "Cities and construction" and objective 2. The format and the global constraints follow [the Phase 1 plan](2026-10-12-gdd-phase-1.md) and the Phase 2 plan (PR #568, `docs/superpowers/plans/2026-10-14-gdd-phase-2.md`, in review). Issue: #383 (part of #374); owner decisions: #375.
+
+## What is built, and what this phase waits for (read before a task)
+
+Merged on `main` (15 October 2026):
+- Phase 1 PRs 1 to 4 (#349, #364, #461, #468): the switch, monthly turns as data, one city (Tel Aviv) with `AssignWorkers`, Money from jobs, arrivals as refugees in `mvp.arrivals_city`, the housing cap, the placeholder Social cohesion, training. R-TURN-001, R-LOOP-001 to R-LOOP-003, R-SAVE-001, R-CITY-001 to R-CITY-005, R-TRAIN-001 to R-TRAIN-003.
+- Research for #383: the first city note (#491, `research_notes/GDD phase 3/city-start-values-1948-51.md`) and the objective-card note (`research_notes/GDD objectives/objective-cards.md`).
+
+In review or not started:
+- Phase 1 PR 5 (#566, open): one site and Build yishuv; it adds `Projects.cs` and `sites.yaml`. PR 6 (#379): objectives and the score (R-OBJ-001 to R-OBJ-003 are planned there). PRs 7 and 8 (#380, #381): the Unity core and the city panel.
+- The Phase 2 plan (#568) and its PRs. Phase 3 starts after Phase 2 (#383).
+- The research PRs #504 (Agam: 1945 anchors and the ma'abarot conflict, draft) and #569 (the CBS 1948 start values, draft). #569's values are the ones this plan uses; its YAML (`research_notes/GDD phase 3/cities-1948.proposed.yaml` on its branch) is not loaded by anything.
+
+Facts found while writing this plan:
+- **#23 is already closed.** #383 asks to close it when Phase 3 starts; nothing is left to do.
+- **Arrivals are counted twice in the GDD loop** (#461, "Arrivals in two places"): `PopulationSystem` adds every CBS arrival to the national head count `GameState.Population`, and `Cities.Arrive` turns the same people into refugees. `CitiesTests.BeforeCutoverArrivalsAreInTheLegacyHeadCountToo` pins it. The Phase 2 plan leaves the reconciliation to Phase 3 ("Not in Phase 2"). PR 2 below handles it.
+- **The census values are for 8 November 1948, not 15 May 1948,** and the census counted the people who arrived between those dates. The owner chose them as start values anyway (below). The arrivals series then adds the same May to November immigrants again. PR 2 states this and lists it as a question (Q-ARRV-3).
+- **Rosh Pinna rounds to 0 units** at the Phase 1 design value of 1,000 people per unit (about 350 people). Safed and Zikhron Ya'akov round to 2. See Q-START-2.
+
+## Decisions this phase builds on
+
+Owner decisions already made (impact plan §5; #375; [DECISIONS](../../oss/DECISIONS.md)):
+- D-A1: a unit is a group. D-A2: civilians, craftsmen and refugees are counts per city; halutzim and soldiers are units. D-A3: work and training take several turns; cancelling returns the people, not the Money.
+- D-A5: "Newly arrived immigrants without housing, from the CBS series (`aliyah.yaml`). They become civilians when housed. Never the residents removed by Deport (§4.1)."
+- D-A6: the fixed resolution order of spec §2.3, actions capped by Attention, unit orders free. D-A7: the reference player is test code with a stated simple policy.
+- D-B1 with the Phase 2 answer: 15 May 1948 to 15 January 1952, monthly turns (#568, "The MVP end: End on 15 Jan 1952").
+- D-B2: +5 points per month earlier than the historical date, capped at +60. D-B6: 100 points per completed objective.
+- D-C5: keep the cabinet and Attention; projects cost Attention, unit orders do not (§1.9).
+- D-D5: one military camp and one Hakhshara at the start, more built by pioneers. D-D6: one project per pioneer unit.
+- D-E1: the legacy loop is retired after cutover. D-E3: "War of Independence". D-F1: deport cards may state displacement factually.
+
+Phase 2 answers on #568 (owner, 15 October 2026), which this phase builds on:
+- **Q-CUT-1, "Labelled design values":** the Phase 1 balance numbers move into `content/`, each tagged as a design value rather than a historical one, and a test lists them all. Phase 3 follows the same rule for every new balance value: it goes into `content/` labelled as a design value, and the listing test grows.
+- **The recommendations taken** ("Take the recommendations"), among them: Q-NAT-1, Social cohesion is a 0 to 1 indicator through the effects web, replacing `morale` on screen, with thresholds as situations; Q-POOL-1 and Q-POOL-3, national Food and Arms pools, with `food_supply` derived from the stock; Q-MONEY-1, debt and foreign currency kept internal under Money; Q-MONEY-4, the Treasury is called Money. Questions without a recommendation (Q-MONEY-2 income and upkeep, Q-MONEY-3 borrowing among them) went back to the owner; this plan cites their answers where it needs them and does not assume them.
+- **Q-EFX-2, "Extend it":** the no-gain rule for sensitive options covers all five resources.
+
+The city start values (#569, owner decision of 15 October 2026, "Census values + defaults"): "The 8 Nov 1948 census counts become labelled start values. All residents are counted, Tel Aviv-Yafo is one city, the Wikipedia figures for Zikhron and Rosh Pinna are accepted, labelled design values fill the gaps where no source exists, and Rishon is 10,433 (CBS SA14)." So:
+- the population of the twelve cities is the census-day count of 8 November 1948 (CBS Statistical Abstract No. 14, Table 11), labelled with its date, used as the 15 May 1948 start;
+- `civilians` counts residents of all groups, as the census does;
+- `tel_aviv` takes the CBS row "Tel Aviv-Yafo"; Jaffa is not a separate GDD city (its map row stays as it is);
+- Zikhron Ya'akov (1,900) and Rosh Pinna (about 350) take the Hebrew Wikipedia values;
+- Rishon LeZion is 10,433;
+- every gap (jobs in seven towns, housing in all twelve, anything else no source covers) is a labelled design value. **Which design value fills each gap is not in the decision**; Q-START-1 lists the options #569 gave.
+
+## Global constraints
+
+- The GDD wins over every older spec (AGENTS.md). Anything the GDD marks Open, Proposal or TBD is built only as the owner's answer. **No PR in this plan decides an open D-row.** Where this plan states a recommendation, it is the impact plan's, quoted; the owner decides.
+- **Still open, and needed by this phase** (#375 "Open for later phases", "Phases 3 and 4" row, and #383's banner): D-D1, D-D2, D-D3, D-D4, D-D8 and D-B4 (the immigrants part; the yishuvim part is Phase 4). D-C6 (costs and income) for the values. Q-MONEY-2 and Q-MONEY-3 from Phase 2 if they are still open.
+- Balance values are labelled design values in `content/` (Q-CUT-1), never invented: each is the owner's number, or the method the owner picked in Q-START-1, with a comment saying it is a design value and which question set it. Sourced facts go in `content/` with `sources:` and a `checked:` date (CONTENT_POLICY §2.1); a value marked `wikipedia-only` keeps that status. Dates show as "15 May 1948".
+- **A human checks every census figure against the scans before it becomes content** (#569, "AI assistance": "A human should check each figure against the scans before any value becomes content"). PR 1 does not merge before that check is recorded.
+- Determinism (docs/determinism.md): one RNG, no trigonometry, no unordered iteration into state, invariant culture. **No PR in this phase adds an RNG draw.** Counts are integers; spreading arrivals over cities uses integer apportionment with an ordinal tie-break, cumulative from the game's start, so no unit is lost or doubled (as R-CITY-003 does today).
+- **Goldens.** After cutover every PR here that changes an MVP rule or the city data moves the goldens: `hash1950`, `hash1952`, `mvp-end`, `scenario-cautious`, `scenario-reckless`, `scenario-mvp-absorb-first`, `smoke5` if the first five turns change, and `mvp-slice` if Phase 2 kept it. Each re-pins in its own PR, with a rebaseline-history row in docs/determinism.md and the reason in the commit and the PR.
+- **The population anchors hold.** `CalibrationTests.HistoricalPlaythroughMatchesCbsPopulationAnchors` (3% tolerance, five CBS anchors) passes in every PR; tolerances are never loosened (M3 rulings). #383's first done-when line.
+- Every new rule gets an `R-` ID in `docs/rules/mvp.md`, defined in the code PR together with its citing test. The IDs below are **proposed**. R-CITY continues from R-CITY-005; the new area names (R-ARRV, as Agam proposed on #532; R-HOUSE; R-PROJ; R-CRAFT) need the maintainer's sign-off. R-OBJ continues after Phase 1 PR 6's R-OBJ-001 to R-OBJ-003. Rewording a rule keeps its ID; a retired ID is not reused.
+- Each feature gets a `docs/gdd/<feature>.md` section that passes `gdd_lint.py`. Agam's #532 lists "cities and absorption (Phase 3)" among its remaining sections, with `docs/gdd/arrivals-maabarot.md` as one file name. Before writing a section, check whether #532 has landed it; if so, update it rather than add a second one.
+- Sensitivity: the housing of 1948 to 1951 includes immigrants housed in abandoned Arab quarters (#569 records Wadi Salib in Haifa as one case). Under impact plan §4.1 item 4 no mechanic may turn a depopulated place into housing, jobs or score. No Phase 3 rule reads `localities_1948.yaml` or the `arab_town` rows of `settlements_1948.yaml` as a source of capacity. Any text about it follows CONTENT_POLICY and D-F1 (Q-SENS-1).
+- Each PR: a branch from current `origin/main` in `.worktrees/<branch>`; a claimed issue (Task form); a `CHANGELOG.md` line for `sim/`, `content/` or `unity/`; commits end with the session's `Co-Authored-By` line; the PR body ends with the session's attribution line; "Refs #383" (never "Fixes" until the last PR of the phase).
+- Full checks before every PR (exact commands in the Phase 1 plan, Global constraints): `dotnet test sim/Statecraft.sln` (0 warnings), the tools and policy pytest runs, `check_repo.py`, `changelog_check.py --base origin/main`, `gdd_lint.py`, `rule_ids.py`, `md_links.py`.
+- Unity: when `unity/` changes or the DLL's behaviour changes, `tools/build_sim_for_unity.sh` then EditMode under `machine_lock.py` (Phase 1 plan's command; never `-nographics` on the editor; revert the settings churn). Every sim PR that moves a golden also needs the WebGL `web_check` and a re-recorded `smoke5` if the first five turns change. A PR that cannot run Unity says so and is not merged until someone with Unity has run it (CI does not run Unity).
+
+## Review focus
+
+1. **People lost or doubled when arrivals are spread.** Over any run, the refugees added to all cities equal `floor(P(end) / people_per_unit) - floor(P(start) / people_per_unit)`, whatever the split. A per-city, per-turn rounding loses units; the split must be cumulative. (PR 2.)
+2. **The national head count and the cities disagree silently.** After PR 2 there is one stated relation between `GameState.Population` and the cities (Q-ARRV-2), checked by a test, and the CBS anchors still hold. (PR 2.)
+3. **A value that claims to be historical without a source, or a design value that reads as history.** Every field in `cities.yaml` has a status (`sourced`, `derived`, `wikipedia-only` or `design`), a source for the first three, and the census date where it applies; the design-value listing test names every design field. (PR 1.)
+4. **Overflow that makes people vanish or appear.** People beyond housing capacity are still counted somewhere the player can see, and a turn never changes a city's total people except by arrivals, training and the stated rules. (PR 3.)
+5. **A project that pays twice or refunds on cancel.** Money is paid once (at the start or by turns, Q-PROJ-1), a cancelled project returns its people and not its Money (D-A3), and a completed project adds its capacity or slots exactly once. (PR 4.)
+6. **The objective completes on arrival, not absorption,** or completes from people housed in a way §4.1 forbids. (PR 7.)
+
+## The PR list
+
+| PR | Branch | Issue | What | Waits on (owner) |
+|---|---|---|---|---|
+| 0 | `docs/gdd-phase-3-answers` | #375, #383 | Record the owner's Phase 3 answers in the impact plan §5, #375 and this plan; rewrite each PR's tasks to them | the answers |
+| 1 | `sim/gdd-p3-cities` | new Task issue (refs #383, #569) | The twelve cities' start values in `content/cities.yaml`: census values, sources, statuses, design values for the gaps | Q-START-1 to Q-START-5 |
+| 2 | `sim/gdd-p3-arrivals` | new Task issue | Arrivals spread over the cities; one relation between the national head count and the cities; the CBS anchors | Q-ARRV-1 to Q-ARRV-3 |
+| 3 | `sim/gdd-p3-housing` | new Task issue | Housing capacity, condition and overflow (D-D1, D-D2); who takes housing; the national `housing` level from the cities | Q-HOUSE-1, Q-HOUSE-2, Q-HOUSE-4, Q-HOUSE-5 |
+| 4 | `sim/gdd-p3-projects` | new Task issue | City projects: housing (with the housing types, D-D3) and industry, `StartProject` and `CancelProject`, build time and Money cost; the legacy map actions retired | Q-PROJ-1 to Q-PROJ-5, Q-HOUSE-3 |
+| 5 | `sim/gdd-p3-craftsman` | new Task issue | The craftsman (D-D4) and the default that fills jobs | Q-CRAFT-1 to Q-CRAFT-3, Q-JOBS-1 |
+| 6 | `sim/gdd-p3-winery` | new Task issue | One specialised industry, the GDD's winery (D-D8), in a city whose local resource is sourced | Q-SPEC-1, Q-SPEC-2 |
+| 7 | `sim/gdd-p3-absorb-objective` | new Task issue | The "absorb immigrants" objective (D-B4) with its sourced milestone, its card and its score | Q-ABS-1 to Q-ABS-3 |
+| 8 | `unity/gdd-p3-cities-ui` | new Task issue | Unity: the city panel at twelve cities, projects, condition, craftsmen; `PlacementLayer` draws completed projects; the objective card's photograph | Q-UI-1, Q-UI-2 |
+
+### Sequencing and parallelism
+
+- **PR 0** is first, and can be done in pieces as answers arrive (as #456 did for Phase 1).
+- **PR 1** needs: the Phase 2 cutover (Phase 2 PR 1) merged, so `content/cities.yaml` exists as labelled design values (Q-CUT-1); #569's figures checked against the scans; Q-START-1 to Q-START-5 answered.
+- **PR 2** needs PR 1 (the cities must exist to receive arrivals) and Phase 2 PR 2 (Money), because the national head count still drives the per-head tax until Q-MONEY-2 says otherwise.
+- **PR 3** needs PR 2 (overflow is about arrivals) and Phase 2 PR 4 (Social cohesion), since D-D1's recommendation feeds cohesion.
+- **PR 4** needs PR 3 (housing projects add capacity and condition), Phase 1 PR 5 (#566, `Projects.cs`) and Phase 2 PR 2 (the borrowing rule).
+- **PR 5** needs PR 4 if Q-CRAFT-1 ties the craftsman to industry (D-D4's recommendation); otherwise it can follow PR 2.
+- **PR 6** needs PR 4 (it is a kind of industry project).
+- **PR 7** needs PR 3 (the condition reads housed people) and Phase 1 PR 6 (#379, the objective machinery). It can go beside PRs 4 to 6.
+- **PR 8** (Unity) needs PRs 1 to 7 and Phase 1 PR 8 (#381, the city panel). Each sim PR still runs Unity EditMode for the DLL.
+- PRs 2 to 7 all move the goldens, so they **merge one at a time**, each rebased on the last and re-pinned in its own PR.
+
+Critical path: Phase 2 cutover, then the scan check and the Q-START answers, then PR 1, PR 2, PR 3, PR 4, PR 6, PR 8. PRs 5 and 7 sit beside PRs 4 and 6.
+
+## File map
+
+| File | Responsibility | PRs |
+|---|---|---|
+| `content/cities.yaml` | The twelve cities: census values, statuses, sources, design values; later housing condition and the specialised resource | 1, 3, 6 |
+| `content/rules.yaml` (`mvp:`) | `people_per_unit` (unchanged, D-A1), the arrival split (Q-ARRV-1), overflow and condition values, project costs and turns, craftsman values, `attention_cost` for the new kinds; all labelled design values | 2 to 6 |
+| `content/projects.yaml` (new) | City project kinds (housing types, industry, the winery): what each adds, cost, turns, date window | 4, 6 |
+| `content/objectives.yaml`, `content/events/<absorb card>.yaml` | The absorb objective and its card (sourced) | 7 |
+| `sim/Statecraft.Sim/Content.cs`, `ContentLoader.cs` | `CityStart` gains status, date, people and sources; `ProjectKind`; validation | 1, 4, 6 |
+| `sim/Statecraft.Sim/GddState.cs` | `City` gains condition, craftsmen and any overflow count; `CityProject` (immutable) | 3, 4, 5 |
+| `sim/Statecraft.Sim/GameState.cs` | `CityProjects`, `Clone`, hash sections written only when set | 4 |
+| `sim/Statecraft.Sim/Cities.cs` | Start values, arrivals split, housing, condition, overflow, craftsman income | 1 to 5 |
+| `sim/Statecraft.Sim/PopulationSystem.cs` | The relation between the national head count and the cities (Q-ARRV-2) | 2 |
+| `sim/Statecraft.Sim/Projects.cs` (from #566), `TurnResolver.cs` (step 5) | City projects beside pioneer work | 4, 6 |
+| `sim/Statecraft.Sim/MapActions.cs`, `Simulation.cs`, `AttentionSystem.cs`, `Commands.cs`, `SaveGame.cs`, `Scenario.cs` | Map actions refused in the GDD loop; new commands and their five touch-points | 4, 5 |
+| `sim/Statecraft.Sim/Objectives.cs` (from #379), `EventSystem.cs` | The absorb condition | 7 |
+| `sim/Statecraft.Sim/Reference/ReferencePlayer.cs` | The test policy grows a stated rule per new command (D-A7) | 2, 4, 5 |
+| `sim/Statecraft.Sim.Tests/*`, `golden/*`, `scenarios/*` | Tests per task; snapshots and the manifest | 1 to 7 |
+| `docs/determinism.md`, `docs/RELEASING.md`, `tools/web_check.py`, `tools/tests/test_release_build.py` | Every place that pins a golden, per moved golden | 1 to 7 |
+| `docs/rules/mvp.md`, `docs/gdd/*.md` | Rule IDs and feature sections | 1 to 7 |
+| `unity/Assets/Scripts/UI/InfoPanelPresenter.cs`, `SimBridge.cs`, `unity/Assets/Scripts/Map/PlacementLayer.cs`, `unity/Assets/UI/strings.en.yaml`, `strings.he.yaml`, `unity/Assets/Tests/EditMode/*` | The city panel, the project commands, completed projects on the map | 8 |
+| `README.md`, `README.he.md` | The Roadmap table when Phase 3 is done (CONTRIBUTING rule 9) | 8 |
+
+---
+
+## PR 0: record the owner's Phase 3 answers
+
+Docs only, like #456 for Phase 1.
+
+- [ ] **Step 1.** For each answer the owner gives to a question below, append "**Decided (owner, <date>):** ..." to its D-row in the impact plan §5 (verbatim where the owner gave words), and move the row out of #375's "Open for later phases" list with a comment. Record the #569 decision ("Census values + defaults") on #383 as well, so the phase issue carries it.
+- [ ] **Step 2.** In this plan, replace each PR's "Waits for the owner" banner with a "Decided by the owner" banner quoting the answers, as the Phase 1 plan's PR 3 and PR 4 banners do, and rewrite the PR's tasks to the answers. A PR whose questions are still open keeps its banner and does not start.
+- [ ] **Step 3.** Checks: `md_links.py`, `check_repo.py`. No CHANGELOG line (docs only). Refs #375, #383.
+
+---
+
+## PR 1: the twelve cities' start values
+
+> **Decided (owner, 15 October 2026, #569):** "Census values + defaults" (quoted in full above). **Waits for the owner:** Q-START-1 to Q-START-5. **Waits for:** the Phase 2 cutover; a human check of each census figure against the scans (#569).
+
+**Goal:** `content/cities.yaml` holds the MVP's twelve Jewish cities and towns (the `city` and `town` rows of `content/map/settlements_1948.yaml`) with the census-day population as a labelled start value, the derived jobs where the CBS gives a city share, and labelled design values for every gap. Every field says what it is.
+
+Issue (Task form): "GDD Phase 3: the twelve cities' start values (census values and design defaults)". Sign-off: the scan check, the Q-START answers, the golden move. Needs Unity: EditMode run only (the DLL changes).
+
+**Files:** `content/cities.yaml` (replacing the one-city design values from the cutover), `sim/Statecraft.Sim/Content.cs` (`CityStart` gains `People`, `PeopleDate`, `Status` per field or per record, `Sources`), `ContentLoader.cs` (validation), `Cities.Init` (unchanged in shape), `Fixture.cs`, `CitiesContentTests.cs`, the Phase 2 design-value listing test (Q-CUT-1: "a test lists them all"), `docs/rules/mvp.md`, `docs/gdd/cities.md` (unless #532 has it).
+
+**The values (from #569; the scan check confirms them before content):**
+
+| City | People, 8 Nov 1948 | Status | Units at 1,000 (nearest; Q-START-2) | Employed (derived) | Employed units |
+|---|---|---|---|---|---|
+| Jerusalem | 83,984 | sourced (SA 14) | 84 | 28,700 (34.2%) | 29 |
+| Tel Aviv (CBS "Tel Aviv-Yafo") | 248,459 | sourced | 248 | 105,800 (42.6%) | 106 |
+| Haifa | 98,618 | sourced | 99 | 42,300 (42.9%) | 42 |
+| Tiberias | 5,555 | sourced | 6 | 1,900 (33.4%) | 2 |
+| Safed | 2,317 | sourced | 2 | 800 (34.5%) | 1 |
+| Petah Tikva | 21,879 | sourced | 22 | gap: design value | Q-START-1 |
+| Rishon LeZion | 10,433 | sourced (owner chose SA 14) | 10 | gap: design value | Q-START-1 |
+| Zikhron Ya'akov | 1,900 (1948, day not given) | wikipedia-only | 2 | gap: design value | Q-START-1 |
+| Rosh Pinna | about 350 (May 1948) | wikipedia-only | 0 (Q-START-2) | gap: design value | Q-START-1 |
+| Rehovot | 12,522 | sourced | 13 | gap: design value | Q-START-1 |
+| Hadera | 11,811 | sourced | 12 | gap: design value | Q-START-1 |
+| Netanya | 11,589 | sourced | 12 | gap: design value | Q-START-1 |
+
+Sources: CBS Statistical Abstract of Israel No. 14 (1963), Table 11, pp. 30-31, for the populations; No. 1 (1949/50), Table 9, p. 26, for the five working shares; Hebrew Wikipedia for Zikhron Ya'akov and Rosh Pinna (URLs and check dates in #569's YAML). Housing capacity and job slots are gaps in all twelve (#569: "Housing, 0 of 12"; "Employed is the count of working people, not of job slots"). The twelve sum to 509,417 people.
+
+**Rule IDs (proposed):** **R-CITY-006** a city's start counts are `cities.yaml`'s, each field with a status (`sourced`, `derived`, `wikipedia-only`, `design`); a `sourced`, `derived` or `wikipedia-only` field has sources with checked dates and, for the census, its date; **R-CITY-007** start people become units by the stated conversion (Q-START-2), and a city's employed units are at most its civilians and its job slots (the existing validation, now on real values).
+
+**Test-first steps:**
+- [ ] `CitiesContentTests.TheTwelveCitiesAreTheCityAndTownRows` (R-CITY-006): the ids in `cities.yaml` equal the `city` and `town` rows of `settlements_1948.yaml` (or the list Q-START-4 sets); fails today (one city).
+- [ ] `CitiesContentTests.EveryFieldHasAStatus` (R-CITY-006): `[Theory]` rows for a field without a status, a `sourced` field without sources, a source without `checked:`, a census value without its date; each names file and field. Fails until the loader reads them.
+- [ ] `CitiesContentTests.TheCensusValuesConvertAsStated` (R-CITY-007): for each city, units equal the conversion of `People` (Q-START-2's rule), and Rosh Pinna's row shows the answered edge. Fails until built.
+- [ ] The Q-CUT-1 listing test gains every `design` field of `cities.yaml`; a design field missing from the list fails it.
+- [ ] Mutate (drop the source check for `sourced`; its row fails), restore.
+- [ ] Re-pin every golden (the real game now has twelve cities): history row "GDD Phase 3 PR 1: the twelve cities' census start values".
+
+**Golden impact:** every golden moves (`city{}` gains eleven records; the reference player fills more jobs; Money from jobs rises). `smoke5` moves.
+
+**Unity:** EditMode run for the DLL; the city panel (Phase 1 PR 8) shows any city hex already, so twelve cities need no code. Screenshots of two cities in the PR.
+
+### Owner questions for PR 1
+
+- **Q-START-1. Which design value fills each gap (D-D1, D-C6; #569 questions 5 and 6).** The decision says "labelled design values fill the gaps" but not which. The options #569 gave, none recommended by the impact plan:
+ - jobs in the seven towns without a city share: (a) the national working share of 8 November 1948, 43.9% (CBS SA 2, Table 9), as a labelled design value; (b) the owner's own number per town; (c) leave them at 0 employed, so the reference player fills them;
+ - job slots in all twelve (no source; #569 says only that slots were at least the employed count): (a) equal to the employed count; (b) employed plus a labelled margin; (c) the owner's number;
+ - housing capacity in all twelve (no source): (a) equal to the start population, every resident housed and no room free; (b) from the national room count of May 1948 (300,000 rooms for 650,000 people, about 2.2 people per room; Charles Abrams, *Commentary*, April 1951), which needs D-D1's people per capacity point; (c) the owner's number.
+- **Q-START-2. People into units (D-A1).** With `people_per_unit` at the Phase 1 design value of 1,000, Rosh Pinna's 350 people round to 0 units, and Safed's 2,317 to 2. Options: (a) round to nearest (Rosh Pinna starts empty); (b) at least 1 unit for every city; (c) a smaller `people_per_unit` for all (it cannot differ by era, R-CITY-003). The rounding rule for every city is part of the answer.
+- **Q-START-3. Start housing condition (D-D2).** If PR 3 builds a per-city condition (D-D2's recommendation), each city needs a start value. No source exists; a labelled design value per city, or one for all?
+- **Q-START-4. The six kibbutzim and moshavim (no D-row; impact plan §6 "All Jewish cities", §2.5 "25 cities").** `settlements_1948.yaml` has six (Degania Alef, Ein Harod, Nahalal, Hanita, Revivim, Yad Mordechai). #569 covers only the twelve `city` and `town` rows. Are the six GDD cities in Phase 3 (with no census row, so design values throughout), or not cities?
+- **Q-START-5. All residents and training (D-A2; follows from the #569 decision).** The owner chose to count residents of all groups as `civilians`, as the census does. Civilians are also who can train as recruits or halutzim (R-TRAIN-001). Is anything to follow from that (for example in Haifa, whose count includes the Arab residents who stayed), or does training stay open to every civilian?
+
+---
+
+## PR 2: arrivals over the cities, and one population
+
+> **Waits for the owner:** Q-ARRV-1 to Q-ARRV-3; Q-MONEY-2 (Phase 2) if it is still open. **Waits for:** PR 1; Phase 2 PR 2.
+
+**Goal:** the CBS arrivals (`aliyah.yaml`) land across the twelve cities by one stated rule, with no unit lost or counted twice; the national head count and the cities stop being two unrelated views of the same people (spec §6 Phase 3, `PopulationSystem.cs`: "arrivals become units or counts"); the CBS anchors still hold.
+
+**Files:** `Cities.cs` (`Arrive` splits; `ArrivedUnits` stays the national cumulative count), `PopulationSystem.cs`, `content/rules.yaml` (`mvp.arrivals_city` replaced by the split rule; labelled design values), `Content.cs`, `ContentLoader.cs`, `CitiesTests.cs`, `CalibrationTests.cs` (unchanged tolerance), new `ArrivalsTests.cs`, `ReferencePlayerTests.cs` if the split is a player order, `docs/rules/mvp.md`, `docs/gdd/arrivals-maabarot.md` (unless #532 has it).
+
+**Rule IDs (proposed):** R-CITY-003 reworded (arrivals land across the cities, not in `arrivals_city`), or **R-ARRV-001** the split rule and **R-ARRV-002** the relation between `GameState.Population` and the cities (Q-ARRV-2). The maintainer picks R-CITY or R-ARRV (#532 proposed R-ARRV).
+
+**Test-first steps:**
+- [ ] `ArrivalsTests.TheSplitLosesNoUnit` (Review focus 1): over 44 monthly turns, the sum of refugees added to all cities equals `floor(P(end) / ppu) - floor(P(start) / ppu)`. Passes today with one city; written first against the split, where a per-turn per-city rounding makes it fail.
+- [ ] `ArrivalsTests.EachCityGetsItsShare` (R-ARRV-001): the rule Q-ARRV-1 picks, on a fixture with three cities and stated shares; fails today (all go to `arrivals_city`).
+- [ ] `ArrivalsTests.ThePopulationAndTheCitiesAgree` (R-ARRV-002): the relation Q-ARRV-2 picks holds after every turn of the golden run. Replace `CitiesTests.BeforeCutoverArrivalsAreInTheLegacyHeadCountToo` in the same commit, with a line in the PR saying what it pinned.
+- [ ] `CalibrationTests` passes unchanged (3%). If it fails, stop and put the failing anchor, its value and the date to the owner; the tolerance is not loosened.
+- [ ] Mutations: floor per city per turn (the first test fails); swap the tie-break order (the order test fails). Restore. Re-pin the goldens, history row.
+
+**Golden impact:** every golden moves.
+
+**Unity:** EditMode run; the Why screen's arrival causes name each city (the cause text exists).
+
+### Owner questions for PR 2
+
+- **Q-ARRV-1. How arrivals are spread (no D-row; impact plan §6 Phase 3 "Arrivals from the CBS series spread over cities"; D-A5 decided who a refugee is).** The impact plan names the scope and gives no rule. Options and costs:
+ - (a) in proportion to each city's start population: simple, history-shaped, no player choice;
+ - (b) to the cities with free housing first, the rest by (a): fewer refugees wait, but it hides the shortage the GDD's absorb objective is about;
+ - (c) a player order naming where each month's arrivals go (a standing order, costing Attention under D-A6): a real decision, more clicks for 12 cities;
+ - (d) to the reception camps and then the transit camps, once D-D3's housing types exist (PR 4): closest to 1948 to 1951 (#504, "Ma'abarot: the conflict resolved"), but needs PR 4 first.
+ Also: should the end-1949, 1950 and 1951 city populations in CBS SA 14 (#569's `population_series`) be a check on the split, as the national anchors are? (A test against them would be new; no tolerance is set.)
+- **Q-ARRV-2. The national head count and the cities (no D-row; #461 "Arrivals in two places"; Phase 2 plan "Not in Phase 2").** Options: (a) keep both views: `GameState.Population` for the CBS anchors and any per-head economy that Q-MONEY-2 keeps, the cities for the GDD rules, with a test that the arrivals they add are the same; (b) the national population is the sum of the cities plus a stated "rest of the country" count (the twelve cities hold 509,417 people of all groups on the census day; the Jewish population was 716,700 that day, `content/population.yaml`), so there is one population; (c) the cities become the whole population, and the anchors are checked against their sum (the twelve cities alone fall well short, so the anchors fail unless more places are cities). The impact plan gives no recommendation.
+- **Q-ARRV-3. Arrivals between 15 May and 8 November 1948 (follows from the #569 decision).** The census values already include the people who arrived in those months, and the arrival series adds them again as refugees. Options: (a) accept it, labelled (the cities hold more people than history until the numbers are read side by side); (b) the cities take no arrivals before 8 November 1948, the national head count still does (the anchors are unaffected); (c) scale the census values back, which #569 asked about and the owner did not choose.
+
+---
+
+## PR 3: housing capacity, condition and overflow
+
+> **Waits for the owner:** Q-HOUSE-1, Q-HOUSE-2, Q-HOUSE-4, Q-HOUSE-5 (D-D1, D-D2). **Waits for:** PR 2; Phase 2 PR 4 (Social cohesion).
+
+**Goal:** housing works at twelve-city scale: capacity, a condition, and a stated rule for people beyond capacity, replacing R-CITY-004's placeholder cap; Social cohesion reads housing as Phase 2 PR 4 wired it; the national `housing` level becomes the cities' aggregate (spec §1.2, Housing row: "It becomes the aggregate of the cities' capacity and condition").
+
+**Files:** `GddState.cs` (`City` gains `Condition` and any overflow field; hashed only when set, R-LOOP-002's rule), `Cities.cs` (`House`, new `UpdateCondition`), `TurnResolver.cs` (step 8), `EffectsSystem.cs` or the Phase 2 cohesion code (only the inputs D-D1 names), `content/cities.yaml` (start condition, Q-START-3), `content/rules.yaml` (design values), `CitiesTests.cs`, new `HousingTests.cs`, `docs/rules/mvp.md`, `docs/gdd/cities.md`.
+
+**Rule IDs (proposed):** R-CITY-004 reworded to the overflow rule (same ID); **R-HOUSE-001** a city's housing condition (scale and where it lives, D-D2); **R-HOUSE-002** what overflow does to condition and cohesion (D-D1); **R-HOUSE-003** who takes housing (Q-HOUSE-5); **R-HOUSE-004** the national `housing` level from the cities.
+
+**Test-first steps:**
+- [ ] `HousingTests.OverflowIsCountedNotLost` (Review focus 4, R-HOUSE-002): a city with more people than capacity; after a turn, its total people are unchanged and the overflow is visible in the state. Fails if the rule drops them.
+- [ ] `HousingTests.OverflowLowersConditionAndCohesion` (R-HOUSE-002), in the direction the owner sets (D-D1's recommendation, if taken: "Overflow lowers housing condition and cohesion; no hard cap"). Fails until built.
+- [ ] `HousingTests.ConditionIsPerCity` (R-HOUSE-001), if D-D2 is answered per city; one city's overflow does not change another's condition.
+- [ ] `HousingTests.TraineesTakeHousingAsStated` (R-HOUSE-003): Q-HOUSE-5's answer; today's placeholder (only civilians take housing) fails or holds by the answer.
+- [ ] `HousingTests.TheNationalHousingLevelFollowsTheCities` (R-HOUSE-004): two states differing only in one city's capacity give `housing` in the stated order.
+- [ ] Keep `CitiesTests.CohesionReadsTheCountsAfterThisTurnsHousing` (the D-A6 order). Mutate (condition before housing; the order test fails), restore. Re-pin the goldens, history row.
+
+**Golden impact:** every golden moves.
+
+**Unity:** EditMode run. The panel's condition display is PR 8.
+
+### Owner questions for PR 3
+
+- **Q-HOUSE-1. People per housing capacity point, and overflow (D-D1).** Recommendation (impact plan): "Overflow lowers housing condition and cohesion; no hard cap". With no cap, does every refugee become a civilian at once (housed badly), or do some still wait as refugees? How much does overflow lower condition and cohesion (design values)?
+- **Q-HOUSE-2. Housing condition per city or per building (D-D2).** Recommendation (impact plan): "Per city (average)". Its scale (0 to 1, like the national parameters, or steps) and its effects beyond cohesion ("effects and improvement rules", GDD).
+- **Q-HOUSE-4. Assigning residents to housing (GDD "The method for assigning residents to housing is open"; impact plan §1.4 "New, open"; no D-row).** Automatic, as R-CITY-004 does today, or a player order? The impact plan gives no recommendation.
+- **Q-HOUSE-5. Who takes housing (D-D1; #468 question 2, which the Phase 2 plan moved here).** Today only civilians take housing; people in training and recruits do not, so their places look free. Do trainees and recruits keep their housing, free it, or count against the city they trained in?
+
+---
+
+## PR 4: city projects (housing and industry)
+
+> **Waits for the owner:** Q-PROJ-1 to Q-PROJ-5, Q-HOUSE-3 (D-D3, D-C6); Q-MONEY-3 (Phase 2, borrowing) if still open. **Waits for:** PR 3; Phase 1 PR 5 (#566, `Projects.cs`); Phase 2 PR 2.
+
+**Goal:** the GDD's city projects: the player starts a housing project (capacity, condition or both, by housing type) or an industry project (job slots) in a city; it takes several turns (D-A3) and costs Money; completed projects add their capacity, condition or slots once and draw on the map. The legacy map actions (`transit_camp`, `housing`) are refused in the GDD loop and their kinds become housing types (spec §1.4: "Placements become completed projects").
+
+Issue (Task form): "GDD Phase 3: city projects (housing, industry) and the end of map actions". Sign-off: the D-D3 answer, the costs, the golden move. Needs Unity: EditMode; the map drawing is PR 8.
+
+**Files:** new `content/projects.yaml` (kinds: each housing type, industry; what each adds, cost, turns, `from`/`to` window: design values, except a sourced start date such as the transit camp's); `Content.cs`, `ContentLoader.cs`; `GddState.cs` (`CityProject { Id, Kind, City, TurnsLeft, Workers? }`, immutable); `GameState.cs` (`CityProjects`, hashed as `cproj[...]` only when not empty); `Projects.cs` (city projects beside pioneer work, step 5); `Commands.cs` (`StartProject(kind, city)` and `CancelProject(id)`), `AttentionSystem.cs`, `Simulation.cs`, `SaveGame.cs` (`project KIND CITY`, `unproject ID`), `Scenario.cs`, `CommandGuardTests.Samples`; `MapActions.cs` (refused under `IsGdd`); `ReferencePlayer.cs` (a stated policy, D-A7: for example, start one housing project in the city with the most people waiting, when Money and Attention allow); tests `CityProjectsTests.cs`, `ProjectsContentTests.cs`, `MapActionsTests.cs`; `docs/rules/mvp.md`; `docs/gdd/city-projects.md`.
+
+**Rule IDs (proposed):** **R-PROJ-001** `StartProject(kind, city)` and its refusals (unknown kind or city, outside its window, short Money per Q-MONEY-3's rule, the per-city limit of Q-PROJ-4, the legacy loop); **R-PROJ-002** `CancelProject` returns any committed people and no Money (D-A3); **R-PROJ-003** each turn in step 5, in ascending id, a project's turns fall by 1, and at 0 it adds its capacity, condition or slots once, on the turn's end date; **R-PROJ-004** in the GDD loop a map action is refused with a reason, its Attention refunded.
+
+**Test-first steps:**
+- [ ] `CityProjectsTests.AHousingProjectAddsCapacityOnceWhenDone` (R-PROJ-003, Review focus 5): fails to compile (no command).
+- [ ] `[Theory] CityProjectsTests.TheLimitsAreRefusedAndChangeNothing` (R-PROJ-001): one row per refusal; the state and Attention unchanged.
+- [ ] `CityProjectsTests.CancellingReturnsPeopleNotMoney` (R-PROJ-002).
+- [ ] `CityProjectsTests.ATransitCampOpensOnItsDate` (R-PROJ-001), if D-D3 keeps it: refused the turn before its sourced date, accepted on it.
+- [ ] `MapActionsTests.TheGddLoopRefusesMapActions` (R-PROJ-004); the legacy map-action tests move to a legacy fixture while the code exists (D-E1), or are deleted with the code, with a line in the PR.
+- [ ] Save round trip of both lines; clone independence of `CityProjects`; omit-when-empty hashing.
+- [ ] Mutations: add the capacity every turn instead of once; refund Money on cancel. Each fails its test. Restore. Re-pin the goldens, history row.
+
+**Golden impact:** every golden moves once the reference player starts projects.
+
+**Unity:** EditMode run; `SimBridge.Key` and `Validate` for the two commands (the reflection guard of Phase 1 PR 7 fails otherwise). The buttons are PR 8.
+
+### Owner questions for PR 4
+
+- **Q-HOUSE-3. Housing types, and the transit camp (D-D3).** Recommendation (impact plan): "Keep the transit camp as a cheap, low-condition type from its sourced date (`rules.yaml:10-11`)". The sourced date in `rules.yaml` is the first ma'abara, Kesalon, May 1950 (the code's window opens 1 January 1950, `map_actions_from`). Which types exist (for example transit camp and permanent housing), what each adds to capacity and condition, and does the transit camp still need the `maabarot` policy (`MapActions.cs` checks it today)?
+- **Q-PROJ-1. Costs, build times and payment (D-C6, D-A3).** Money and turns per project kind (design values). Paid in full at the start (as Phase 1 PR 5 does for pioneer work) or per turn? Borrowing follows Q-MONEY-3's answer for every GDD cost.
+- **Q-PROJ-2. "A permitted building site" (GDD, City projects table; no D-row).** The impact plan says "The command becomes 'start project' with a build time and a site". Is the site the city itself (no hex chosen), a hex within one hex of the city (today's map-action rule, `map_action_max_distance`), or designated city sites in `sites.yaml` (Phase 4's file)?
+- **Q-PROJ-3. Do city projects need workers? (impact plan §2.3: `StartProject` "Commits Money and workers"; no D-row).** If yes: civilians without a job, halutzim (Phase 1 units; D-D6 gives one project per pioneer unit), or a count the project holds until done?
+- **Q-PROJ-4. Projects at once (no D-row; D-D6 is for pioneer units).** A limit per city, per turn (the map actions allow 2 a turn, `map_actions_per_turn`), or none beyond Money and Attention?
+- **Q-PROJ-5. The Attention cost of the two commands (D-A6, D-C5).** D-C5 as decided: "starting a project or answering an event costs Attention". The values are design values.
+
+---
+
+## PR 5: the craftsman, and jobs at twelve-city scale
+
+> **Waits for the owner:** Q-CRAFT-1 to Q-CRAFT-3 (D-D4), Q-JOBS-1. **Waits for:** PR 4 if Q-CRAFT-1 ties craftsmen to industry; otherwise PR 2.
+
+**Goal:** the GDD's craftsman ("Generates more money than an ordinary civilian") exists as a count per city (D-A2), acquired as D-D4 is answered, earning more than an ordinary employed civilian; and the player is not made to assign jobs by hand in twelve cities every month (impact plan §6 Phase 3 risk: "Players micromanaging 25 cities. Mitigation: defaults that auto-fill jobs").
+
+**Files:** `GddState.cs` (`City.Craftsmen`, hashed only when not 0), `Cities.cs` (`Assign` accepts the `craftsman` role, today refused with "There is no such role"; `Produce` pays craftsmen at their rate), `Training.cs` and `unit_types.yaml` if craftsmen are trained (D-D4's recommendation), `content/rules.yaml` (design values), `ReferencePlayer.cs`, tests `CraftsmanTests.cs`, `CitiesTests.cs`, `docs/rules/mvp.md`, `docs/gdd/craftsman.md`.
+
+**Rule IDs (proposed):** **R-CRAFT-001** how a civilian becomes a craftsman (D-D4); **R-CRAFT-002** a craftsman's income and the job slots it needs; R-CITY-001 reworded if `AssignWorkers` gains the role; **R-CITY-008** the job default (Q-JOBS-1), if the owner wants one.
+
+**Test-first steps:**
+- [ ] `CraftsmanTests.ACraftsmanEarnsMoreThanAWorker` (R-CRAFT-002): two cities that differ only by one craftsman; the Treasury difference is the stated rate. Fails to compile today.
+- [ ] `CraftsmanTests.ACraftsmanIsMadeAsStated` (R-CRAFT-001): the D-D4 path; every refusal leaves the state unchanged.
+- [ ] `CitiesTests.TheJobDefaultFillsFreeSlots` (R-CITY-008), if Q-JOBS-1 adds one: after housing, free slots fill from civilians without a job, in ascending city id, with no Attention cost unless the owner sets one.
+- [ ] Mutate (pay craftsmen the worker rate), restore. Re-pin the goldens, history row.
+
+**Golden impact:** every golden moves.
+
+### Owner questions for PR 5
+
+- **Q-CRAFT-1. How a craftsman is acquired (D-D4).** Recommendation (impact plan): "Training in a city with industry. Values for the owner". The GDD lists "civilian to craftsman" as an open transition.
+- **Q-CRAFT-2. Extra income and employment requirements (D-D4, D-C6).** How much more a craftsman earns, and whether it needs an industry slot or any job slot.
+- **Q-CRAFT-3. Training turns and cost, if trained (D-D4, D-A3).** Design values, and the facility (an industry project, or the city itself).
+- **Q-JOBS-1. A default that fills jobs (no D-row; impact plan §6 Phase 3 mitigation "defaults that auto-fill jobs"; #383 lists it for maintainer sign-off).** Should each city fill its free job slots from its civilians without a job every turn, unless the player sets a number? If yes, does the default cost Attention (D-A6 caps actions by Attention; a default is not an action), and does a player's `AssignWorkers` switch it off for that city?
+
+---
+
+## PR 6: one specialised industry, the winery
+
+> **Waits for the owner:** Q-SPEC-1, Q-SPEC-2 (D-D8). **Waits for:** PR 4. **Needs research first:** a sourced local resource for the city chosen.
+
+**Goal:** the GDD's specialised industry ("Adds a location-dependent industry. City has the relevant local resource or area. A winery requires areas for grapes") built once, as the example D-D8's recommendation names ("One example (the GDD's winery) in the MVP").
+
+### Task 6.0: source the city's resource (before any code)
+
+The winery needs a city whose vineyards (or "areas for grapes") in 1948 to 1951 have a source with a checked date. Candidates to check, not facts: towns of the twelve with a wine-growing history before 1948, such as Zikhron Ya'akov and Rishon LeZion. Record the candidates with links in the PR 6 issue. **If no candidate has a source, stop and report; do not pick one.** The research brief contains no owner email or other identifier in any request.
+
+**Files:** `content/cities.yaml` (the city's `resources:` list, sourced), `content/projects.yaml` (the `winery` kind: requires the resource; what it adds; design values), `ContentLoader.cs` (a project that requires a resource is refused at load if no city has it), `Projects.cs`, tests `CityProjectsTests.cs`, `ProjectsContentTests.cs`, `docs/rules/mvp.md`, `docs/gdd/city-projects.md`.
+
+**Rule IDs (proposed):** **R-PROJ-005** a specialised project is allowed only in a city that has its resource.
+
+**Test-first steps:**
+- [ ] `CityProjectsTests.AWineryNeedsVineyards` (R-PROJ-005): refused in a city without the resource, accepted in the sourced one. Fails until built.
+- [ ] `ProjectsContentTests.AResourceNeedsASource`: a `resources:` entry without sources fails load, naming file and field.
+- [ ] Mutate (drop the resource check), restore. Re-pin the goldens if the reference player builds it (state either way).
+
+**Golden impact:** none unless the reference player builds a winery; content hash moves.
+
+### Owner questions for PR 6
+
+- **Q-SPEC-1. Which industry and city (D-D8).** Recommendation (impact plan): "One example (the GDD's winery) in the MVP". The city follows Task 6.0's sources.
+- **Q-SPEC-2. What it adds (D-D8, D-C6).** Job slots, craftsman slots, extra Money, Food (Phase 2's national pool), or a mix; values are design values. Does it depend on plowed fields (Phase 4, D-D10)?
+
+---
+
+## PR 7: the "absorb immigrants" objective
+
+> **Waits for the owner:** Q-ABS-1 to Q-ABS-3 (D-B4). **Waits for:** PR 3; Phase 1 PR 6 (#379, objectives and the score). D-B2 and D-B6 are decided.
+
+**Goal:** the GDD's objective 2 ("Provide immigrants with housing and employment") completes on a stated condition, fires its sourced card the turn after completion (R-OBJ-003), and scores 100 points plus the timing bonus (+5 a month earlier than the historical date, capped at +60; D-B2, D-B6). The GDD: "For ongoing processes such as immigrant absorption, choose a defined milestone with a sourced date."
+
+**Files:** `content/objectives.yaml` (the objective, its reference date and sources), `content/events/<card>.yaml` (sourced text in the house tone, no quotes, one option), `unity/Assets/UI/EventImages/` via `tools/event_images.py` and its rows in `event-images.yaml` and `ASSETS.yaml` (the photograph, if one is usable), `Objectives.cs` (the new condition kind), `ContentLoader.cs`, tests `ObjectivesTests.cs`, `docs/rules/mvp.md`, `docs/gdd/objectives-and-score.md` (Phase 1 PR 6's section, extended).
+
+**Rule IDs (proposed):** **R-OBJ-004** the absorb objective is complete at the end of the first turn on which the condition of Q-ABS-2 holds; it scores once (R-OBJ-002's formula).
+
+**Test-first steps:**
+- [ ] `ObjectivesTests.AbsorptionCompletesWhenTheShareIsHousedAndEmployed` (R-OBJ-004): a fixture just below and just above the stated share; fails until the condition exists.
+- [ ] `ObjectivesTests.ArrivalAloneDoesNotComplete` (Review focus 6): arrivals with no housing or jobs never complete it.
+- [ ] `ObjectivesTests.TheCardFiresOnceTheTurnAfter` (R-OBJ-003, already defined): the new card follows it.
+- [ ] Re-pin `scenario-mvp-absorb-first` (spec §3 names `mvp-absorb-first` as this phase's scenario; extend it to complete the objective inside the run, and say so) and the other goldens if the reference run completes it.
+
+**Golden impact:** every golden whose run completes the objective moves (score and the card).
+
+### Owner questions for PR 7
+
+- **Q-ABS-1. The milestone and its date (D-B4; impact plan §4.4: "For 'absorb immigrants', the GDD itself asks for a dated, sourced milestone").** The objective-card research (`research_notes/GDD objectives/objective-cards.md`, §2) gives three options; the impact plan recommends none of them:
+ - (A) the Jewish population passes 1,000,000: "Ingathering of the Exiles Day", 20 December 1949 (JTA), or the announcement of 21 or 22 November 1949. A clear date, but it measures arrival, not housing and work. No usable photograph found.
+ - (B) the first ma'abara, Kesalon, May 1950 (no exact day; "the week before 23 May 1950", Davar via Hebrew Wikipedia). Fits housing and work; usable CC BY 4.0 photographs (Benno Rothenberg, Meitar Collection) of an unnamed ma'abara. Sensitivity: English Wikipedia says Kesalon was built on the emptied village of Kasla, so the card must state that factually or avoid naming the place (D-F1).
+ - (C) the end of Operation Magic Carpet, 24 September 1950. A clear date; arrival from one country only.
+- **Q-ABS-2. The condition (D-B4).** Recommendation (impact plan): "A share of arrivals housed and employed by a sourced milestone date." Which share (design value), of which people (arrivals since 15 May 1948, or since the start of a period), and does "employed" count craftsmen and recruits? The milestone date of Q-ABS-1 is the reference date for the timing bonus.
+- **Q-ABS-3. The card's photograph (event-image ruling, docs/event-images.md).** If the milestone is (A) or (C), no usable photograph has been found; a generic arrival photograph needs the owner's approval (the research says so).
+
+---
+
+## PR 8: Unity, the cities at MVP scale
+
+> **Waits for the owner:** Q-UI-1, Q-UI-2. **Waits for:** PRs 1 to 7; Phase 1 PR 8 (#381).
+
+**Goal:** the player can run twelve cities from the map: the city panel shows housing used and capacity, condition, overflow, jobs and slots, craftsmen, refugees waiting and projects with turns left; buttons start and cancel projects; completed projects draw through `PlacementLayer` (spec §2.6: "Completed projects keep drawing through `PlacementLayer`"). Every number comes from a sim helper.
+
+**Files:** `InfoPanelPresenter.cs`, `SimBridge.cs` (keys and validation for `StartProject`, `CancelProject`, the craftsman role), `unity/Assets/Scripts/Map/PlacementLayer.cs`, `strings.en.yaml`, `strings.he.yaml`, EditMode tests; `README.md` and `README.he.md` Roadmap (Phase 3 done, CONTRIBUTING rule 9).
+
+**Rule IDs:** none (presentation).
+
+**Test-first steps:**
+- [ ] EditMode `InfoPanelCityTests.ShowsConditionOverflowAndProjects`: a state with known values gives the expected strings; fails until built.
+- [ ] EditMode `PlacementLayerTests.ACompletedProjectDraws`: a completed city project draws its kit; an unfinished one does not (or draws the marker the owner picks).
+- [ ] EditMode Hebrew strings for every new key.
+- [ ] WebGL build and `web_check` with the current values; screenshots in English and Hebrew in the PR.
+
+**Golden impact:** none (presentation), unless the smoke path changes.
+
+### Owner questions for PR 8
+
+- **Q-UI-1. Kit density by condition (impact plan §6 Phase 3 Unity: "kit density by condition (optional)").** Build it in Phase 3 or leave it out?
+- **Q-UI-2. Hebrew words.** The GDD gives no Hebrew for craftsman, housing condition, housing project, industry or winery; the owner picks them.
+
+---
+
+## Not in Phase 3 (and why)
+
+- **Pioneer work, designated sites and corridors** (Phase 4), including D-B4's "which yishuvim are required" and D-D7, D-D9, D-D10. Plowed fields and Food production are Phase 4.
+- **Event effects on cities and projects** (D-H2, a GDD Proposal, Phase 7). The `maabarot_policy` event stays as it is unless Q-HOUSE-3 ties the transit camp to it.
+- **Settlement control** (Phase 6). No captured or depopulated place adds housing, jobs or score (impact plan §4.1 item 4).
+- **Ministers** (D-H3, Phase 7): ministers' competence does not scale construction or absorption yet.
+- **Agam's #504 questions** on the 1945 anchors and the towns whose population changed in 1948 to 1949 (Beersheba, Lod, Ramla, Acre and others): those places are not GDD cities in this plan; they matter for Phase 6.
+
+## All owner questions, by D-row
+
+| Question | D-row | PR | Impact plan recommendation |
+|---|---|---|---|
+| Q-START-1 design values for the gaps (jobs, slots, housing) | D-D1, D-C6; #569 questions 5 and 6 | 1 | none |
+| Q-START-2 people into units; Rosh Pinna rounds to 0 | D-A1 | 1 | none |
+| Q-START-3 start housing condition | D-D2 | 1 | none (D-D2: per city) |
+| Q-START-4 the six kibbutzim and moshavim as cities | none (spec §6 "All Jewish cities") | 1 | none |
+| Q-START-5 all residents as civilians, and training | D-A2 (follows from #569) | 1 | none |
+| Q-ARRV-1 how arrivals are spread; the city series as a check | none (spec §6 Phase 3; D-A5 decided) | 2 | none |
+| Q-ARRV-2 the national head count and the cities | none (#461; Phase 2 plan) | 2 | none |
+| Q-ARRV-3 arrivals between 15 May and 8 November 1948 | none (follows from #569) | 2 | none |
+| Q-HOUSE-1 people per capacity point; overflow | D-D1 | 3 | overflow lowers housing condition and cohesion; no hard cap |
+| Q-HOUSE-2 condition per city or per building; scale; effects | D-D2 | 3 | per city (average) |
+| Q-HOUSE-3 housing types; the transit camp; the policy gate | D-D3 | 4 | keep the transit camp as a cheap, low-condition type from its sourced date |
+| Q-HOUSE-4 assigning residents to housing | none (GDD open; spec §1.4) | 3 | none |
+| Q-HOUSE-5 who takes housing (trainees, recruits) | D-D1; #468 question 2 | 3 | none |
+| Q-PROJ-1 costs, build times, payment | D-C6, D-A3 (decided: multi-turn) | 4 | owner (balance); borrowing per Q-MONEY-3 |
+| Q-PROJ-2 the permitted building site | none (GDD requirement) | 4 | none |
+| Q-PROJ-3 do projects need workers | none (spec §2.3 command table) | 4 | none (spec §2.3 says "Commits Money and workers") |
+| Q-PROJ-4 projects at once | none | 4 | none |
+| Q-PROJ-5 Attention cost of the project commands | D-A6, D-C5 (decided) | 4 | starting a project costs Attention; values are the owner's |
+| Q-CRAFT-1 how a craftsman is acquired | D-D4 | 5 | training in a city with industry |
+| Q-CRAFT-2 extra income; slots needed | D-D4, D-C6 | 5 | values for the owner |
+| Q-CRAFT-3 training turns, cost, facility | D-D4, D-A3 | 5 | values for the owner |
+| Q-JOBS-1 a default that fills jobs | none (spec §6 Phase 3 risk) | 5 | spec §6 mitigation: defaults that auto-fill jobs |
+| Q-SPEC-1 which industry and city | D-D8 | 6 | one example, the GDD's winery |
+| Q-SPEC-2 what it adds | D-D8, D-C6 | 6 | none |
+| Q-ABS-1 the milestone and its date | D-B4 | 7 | none on which milestone (spec §4.4: dated and sourced) |
+| Q-ABS-2 the completion condition | D-B4 | 7 | a share of arrivals housed and employed by a sourced milestone date |
+| Q-ABS-3 the card's photograph | event-image ruling | 7 | none |
+| Q-UI-1 kit density by condition | none | 8 | optional |
+| Q-UI-2 Hebrew words | none | 8 | none |
+| Q-SENS-1 abandoned Arab housing in start values and text | D-F1 (decided); spec §4.1 item 4 | 1 to 7 | no mechanic may turn a depopulated place into housing, jobs or score |
+
+**Q-SENS-1. Abandoned Arab housing (D-F1; impact plan §4.1 item 4; CONTENT_POLICY).** In 1948 and 1949 immigrants were housed in abandoned Arab quarters (#569 records one figure for Wadi Salib, Haifa, from English Wikipedia, unverified). The census start values include those residents; no Phase 3 rule adds capacity from Arab localities. Does any Phase 3 text (the city panel, the absorb card, a cause line) say so, and if so is it written and reviewed under D-F1 as the deport cards are? Sensitivity rules are left to the maintainer (AGENTS.md).
+
+**Owner actions, not questions:** a human check of the census figures against the CBS scans before PR 1 merges (#569); review of #569 and #504 for merge as research notes.
+
+## Self-review notes
+
+- Spec §6 Phase 3 scope maps to PRs: all Jewish cities with start values to PR 1; city projects (housing, industry, one specialised industry, build time and Money cost) to PRs 4 and 6; the craftsman to PR 5; housing assignment and overflow (D-D1 to D-D4, D-D8) to PRs 3 to 6; arrivals spread over cities to PR 2; the absorb objective to PR 7. Its touches: `PopulationSystem.cs` (PR 2), `MapActions.cs` absorbed into projects (PR 4), `Projects.cs` (PRs 4 and 6), `cities.yaml`, `projects.yaml`, `objectives.yaml` (PRs 1, 4, 7), `PlacementLayer` and the optional kit density (PR 8, Q-UI-1). Its tests: the CBS anchors (`CalibrationTests`, every PR, PR 2 especially) and `mvp-absorb-first` (PR 7). Its risks: sourcing the start values (#569, the scan check, PR 1) and micromanaging many cities (Q-JOBS-1).
+- #383's done-when: the anchors (every PR), `mvp-absorb-first` (PR 7), every historical start value sourced and every design value labelled (PR 1, R-CITY-006, the Q-CUT-1 listing test).
+- No rule value is set in this plan. Every R- ID above is proposed and lands with its test in its PR. The only values written here are #569's sourced figures, which the owner chose as start values, and their arithmetic at the Phase 1 design value of 1,000 people per unit.