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: Civ-style advisors design spec, content policy and D-ADV (#1484)

Eyal Golan945026bbae5d
diff --git a/docs/CONTENT_POLICY.md b/docs/CONTENT_POLICY.md
index 59334a62d..635a164eb 100644
--- a/docs/CONTENT_POLICY.md
+++ b/docs/CONTENT_POLICY.md
@@ -26,7 +26,12 @@ These rules protect the game and the people in it. They are not a viewpoint:
simulation enforces that (`Statecraft.Cli --release-gate`, the `-shareable` build flag and
`tools/package_release.py` all refuse otherwise). Historian review is planned for M4 and is not yet a gate.
2. **No invented quotes.** No words are attributed to a real person unless they are sourced verbatim. Event text
- describes; it does not put speech in anyone's mouth.
+ describes; it does not put speech in anyone's mouth. The one exception is the advisors (David Ben-Gurion, Golda
+ Meyerson (later Meir) and Moshe Dayan), by owner ruling, 23 October 2026: "Labelled game dialogue". Their lines are
+ original game dialogue in the persona, shown in the advisor panel under the label "Advisor" and never styled as
+ quotes; they explain the game and its state, and say nothing on a contested issue beyond neutral game facts. A real
+ quote appears only from the verified list in `docs/superpowers/specs/2026-10-23-advisors-design.md` (section 3.3),
+ styled as a quote with its source. The owner reviews every advisor line before it ships.
3. **Choices never reward atrocities.** Options tagged `holocaust`, `terror`, `massacre` or `war-casualties` cannot grant
treasury or score rewards for the atrocity side of a choice, and they need a recorded sensitivity review. Automated
tests enforce this (`dotnet test`).
@@ -97,5 +102,12 @@ Facts are open to correction. The framing (section 1) is not.
`unity/Assets/UI/EventImages/event-images.yaml` and `ASSETS.yaml` (see `docs/event-images.md`).
AI-generated likenesses of real people appear only in concept art (`promo/final/04`, `08`), are recorded as
- AI-generated in the asset provenance records, and are never presented as photographs or used in the game.
+ AI-generated in the asset provenance records, and are never presented as photographs or used in the game. The
+ advisors are the one exception, by owner ruling, 23 October 2026: "you can sythesize their voices", and, for their
+ videos, "The real figures talking". A synthetic voice or moving likeness of Ben-Gurion, Meyerson or Dayan is made
+ only after written consent from their estates (the Ben-Gurion Heritage Institute, Golda Meir's family, Moshe Dayan's
+ heirs), which the provider's terms also require; the owner sends every request. Until then their videos show the
+ archival portrait, narrated by a fictional, named aide in a designed voice that is no one's likeness. Every such
+ output is recorded in `ASSETS.yaml` as AI-generated (`docs/superpowers/specs/2026-10-23-advisors-design.md`,
+ sections 11 to 13).
- Hate speech, slurs or dehumanising language about any group, in content, code comments, issues or commits.
diff --git a/docs/oss/DECISIONS.md b/docs/oss/DECISIONS.md
index 510286c85..7fce8905e 100644
--- a/docs/oss/DECISIONS.md
+++ b/docs/oss/DECISIONS.md
@@ -67,6 +67,7 @@ The owner's answers to the questions in section 9 of `docs/superpowers/specs/202
- [x] G3 An opening cutscene on why the immigrants left home (issue #530). Decided (owner, 2026-10-14, given to the coordinator): yes, covering three origins: post-Holocaust Europe (the displaced persons and the Cyprus camps), the Arab countries (Iraq, Morocco and others), and Yemen (Operation Magic Carpet). Sourced and under `docs/CONTENT_POLICY.md`, with no AI likenesses of real people.
- [x] G4 The decision-card clips' burned-in caption (#434, PR #551). Decided (owner, 2026-10-14, given to the coordinator after watching the three sensitive clips operation_yoav, ten_days and the operation_horev outcome): "the 3 ilustration clips are great but no need to say there were created by ai". The clips carry no burned-in "AI-generated" caption; the provenance stays (`ai_generated: true` in `unity/Assets/Resources/EventVideos/event-videos.yaml` and `ASSETS.yaml`, `docs/ai-disclosure.md`). It is also the owner's sensitivity review of those three clips (`sensitivity_reviewed: true`).
- [x] G5 Dreamina's own "AI" watermark on the four Seedance clips (austerity_1949, iraqi_exodus, maabarot_policy-outcome, operation_horev-outcome) (PR #551). Decided (owner, 2026-10-14, given to personal2 directly): "Keep the badge". No crop and no inpainting.
+- [x] D-ADV Civ-style advisors: David Ben-Gurion (the whole game), Golda Meyerson (later Meir) (cities, absorption, the economy, the cabinet) and Moshe Dayan (the military) teach each mechanic and advise, replacing the first-turn guide and How to play (`docs/superpowers/specs/2026-10-23-advisors-design.md`). The owner asked (23 Oct 2026): "we need to add advisors like in civ ... best that they completly replace [the existing tutorials]. Use our elevenlabs subscription to make the videos for these." Decided (owner, 23 Oct 2026, in the coordinator session): the role, "Teach + advise (Civ VI style)"; voices, "you can sythesize their voices"; their words, "Labelled game dialogue" (original game dialogue in the persona, never styled as a quote; real quotes only from the spec's verified list); media, "2+videos of them explaining", then "The real figures talking"; the name, "Golda Meyerson (later Meir) (Recommended)"; the whole design, "the advisors design looks good. approved". How it is carried out (part of the approved design): the real figures appear to speak only after written consent from their estates (the Ben-Gurion Heritage Institute, Golda Meir's family, Moshe Dayan's heirs), which ElevenLabs' Prohibited Use Policy (sections 3 and 4) and Image and Video Terms (section 2) also require; the coordinator drafts the letters and the owner sends them. Until then each video is the archival portrait narrated by a fictional, named aide in an ElevenLabs Voice Design voice (not a clone, no real name in the prompt), in English and Hebrew, recorded in `ASSETS.yaml` as AI-generated. `docs/CONTENT_POLICY.md` principle 2 and its AI-likeness lines cite this line.
## Owner rulings, 18 October 2026 night session
diff --git a/docs/superpowers/specs/2026-10-23-advisors-design.md b/docs/superpowers/specs/2026-10-23-advisors-design.md
new file mode 100644
index 000000000..29be0a2d4
--- /dev/null
+++ b/docs/superpowers/specs/2026-10-23-advisors-design.md
@@ -0,0 +1,645 @@
+# Civ-style advisors: design spec
+
+**Status:** the design was APPROVED by the owner on 23 October 2026: "the advisors design looks good. approved" (in the
+coordinator session). This revision adds the owner's later rulings of the same day (the side popup, the small video,
+the voices, the portraits, private people by role) and is for the owner's review of the text. It changes no code.
+Nothing is built until this PR is merged, every slice below is its own PR, and nothing is built from an open question
+(section 18).
+**Date:** 23 October 2026. **Base:** origin/main `0058f67c` (#1488 merged). Every file:line below was read on that commit.
+**Plan:** none yet. The plan is written after this spec merges, slice by slice (section 17).
+
+## What changed in this revision
+
+- The advisor is a popup on the side, as in Civ (section 7.1): the upper part of the right column, above the minimap,
+ 400 px wide; a sheet under the top bar on an upright phone; the same place in Hebrew with its inside mirrored. It
+ hides under the modal layers (section 4.2) and steals no focus (section 16).
+- "Watch" plays a small video inside the popup on desktop and in a centred overlay where the popup has no room
+ (section 12). The picture is a silent clip on the existing player; captions are live text; the narration is a
+ separate audio file. The first three sample clips and their settings are recorded in section 12.1.
+- The video sources are the three photographs the owner chose (section 11.1).
+- The narrators are fictional aides; their voices are saved and 43 Hebrew lines are rendered (section 13.1). Their
+ names are not approved yet (section 18).
+- Private people are named by role (section 2). The game never charges money and never has ads (section 2).
+- The opening chain's event step is restated: the advisor speaks before the card opens and steps aside when "Show me"
+ opens it (section 9.3).
+
+## 1. The request and the goal
+
+The owner (23 October 2026, verbatim): "we need to add advisors like in civ ... ben gurion will be a general assistanat
+about game mechanisems, golda meir will explain about stuff that are more specific but not military and moshe dayan will
+explain military ... best that they completly replace [the existing tutorials]. Use our elevenlabs subscription to make
+the videos for these."
+
+**Goal.** Three advisors, as in Civilization, teach each mechanic the first time the player meets it and then give
+short warnings and suggestions as the game goes on. They replace the first-turn guide and the How to play screen. A
+setting controls how much they speak. They show in a small popup on the side of the screen, so the player stays in the
+game. They never change the simulation, the save or a golden hash: like the guide today, they are presentation only
+(`FirstTurnGuidePresenter.cs:19-20`).
+
+## 2. The rulings
+
+The owner's answers (23 October 2026, coordinator session, verbatim). An answer chosen from a list of options is quoted
+as the option's label; "(Recommended)" marks the option we had recommended.
+
+| Question | Ruling |
+|---|---|
+| The advisors' role | "Teach + advise (Civ VI style) (Recommended)": teach each mechanic when first met, and give ongoing warnings and suggestions; a setting controls how chatty they are |
+| Synthetic voices | "you can sythesize their voices". This lifts the project's earlier rule that a synthetic voice never speaks as a real person (section 13.1). ElevenLabs' own terms still apply (section 13.2) |
+| Their words | "Labelled game dialogue (Recommended)": advisor lines are original game dialogue in the persona, shown in the advisor popup and never styled as quotes. Real quotes come only from a verified list, styled as quotes with their source. Nothing puts an advisor on a contested issue beyond neutral game facts |
+| Media | "2+videos of them explaining", then, asked what that means, "The real figures talking". Later, on how video shows in the popup: "Small video in popup (Recommended)" (Watch plays in the popup on desktop and in a centred overlay on phones; live-text captions; the narration as separate audio) |
+| Golda's name | "Golda Meyerson (later Meir) (Recommended)" |
+| The whole design | "the advisors design looks good. approved" |
+| Placement | "the advistors need to be a popup window on the side like in civ" |
+| Voices | "Yes, both": save the three chosen aide voices, then render the Hebrew lines with ElevenLabs `eleven_v3` |
+| Private people | "By role (Recommended)": private people are named by their role in research notes; public figures keep their names. This spec follows the same rule |
+| Video sources | Ben-Gurion: "1951 official PM portrait"; Golda: "1964 desk photo (Recommended)"; Dayan: "1956 map briefing (Recommended)". Choosing them approved downloading those Commons originals |
+| Price and ads | "the game is never going to charge any money. ever", and then "the game is never going to have ads" (`docs/oss/DECISIONS.md` D1, `:15`) |
+
+How "The real figures talking" is carried out (part of the approved design): the real figures' own voices or likeness
+talk only after written consent from their estates (the Ben-Gurion Heritage Institute; Golda Meir's family; Moshe
+Dayan's heirs). Until then each video is a **photo video**: the archival photograph with one slow move, narrated by a
+**fictional aide** for each advisor, in a voice made with ElevenLabs Voice Design (a designed voice, not a clone; no real
+name in the prompt), in English and Hebrew (section 13). The aides are fictional and never imitate anyone.
+
+Already decided, and kept as they are:
+
+- **The perspective and sourcing rules** of `docs/CONTENT_POLICY.md` sections 1 and 2. This PR amends principle 2 and the
+ AI-likeness lines (`CONTENT_POLICY.md:28-29`, `:99-100`) to match the rulings above (section 19).
+- **Portraits** are public domain, CC0, CC BY 4.0 or CC BY-SA 4.0 photographs (`CONTENT_POLICY.md:35-39`, `:80-83`).
+ Government Press Office photographs tagged only `PD-Israel` are accepted for the free release by D-P
+ (`docs/oss/DECISIONS.md:32`), and there is no paid release (`:50`).
+- **In-game AI narration** (15 October 2026, #639, recorded in
+ `.github/skills/statecraft-video-script/references/06-ai-voice-music-and-disclosure.md:28`): allowed in its own voice,
+ never as a real person, disclosed, with an `ASSETS.yaml` row. The aide narration follows it as it stands. Only slice S7
+ (real-figure video, after consent) needs that file's rules 1 and 9 (`:16`, `:24`) amended; S7 does it.
+- **ElevenLabs output in the game** is recorded in `ASSETS.yaml` as AI-generated (the 18 October ruling on #39,
+ `docs/oss/DECISIONS.md:82`).
+
+## 3. Personas and voice rules
+
+### 3.1 Who covers what
+
+| Advisor | UI label | Covers |
+|---|---|---|
+| David Ben-Gurion | Advisor | The whole game: turns and End turn, Attention, objectives and score, events and delegation, defeat, the big picture |
+| Golda Meyerson (later Meir) | Advisor | Cities, housing and jobs, immigration and refugees, training civilians, city projects, pioneer work, corridors, Money and debt, the budget, the cabinet, Food, the national meters (Social cohesion, International Support) |
+| Moshe Dayan | Advisor | Units, movement and go-to, standing orders, combat, Arms, truces, capture, Send home, the enemy's phase |
+
+**Why "Advisor" and not their office.** Their 1948 offices do not fit the role. Golda Meyerson was Israel's envoy in
+Moscow until March 1949 and Minister of Labour from 10 March 1949 (`content/people.yaml:603`); Dayan was a battalion
+commander and then commander in Jerusalem in 1948, and became an Aluf only in October 1949 (`content/people.yaml:1118-1134`
+holds no office for Dayan before 1953, and no row holds the Moscow post, so these facts are sourced before any text names
+them). Calling all three "Advisor" is a game role, and nothing in the UI claims they held it.
+
+**The name.** The popup shows "Golda Meyerson (later Meir)" on the advisor's first appearance and "Golda Meyerson" after
+it, in Hebrew "גולדה מאירסון (לימים מאיר)". `content/people.yaml:585` keeps "Golda Meir" for the cabinet; the advisor's
+display name lives in the advisor data file, not in `people.yaml`.
+
+**The narrators.** Each advisor's videos are narrated by a fictional aide from their office, never by the advisor:
+
+| Office | Draft name (not approved, section 18) | Voice direction |
+|---|---|---|
+| Prime Minister's office | Ephraim Armon / אפרים ארמון | Male, 48-58; measured low baritone; formal, calm, exact, without grandeur |
+| Labour ministry | Rivka Armon / רבקה ארמון | Female, 38-48; grounded mezzo-alto; practical, patient, unsentimental |
+| Army staff | Gideon Talmi / גדעון תלמי | Male, 32-42; compact mid-low baritone; brisk, disciplined, without bravado |
+
+The English and Hebrew Voice Design prompts for an aide describe one fictional voice in two languages. "Mid-century
+broadcast clarity" in them describes diction and recording style only, never a person to imitate.
+
+### 3.2 What they may say
+
+- **Game dialogue, labelled.** Every line is original game text in the advisor's persona. It is shown in the advisor
+ popup under the label "Advisor", never in quotation marks, never in italics with an attribution, never in the style the
+ game uses for a real quote. It describes the game's own mechanics and state: "Our debt is close to the ceiling; one
+ more loan and the economy breaks."
+- **Neutral game facts only.** No advisor gives a view on a contested issue: the refugees' flight, Deport, the borders,
+ the Arab states. On a capture, Dayan explains the three answers and their costs as the game computes them
+ (`SettlementControl.CaptureOptions`, R-CTRL-008, `docs/rules/mvp.md:47`) and recommends none; Deport is never
+ suggested, never praised, and never the first option (R-CTRL-008).
+- **Real quotes only from the verified list** (section 3.3), each shown as a quote with its source line under it, and only
+ where the list says it may be used.
+- **No made-up history.** A line may name a date, place or number only when the game's content already sources it.
+- **A narrated clip names its narrator** as a fictional aide, for example "Narrator: <name>, a fictional office aide";
+ until the names are approved, by office only.
+- **Plain English** by `docs/WRITING_UI.md`, and Hebrew by `docs/WRITING_UI_HE.md` (section 14). A popup line is one or
+ two sentences, about 35 words at most; the encyclopedia page may be longer.
+- **The owner reviews every advisor line** before it ships (section 17).
+
+### 3.3 The verified quotes list
+
+From a research note checked on 23 October 2026 (Codex cx285). Only these may appear, and only as labelled quotes:
+
+| # | Speaker | Text | Source | Use |
+|---|---|---|---|---|
+| Q1 | The Declaration (a document, not a personal line) | "THE STATE OF ISRAEL will be open for Jewish immigration and for the Ingathering of the Exiles;" Hebrew: «מדינת ישראל תהא פתוחה לעליה יהודית ולקיבוץ גלויות;» | Declaration of the Establishment of the State of Israel, *Iton Rishmi* no. 1, 14 May 1948, p. 1; Knesset official Hebrew and English texts | Usable, attributed to the Declaration, never to Ben-Gurion |
+| Q2 | The Declaration | "WE EXTEND our hand to all neighboring states and their peoples in an offer of peace and good neighborliness," Hebrew: «אנו מושיטים יד שלום ושכנות טובה לכל המדינות השכנות ועמיהן,» | As Q1; the Knesset's current English page (American spelling). One official edition is used throughout, never mixed with the British-spelling CBS edition | Usable, as Q1 |
+| Q3 | Ben-Gurion | «קמה מדינת ישראל. תמה הישיבה הזאת.» English (a translation, labelled so): "The State of Israel has arisen. This session is closed." | People's Council, fourth sitting, 14 May 1948, official protocol, p. 26 (Knesset PDF); the ceremony recording | Usable. The Hebrew is the quote; the punctuation is the protocol's (two full stops, no exclamation mark) |
+| Q4 | Golda Meyerson | "A dank eich vos ihr seit geblieben Yidden" ("Thank you for having remained Jews") | Golda Meir, *My Life* (Putnam, 1975), ch. 9, p. 183; the memoir's later account of Rosh Hashanah, 3 October 1948 | Usable, labelled as a recollection in *My Life* (1975), spoken in Yiddish. The Hebrew «תודה שנשארתם יהודים» is labelled a translation |
+| - | Golda Meyerson, Chicago | "You cannot decide whether we should fight or not. We will." | *My Life*, which dates it 21 January 1948; the event was 25 January 1948 | **Not usable as stated**: the memoir's date is wrong and no contemporaneous transcript was opened |
+| - | Ben-Gurion, the Negev | "In the Negev the people and State of Israel will be tested" | «בנגב ייבחן העם בישראל ומדינתו», *Davar*, 17 January 1955 | **Not usable as stated**: the English "will/shall" is a translation, and 1955 is outside the game's period |
+| - | Dayan | none | No short, non-political 1948-52 line was found in a primary source | **No Dayan quote** |
+
+## 4. The system model (as in Civ)
+
+Civ's advisors are driven by a data table of messages, each with a trigger, conditions, a help level and a priority,
+shown one at a time. We copy that shape.
+
+### 4.1 The message file
+
+`unity/Assets/Resources/Advisors/advisor-messages.yaml` (new, slice S1). Each message:
+
+| Field | Meaning |
+|---|---|
+| `id` | Stable id, also the string key stem (`advisor.<id>.text`, `advisor.<id>.more`) |
+| `advisor` | `ben_gurion`, `meyerson` or `dayan` |
+| `signal` | The game signal it waits for (section 5), from a fixed list |
+| `when` | An optional condition on that signal, from a fixed list of named conditions with one number (for example `debt_ratio_at_least: 0.8`); no expression language |
+| `requires` | Message ids that must have been shown first (a teaching chain) |
+| `level` | The lowest help level that shows it: `new`, `experienced`, `warnings`, or `critical` (section 6) |
+| `priority` | 1 to 3; a higher one jumps the queue |
+| `repeat` | `once`, or `every` with a `cooldown_turns` |
+| `actions` | Up to two buttons: `show_me` (highlight a UI element by name, as the guide's ring does, `FirstTurnGuidePresenter.cs:278-303`), `open_screen` (a side screen by name, `ScreenNav.cs:13`), `encyclopedia` (a page id). The dismiss controls (section 7.1) are the popup's own, not data |
+| `video` | Optional: the silent clip's file, the narration file per language, and the caption cues per language (section 12) |
+| `quote` | Optional id from the verified list (section 3.3); only these lines show a quote |
+
+A load-time test checks that every message names a known advisor, signal, condition, screen and string key in both
+languages, that every `video` row's files and cues exist in both languages, that `requires` has no cycle, and that every
+`quote` is on the list.
+
+### 4.2 The runtime
+
+`AdvisorPresenter` (new, S1) subscribes to the bridge's `Changed`, `TurnEnded` and `Refused` events
+(`unity/Assets/Scripts/UI/SimBridge.cs:31`, `:33`, `:35`), evaluates signals on the state the screen shows, and queues the
+messages that fire.
+
+- **One popup at a time.** A popup waits while any modal layer is open: the start screen (`StartScreenPresenter.cs:26`),
+ the decision card (`EventCardPresenter.cs:24`, while it is not collapsed), the capture dialog
+ (`CaptureDialogPresenter.cs:28`), the turn report (`TurnReportPresenter.cs:24`), the outcome clip
+ (`OutcomePresenter.cs:26`) and the end screen (`EndScreenPresenter.cs:22`). These are the root's open classes the code
+ already sets, so the advisor reads them and adds no new coupling. On the two-row HUD it also waits while any side
+ screen is open, because the screen then takes the full width and hides the right column (`Statecraft.uss:767-770`).
+- **A layer opening over it.** If one of those layers opens while a popup shows (the player presses "Decision
+ waiting"), the popup hides at once, and its sound and video stop. When the layer closes it comes back if its signal
+ still holds; otherwise it goes to the Counsel history (section 7.4) without showing again.
+- **Queue order:** critical first, then priority, then the order the signals fired. At most one teaching message and one
+ warning a turn are shown by themselves; the rest wait for the next turn or the Counsel screen (section 7.4). This is
+ the rule against nagging.
+- **Seen state** lives in the settings file (section 15), never in the save.
+- The advisor reads the state and the bridge only. It issues no command, queues no order and never presses End turn.
+
+## 5. Triggers and signals
+
+What each mechanic's first message waits for. "Exists" means a signal on main the advisor can read today; "Needs" means
+the slice adds a read-only helper (in Unity, never in the sim's hash).
+
+| Mechanic | Advisor | Rules | Signal on main |
+|---|---|---|---|
+| Turns, End turn | Ben-Gurion | R-TURN (`mvp.md:13-19`) | Exists: a new game (`FirstTurnGuidePresenter.NewGame`, `:128`, called from `GameRoot.cs:467`, `:514`); `TurnEnded` (`SimBridge.cs:33`) |
+| Attention | Ben-Gurion | R-GOV-002 (`mvp.md:361`) | Exists: `SimBridge.AttentionLeft` (`:88`); `Refused` for "not enough Attention" (`:35`) |
+| Events, delegation | Ben-Gurion | R-EVT (`mvp.md:407-415`) | Exists: `EventCardPresenter.Shown` (`:200`) |
+| Objectives, score | Ben-Gurion | R-OBJ, R-SCORE (`mvp.md:291-305`) | Exists: `GameState.Objectives` (`GameState.cs:83`), `Score` (`:88`) |
+| Defeat | Ben-Gurion | R-END-001 to R-END-003 (`mvp.md:341-345`) | Exists: `GameState.ExhaustedTurns` (`:100`), `Debt` (`:41`) against `debt_ceiling` (R-END-001), `Food` (`:94`). Needs: a warning before an enemy attack on one of the player's cities (R-END-003); see below the table |
+| Cities, housing, jobs | Meyerson | R-CITY, R-HOUSE (`mvp.md:67-91`) | Needs: a "city shown" event. A click opens the info panel through `GameRoot.OnHexClicked` (`GameRoot.cs:572`), which raises nothing, and `Changed` does not fire on a look. S2 adds the event in Unity |
+| Immigration, refugees | Meyerson | R-CITY-004 (`mvp.md:75`) | Exists: `GameState.Cities` (`:66`) refugees, after `TurnEnded` |
+| Training | Meyerson | R-TRAIN (`mvp.md:111-115`) | Exists: `GameState.Cohorts` (`:70`) |
+| City projects | Meyerson | R-PROJ (`mvp.md:97-105`) | Exists: `GameState.CityProjects` (`:74`), `UnlockedProjects` (`:79`) |
+| Pioneer work | Meyerson | R-SITE, R-FIELD, R-SWAMP, R-CAMP (`mvp.md:127-155`) | Exists: `GameState.Sites` (`:72`); a halutz unit with no project |
+| Corridors | Meyerson | R-COR (`mvp.md:185-189`) | Exists: `GameState.Corridors` (`:77`) |
+| Money, debt | Meyerson | R-MONEY (`mvp.md:309-313`), R-END-001 | Exists: `Treasury`, `Debt` (`:40-41`) |
+| Budget | Meyerson | no R-ID yet: the rules live in `EconomySystem.Allocate` and `Simulation.Execute` | Exists: a queued `AllocateBudget` (`BudgetPresenter.cs:54`, through `SimBridge.QueuedLike`). Needs, for the warning: "the budget is edited but not submitted"; #1352 (Beri) adds `BudgetUnsubmitted` to `SimBridge`, and S4 reads it once merged |
+| Cabinet | Meyerson | R-MIN (`mvp.md:365-369`) | Exists: `SimBridge.Vacancies` (`:85`), already the Cabinet badge (`HudPresenter.cs:484`) |
+| Food | Meyerson | R-FOOD (`mvp.md:321-325`) | Exists: `Food`, `FoodNeed`, `FoodUnmet` (`GameState.cs:94-98`) |
+| National meters | Meyerson | R-NAT (`mvp.md:375-381`) | Exists: `Indicators` (`:33`), `ActiveSituations` (`:38`, set by `EffectsSystem.UpdateSituations`, `EffectsSystem.cs:139`) |
+| Units, movement, go-to | Dayan | R-MOVE (`mvp.md:195-213`) | The sim side exists: `Movement.NeedsOrders` (`sim/Statecraft.Sim/Movement.cs:182`), `GameSession.Committed` and `Now` (`GameSession.cs:22-26`). Needs: the Unity side, which still queues one Move per unit; the civ-movement slices (U1 to U4) add it, and the advisor reads their "Move picked" and "order committed" points |
+| Standing orders, Send home | Dayan | R-ORDER (`mvp.md:219-223`), R-UNIT-005 (`:169`) | Exists: a unit's `Order` |
+| Combat | Dayan | R-COMBAT (`mvp.md:229-249`) | Exists: the turn's Why lines (`StepResult.Why`, `Commands.cs:172`; `PreviewResult.Why`, `:184`) |
+| Arms | Dayan | R-ARMS (`mvp.md:331-335`) | Exists: `GameState.Arms` (`:102`) |
+| Truces | Dayan | R-COMBAT-009 (`mvp.md:249`) | Exists: the truce windows (`Combat.PlayerTruces`, `Combat.cs:60`) and the chosen option (`ChosenOptions`, `GameState.cs:52`) |
+| Capture | Dayan | R-CTRL (`mvp.md:35-51`) | Exists: a settlement `AwaitingChoice` (`SettlementControl.cs:14`) |
+| The enemy's phase | Dayan | R-ENEMY (`mvp.md:255-263`) | Exists: the enemy lines in the turn report (`TurnReportPresenter.cs:112-128`) |
+
+**The one new sim signal: a city under threat.** The critical warning "one of our cities is under attack" must come
+before End turn, but the enemy chooses its orders only inside End turn (resolver step 1, `TurnResolver.cs:18`). Those
+orders are a function of the state alone (R-ENEMY-001, `mvp.md:255`), so S4 adds a read-only sim helper that runs
+`EnemyAI.Order` (`EnemyAI.cs:46`) on a clone of the shown state and returns the attacks aimed at a player city's hex. It
+changes no state and draws no random number, so no golden moves; the warning is never a Unity copy of the enemy's
+logic. The advisor shows it as "likely", since the player's own orders this turn can still change the board.
+
+A full mechanic-by-mechanic map with rule IDs and draft first-time lines was made separately (Codex cx296, 23 October
+2026, a research note outside the repo). It agrees with this table: of 24 mechanic groups, 22 have a usable signal on
+main, and two (a city shown, movement) need one; the city-threat warning needs the helper above. It also found that
+`mvp.md` has no rule ID for Attention's refill or for the budget's shares and vote; S3's encyclopedia pages describe them
+from the code (`EconomySystem.Allocate`, `Simulation.Execute`) and name no rule ID. S1 checks every row against the
+code of its day.
+
+## 6. Help levels
+
+A setting in Settings (`SettingsPresenter.cs`), saved in the settings file as `advisor_level`:
+
+| Level | Shows |
+|---|---|
+| New to strategy games (default on a first game) | Every teaching message, warnings and suggestions |
+| Experienced | Teaching only for this game's own mechanics (Attention, delegation, capture, pioneer work, corridors); warnings and suggestions |
+| Warnings only | Warnings, no teaching |
+| Off | Only the **critical** warnings: one of the player's cities about to fall (R-END-003), approaching defeat (R-END-001 and R-END-002: Money and Food exhausted, `ExhaustedTurns` above 0), and the debt near the ceiling |
+
+"Off" keeps the critical warnings by the owner's design: the advisors must never stay silent on a real threat. There is
+no per-message "don't show again" box: the help level is that control, as in Civ VI and VII. The encyclopedia
+(section 10) and the Counsel screen are open at every level.
+
+## 7. The UI
+
+All new strings follow `docs/WRITING_UI.md`, `docs/WRITING_UI_HE.md` and `docs/UX_GLOSSARY.yaml`.
+
+### 7.1 The popup
+
+**Where it goes.** The owner asked for "a popup window on the side like in civ". The side popup is Civ VII's (middle
+right) and Civ V's (top right); Civ VI's advisor sits at the top centre. Our layout already leaves the upper part of the
+right column free at every tier: the column (`Statecraft.uss:214`, `right: 16px; top: 112px; width: 480px`) holds a
+flexible gap (`.right-gap`, `:266`) above the 222x380 minimap (`.minimap`, `:433`), and the side screens stop short of it
+(`.screen`, `right: 512px`, `:457`). The panel scales from 1920x1080 with match 0.5 (`HudPresenter.cs:19-20`), so the
+sizes below are logical (panel) px.
+
+| HUD tier (example windows) | Dock and size |
+|---|---|
+| One row (1920x1080, 1280x720, 1366x768, 1024x768, a phone held sideways at 844x390) | The right column: `right: 16px`, 400 px wide. Its top is the column's top plus the "Decision waiting" row (about 46 px) and 8 px, so it never jumps when that button appears; its bottom stays 12 px above the minimap. Height follows the content up to that space (about 506 px at 1920x1080, 400 at 844x390), then the text scrolls |
+| Two rows (960x1080, square windows) | The same right-column slot, 400 px wide, up to about 746 px tall. Waits while a side screen is open (section 4.2) |
+| Three rows (390x844 and other upright phones) | A sheet under the top bar, from the left column's edge to the right edge (`left: 88px; right: 16px`), its top under "Decision waiting" and the toast when they show (placed in code); its bottom 12 px above the higher of the info panel and the minimap's label; the text scrolls |
+| Hebrew, every tier | The same place: the HUD does not mirror its panels (`Statecraft.uss:943-946`). Only the inside mirrors (below) |
+
+At 1920x1080 the free slot is about x 1424 to 1904, y 166 to 672; the 400 px popup takes x 1504 to 1904. 400 and not
+480 keeps a 24 px gap to the decision card's right edge (x 1480), but the popup never shows with an open card anyway
+(section 4.2). The left side holds the side menu, the info panel, the toast and the screens, and the top centre holds the
+bar's date and the toast, so neither is used.
+
+**What is in it.**
+
+```text
++--[portrait 96x120]--+ Golda Meyerson [X]
+| archival photograph | ADVISOR
++---------------------+
+ One or two short sentences of live text.
+ [Show me] [Tell me more] [Got it]
+ 1 of 3
+```
+
+- **Portrait**: a still archival photograph cropped round the face, about 96x120, in the info panel's gold frame. Never
+ flipped, never animated. When the message has a clip, a small play badge on it is the "Watch" button (section 12).
+- **Name and label**: the advisor's name (section 3.1) and "Advisor" in small capitals; never quotation marks or italics.
+ The name wraps and never shrinks (Hebrew names are longer).
+- **Text**: one or two sentences, 22 px panel size like `.guide-text`, raised to the 12 screen px text floor
+ (`HudPresenter.FlooredTextSize`, `HudPresenter.cs:89-92`) as the guide does (`FirstTurnGuidePresenter.cs:345-359`).
+- **Buttons**, at most three, the main action first: teaching `Show me`, `Tell me more`, `Got it`; advice and warnings
+ `Show me`, `Not now`, `Got it`. `Not now` puts the message off to the next turn and into Counsel; `Got it` marks it
+ seen. An X in the corner does the same as `Got it`; a phone has no Escape, as the screens' X shows
+ (`ScreenNav.cs:198-204`). A small "Advisor settings" link in the footer may open Settings.
+- **Counter**: "1 of 3" in the footer when more messages wait.
+- **Critical warnings** have a red-gold edge and no `Not now`.
+- **Hebrew**: the header and the button row run `row-reverse` (as `.lang-he .row`, `Statecraft.uss:957-960`), so the
+ portrait sits at the right where a Hebrew reader starts; each label's paragraph direction comes from its own words
+ (`UiDirection`), since names, dates and numbers can be English. Photographs and video never flip.
+- It takes no pointer outside its panel, so the HUD stays usable under it, as the guide's layer does
+ (`Game.uxml:444`, `FirstTurnGuidePresenter.cs:26-27`). It never blocks End turn.
+
+### 7.2 Tell me more
+
+Opens the encyclopedia page for the message's mechanic (section 10).
+
+### 7.3 Show me
+
+Draws the gold ring round the named UI element on the real HUD, never a picture inside the popup, reusing the guide's
+targets, ring and its 100 ms follow-the-layout timer (`FirstTurnGuidePresenter.cs:110-113`, `:278-343`), and, for a unit
+or a city, selects it and centres the camera as the guide's move step does (`GameRoot.cs:505-511`). If the target's
+rectangle meets the popup's, the popup moves within its slot (desktop) or the camera centres the target below the sheet
+(upright phone). It never carries out the advised action.
+
+### 7.4 Counsel screen and history
+
+A new side screen, "Counsel", in the left menu (`ScreenNav.Screens`, `ScreenNav.cs:13`): one card per advisor with
+their top concern now (the highest-priority message whose signal holds), and below it the full history of every message
+shown this game, newest first, each with its turn date. The history is kept for the session only; on load it starts
+empty (it is not in the save, section 15).
+
+## 8. Disagreement
+
+Sometimes two advisors see one choice differently: Meyerson wants Money kept for housing, Dayan wants it for Arms. The
+Counsel screen then shows both views side by side as options, each with what the game says it costs. The game never
+picks for the player, and no advisor's line is phrased as an order. Disagreements are rare by design (a message flag,
+`disagrees_with`, at most one shown a turn) and only on game trade-offs, never on a contested historical issue.
+
+## 9. Replacing the first-turn guide and How to play
+
+The owner: "best that they completly replace [the existing tutorials]".
+
+### 9.1 What exists
+
+- **The first-turn guide** (`FirstTurnGuidePresenter.cs`, 404 lines): six steps, `{ "attention", "city", "training",
+ "move", "event", "objectives" }` (`:37`), each with a gold ring round its target (`Targets`, `:278-303`), shown once on
+ the first new game (`NewGame`, `:128`; seen key `first_turn_guide`, `:35`), reopened from How to play
+ (`how_to_play.guide`, `strings.en.yaml:73`; button `how-to-play-guide`, `Game.uxml:376`). 17 EditMode tests in
+ `FirstTurnGuideTests.cs`. On its event step the card is shown and the guide's panel sits over it (`:23-25`).
+- **How to play** (`HowToPlayPresenter.cs:15`): eight lines, `how_to_play.turn` to `how_to_play.why`
+ (`strings.en.yaml:57-65`; `Game.uxml:363-373`). 2 EditMode tests in `HowToPlayScreenTests.cs`; the menu button is
+ pinned by `HebrewUiTests.cs:283`, `:289`, `KeyboardTurnTests.cs:109`, `LeftColumnTests.cs:37`, `:259`,
+ `PromoHudTests.cs:43` and `TopBarTests.cs:628`.
+
+### 9.2 The opening chain (slice S2)
+
+On the first new game, Ben-Gurion greets the player, then each advisor teaches the turn-one essentials, pointing at the
+same UI elements the guide does: Attention (Ben-Gurion), a city's housing and jobs and training (Meyerson), moving a unit
+(Dayan), the event card (Ben-Gurion), objectives (Ben-Gurion). The rules of the guide carry over: shown once, never on a
+Continue, never without a settings file (automated runs), skippable at any step, the selection put back after.
+
+The event step changes, because the popup never sits over an open card (section 4.2): the advisor speaks **before** the
+card opens ("A decision is waiting..."), with the card collapsed and the ring on "Decision waiting". Its `Show me` opens
+the card, the popup steps aside at once, and the card's own text explains the options. When the card closes, the chain
+goes on.
+
+### 9.3 Parity first, tests migrate first
+
+S2 starts by porting `FirstTurnGuideTests.cs`' 17 tests to the opening chain (the targets, the once-only rule, Continue,
+skip, putting the selection back, the End turn close), and they must pass on the chain before the guide's code is
+removed. The event step's test is restated, not ported as it is: it proves that (1) the message shows while the card is
+collapsed, (2) `Show me` opens the card, (3) the popup is hidden while the card is open, and (4) closing or answering the
+card moves the chain on or puts it back correctly. Only then is `FirstTurnGuidePresenter` deleted, in the same PR. The
+seen key `first_turn_guide=seen` is honoured: a player who saw the guide does not get the chain by itself. S3 does the
+same for How to play: its tests and the seven menu pins above move to the encyclopedia before the old screen goes.
+
+## 10. Encyclopedia coverage
+
+The How to play screen becomes the advisors' encyclopedia: one page per mechanic, grouped by advisor, each a short
+explanation, the rule it follows in plain words, and a "Show me". It covers the mechanics the guide and How to play
+already teach (turns, Attention, cities, training, moving a unit, events, objectives, the top bar, Why) and the 14 that
+nothing teaches today (no `how_to_play.*` or `guide.*` line names them, `strings.en.yaml:57-93`):
+
+1. the budget; 2. the cabinet and vacancies; 3. combat; 4. capture and its three answers; 5. corridors; 6. city
+projects; 7. pioneer work (yishuv, fields, swamps, camps); 8. Food; 9. Arms; 10. the end conditions and defeat;
+11. Money and debt; 12. standing orders and Send home; 13. truces; 14. the enemy's phase.
+
+Immigration and the national meters get pages too.
+
+## 11. Media pipeline
+
+### 11.1 Photographs
+
+**The popup's still portraits** are as approved in the first version of this spec, all public domain or CC
+(`CONTENT_POLICY.md:35-39`):
+
+- Ben-Gurion: `unity/Assets/UI/Portraits/ben_gurion.jpg` (Public domain, Abbie Rowe, NARA; `ASSETS.portraits.yaml:11-16`).
+- Golda Meyerson: `unity/Assets/UI/Portraits/golda_meir.jpg` (CC0, Willem van de Poll; `ASSETS.portraits.yaml:207-212`).
+- Dayan (new): the National Library of Israel photograph on Commons, 7 December 1948, Benno Rothenberg / Meitar
+ Collection / National Library of Israel / The Pritzker Family National Photography Collection, CC BY 4.0,
+ 1,403 x 908 px: https://commons.wikimedia.org/wiki/File:Moshe_and_Ruth_Dayan_(997008137270105171).jpg. Cropped round
+ Dayan and downscaled, never enlarged; credited in `NOTICE`; a row in `ASSETS.portraits.yaml`.
+
+Whether the stills should switch to the video photographs below is open (section 18).
+
+**The video photographs** are the three the owner chose:
+
+- **David Ben-Gurion**, official prime-minister portrait, 16 April 1951, 2052 x 3066 px:
+ https://commons.wikimedia.org/wiki/File:Prime_minister_David_Ben-Gurion,_1951.jpg. National Photo Collection
+ `D683-095`, Israeli Government Press Office photographer, `PD-Israel`. Commons gives no United States public-domain
+ rationale, so a URAA-restored US copyright is possible; it is used under D-P's acceptance of GPO photographs for the
+ free release (section 18 asks the owner to confirm that this covers a new photograph).
+- **Golda Meyerson (later Meir)**, seated at a desk, 1 January 1964, 2644 x 2661 px:
+ https://commons.wikimedia.org/wiki/File:Golda_Meir,_minister_van_buitenlandse_zaken_van_Israel,_Bestanddeelnr_255-4314.jpg.
+ Dutch National Archives `255-4314`, Willem van de Poll, CC0 1.0. It is the original of the game's 387 x 512 portrait,
+ so each clip is cut fresh from the original, never from the small file.
+- **Moshe Dayan**, briefing journalists at a wall map, 13 November 1956, 4983 x 4711 px:
+ https://commons.wikimedia.org/wiki/File:Moshe_Dayan_(997009157299705171).jpg. NLI `997009157299705171`, call number
+ `ARC. 4* 2068 / 16686`, Benno Rothenberg, CC BY 4.0 (VRT ticket `2021092910005788`). Credit, in full: "Benno
+ Rothenberg / Meitar Collection / National Library of Israel / The Pritzker Family National Photography Collection /
+ CC BY 4.0". A clip crops it and sets its black and white points, so the credit also says it was changed.
+
+The Golda and Dayan photographs are later than the game's 1948-52 period; the credit gives each photograph's date, and
+nothing implies they were taken in the period. Every photograph used gets its `ASSETS.yaml` or `ASSETS.portraits.yaml`
+row, and its `NOTICE` credit where its licence asks.
+
+### 11.2 Aide videos (slice S6)
+
+Two or more short videos per advisor ("2+videos of them explaining"), each a photo video:
+
+- one of the video photographs (section 11.1) with one slow move, no face animation and no lip-sync;
+- the "show the game" part is the live `Show me` ring on the real HUD, fired at the narration's cue time, because a
+ 1920-wide game capture shown 364 px wide is unreadable;
+- narrated by the advisor's **fictional aide** (section 3.1), introduced as the aide, never as the advisor;
+- in English and Hebrew; Hebrew narration ships only after a native reviewer approves a sample (the video-script rules,
+ `06-ai-voice-music-and-disclosure.md:20`).
+
+The picture is made locally from the archival photograph. No photograph of a real person is sent to ElevenLabs; only the
+aide's prompt and script go to Voice Design and text to speech.
+
+### 11.3 Real-figure videos (slice S7, only after consent)
+
+The real figures appear to speak only after written consent from the Ben-Gurion Heritage Institute, Golda Meir's family
+and Moshe Dayan's heirs, each for their own figure. **The coordinator drafts the letters and the owner sends them; no
+outreach happens without the owner.** The consent letters are kept as ElevenLabs' terms require (section 13.2).
+
+## 12. Video and sound
+
+- **Never autoplays.** The popup's play badge ("Watch") plays the clip, as do the encyclopedia and Counsel.
+- **Small, inside the popup** where the popup's slot has room for the picture, two caption lines and the buttons (about
+ 460 logical px tall): 1920x1080, 1280x720, 1366x768, 1024x768 and 960x1080. The picture, 364x205 at 400 px wide,
+ takes the portrait row's place; the live caption takes the text's place; the buttons stay.
+- **In a centred overlay** where it has no room: a phone held sideways (400 px free) and an upright phone (the sheet).
+ The overlay follows `.outcome-layer` (`Statecraft.uss:322-332`), keeps the captions under the picture, and closes with
+ its own X and Escape. The choice is made from the measured slot height, not from a guess at the device.
+- **Captions are live text**, never burned into the clip: timed cue strings per language (`advisor.<id>.cue.<n>` with a
+ start time), the same text as the narration, under the text floor and direction rules, and in Counsel's history. A
+ version with burned captions may be made for sharing outside the game; it is not the game's file.
+- **The picture is a silent clip** on the existing player. `CardVideo` is silent by design: "A silent clip player ... No
+ audio is output" (`CardVideo.cs:9-15`), `audioOutputMode = VideoAudioOutputMode.None` (`:102`), into one 960x540
+ RenderTexture (`:18`, `:90-109`); the encoder passes `-an` (`tools/encode_event_videos.py:42-45`) and its check rejects
+ any audio stream (`:111-126`). Neither changes.
+- **The narration is a separate audio file**, fetched and played the way the start screen's recording is
+ (`DeclarationRecording.cs:41-56`: a fetched `AudioClip`, an output with a play position; `SourceOutput`, an
+ `AudioSource`, `:240-261`). The captions follow the audio's play position. Any button, the X, a layer opening over the
+ popup, or the message ending stops both the sound and the picture.
+- **UNVERIFIED: sound from Unity's WebGL video player.** The design does not need it. Muxing sound into the clip would
+ first need that verified, the browser's gesture rules checked, and the encoder's no-audio check changed; none of that
+ is in S6.
+- **One player, borrowed.** The popup borrows the decision card's `CardVideo` (`GameRoot.cs:254`): it plays only while no
+ card is open, and the card's illustration plays only while the card is open. On hand-over it calls `Stop()` (`:74-80`)
+ and the card puts its clip back with `ShowIn` (`:66-72`). The outcome clips keep their own player (`GameRoot.cs:276`).
+- **Lazy**: the `CardVideo` pattern: one player made the first time a clip is asked for, never at boot, playing from
+ `StreamingAssets/video` by URL with the build id (`CardVideo.Url`, `:40`), and off in every automated run
+ (`CardVideo.ForcedOff`, `:29-37`); the narration files likewise. The load-time gate holds: the default first download
+ does not grow beyond code-size noise, and boot time is measured on base and PR.
+
+### 12.1 The sample clips (popup-v1, 23 October 2026)
+
+Three Hebrew lines were rendered as samples, outside the repository, from the three video photographs and the existing
+Hebrew narration: `opening.greeting` (Ben-Gurion), `opening.city` (Meyerson) and `opening.move` (Dayan). Their settings
+are the ones S6 uses unless the owner changes them:
+
+- **Format**, matching `FFMPEG_VIDEO` (`tools/encode_event_videos.py:43-45`) and the 960x540 RenderTexture: 960x540, SAR
+ 1:1, 24 fps, H.264 High (level 3.1), yuv420p, `-preset slow -crf 28`, `-g 48 -keyint_min 48 -sc_threshold 0`, `-an`,
+ `-movflags +faststart`, `-map_metadata -1`. Each file passes the checks of the encoder's `problems()`. Why 960x540 and
+ not 728x410 (2x the 364x205 picture): the player draws into one 960x540 texture, so a 960x540 clip fills it 1:1 and
+ is 2.64 device px per layout px in the popup.
+- **Length**: ceil((narration + 0.5 s) x 24) frames: 256, 268 and 224 frames for narrations of 10.16 s, 10.64 s and
+ 8.80 s.
+- **Move**: one per clip, eased in and out (cosine), never reversing or looping; every frame resampled (Lanczos) from the
+ original at sub-pixel positions. Ben-Gurion: a slow push in of 9.1 % (a box 2052 then 1880 source px wide); Golda: a
+ tilt down of 120 source px; Dayan: a pan left of 180 source px, the way Dayan is looking. Faces stay whole, Ben-Gurion's
+ chin and Dayan's eye patch included.
+- **No upscaling**: every crop box is 16:9 and at least 960 source px wide, checked on every frame. The tightest frames
+ are 1.958 (Ben-Gurion), 1.833 (Golda) and 2.400 (Dayan) source px per output px.
+- **Tone**: the Dayan scan is a flat grey negative scan; it gets one linear black and white point (95 to 10, 250 to 245),
+ no curve and no retouching. The other two are untouched.
+- **Size and quality** against the lossless frames: CRF 28 gives 481 KB, 367 KB and 849 KB (SSIM 0.910, 0.945, 0.903).
+ CRF 20 would give 1.71 MB, 1.08 MB and 2.83 MB and keeps the film grain; which one ships is open (section 18).
+- **Caption cues**: one sentence at a time, switching at a pause found in the narration; Hebrew right to left,
+ right-aligned, at most two lines.
+
+## 13. Voice and ElevenLabs
+
+### 13.1 What the rulings change, and what exists
+
+The owner's "you can sythesize their voices" lifts the rule that a synthetic voice never speaks as a real person, for
+these three advisors. The design still waits for estate consent before any synthetic voice speaks as them (section
+11.3), for the reasons in 13.2. Until then the aides' designed voices are used, which the 15 October rule already allows.
+
+Done on 23 October 2026 (outside the repository, nothing shipped): the aide voices were designed with ElevenLabs Voice
+Design (`eleven_ttv_v3`) from prompts that name no real person and ask to resemble no one; after the owner's "Yes,
+both", five were saved as private voices (the Prime Minister's office aide for both languages, and an English and a
+Hebrew voice for each of the other two), and 43 Hebrew advisor lines were rendered with `eleven_v3`. Those Hebrew lines
+are drafts marked for native review; none ships before that review and the owner's review of the line.
+
+### 13.2 ElevenLabs' terms (read 23 October 2026, both pages "Last updated: 09 October 2026")
+
+- **Prohibited Use Policy, section 3** (Deception, Manipulation and Impersonation): it prohibits "Cloning, synthesizing,
+ or impersonating the voice, identity, or likeness of any living individual ... without their explicit and informed
+ consent or other valid authorization, or of any deceased individual in a manner that is reasonably likely to cause
+ harm or infringes applicable post-mortem rights."
+- **Prohibited Use Policy, section 4** (Elections and Civic Integrity): "Impersonating political candidates or elected
+ officials without authorization". All three were elected Knesset members.
+- **Image and Video Terms, section 2** (Consents and Records): input with "the voice, image, or other visual likeness of
+ an identifiable natural person" needs "all notices ... consents, releases, and authorizations required under
+ applicable law ... from that individual or any other person legally authorized to give them", and the records are kept
+ for at least five years.
+
+So a voice or image of Ben-Gurion, Meyerson or Dayan made with ElevenLabs needs the authorisation that only their estates
+can give. This is why S7 waits for consent. This reading is factual, not legal advice. The game being free forever and
+without ads does not remove any consent, licence or credit duty.
+
+### 13.3 The account and the records
+
+- The owner's paid ElevenLabs plan, no Beta features. ElevenLabs' documentation calls Voice Design experimental; if the
+ product marks the workflow Beta, production stops for the owner's decision.
+- The aide voices stay private and are never shared to the Voice Library.
+- Every output gets an `ASSETS.yaml` row: AI-generated, the tool, the voice id, the model, the date, the exact script, and
+ the file's sha256, as the video-script rules ask (`06-ai-voice-music-and-disclosure.md:19`).
+- `docs/ai-disclosure.md`, the README's AI section and the Steam draft change in the same PR as the first voiced video
+ (`06-ai-voice-music-and-disclosure.md:23`).
+
+## 14. Localisation, English and Hebrew
+
+- Every advisor string and caption cue has an English and a Hebrew key; the existing parity tests (`HebrewUiTests.cs`)
+ cover them.
+- **The player is addressed gender-neutrally** in Hebrew, by HE-03 (`docs/WRITING_UI_HE.md:73-76`): no masculine-only
+ singular, no slash forms; plural address or "יש ל..." forms. The advisors and aides speak in their own grammatical
+ gender (Meyerson and the Labour aide in the feminine), which is the speaker's, not the player's.
+- Hebrew lines are agent-drafted and go to the native reviewer before they ship, as the rest of the UI.
+- Names: "דוד בן-גוריון", "גולדה מאירסון (לימים מאיר)", "משה דיין"; the people rows (`content/people.yaml:30`, `:586`,
+ `:1120`) hold the first and third. The aides' Hebrew names ship only once approved (section 18).
+- The popup stays on the right in Hebrew; its header, buttons and text direction mirror inside it (section 7.1).
+
+## 15. Persistence
+
+- The help level, each message's "seen" mark and the opening chain's mark are lines in the settings file
+ (`SettingsStore`, `unity/Assets/Scripts/SettingsStore.cs:8-13`: "presentation only, never the sim or the save"), one
+ `key=value` line each, as the guide's `first_turn_guide=seen` (`FirstTurnGuidePresenter.cs:35`).
+- Seen marks are kept compact: one line, `advisor_seen=<id>,<id>,...`.
+- Nothing goes in the save. A loaded game keeps the player's seen marks (they are the player's, not the game's).
+- With no settings file (automated runs, EditMode tests) the advisors never show by themselves, as the guide today
+ (`FirstTurnGuidePresenter.cs:16-17`). So no golden, smoke run or browser check changes.
+
+## 16. Accessibility, motion, performance and testing
+
+**Motion.** The popup slides 16 px in from the right edge while it fades in, over 0.25 s ease-out, and fades out over
+0.15 s, with no delay before it shows. It reuses `ScreenNav.Show`'s opening and closing classes (`ScreenNav.cs:107-136`;
+`Statecraft.uss:458-466`) with its own USS: a slide instead of the screens' scale. The game has no reduce-motion setting
+today; if one is added, the popup only fades.
+
+**Keyboard and focus.** The popup is not modal and does not take the focus when it appears; the map, the bar and the
+info panel stay usable. It takes the focus only when the player opens it (the opening chain's first step, or Counsel),
+and gives it back with `FocusReturn`. Its buttons are in the Tab order. Escape closes it only while the focus is inside
+it, so Escape keeps closing screens as now (`ScreenNav.cs:182-186`). A key to jump into the popup is open (section 18).
+
+**Screen readers.** The game has no screen-reader support today, and this design claims none. The floor is: every
+meaning is live text (nothing only in sound or baked into video), the captions are live labels, contrast uses the
+existing tokens, text keeps the 12 screen px floor (`HudPresenter.TextFloorPx`, `HudPresenter.cs:81`), focus is
+visible, and every message can be read again in Counsel's history.
+
+**Performance.** Signals are read on `Changed` and `TurnEnded` only, never each frame. Portraits are small prepared
+files. Video and narration are lazy (section 12), and the one 960x540 texture is borrowed. Nothing loads at boot.
+
+**Testing.** Each slice adds EditMode tests first and runs the full Unity EditMode suite on the PR merged with main, and
+shows matched English and Hebrew before and after screenshots (`CONTRIBUTING.md`, "Pull requests"; the PR template's
+"Visual evidence"). The message file has a load test (section 4.1). Signals are unit-tested on built states. Layout tests
+cover 1920x1080, 1280x720, 1366x768, 1024x768, 960x1080, 390x844 and 844x390: the slot, the phone sheet, the text
+floor, the Hebrew inside mirror, a `Show me` target under the popup, every modal layer, focus return, and which windows
+play video inline. Media tests prove the live cues, the separate audio, that one press stops both, and that the clips
+stay silent. The opening chain inherits the guide's 17 tests, with the event step restated (section 9.3). No golden
+moves: the advisors never touch the sim.
+
+## 17. Slices and build order
+
+Each slice is its own PR, tests first, a full Unity EditMode run, English and Hebrew screenshots. **Every advisor line
+goes to the owner for content review before it ships.**
+
+| Slice | What | Depends on |
+|---|---|---|
+| S1 | The engine and the data format: message file, loader and its test, `AdvisorPresenter`, the queue behind the modal layers, the settings lines, and the side popup's shell (placement per tier, motion, focus, hiding under layers). No messages shown yet | - |
+| S2 | The opening chain, replacing the first-turn guide (section 9) | S1 |
+| S3 | The encyclopedia, replacing How to play (section 10) | S1 |
+| S4 | Ongoing warnings and advice (section 5), the help-level setting (section 6) | S1; the budget signal waits for #1352 |
+| S5 | The Counsel screen and history, disagreement (sections 7.4, 8) | S4 |
+| S6 | The aide videos (sections 11.2, 12): the silent clips, the separate narration, the live captions, the inline player and the overlay, the Dayan portrait (section 11.1) | S3; the names, the CRF and the Hebrew review (section 18) |
+| S7 | Real-figure videos, only after written estate consent (section 11.3) | consent |
+
+## 18. Open questions for the owner
+
+| # | Question | Default until answered |
+|---|---|---|
+| OQ-1 | The aides' names. The three draft names (section 3.1) are not approved, and two of them share the surname Armon. Approve them, or choose others? | The narrator is named by office only ("a fictional aide, Prime Minister's office"); no name ships |
+| OQ-2 | If the Labour aide needs another surname, approve **Rivka Tavor / רבקה תבור**? Checked on 23 October 2026: exact-phrase searches on English Wikipedia ("Rivka Tavor", "Rivka Tabor") and Hebrew Wikipedia ("רבקה תבור") found no result, and the repository has no match. A general web search and the National Library's catalogue were not checked, so this lowers the risk of a clash and does not rule it out. Tavor is also Mount Tabor and the name of the Israeli army's rifle | As OQ-1 |
+| OQ-3 | Which quality for the clips: CRF 28 (the existing pinned profile; 367 to 849 KB per clip) or CRF 20 (keeps the film grain; 1.08 to 2.83 MB)? Both play the same way (section 12.1) | CRF 28 |
+| OQ-4 | Who reviews the Hebrew (the 43 rendered narration lines, the captions and the popup text) as a native speaker, and is that review done before S2 or only before S6? | No Hebrew advisor line or narration ships before a native reviewer approves it |
+| OQ-5 | D-P accepted six named Government Press Office portraits for the free release. Does it also cover the new 1951 Ben-Gurion photograph you chose (possible URAA-restored US copyright)? | Used under D-P, with the risk note in its asset row |
+| OQ-6 | The popup's still portraits (section 11.1) are the first version's. Should they switch to crops of the three video photographs, so the still matches the clip? | Keep the first version's stills |
+| OQ-7 | Dayan's 1948-49 posts (battalion commander, commander in Jerusalem, Aluf in October 1949) are not yet in `content/people.yaml`. They matter only if a line names them | No line names them |
+| OQ-8 | Does "Off" also keep the capture prompt (a capture awaiting an answer, R-CTRL-007)? It is a decision, not a threat | No: the capture dialog already asks |
+| OQ-9 | The civ-movement spec changes `guide.move.text` (its section 8.2); if that lands first, S2 ports the new text | S2 ports whatever is on main |
+| OQ-10 | The end screen has no player text for `defeat_war` (`strings.en.yaml:279-280` has `mvp_ended` and `defeat_economy`; the sim's English is "The enemy holds a city", `PlayerText.cs:27`). Ben-Gurion's defeat message needs it | S4 adds `end.outcome.defeat_war` in both languages |
+| OQ-11 | Add Civ VII's folded tab: a 56 px portrait at the right edge under the bar, with a count, for messages waiting or put off with `Not now`? | No tab; the queue and Counsel keep the messages. If approved, it comes in S5 |
+| OQ-12 | Which key, free of the existing bindings, moves the focus into an open popup? | No new key; Tab and the popup's openers reach it |
+
+## 19. Policy edits in this PR
+
+- `docs/CONTENT_POLICY.md` principle 2 (`:28-29`): advisor lines are labelled game dialogue, not quotes, under the owner's
+ "Labelled game dialogue" ruling; real quotes only from a verified list.
+- `docs/CONTENT_POLICY.md` the AI-likeness lines (`:99-100`): the advisors' synthetic voices ("you can sythesize their
+ voices") and the real-figure videos only after the estates' written consent; the aide voices are not likenesses.
+- `docs/oss/DECISIONS.md`: a D-ADV line recording the rulings.
+
+## 20. Risks
+
+| Risk | Handling |
+|---|---|
+| An advisor line reads as a real quote | Labelled popup, never quotation marks; quotes only from section 3.3; the owner reviews every line |
+| An advisor appears to take a side on a contested issue | Neutral game facts only (3.2); Deport never suggested; the owner's review |
+| The popup covers something the player needs | The free right-column slot; the phone sheet; it moves off a `Show me` target; it hides under every modal layer and, on two rows, under a screen |
+| Nagging | One teaching and one warning a turn, cooldowns, help levels, `Not now` |
+| Silence on a real threat | Critical warnings at every level, "Off" included |
+| A regression in onboarding when the guide goes | Parity first: the guide's tests pass on the chain before its code is removed; the event step's test is restated on purpose (9.3) |
+| Captions unreadable or out of reach | Live, localised cue text at the text floor; never burned into the game's clip |
+| Narration and picture drift, or keep playing under a layer | The audio's position drives the cues; any press or covering layer stops both |
+| WebGL video sound does not work | Not needed: a silent clip and a separate audio file on the path the start screen already uses |
+| A photograph's licence or date is misstated | The exact source, date, credit and risk note per photograph; later photographs dated; no upscaling |
+| A fictional aide's name matches a real person | Names screened before approval; by office only until then (OQ-1, OQ-2) |
+| A synthetic voice of a real figure without the right consent | No real-figure voice or likeness before written estate consent (11.3, 13.2) |
+| Video growing the download or boot time | Never autoplays, lazy, StreamingAssets, never at boot; the load-time gate |
+| Hebrew addressing the player in one gender, or mirrored photographs | HE-03 and the native reviewer; only the popup's inside mirrors |
+| Advisors changing a golden | They never touch the sim; no settings file in automated runs |