A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
docs: how contributors work in Unity with an AI agent (Unity-MCP)
eyalgolanfe5c10ea9cd4
diff --git a/BUILDING.md b/BUILDING.mdindex 3c6c0ead9..07eb2f4e5 100644--- a/BUILDING.md+++ b/BUILDING.md@@ -34,7 +34,24 @@ Unity Hub → **Add** → select `unity/`. Run `tools/build_sim_for_unity.sh` agThe game scene is `Assets/Map.unity`, and it opens automatically. If it doesn't (you see an empty "Untitled" scene), double-click `Map` in the Project window's Assets folder. Then press Play.-Troubleshooting: if the Console shows compile errors from a package that isn't in our `Packages/manifest.json` (for example an AI or MCP connector such as `com.ivanmurzak.unity.mcp` that added itself), remove that package from your local manifest or update it. Unity can't run while there is any compile error.+Troubleshooting:++- `error CS0246: The type or namespace name 'PlayerPrefsBool' could not be found`: the Unity-MCP package (`com.ivanmurzak.unity.mcp`) was installed without its OpenUPM registry (`https://package.openupm.com`), so its dependency `extensions.unity.playerprefsex` is missing. Restore `Packages/manifest.json` and `Packages/packages-lock.json` from git (`git checkout -- unity/Packages`); they already carry the package and the registry.+- Compile errors from a package that isn't in our `Packages/manifest.json`: remove that package from your local manifest or update it. Unity can't run while there is any compile error.+- macOS says "Unity is damaged and can't be opened. Move to Trash": this can happen when the editor is launched outside Unity Hub after Hub installed modules (such as Mac Build Support) inside the app. Click **Cancel**, never Move to Trash. Open the project through Unity Hub. If Hub refuses too, reinstall that editor version (6000.3.25f1) through Unity Hub.++## Working with an AI agent in Unity (Unity-MCP)++[Unity-MCP](https://github.com/IvanMurzak/Unity-MCP) (Apache-2.0) is the project's standard way to let an AI agent (Claude Code, Cursor, Copilot and others) work in the Unity editor: read the Console, inspect scenes, run tests. It runs locally, with no account and no cloud.++- **Install:** nothing to do. The package (`com.ivanmurzak.unity.mcp` 0.93.3) and the OpenUPM registry it needs are already in `unity/Packages/manifest.json`. On the first open, the plugin downloads its NuGet DLLs from nuget.org into `Assets/Plugins/NuGet/` (git-ignored) and its local server from the plugin's GitHub releases into `Library/`. Then Unity compiles once more.+- **Open** Window → AI Game Developer — MCP.+- **Connection → Custom** (local). Set the Server URL to `http://localhost:27766` and the transport to `http`. Never choose Cloud, and never sign in: nothing in this project needs an ai-game.dev account. These settings are per user, in `unity/UserSettings/AI-Game-Developer-Config.json` (git-ignored, and it holds your local token), so every contributor sets them once.+- **Choose your agent** and click **Configure**, or click **Generate** to write skill files instead. The files these steps write (`.mcp.json`, `unity/.claude/` and the other agent folders) are git-ignored; don't commit them.+- **The rules still apply:** no game rules in Unity (they live in the sim), tests first, sources for every fact in `content/`, and disclose the AI assistance in your pull request (see "Rules every change follows" and "AI-assisted contributions" in [CONTRIBUTING.md](CONTRIBUTING.md)).+- **Security:** the local server lets the agent run editor actions, including editing files and executing code in the editor. Keep it local: never expose port 27766 (no port forwarding, tunnels or `0.0.0.0` binds), and stop the server when you're done.+- **Batch mode and builds:** `UnityMcpGuard` (`unity/Assets/Editor/UnityMcpGuard.cs`) keeps the plugin from connecting or starting its server in batch mode (tests and builds), and drops its assemblies from every player build. The browser build's golden hashes don't change.+- **Leave one change uncommitted:** the plugin adds `UNITY_MCP_READY;UNITY_MCP_DEPS_7` to the scripting defines in `unity/ProjectSettings/ProjectSettings.asset` once its DLLs are in place. Don't commit that change: on a fresh clone the defines would arrive before the DLLs, and the plugin wouldn't compile. A policy test refuses it. The post-build cleanup (`git checkout -- unity/Assets/Settings unity/ProjectSettings/ProjectSettings.asset`) drops the defines too; the plugin adds them back on the next open, at the cost of one extra compile.## Testsdiff --git a/CHANGELOG.md b/CHANGELOG.mdindex 82bccdf99..c182488b6 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -15,3 +15,5 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIB- Open-source release (public since 2026-10-10): licences (MIT code, CC BY-SA 4.0 content, CC BY 4.0 original docsand art, CC0 for AI-only images), asset provenance (`ASSETS.yaml`), contributorand content policies, CI for the sim, tools and repository policy.+- Unity-MCP 0.93.3 (`com.ivanmurzak.unity.mcp`, from OpenUPM) as the standard AI-agent bridge in the editor, local+ Custom mode only. It stays offline in batch mode and is left out of player builds (`UnityMcpGuard`).diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 30e4941f5..93ffa11fd 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -59,6 +59,19 @@ Follow [docs/dev-setup.md](docs/dev-setup.md). In short:AI-assisted work is welcome. Say so in the pull request: which parts, and how you checked them. You are responsible for every line you submit. For content, check every fact against its source yourself, and never take one from an AI tool unchecked.+## Working with an AI agent in Unity (Unity-MCP)++[Unity-MCP](https://github.com/IvanMurzak/Unity-MCP) (Apache-2.0) is the project's standard way to let an AI agent (Claude Code, Cursor, Copilot and others) work in the Unity editor: read the Console, inspect scenes, run tests. It runs locally, with no account and no cloud.++- **Install:** nothing to do. The package (`com.ivanmurzak.unity.mcp` 0.93.3) and the OpenUPM registry it needs are already in `unity/Packages/manifest.json`. On the first open, the plugin downloads its NuGet DLLs from nuget.org into `Assets/Plugins/NuGet/` (git-ignored) and its local server from the plugin's GitHub releases into `Library/`. Then Unity compiles once more.+- **Open** Window → AI Game Developer — MCP.+- **Connection → Custom** (local). Set the Server URL to `http://localhost:27766` and the transport to `http`. Never choose Cloud, and never sign in: nothing in this project needs an ai-game.dev account. These settings are per user, in `unity/UserSettings/AI-Game-Developer-Config.json` (git-ignored, and it holds your local token), so every contributor sets them once.+- **Choose your agent** and click **Configure**, or click **Generate** to write skill files instead. The files these steps write (`.mcp.json`, `unity/.claude/` and the other agent folders) are git-ignored; don't commit them.+- **The rules still apply:** no game rules in Unity (they live in the sim), tests first, sources for every fact in `content/`, and disclose the AI assistance in your pull request (see "Rules every change follows" and "AI-assisted contributions" above).+- **Security:** the local server lets the agent run editor actions, including editing files and executing code in the editor. Keep it local: never expose port 27766 (no port forwarding, tunnels or `0.0.0.0` binds), and stop the server when you're done.+- **Batch mode and builds:** `UnityMcpGuard` (`unity/Assets/Editor/UnityMcpGuard.cs`) keeps the plugin from connecting or starting its server in batch mode (tests and builds), and drops its assemblies from every player build. The browser build's golden hashes don't change.+- **Leave one change uncommitted:** the plugin adds `UNITY_MCP_READY;UNITY_MCP_DEPS_7` to the scripting defines in `unity/ProjectSettings/ProjectSettings.asset` once its DLLs are in place. Don't commit that change: on a fresh clone the defines would arrive before the DLLs, and the plugin wouldn't compile. A policy test refuses it. The post-build cleanup (`git checkout -- unity/Assets/Settings unity/ProjectSettings/ProjectSettings.asset`) drops the defines too; the plugin adds them back on the next open, at the cost of one extra compile.+## Pull requests- Base your branch on `main`. History on `main` is protected, so no force-pushes.diff --git a/LICENSING.md b/LICENSING.mdindex f5e22617a..7662472e2 100644--- a/LICENSING.md+++ b/LICENSING.md@@ -15,7 +15,7 @@ Different parts of this repository are under different licences. Where a file is| Terrain heightmap | `unity/Assets/StreamingAssets/map/heightmap.*`, `content/map/hexes.json` (elevations) | Derived from Copernicus GLO-30 under the Copernicus DEM licence. Required notice: "produced using Copernicus WorldDEM-30 (c) DLR e.V. 2010-2014 and (c) Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA; all rights reserved" || Precipitation grid | `content/map/precip_bio12.*` | CHELSA V2.1, CC0 1.0 (Karger et al. 2017, 2021; see `tools/README.md`) || Rain-gauge data | `content/map/precip_stations.json` | Israel Meteorological Service, data.gov.il dataset 481, under the licence stated on the dataset ("Other (Open)") |-| Unity engine and packages | `unity/Packages/`, `unity/ProjectSettings/` | Configuration only. The Unity engine and its packages are under Unity's own terms and are not included. No Asset Store content is in this repository. |+| Unity engine and packages | `unity/Packages/`, `unity/ProjectSettings/` | Configuration only. The Unity engine and its packages are under Unity's own terms and are not included. Two editor-only packages come from OpenUPM under their own licences and are not included either: `com.ivanmurzak.unity.mcp` (Unity-MCP, Apache-2.0) and its dependency `extensions.unity.playerprefsex` (MIT); see [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md). No Asset Store content is in this repository. || In every build | `YamlDotNet.dll` | MIT, Copyright (c) Antoine Aubry and contributors ([LICENSES/YamlDotNet-MIT.txt](LICENSES/YamlDotNet-MIT.txt)) |Historical facts are not owned by anyone. The text describing them paraphrases the cited sources. The research notes and reports quote short passages from their sources for commentary; those quotes remain © their authors.diff --git a/README.he.md b/README.he.mdindex e90df63e5..427585ab4 100644--- a/README.he.md+++ b/README.he.md@@ -52,7 +52,11 @@סצנת המשחק היא <span dir="ltr">`Assets/Map.unity`</span>, והיא נפתחת אוטומטית. אם זה לא קרה (רואים סצנה ריקה בשם Untitled), לחצו פעמיים על Map בתיקיית Assets בחלון Project. אחר כך לחצו Play.-פתרון בעיות: אם בקונסולה מופיעות שגיאות קומפילציה מחבילה שאינה ב־<span dir="ltr">`Packages/manifest.json`</span> שלנו (למשל מחבר של בינה מלאכותית או MCP כמו <span dir="ltr">`com.ivanmurzak.unity.mcp`</span> שהוסיף את עצמו), הסירו את החבילה מקובץ ה־manifest המקומי שלכם או עדכנו אותה. Unity אינו יכול לרוץ כל עוד יש שגיאת קומפילציה.+פתרון בעיות:++- השגיאה <span dir="ltr">`error CS0246 'PlayerPrefsBool'`</span> פירושה שחבילת Unity-MCP (<span dir="ltr">`com.ivanmurzak.unity.mcp`</span>) הותקנה בלי מאגר OpenUPM שלה (<span dir="ltr">`https://package.openupm.com`</span>), ולכן חסרה התלות <span dir="ltr">`extensions.unity.playerprefsex`</span>. שחזרו מ־git את <span dir="ltr">`Packages/manifest.json`</span> ואת <span dir="ltr">`Packages/packages-lock.json`</span>; החבילה והמאגר כבר מוגדרים בהם.+- שגיאות קומפילציה מחבילה שאינה ב־<span dir="ltr">`Packages/manifest.json`</span> שלנו: הסירו את החבילה מקובץ ה־manifest המקומי שלכם או עדכנו אותה. Unity אינו יכול לרוץ כל עוד יש שגיאת קומפילציה.+- ב־macOS מופיעה ההודעה "Unity is damaged and can't be opened. Move to Trash": זה יכול לקרות כשמפעילים את העורך מחוץ ל־Unity Hub אחרי ש־Hub התקין מודולים (כמו Mac Build Support) בתוך האפליקציה. לחצו **Cancel**, ולעולם לא Move to Trash. פתחו את הפרויקט דרך Unity Hub. אם גם Hub מסרב, התקינו מחדש את גרסת העורך (6000.3.25f1) דרך Unity Hub.## היסטוריה, מקורות ודיוק@@ -66,6 +70,18 @@מתכנתים, היסטוריונים, אמנים, מעצבי משחק, כותבים ומתרגמים: התחילו ב־[<span dir="ltr">CONTRIBUTING.md</span>](CONTRIBUTING.md) (באנגלית). אפשר לעבוד גם עם בינה מלאכותית, בתנאי שמצהירים על כך ושכל טענה היסטורית נבדקה מול מקור. אין הסכם CLA: תרומות נכנסות תחת הרישיונות של המאגר. מחפשים משימה ראשונה? ראו את הסינון [good first issue](https://github.com/eyalgolan/statecraft-israel/labels/good%20first%20issue), את [help wanted](https://github.com/eyalgolan/statecraft-israel/labels/help%20wanted) ואת [הבעיות הפתוחות](https://github.com/eyalgolan/statecraft-israel/issues).+### עבודה עם סוכן בינה מלאכותית ב־Unity (<span dir="ltr">Unity-MCP</span>)++[Unity-MCP](https://github.com/IvanMurzak/Unity-MCP) (רישיון Apache-2.0) היא הדרך המקובלת בפרויקט לתת לסוכן בינה מלאכותית (Claude Code, Cursor, Copilot ואחרים) לעבוד בעורך של Unity. היא רצה מקומית, בלי חשבון ובלי ענן. הפירוט המלא (באנגלית) ב־[<span dir="ltr">CONTRIBUTING.md</span>](CONTRIBUTING.md).++- **התקנה:** אין מה להתקין. החבילה (<span dir="ltr">`com.ivanmurzak.unity.mcp`</span> בגרסה 0.93.3) ומאגר OpenUPM שהיא צריכה כבר נמצאים ב־<span dir="ltr">`unity/Packages/manifest.json`</span>. בפתיחה הראשונה התוסף מוריד את קובצי ה־DLL שלו מ־nuget.org ואת השרת המקומי שלו, ו־Unity מקמפל פעם נוספת.+- **פתיחה:** <span dir="ltr">Window → AI Game Developer — MCP</span>.+- **חיבור:** בחרו Connection ← Custom (מקומי), כתובת השרת <span dir="ltr">`http://localhost:27766`</span> ותעבורה http. לעולם אל תבחרו Cloud ואל תתחברו לשום חשבון. ההגדרות האלה אישיות ונשמרות ב־<span dir="ltr">`unity/UserSettings/AI-Game-Developer-Config.json`</span> (מחוץ ל־git, ויש בו גם הטוקן המקומי שלכם), ולכן כל תורם מגדיר אותן פעם אחת.+- **הסוכן:** בחרו את הסוכן שלכם ולחצו Configure, או לחצו Generate כדי ליצור קובצי skills. הקבצים שנוצרים (<span dir="ltr">`.mcp.json`</span> ותיקיות הסוכנים) נמצאים מחוץ ל־git; אל תוסיפו אותם.+- **הכללים בתוקף:** כללי המשחק נשארים בסימולציה ולא ב־Unity, בדיקות קודם, מקור לכל עובדה, ומצהירים בבקשת המיזוג על הסיוע של בינה מלאכותית.+- **אבטחה:** השרת המקומי מאפשר לסוכן להריץ פעולות בעורך, כולל עריכת קבצים והרצת קוד. השאירו אותו מקומי ולעולם אל תחשפו את הפורט 27766 החוצה.+- **שינוי שלא מוסיפים ל־git:** אחרי שקובצי ה־DLL במקומם, התוסף מוסיף את <span dir="ltr">`UNITY_MCP_READY;UNITY_MCP_DEPS_7`</span> להגדרות הסקריפטים ב־<span dir="ltr">`unity/ProjectSettings/ProjectSettings.asset`</span>. אל תוסיפו את השינוי הזה ל־commit: בשכפול חדש ההגדרות יגיעו לפני קובצי ה־DLL והתוסף לא יתקמפל. בדיקת מדיניות חוסמת אותו.+## שימוש בבינה מלאכותיתהפרויקט נבנה בסיוע נרחב של בינה מלאכותית. קוד נכתב עם סוכני קוד ונבדק בבדיקות ובסקירות קוד; תמונות הקונספט והפרומו הן תוצר של בינה מלאכותית, וטקסט האירועים נוסח בסיועה וכל עובדה בו נבדקת מול המקור המצוטט. הפורטרטים הם צילומים בנחלת הכלל, ואין עדיין סאונד. דבר אינו נוצר בזמן אמת במהלך המשחק.diff --git a/README.md b/README.mdindex 802ff2943..f4096fd9d 100644--- a/README.md+++ b/README.md@@ -82,7 +82,7 @@ The exact commands are in [BUILDING.md](BUILDING.md).**First open in Unity.** The game scene is `Assets/Map.unity`, and it opens automatically. If it doesn't (you see an empty "Untitled" scene), double-click `Map` in the Project window's Assets folder. Then press Play.-Troubleshooting: if the Console shows compile errors from a package that isn't in our `Packages/manifest.json` (for example an AI or MCP connector such as `com.ivanmurzak.unity.mcp` that added itself), remove that package from your local manifest or update it. Unity can't run while there is any compile error.+Troubleshooting: `error CS0246 'PlayerPrefsBool'` means the Unity-MCP package (`com.ivanmurzak.unity.mcp`) is missing its OpenUPM registry (`https://package.openupm.com`); restore `Packages/manifest.json` and `Packages/packages-lock.json` from git. If the Console shows compile errors from a package that isn't in our `Packages/manifest.json`, remove that package from your local manifest or update it. Unity can't run while there is any compile error. More in [BUILDING.md](BUILDING.md).## History, sources and accuracy@@ -106,6 +106,7 @@ Before you start:- Read [docs/dev-setup.md](docs/dev-setup.md).- Run the tests listed in [CONTRIBUTING.md](CONTRIBUTING.md).- Keep game rules in the sim, not in Unity.+- Working in Unity with an AI agent? Use the bundled Unity-MCP plugin in local Custom mode; the steps are in [CONTRIBUTING.md](CONTRIBUTING.md).Start with **[CONTRIBUTING.md](CONTRIBUTING.md)**. There's no CLA: contributions come in under the repo's licences.diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.mdindex a85a986d6..859bc1469 100644--- a/THIRD-PARTY-NOTICES.md+++ b/THIRD-PARTY-NOTICES.md@@ -27,6 +27,17 @@ and Python packages declared inline in `tools/*.py` and `scripts/oss/*.py`.You need your own Unity licence (Unity Personal is free within Unity's eligibility terms) to open or build `unity/`.+The AI-agent bridge used in the editor (see `CONTRIBUTING.md`) is also fetched, not vendored, and is editor-only:++| Component | Fetched from | Licence | Where it goes |+|---|---|---|---|+| Unity-MCP, `com.ivanmurzak.unity.mcp` 0.93.3 (Ivan Murzak, https://github.com/IvanMurzak/Unity-MCP) | OpenUPM (`https://package.openupm.com`), pinned in `unity/Packages/manifest.json` and `packages-lock.json` | Apache-2.0 | `unity/Library/PackageCache/` |+| `extensions.unity.playerprefsex` 2.1.5 (Ivan Murzak), a dependency of the above | OpenUPM | MIT | `unity/Library/PackageCache/` |+| NuGet DLLs the plugin's resolver downloads on first open: com.IvanMurzak.McpPlugin and McpPlugin.Common 8.7.0 and com.IvanMurzak.ReflectorNet 5.4.1 (Apache-2.0), R3 1.3.0 (MIT), and Microsoft.AspNetCore.SignalR.\*, Microsoft.Extensions.\*, Microsoft.CodeAnalysis.\*, System.\* and Microsoft.Bcl.\* packages (.NET Foundation and Microsoft, MIT) | nuget.org | Apache-2.0 or MIT, per package | `unity/Assets/Plugins/NuGet/` (git-ignored) |+| GameDev-MCP-Server 9.2.10, the local MCP server binary (https://github.com/IvanMurzak/GameDev-MCP-Server) | that repository's GitHub releases, SHA-256 checked by the plugin | Apache-2.0 | `unity/Library/mcp-server/` |++None of these is redistributed by this repository or shipped in a build: `UnityMcpGuard` (`unity/Assets/Editor/UnityMcpGuard.cs`) drops the plugin's assemblies and its NuGet DLLs from every player build. Their licence texts come with each download.+## Builds (what a WebGL or desktop build carries)A build is a different artefact. It contains the Unity runtime, `YamlDotNet.dll`, the fonts, the portraits and the mapdiff --git a/scripts/oss/tests/test_readme.py b/scripts/oss/tests/test_readme.pyindex 2e60d1c0b..f70cf3d7b 100644--- a/scripts/oss/tests/test_readme.py+++ b/scripts/oss/tests/test_readme.py@@ -174,3 +174,43 @@ def test_hebrew_file_names_in_link_text_are_direction_isolated():he = read("README.he.md")assert '[<span dir="ltr">BUILDING.md</span>]' in he and '[<span dir="ltr">CONTRIBUTING.md</span>]' in heassert "<bdi>" not in he+++MCP_HEADING = "## Working with an AI agent in Unity (Unity-MCP)"+++def test_unity_mcp_section_is_in_contributing_and_building_with_the_same_facts():+ for rel in ("CONTRIBUTING.md", "BUILDING.md"):+ text = section(read(rel), MCP_HEADING)+ for fact in ("https://github.com/IvanMurzak/Unity-MCP", "0.93.3", "Packages/manifest.json",+ "Window → AI Game Developer", "Custom", "http://localhost:27766", "http", "Configure",+ "Generate", "Cloud", "sign in", "UserSettings/AI-Game-Developer-Config.json",+ "no game rules in Unity", "tests first", "sources", "AI assistance",+ "editor actions", "never expose", "batch mode", "UnityMcpGuard", "player build",+ "ProjectSettings.asset", "UNITY_MCP_READY", "nuget.org"):+ assert fact in text, (rel, fact)+++def test_hebrew_readme_carries_the_unity_mcp_facts():+ he = section(read("README.he.md"), "## איך משתתפים")+ for fact in ("Unity-MCP", "0.93.3", "Window → AI Game Developer", "Custom", "http://localhost:27766", "http",+ "Configure", "Generate", "Cloud", "UserSettings/AI-Game-Developer-Config.json", "ProjectSettings.asset",+ "UNITY_MCP_READY", "nuget.org"):+ assert fact in he, fact+ for idea in ("כללי המשחק", "בדיקות", "מקור", "בינה מלאכותית", "פורט"):+ assert idea in he, idea+++def test_damaged_editor_dialog_troubleshooting_is_in_building_and_hebrew():+ for rel in ("BUILDING.md", "README.he.md"):+ text = read(rel)+ for fact in ("Unity is damaged and can't be opened", "Move to Trash", "Cancel", "Unity Hub",+ "Mac Build Support"):+ assert fact in text, (rel, fact)+++def test_playerprefsbool_error_points_at_the_openupm_registry():+ for rel in ("README.md", "BUILDING.md", "README.he.md"):+ text = read(rel)+ for fact in ("PlayerPrefsBool", "https://package.openupm.com"):+ assert fact in text, (rel, fact)diff --git a/scripts/oss/tests/test_unity_mcp.py b/scripts/oss/tests/test_unity_mcp.pyindex b7bc2b697..deffe1339 100644--- a/scripts/oss/tests/test_unity_mcp.py+++ b/scripts/oss/tests/test_unity_mcp.py@@ -53,3 +53,12 @@ def test_downloads_and_generated_agent_files_are_ignored():for rule in ("unity/Assets/Plugins/NuGet/", "unity/Assets/Plugins/NuGet.meta", ".mcp.json", "unity/.claude/","unity/UserSettings/", "unity/Library/"):assert rule in ignore, rule+++def test_notices_and_licensing_name_the_plugin_and_its_dependencies():+ notices = (ROOT / "THIRD-PARTY-NOTICES.md").read_text(encoding="utf-8")+ for fact in (PKG, "Apache-2.0", "extensions.unity.playerprefsex", "ReflectorNet", "GameDev-MCP-Server", "nuget.org",+ "UnityMcpGuard"):+ assert fact in notices, fact+ row = next(l for l in (ROOT / "LICENSING.md").read_text(encoding="utf-8").splitlines() if "`unity/Packages/`" in l)+ assert "OpenUPM" in row and PKG in row and "Apache-2.0" in row