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(oss): code of conduct with a historical-discussion section, and the content policy

eyalgolanb6365d083133
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
new file mode 100644
index 000000000..2f9ddeb34
--- /dev/null
+++ b/CODE_OF_CONDUCT.md
@@ -0,0 +1,97 @@
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
+
+We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
+
+## Our Standards
+
+Examples of behavior that contributes to a positive environment for our community include:
+
+* Demonstrating empathy and kindness toward other people
+* Being respectful of differing opinions, viewpoints, and experiences
+* Giving and gracefully accepting constructive feedback
+* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
+* Focusing on what is best not just for us as individuals, but for the overall community
+
+Examples of unacceptable behavior include:
+
+* The use of sexualized language or imagery, and sexual attention or advances of any kind
+* Trolling, insulting or derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or email address, without their explicit permission
+* Other conduct which could reasonably be considered inappropriate in a professional setting
+
+## Enforcement Responsibilities
+
+Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
+
+Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
+
+## Scope
+
+This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement privately, through this repository's Security tab: choose "Report a vulnerability" and start the title with "Conduct:" (https://github.com/eyalgolan/statecraft-israel/security/advisories/new). Only the maintainers can read it. All complaints will be reviewed and investigated promptly and fairly.
+
+All community leaders are obligated to respect the privacy and security of the reporter of any incident.
+
+## Enforcement Guidelines
+
+Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
+
+### 1. Correction
+
+**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
+
+**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
+
+### 2. Warning
+
+**Community Impact**: A violation through a single incident or series of actions.
+
+**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
+
+### 3. Temporary Ban
+
+**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
+
+**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
+
+### 4. Permanent Ban
+
+**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
+
+**Consequence**: A permanent ban from any sort of public interaction within the community.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
+
+Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
+
+For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
+
+[homepage]: https://www.contributor-covenant.org
+[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
+[Mozilla CoC]: https://github.com/mozilla/diversity
+[FAQ]: https://www.contributor-covenant.org/faq
+[translations]: https://www.contributor-covenant.org/translations
+
+## Historical content and political discussion
+
+This project depicts the history of Israel, including its wars, with real people and an Israeli perspective (see
+`docs/CONTENT_POLICY.md`). People who take part will disagree about that history. In every project space:
+
+- Discuss sources, not people. Argue with evidence, and link to it.
+- Personal or political attacks on anyone, including on public figures as people, are unacceptable, and so are slurs,
+ dehumanising language, denial or celebration of atrocities, and calls for violence against any group.
+- The game's perspective is a stated design decision. Repeatedly re-opening it, in issues, pull requests or reviews,
+ after the maintainer has pointed to `docs/CONTENT_POLICY.md` is disruptive conduct.
+- Fact disputes follow `docs/CONTENT_POLICY.md` section 3. The maintainer's decision closes a dispute; a new source
+ re-opens it.
+- Moderators may lock threads that have turned into political argument, and will say why.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 6e1438cf0..effd42498 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -52,7 +52,7 @@ Follow [docs/dev-setup.md](docs/dev-setup.md). In short:
- **No invented quotes.** Paraphrase, and never put words in a real person's mouth.
- **Framing.** The project tells the story from the Israeli perspective. Contested narratives are not shown as parallel accounts.
- **Sensitive events.** Events tagged `holocaust`, `terror`, `massacre` or `war-casualties` need the maintainer's sensitivity review before they can ship. A release build refuses to package until that review is done.
-- **Reporting a mistake.** Open an issue with the source that shows the correct fact.
+- **Reporting a mistake.** Use the **Historical accuracy** issue form; it asks for the source that shows the correct fact.
## AI-assisted contributions
@@ -76,4 +76,4 @@ Never commit keys, tokens or `.env` files. Secret scanning and push protection a
## Conduct
-Be respectful. Argue about facts with sources, not with people. Political or personal attacks are not tolerated.
+Be respectful. Argue about facts with sources, not with people. Political or personal attacks are not tolerated. The full [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) applies in every project space, including its section on historical and political discussion. The content rules, and how to dispute a fact, are in [docs/CONTENT_POLICY.md](docs/CONTENT_POLICY.md).
diff --git a/docs/CONTENT_POLICY.md b/docs/CONTENT_POLICY.md
new file mode 100644
index 000000000..5b9d6ac33
--- /dev/null
+++ b/docs/CONTENT_POLICY.md
@@ -0,0 +1,64 @@
+# Historical content policy
+
+Statecraft: Israel puts real people, real places and real wars on screen. This page is the contract for every word,
+number and picture in `content/` and in the game. It binds the maintainer, contributors and AI agents alike. It is
+written from the project's design spec (`docs/superpowers/specs/2026-10-09-statecraft-israel-design.md`, §1 and §5).
+
+## 1. The perspective is Israeli, and it says so
+
+The player leads the Yishuv and the State of Israel. Narration and terminology use **Israeli framing**, and each fact
+takes one value from Israeli official or mainstream sources: the Central Bureau of Statistics, the IDF, the Ministry of
+Foreign Affairs, the State Archives, and mainstream Israeli historiography. Wikipedia (English and Hebrew) is a primary
+cited source for many facts; where it is the source, the entry cites it, and that is why `content/` is CC BY-SA 4.0. Contested ranges and opposing-narrative
+panels are not shown. Arab and Palestinian actors are computer-run actors with their own goals.
+
+This is a design decision by the maintainer. Issues and pull requests that ask to change the perspective will be closed
+with a link to this section. That is not a judgement on the person asking, and it is not up for vote. A fork can make
+a different choice under its own name (see `TRADEMARK.md`).
+
+## 2. What holds regardless of perspective
+
+These rules protect the game and the people in it. They are not a viewpoint:
+
+1. **Every fact is sourced.** Every date, number, name and office in `content/` carries `sources:` (a citation or a
+ URL, plus the date it was checked) and a review `status`. As of M3 every fact is at least `fact-checked`. Events
+ with a sensitive tag must also be `sensitivity-reviewed` before any build leaves the maintainer's machine; the
+ 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.
+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`).
+4. **The Holocaust is an event the player reacts to, never one the player plays.** It is shown without swastikas.
+5. **Real people.** People appear in their public roles and documented acts. Competence and loyalty values are game
+ balance, not judgements of the person, and `content/people.yaml` labels them so. People who are alive are excluded
+ from release builds until a legal review is recorded. Portraits are public-domain or CC0 photographs only; share-alike
+ sources are refused.
+6. **AI-assisted writing** drafts only from a provided source packet and lists its factual claims. A separate verifier
+ checks each claim against the packet, and any mismatch blocks the text. A human reviews before `fact-checked`.
+
+## 3. How to dispute a fact
+
+Facts are open to correction. The framing (section 1) is not.
+
+1. Open an issue with the **Historical accuracy** form. Name the file and the field (for example
+ `content/events/altalena.yaml`, `text`), say what is wrong, and give at least one source the reader can check. A
+ source is a published book or article, an official record, or a reputable reference work. A link to a social-media
+ post is not a source.
+2. The maintainer checks the source against the current one and answers in the issue. When the sources disagree, the
+ game keeps one value, chosen by the rule in section 1, and the issue records why.
+3. A correction lands as a pull request that changes the value **and** its `sources:` entry, with today's date in
+ `checked:`.
+4. The maintainer's decision closes the dispute. Re-opening the same dispute without a new source is off-topic under
+ `CODE_OF_CONDUCT.md`.
+
+## 4. What contributors must not add
+
+- Content without sources, or with a source that does not support the claim.
+- Quotes, speeches or letters that are not sourced verbatim.
+- Mechanics or text that reward or celebrate violence against civilians, from any side.
+- Images of real people that are not public domain or CC0. AI-generated likenesses of real people appear only in
+ concept art (`promo/final/04`, `08`), are marked AI-generated in `ASSETS.yaml`, and are never presented as photographs
+ or used in the game.
+- Hate speech, slurs or dehumanising language about any group, in content, code comments, issues or commits.
diff --git a/scripts/oss/tests/test_policies.py b/scripts/oss/tests/test_policies.py
index 3eae11782..3730d867c 100644
--- a/scripts/oss/tests/test_policies.py
+++ b/scripts/oss/tests/test_policies.py
@@ -62,3 +62,19 @@ def test_historical_accuracy_form_requires_a_source():
cfg = yaml.safe_load(read(".github/ISSUE_TEMPLATE/config.yml"))
assert cfg["blank_issues_enabled"] is False
assert any("security/advisories/new" in c["url"] for c in cfg["contact_links"])
+
+
+def test_content_policy_states_the_owner_rules_and_only_real_mechanisms():
+ text = read("docs/CONTENT_POLICY.md")
+ for s in ("Israeli framing", "Every fact is sourced", "No invented quotes", "How to dispute a fact",
+ "Statecraft.Cli --release-gate", "Historian review is planned for M4", "Wikipedia"):
+ assert s in text, s
+ assert "DRAFT stamp" not in text and "Release builds include only fully reviewed content" not in text
+
+
+def test_code_of_conduct_has_a_private_contact_and_the_history_section():
+ text = read("CODE_OF_CONDUCT.md")
+ assert "[INSERT" not in text and "getnohuman" not in text
+ assert "Conduct:" in text and "security/advisories/new" in text
+ assert "## Historical content and political discussion" in text
+ assert "Contributor Covenant" in text and "version 2.1" in text