Code of Conduct Template (Contributor Covenant)
Contributor Covenant 3.0 code of conduct, reporting contacts, enforcement procedure and ladder, case log example, adoption checklist
사용법: Use it to adopt Contributor Covenant 3.0 for an open-source or community project. Fill the reporting channel and the conduct team (Appendix A) first, with an alternate contact for reports about moderators. The main pitfall is publishing the code without working contacts, or dropping the CC BY-SA 4.0 attribution and change statement.
미리보기
Code of Conduct: [Community name]
Community code of conduct adapted from the Contributor Covenant, version 3.0 (released 28 July 2025 by the Organization for Ethical Source), which replaces version 2.1. The Covenant text below keeps the official wording and adds bracketed placeholders for your reporting channel and your enforcement policy. The official 3.0 text states that it is licensed under CC BY-SA 4.0, so the attribution section must stay and an adapted code must be shared under the same licence. Appendices A to C are an enforcement guide for the people who handle reports. Replace every
[bracketed]value and every row marked Example. Worked examples use Lumen Atlas, a fictional open-source mapping library. This is a documentation format, not legal advice.
Document control
| Field | Value |
|---|---|
| Document ID | [COC-001] |
| Version | [1.0] |
| Status | [Draft / In review / Approved / Superseded] |
| Owner | [@community-lead] |
| Approvers / reviewers | [@maintainers-team], [@conduct-team] |
| Last updated | YYYY-MM-DD |
| Classification | Public |
| Community spaces covered | [Example: GitHub organisation lumen-atlas, Matrix room #lumen-atlas, forum, annual contributor summit] |
| Basis | Contributor Covenant 3.0 (CC BY-SA 4.0) |
| Enforcement guide | [Appendix B of this file / link] |
| Next review | YYYY-MM-DD (at least yearly, and after any serious incident) |
Approvals
| Role | Name | Decision | Date |
|---|---|---|---|
| Community lead | [@name] | [Approved / Approved with comments] | YYYY-MM-DD |
| Maintainers (per governance) | [@team] | [Decision] | YYYY-MM-DD |
| Conduct team | [@team] | [Decision] | YYYY-MM-DD |
Revision history
| Version | Date | Author | Change |
|---|---|---|---|
| 1.0 (Example) | YYYY-MM-DD | [@community-lead] | Adopted Contributor Covenant 3.0, replacing our 2.1-based code; added reporting channels and enforcement guide |
| [x.y] | YYYY-MM-DD | [@name] | [Change summary] |
Our Pledge
We pledge to make our community welcoming, safe, and equitable for all.
We are committed to fostering an environment that respects and promotes the dignity, rights, and contributions of all individuals, regardless of characteristics including race, ethnicity, caste, color, age, physical characteristics, neurodiversity, disability, sex or gender, gender identity or expression, sexual orientation, language, philosophy or religion, national or social origin, socio-economic position, level of education, or other status. The same privileges of participation are extended to everyone who participates in good faith and in accordance with this Covenant.
Encouraged Behaviors
While acknowledging differences in social norms, we all strive to meet our community's expectations for positive behavior. We also understand that our words and actions may be interpreted differently than we intend based on culture, background, or native language.
With these considerations in mind, we agree to behave mindfully toward each other and act in ways that center our shared values, including:
- Respecting the purpose of our community, our activities, and our ways of gathering.
- Engaging kindly and honestly with others.
- Respecting different viewpoints and experiences.
- Taking responsibility for our actions and contributions.
- Gracefully giving and accepting constructive feedback.
- Committing to repairing harm when it occurs.
- Behaving in other ways that promote and sustain the well-being of our community.
Restricted Behaviors
We agree to restrict the following behaviors in our community. Instances, threats, and promotion of these behaviors are violations of this Code of Conduct.
- Harassment. Violating explicitly expressed boundaries or engaging in unnecessary personal attention after any clear request to stop.
- Character attacks. Making insulting, demeaning, or pejorative comments directed at a community member or group of people.
- Stereotyping or discrimination. Characterizing anyone’s personality or behavior on the basis of immutable identities or traits.
- Sexualization. Behaving in a way that would generally be considered inappropriately intimate in the context or purpose of the community.
- Violating confidentiality. Sharing or acting on someone's personal or private information without their permission.
- Endangerment. Causing, encouraging, or threatening violence or other harm toward any person or group.
- Behaving in other ways that threaten the well-being of our community.
Other Restrictions
- Misleading identity. Impersonating someone else for any reason, or pretending to be someone else to evade enforcement actions.
- Failing to credit sources. Not properly crediting the sources of content you contribute.
- Promotional materials. Sharing marketing or other commercial content in a way that is outside the norms of the community.
- Irresponsible communication. Failing to responsibly present content which includes, links or describes any other restricted behaviors.
Reporting an Issue
Tensions can occur between community members even when they are trying their best to collaborate. Not every conflict represents a code of conduct violation, and this Code of Conduct reinforces encouraged behaviors and norms that can help avoid conflicts and minimize harm.
When an incident does occur, it is important to report it promptly. To report a possible violation, [describe your means of reporting here, for example: email the conduct team at conduct@example.org, or contact any moderator listed in Appendix A directly. If your report concerns a conduct team member, write to the alternate contact in Appendix A.]
Community Moderators take reports of violations seriously and will make every effort to respond in a timely manner. They will investigate all reports of code of conduct violations, reviewing messages, logs, and recordings, or interviewing witnesses and other participants. Community Moderators will keep investigation and enforcement actions as transparent as possible while prioritizing safety and confidentiality. In order to honor these values, enforcement actions are carried out in private with the involved parties, but communicating to the whole community may be part of a mutually agreed upon resolution.
Addressing and Repairing Harm
[NOTE: The remedies and repairs outlined below are suggestions based on best practices in code of conduct enforcement. If your community has its own established enforcement process, be sure to edit this section to describe your own policies.]
If an investigation by the Community Moderators finds that this Code of Conduct has been violated, the following enforcement ladder may be used to determine how best to repair harm, based on the incident's impact on the individuals involved and the community as a whole. Depending on the severity of a violation, lower rungs on the ladder may be skipped.
- Warning
- Event: A violation involving a single incident or series of incidents.
- Consequence: A private, written warning from the Community Moderators.
- Repair: Examples of repair include a private written apology, acknowledgement of responsibility, and seeking clarification on expectations.
- Temporarily Limited Activities
- Event: A repeated incidence of a violation that previously resulted in a warning, or the first incidence of a more serious violation.
- Consequence: A private, written warning with a time-limited cooldown period designed to underscore the seriousness of the situation and give the community members involved time to process the incident. The cooldown period may be limited to particular communication channels or interactions with particular community members.
- Repair: Examples of repair may include making an apology, using the cooldown period to reflect on actions and impact, and being thoughtful about re-entering community spaces after the period is over.
- Temporary Suspension
- Event: A pattern of repeated violation which the Community Moderators have tried to address with warnings, or a single serious violation.
- Consequence: A private written warning with conditions for return from suspension. In general, temporary suspensions give the person being suspended time to reflect upon their behavior and possible corrective actions.
- Repair: Examples of repair include respecting the spirit of the suspension, meeting the specified conditions for return, and being thoughtful about how to reintegrate with the community when the suspension is lifted.
- Permanent Ban
- Event: A pattern of repeated code of conduct violations that other steps on the ladder have failed to resolve, or a violation so serious that the Community Moderators determine there is no way to keep the community safe with this person as a member.
- Consequence: Access to all community spaces, tools, and communication channels is removed. In general, permanent bans should be rarely used, should have strong reasoning behind them, and should only be resorted to if working through other remedies has failed to change the behavior.
- Repair: There is no possible repair in cases of this severity.
This enforcement ladder is intended as a guideline. It does not limit the ability of Community Managers to use their discretion and judgment, in keeping with the best interests of our community.
Scope
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public or other spaces. Examples of representing our community include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
Attribution
This Code of Conduct is adapted from the Contributor Covenant, version 3.0, permanently available at https://www.contributor-covenant.org/version/3/0/.
Contributor Covenant is stewarded by the Organization for Ethical Source and licensed under CC BY-SA 4.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0/
For answers to common questions about Contributor Covenant, see the FAQ at https://www.contributor-covenant.org/faq. Translations are provided at https://www.contributor-covenant.org/translations. Additional enforcement and community guideline resources can be found at https://www.contributor-covenant.org/resources. The enforcement ladder was inspired by the work of Mozilla’s code of conduct team.
Changes made by [Community name]: the reporting placeholder was filled in, Appendices A to C (reporting contacts, enforcement procedure, adoption checklist) were added, and [list any other wording changes, or "no other changes"]. This adapted code is shared under CC BY-SA 4.0.
Appendix A: Reporting channels and contacts
| Channel | Address or link | Who reads it | Expected first reply | Use when |
|---|---|---|---|---|
| Conduct team mailbox (Example) | conduct@example.org | The three conduct team members in A.2 | Within 3 working days | Default channel for any report |
| Private report form (Example) | [https://example.org/conduct-report] | Conduct team; anonymous submission allowed | Within 3 working days | Reporter prefers not to use email or wants to stay anonymous |
| Alternate contact (Example) | [alternate@example.org] | [@steering-chair] only | Within 3 working days | The report concerns a conduct team member |
| At events (Example) | Staff wearing [badge colour], phone [number shown at the venue] | On-site conduct volunteers | Immediately during event hours | Incidents at in-person events |
| Platform tools | [Matrix moderator ping, GitHub "Report content"] | Platform moderators, then conduct team | Same day where possible | Spam or abuse that needs content removed quickly |
A.2 Conduct team
| Name | Handle | Role | Term ends | Recusal contact |
|---|---|---|---|---|
| [Name] (Example: Ana Ferreira) | [@handle] | Lead moderator | YYYY-MM-DD | [@alternate] |
| [Name] (Example: Kenji Mori) | [@handle] | Moderator | YYYY-MM-DD | [@alternate] |
| [Name] (Example: Priya Nair) | [@handle] | Moderator | YYYY-MM-DD | [@alternate] |
What a report should include, where the reporter can give it: what happened and where, when it happened, who was involved, links or screenshots, whether it is ongoing, and whether the reporter wants to be contacted. A report is still accepted if some of this is missing.
Appendix B: Enforcement procedure
B.1 Process flow
The flow below shows the path of one report from receipt to closure. The steps are detailed in B.2.
B.2 Steps and response times
| Step | What happens | Target time (Example) | Owner |
|---|---|---|---|
| ENF-01 | Acknowledge the report and confirm who will handle it | 3 working days | Lead moderator |
| ENF-02 | Check conflicts of interest; anyone involved, close to a party or named in the report steps out | Before any discussion | Every moderator |
| ENF-03 | Decide whether an interim measure is needed to keep people safe while the case is open | Same day if a risk is ongoing | Any two moderators |
| ENF-04 | Gather evidence: messages, logs, recordings, statements from witnesses and from the person reported | 10 working days | Assigned moderator |
| ENF-05 | Decide: no violation, or a rung of the ladder with repair steps; record the reasoning | Majority of moderators not recused | Conduct team |
| ENF-06 | Tell the person reported in private, in writing, with the reason, the consequence and the conditions for return where relevant | 2 working days after the decision | Lead moderator |
| ENF-07 | Tell the reporter the outcome to the extent privacy allows | Same day as ENF-06 | Lead moderator |
| ENF-08 | Handle an appeal received within [14] days, by people not involved in the decision | 10 working days | [Steering committee] |
B.3 Principles for decisions
- Treat the reporter and the person reported fairly: hear both before deciding, except where an interim measure is needed for safety.
- Keep the consequence proportional to the impact, as the Covenant ladder describes, and prefer repair where it is safe.
- Keep reports confidential. Share names only with the people who need them to handle the case, and never publish a reporter's identity without consent.
- Do not let a single moderator decide alone on a suspension or ban.
- Record the reasoning in a way another moderator could follow a year later.
B.4 Worked example
| Case | Report | Finding | Rung and repair |
|---|---|---|---|
| CASE-2026-004 (Example) | A contributor repeatedly mocked a newcomer's English in pull request reviews after being asked to stop | Restricted behavior 2 (character attacks), second incident after an earlier warning | Rung 2: 30-day cooldown from reviewing the newcomer's pull requests, private apology offered, review comments edited |
| CASE-2026-005 (Example) | Two maintainers argued heatedly about an API design in an issue | Disagreement on technical merit, no restricted behavior | No violation; moderators suggested a design call and closed the case |
B.5 Records
Keep a case log with the case ID, dates, the people handling it, the evidence reviewed, the decision and its reasoning, and the outcome of any appeal. Store it where only the conduct team can read it. Set a retention period ([Example: three years after the case closes, longer for permanent bans]) and delete records after it, in line with the privacy rules that apply to your community or host organisation.
Appendix C: Adoption checklist
| ID | Check | Done |
|---|---|---|
| CHK-01 | The reporting placeholder is replaced with working channels and they were tested this month | [ ] |
| CHK-02 | At least two people can receive reports, plus an alternate for reports about the conduct team | [ ] |
| CHK-03 | The enforcement note in "Addressing and Repairing Harm" either stays or links to your own policy | [ ] |
| CHK-04 | The Attribution section, the licence link and the change statement are present and accurate | [ ] |
| CHK-05 | The code is linked from the README, the contributing guide and event pages | [ ] |
| CHK-06 | Moderators have read Appendix B and agreed the response times | [ ] |
| CHK-07 | Translations, if any, come from contributor-covenant.org/translations or are marked as your own | [ ] |
| CHK-08 | Next review date is set in Document control | [ ] |
Standard and licence note
Based on the Contributor Covenant, version 3.0, stewarded by the Organization for Ethical Source and released on 28 July 2025 (contributor-covenant.org/version/3/0/). The sections Our Pledge to Attribution reproduce the official 3.0 text, with the reporting placeholder rewritten as a bracketed example; the guidance comments, Document control and Appendices A to C are original text written for this collection. Contributor Covenant 3.0 is licensed under the Creative Commons Attribution-ShareAlike 4.0 International licence (CC BY-SA 4.0): you must give credit, link the licence, indicate changes, and share adapted versions under the same licence. Check contributor-covenant.org for the current version and translations before you adopt. This is not legal advice. Template licence: CC BY-SA 4.0 (because this file adapts the Covenant, the MIT licence used for other templates in this collection does not apply to it).
관련 템플릿
Code Ownership Policy Template (CODEOWNERS)
Code ownership policy: ownership models, RACI, MUST/SHOULD rules, CODEOWNERS standard and example, review SLAs, escalation, orphaned code, transfers, metrics
소프트웨어 및 엔지니어링Architecture Decision Record (ADR) Template
Lightweight Nygard-style ADR: status, context, decision, consequences, alternatives, related decisions, lifecycle and log
소프트웨어 및 엔지니어링AGENTS.md Template for AI Coding Agents
Repository instructions for AI coding agents: setup, build and test commands, conventions, architecture map, PR and security rules