= Code of Conduct
:project-name: {Project Name}
:repo-url: {Repository URL – *REMINDER: Provide this for each project*}

== 🤝 Our Pledge

In the interest of fostering an **open, welcoming, and emotionally safe** environment, we pledge to make participation in {project-name} 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, colour, religion
- Sexual identity and orientation
- Neurodiversity, mental health status
- Technical skill level, contribution history

== 🌟 Our Standards

=== Expected Behaviour

- **Be respectful**: Treat all contributors with dignity
- **Be constructive**: Criticism should be helpful, not harmful
- **Be inclusive**: Welcome people of all backgrounds
- **Assume good faith**: Presume positive intent
- **Respect boundaries**: Honour "no" and personal limits
- **Attribute work**: Credit others' contributions
- **Embrace reversibility**: Mistakes are learning opportunities (see link:REVERSIBILITY.md[REVERSIBILITY.md])

=== Unacceptable Behaviour

- **Harassment**: Unwelcome comments, inappropriate attention
- **Discrimination**: Exclusion or hostility based on identity
- **Trolling**: Deliberate inflammatory or off-topic comments
- **Doxxing**: Publishing private information without consent
- **Insults**: Personal attacks, derogatory language
- **Unwelcome sexual attention**: Inappropriate sexual advances or imagery
- **Repeated boundary violations**: Ignoring "no" or requests to stop

== 🛡️ Enforcement

=== Reporting

If you experience or witness unacceptable behaviour:

1. **Confidential report**: {conduct-email}
2. **Anonymous report**: {anonymous-form-link, if available}
3. **Public report** (if comfortable): link:{repo-url}/-/issues/new?issuable_template=code_of_conduct_violation[Issue template]

**Include**:

- **Description**: What happened
- **Context**: Where and when
- **Impact**: How it affected you
- **Evidence**: Screenshots, links (if applicable)
- **Preferences**: How you'd like it resolved

=== Response Timeline

- **24 hours**: Acknowledgement
- **7 days**: Investigation and initial response
- **14 days**: Resolution or escalation

=== Consequences

Violations may result in:

1. **Warning**: Private or public reprimand
2. **Temporary ban**: From repository, chat, events (duration specified)
3. **Permanent ban**: From all project spaces
4. **Legal action**: In cases of threats, doxxing, or illegal behaviour

**All decisions are documented** and can be appealed (see below).

=== Appeals

If you disagree with an enforcement decision:

1. **Email**: {appeals-email}
2. **Include**: Incident details, reason for appeal
3. **Timeline**: 14 days for appeal review

=== Transparency

- **Public log**: Anonymised enforcement actions published quarterly
- **Policy updates**: Changes to this CoC announced publicly

== 👥 Maintainer Responsibilities

Maintainers must:

- **Model behaviour**: Lead by example
- **Enforce fairly**: Apply standards consistently
- **Protect privacy**: Maintain reporter confidentiality
- **Act promptly**: Respond to reports quickly
- **Disclose conflicts**: Recuse if personally involved

== 🌍 Scope

This Code of Conduct applies:

- **Project spaces**: GitLab, chat, mailing lists
- **Events**: Conferences, meetups, workshops
- **Representation**: When representing {project-name} publicly

== 📜 Attribution

This Code of Conduct is adapted from:

- **Contributor Covenant v2.1**: https://www.contributor-covenant.org/version/2/1/code_of_conduct/
- **RSR/CCCP principles**: link:CLAUDE.md[Rhodium Standard]

== 📞 Contact

- **Violations**: {conduct-email}
- **General questions**: link:{repo-url}/-/discussions[Discussions]

---

*"Respect boundaries, attribution, and ethical standards."*

— The Rhodium Standard
