Skip to content

Commit 32be6de

Browse files
committed
Add GOVERNANCE.md and CODE_OF_CONDUCT.md to foster a healthy community
1 parent bcafc5b commit 32be6de

File tree

2 files changed

+98
-0
lines changed

2 files changed

+98
-0
lines changed

CODE_OF_CONDUCT.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
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 orientation.
6+
7+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8+
9+
## Our Standards
10+
11+
Examples of behavior that contributes to a positive environment for our community include:
12+
13+
* Demonstrating empathy and kindness toward other people
14+
* Being respectful of differing opinions, viewpoints, and experiences
15+
* Giving and gracefully accepting constructive feedback
16+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17+
* Focusing on what is best not just for us as individuals, but for the overall community
18+
19+
Examples of unacceptable behavior include:
20+
21+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
22+
* Trolling, insulting or derogatory comments, and personal or political attacks
23+
* Public or private harassment
24+
* Publishing others' private information, such as a physical or email address, without their explicit permission
25+
* Other conduct which could reasonably be considered inappropriate in a professional setting
26+
27+
## Enforcement Responsibilities
28+
29+
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.
30+
31+
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.
32+
33+
## Scope
34+
35+
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.
36+
37+
## Enforcement
38+
39+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [INSERT CONTACT METHOD, e.g., email or create a private issue].
40+
All complaints will be reviewed and investigated promptly and fairly.
41+
42+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
43+
44+
## Attribution
45+
46+
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].
47+
48+
[homepage]: https://www.contributor-covenant.org
49+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html

GOVERNANCE.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Project Governance
2+
3+
The **pcg-cpp** project (under the **Total-Random** organization) is a community-driven open-source project. Our goal is to maintain and modernize the PCG random number generator library for C++, ensuring it remains accessible, stable, and performant for everyone.
4+
5+
We believe that the best way to ensure the longevity of this project is to empower the community to take ownership.
6+
7+
## 1. Principles
8+
9+
* **Openness:** All decision-making happens in public (GitHub Issues/Discussions).
10+
* **Meritocracy:** Influence is earned through active contribution and commitment to the project.
11+
* **Consensus:** We strive for consensus in all technical and governance decisions.
12+
13+
## 2. Roles
14+
15+
### Contributors
16+
Anyone who contributes to the project is a Contributor. Contributions include:
17+
* Submitting Pull Requests (code, documentation, tests).
18+
* Reporting issues and reproduction steps.
19+
* Helping others in discussions.
20+
21+
### Maintainers
22+
Maintainers are Contributors who have demonstrated a long-term commitment to the project's success. They have write access to the repository.
23+
24+
**Responsibilities:**
25+
* Reviewing and merging Pull Requests.
26+
* Triaging and managing Issues.
27+
* Ensuring code quality, CI stability, and release management.
28+
* Mentoring new contributors.
29+
30+
### Admins (Total-Random)
31+
Currently, the **Total-Random** organization holds administrative access. However, our intent is to facilitate the technical leadership of the Maintainers. Admins will intervene only in critical situations (e.g., security, code of conduct violations).
32+
33+
## 3. Decision Making
34+
35+
Process for making changes:
36+
1. **Discussion:** Open an Issue or Pull Request to propose a change.
37+
2. **Review:** At least one Maintainer must review and approve the change.
38+
3. **Consensus:** For major changes (API breaking, governance), we seek lazy consensus (wait 72 hours for objections).
39+
40+
## 4. Becoming a Maintainer
41+
42+
We actively welcome new Maintainers. To become a Maintainer:
43+
1. Demonstrate consistent contributions (PRs, reviews, helpful comments).
44+
2. Express interest in helping maintain the project.
45+
3. Existing Maintainers will vote/agree.
46+
47+
## 5. Code of Conduct
48+
49+
All participants must adhere to our [Code of Conduct](CODE_OF_CONDUCT.md) to ensure a safe and welcoming environment.

0 commit comments

Comments
 (0)