xref: /llvm-project/llvm/docs/ResponseGuide.rst (revision 0ab44fd2464354dfdca0e7afacbb21a84bca46d9)
16b19efe2SKristof Beyls..
26b19efe2SKristof Beyls   This work is licensed under a Creative Commons Attribution 3.0 Unported License.
36b19efe2SKristof Beyls   SPDX-License-Identifier: CC-BY-3.0
46b19efe2SKristof Beyls
5eb2c30b8STanya Lattner===============
6eb2c30b8STanya LattnerResponse Guide
7eb2c30b8STanya Lattner===============
8eb2c30b8STanya Lattner
9eb2c30b8STanya LattnerThis is a :doc:`Code of Conduct<CodeOfConduct>` (CoC) incident response guide
10eb2c30b8STanya Lattnerused by the Code of Conduct Committee and LLVM event organizers.
11eb2c30b8STanya Lattner
12eb2c30b8STanya LattnerCode of Conduct Committee
13eb2c30b8STanya Lattner=========================
14eb2c30b8STanya Lattner
15eb2c30b8STanya LattnerAll responses to Code of Conduct reports will be managed by a Code of Conduct
16eb2c30b8STanya LattnerCommittee.
17eb2c30b8STanya Lattner
18eb2c30b8STanya LattnerAdditional Code of Conduct Response Teams
19eb2c30b8STanya Lattner=========================================
20eb2c30b8STanya Lattner
21eb2c30b8STanya LattnerIn-person events will have an additional response team to immediately respond
22eb2c30b8STanya Lattnerto an incident. For example:
23eb2c30b8STanya Lattner
246c1a0d52STanya Lattner* Each LLVM Developers' Meeting has a Code of Conduct response team.
25eb2c30b8STanya Lattner* For LLVM meetups, the local organizers will be the first point of contact.
26eb2c30b8STanya Lattner* Any other event funded by the LLVM Foundation or listed on the LLVM website,
27eb2c30b8STanya Lattner  will have a code of conduct response team or point of contact for CoC
28eb2c30b8STanya Lattner  reports.
29eb2c30b8STanya Lattner
30eb2c30b8STanya LattnerThese teams should determine if an :ref:`immediate response<Immediate Response
31eb2c30b8STanya LattnerChecklist>` is needed before sending the report to the Code of Conduct
32eb2c30b8STanya Lattnercommittee.
33eb2c30b8STanya Lattner
34eb2c30b8STanya Lattner.. _Receiving a report:
35eb2c30b8STanya Lattner
36eb2c30b8STanya LattnerReceiving a Report
37eb2c30b8STanya Lattner==================
38eb2c30b8STanya Lattner
39eb2c30b8STanya LattnerReports are typically received by email (conduct@llvm.org) or in person from
40eb2c30b8STanya Lattnerthe reporter or event CoC response team.
41eb2c30b8STanya Lattner
42eb2c30b8STanya LattnerWhen receiving a report by email, the CoC Committee should acknowledge receipt
43eb2c30b8STanya Lattnerwithin 24 hours.  The acknowledgement should be understanding and compassionate
44eb2c30b8STanya Lattnerbut no commitment should be made on whether this is a violation or which action
45eb2c30b8STanya Lattnerwill be taken. Specific guidance is in the checklist below.
46eb2c30b8STanya Lattner
47eb2c30b8STanya LattnerFor in-person events that have a violation reported, the report should be sent
48eb2c30b8STanya Lattnerto the Code of Conduct committee within 24 hours by the on-site CoC response
49eb2c30b8STanya Lattnerteam.
50eb2c30b8STanya Lattner
51eb2c30b8STanya Lattner
52eb2c30b8STanya Lattner.. _Immediate Response Checklist:
53eb2c30b8STanya Lattner
54eb2c30b8STanya LattnerImmediate Response Checklist
55eb2c30b8STanya Lattner============================
56eb2c30b8STanya Lattner
57eb2c30b8STanya LattnerThe CoC committee generally works, decides, and communicates together. If the
58eb2c30b8STanya Lattnerreport indicates that an immediate response is required and other committee
59eb2c30b8STanya Lattnermembers are not available, any committee member may take the immediate action
60eb2c30b8STanya Lattnerthey think is necessary. In-person Code of Conduct response teams should use
61eb2c30b8STanya Lattnerthis checklist to determine if an immediate response is needed.
62eb2c30b8STanya Lattner
63eb2c30b8STanya Lattner* If the incident involves physical danger, contact the appropriate law
64eb2c30b8STanya Lattner  enforcement or event security immediately. Ensure the reporter feels safe and
65eb2c30b8STanya Lattner  stay with them if possible until help arrives.
66eb2c30b8STanya Lattner* If the act is ongoing and involves harassment or threats against someone in
67eb2c30b8STanya Lattner  any space (online or physical), any appropriate response (e.g., ban, physical
68eb2c30b8STanya Lattner  removal, or moderation) may be used to immediately stop it.
69eb2c30b8STanya Lattner* For events that include talks, organizers should end talks early if the
70eb2c30b8STanya Lattner  violations include harassment or violent threats. There may be talks where
71eb2c30b8STanya Lattner  other types of code of conduct violations occur and organizers should do
72eb2c30b8STanya Lattner  their best to determine if a talk should be ended early or not.
73eb2c30b8STanya Lattner
74eb2c30b8STanya LattnerWhen undertaking an immediate response, document the action and notify the
75eb2c30b8STanya Lattnercommittee within 24 hours.
76eb2c30b8STanya Lattner
77eb2c30b8STanya Lattner
78eb2c30b8STanya LattnerResponse Procedure
79eb2c30b8STanya Lattner==================
80eb2c30b8STanya Lattner
81eb2c30b8STanya LattnerThe following is a summary of the steps the committee takes when responding to
82eb2c30b8STanya Lattnera reported incident.
83eb2c30b8STanya Lattner
84eb2c30b8STanya Lattner1. Determine if there is a need for an :ref:`immediate response<Immediate
85eb2c30b8STanya Lattner   Response Checklist>`.
86eb2c30b8STanya Lattner
87eb2c30b8STanya Lattner2. :ref:`Acknowledge the report<Receiving a report>` within 24 hours.
88eb2c30b8STanya Lattner
89eb2c30b8STanya Lattner3. :ref:`Discuss the incident report<Incident Response Assessment>`, gather
90eb2c30b8STanya Lattner   more information, and determine a :ref:`resolution<Resolutions>`.
91eb2c30b8STanya Lattner
92eb2c30b8STanya Lattner4. During this process, the :ref:`reporter will be informed of the
93eb2c30b8STanya Lattner   resolution<Following Up With the Reportee>` and feedback is requested. This
94eb2c30b8STanya Lattner   feedback may or may not be used to re-evaluate the resolution.
95eb2c30b8STanya Lattner
96eb2c30b8STanya Lattner5. Inform the reportee of the resolution. The reportee is provided options to
97eb2c30b8STanya Lattner   :ref:`appeal<Appeal Process>`.
98eb2c30b8STanya Lattner
99eb2c30b8STanya Lattner6. The :ref:`resolution<Resolutions>` is implemented.
100eb2c30b8STanya Lattner
101eb2c30b8STanya Lattner7. All reports, data, notes, and resolutions are logged in a private location
102eb2c30b8STanya Lattner   (e.g., Google Drive or other database).
103eb2c30b8STanya Lattner
104eb2c30b8STanya LattnerThe committee will never make public statements about a resolution and will
105eb2c30b8STanya Lattneronly publish :ref:`transparency reports<Transparency Reports>`. If a public
106eb2c30b8STanya Lattnerstatement is necessary and requested by the committee, it will be given by the
107eb2c30b8STanya LattnerLLVM Foundation Board of Directors.
108eb2c30b8STanya Lattner
109eb2c30b8STanya LattnerReport Acknowledgement
110eb2c30b8STanya Lattner======================
111eb2c30b8STanya Lattner
112eb2c30b8STanya LattnerWhen a report is received, the committee will reply to the reporter to confirm
113eb2c30b8STanya Lattnerreceipt within 24 hours of the incident being reported.
114eb2c30b8STanya Lattner
115eb2c30b8STanya LattnerThis acknowledgement will contain:
116eb2c30b8STanya Lattner
117eb2c30b8STanya Lattner* Acknowledgement of the incident report
118eb2c30b8STanya Lattner* Next steps of the committee for responding to the incident
119eb2c30b8STanya Lattner* Reminder of confidentiality policy regarding the report and parties involved
120eb2c30b8STanya Lattner
121eb2c30b8STanya LattnerAll incident reports should be assessed if they require immediate response and
122eb2c30b8STanya Lattneracted on accordingly.
123eb2c30b8STanya Lattner
124eb2c30b8STanya Lattner.. _Incident Response Assessment:
125eb2c30b8STanya Lattner
126eb2c30b8STanya LattnerIncident Response Assessment
127eb2c30b8STanya Lattner============================
128eb2c30b8STanya Lattner
129eb2c30b8STanya LattnerThe committee will assess the incident and determine an appropriate response.
130eb2c30b8STanya LattnerThe assessment will be documented and retained in records. Here are some
131eb2c30b8STanya Lattnerguidelines for the process:
132eb2c30b8STanya Lattner
133eb2c30b8STanya Lattner* Review report documentation to determine the content and context of the
134eb2c30b8STanya Lattner  incident.
135eb2c30b8STanya Lattner
136eb2c30b8STanya Lattner  * Request additional information if needed from the reporter.
137eb2c30b8STanya Lattner
138eb2c30b8STanya Lattner* Determine if it occurred within the scope of the CoC.
139eb2c30b8STanya Lattner* Determine if it violated the CoC and specifically which part.
140eb2c30b8STanya Lattner* Consult documentation of past incidents for patterns of behavior (if
141eb2c30b8STanya Lattner  available and applicable).
142eb2c30b8STanya Lattner* Follow up with the reportee to get their view or any other additional
143eb2c30b8STanya Lattner  information.
144eb2c30b8STanya Lattner* Determine appropriate resolutions to the incident when all information has
145eb2c30b8STanya Lattner  been gathered.
146eb2c30b8STanya Lattner* Notify the reporter of the resolution and request feedback. This may or may
147eb2c30b8STanya Lattner  not be used to reevaluate the resolution.
148eb2c30b8STanya Lattner
149eb2c30b8STanya LattnerThe committee will aim to have a resolution agreed upon within two weeks of
150eb2c30b8STanya Lattnerreceipt of the incident report. In the event that a resolution cannot be
151eb2c30b8STanya Lattnerdetermined within that time, the CoC committee will respond to the reporter(s)
152eb2c30b8STanya Lattnerwith an updated and projected timeline for resolution.
153eb2c30b8STanya Lattner
154eb2c30b8STanya Lattner.. _Following Up With the Reportee:
155eb2c30b8STanya Lattner
156eb2c30b8STanya LattnerFollowing Up With the Reportee
157eb2c30b8STanya Lattner==============================
158eb2c30b8STanya Lattner
159eb2c30b8STanya LattnerWhen following up with the reportee, the committee will:
160eb2c30b8STanya Lattner
161eb2c30b8STanya Lattner* Explain that an incident was reported that involves the reportee.
162eb2c30b8STanya Lattner* In this explanation, the focus will be on the impact of their behavior, not
163eb2c30b8STanya Lattner  their intent.
164eb2c30b8STanya Lattner* Reiterate the Code of Conduct and that their behavior may be deemed
165eb2c30b8STanya Lattner  inappropriate.
166eb2c30b8STanya Lattner* Give them the opportunity to state their view of the incident.
167eb2c30b8STanya Lattner* Explain the possible resolutions that may be enforced should the CoC
168eb2c30b8STanya Lattner  committee determine there is a breach.
169eb2c30b8STanya Lattner
170eb2c30b8STanya LattnerThe reportee will be given a week to respond with the option to request
171eb2c30b8STanya Lattneradditional time if needed and subject to approval of the CoC Committee.
172eb2c30b8STanya Lattner
173eb2c30b8STanya Lattner.. _Resolutions:
174eb2c30b8STanya Lattner
175eb2c30b8STanya LattnerResolutions
176eb2c30b8STanya Lattner===========
177eb2c30b8STanya Lattner
178eb2c30b8STanya LattnerThe committee should agree unanimously on a resolution. In the event that the
179eb2c30b8STanya Lattnercommittee cannot reach a unanimous resolution, the LLVM Foundation Board of
180eb2c30b8STanya LattnerDirectors will help resolve the situation and determine if the resolution can
181eb2c30b8STanya Lattnerproceed without a unanimous vote.
182eb2c30b8STanya Lattner
183eb2c30b8STanya LattnerWhen deciding on a resolution, the goal is to address the report in an
184eb2c30b8STanya Lattnerappropriate way, while also looking to prevent or reduce the risk of continuing
185eb2c30b8STanya Lattnerharm in the future. Any action deemed necessary by the committee will be
186eb2c30b8STanya Lattnertaken, but below is a list of possible resolutions:
187eb2c30b8STanya Lattner
188eb2c30b8STanya Lattner* Taking no further action as the incident was determined not to be a
189eb2c30b8STanya Lattner  violation.
190eb2c30b8STanya Lattner* A private verbal warning and/or reprimand from the committee to the
191eb2c30b8STanya Lattner  individual(s) involved and request to stop this behavior. This conversation
192*0ab44fd2SAaron Ballman  may happen in person, email, by phone, video chat, or Discord.
193eb2c30b8STanya Lattner* Request that the reportee avoid any interaction with, and physical proximity
194eb2c30b8STanya Lattner  to, another person for the remainder of the event.
195eb2c30b8STanya Lattner* Refusal of alcoholic beverage purchases by the reportee at LLVM events.
196eb2c30b8STanya Lattner* Ending a talk/tutorial/etc at an LLVM event early. See immediate response
197eb2c30b8STanya Lattner  checklist for further clarification.
198eb2c30b8STanya Lattner* Not publishing the video or slides of a talk.
199eb2c30b8STanya Lattner* Not allowing a speaker to give (further) talks at LLVM events for a specified
200eb2c30b8STanya Lattner  amount of time or ever.
201eb2c30b8STanya Lattner* Requiring that the reportee immediately leave an event and not return.
202eb2c30b8STanya Lattner* Immediately ending any volunteer responsibilities and privileges the reportee
203eb2c30b8STanya Lattner  holds.
204eb2c30b8STanya Lattner* An imposed suspension (e.g., asking someone to "take a week off" from mailing
205*0ab44fd2SAaron Ballman  lists, bug tracker, Discord, repositories, or other communication forms).
206eb2c30b8STanya Lattner* A permanent or temporary ban from some or all LLVM Project spaces (online or
207eb2c30b8STanya Lattner  in person).
208eb2c30b8STanya Lattner
209eb2c30b8STanya LattnerOnce a resolution is agreed upon, but before it is enacted, the committee will
210eb2c30b8STanya Lattnercontact the reporter and any other affected parties to explain the proposed
211eb2c30b8STanya Lattnerresolution. They will ask if this resolution is acceptable and must note
212eb2c30b8STanya Lattnerfeedback for the record. However, the committee is not required to act on this
213eb2c30b8STanya Lattnerfeedback.
214eb2c30b8STanya Lattner
215eb2c30b8STanya Lattner.. _Appeal Process:
216eb2c30b8STanya Lattner
217eb2c30b8STanya LattnerAppeal Process
218eb2c30b8STanya Lattner===============
219eb2c30b8STanya Lattner
220eb2c30b8STanya LattnerAny individual(s) determined to have violated the CoC have the right to appeal
221eb2c30b8STanya Lattnera decision. An appeal can be made directly to the committee by sending an email
222eb2c30b8STanya Lattnerto conduct@llvm.org with subject line Code of Conduct Incident Appeal.
223eb2c30b8STanya Lattner
224eb2c30b8STanya LattnerThe email should include documentation related to the incident to support the
225eb2c30b8STanya Lattnerappeal. The said documentation may include, but does not have to be limited to:
226eb2c30b8STanya Lattner
227eb2c30b8STanya Lattner* Information from the reportee justifying reasoning for the appeal.
228eb2c30b8STanya Lattner* Statements from other individuals involved in the incident to support the
229eb2c30b8STanya Lattner  appeal.
230eb2c30b8STanya Lattner
231eb2c30b8STanya LattnerAppeals can be requested up to 30 days after a resolution has been communicated
232eb2c30b8STanya Lattnerto the individual(s). The committee will aim to evaluate appeals within two weeks of receipt. In the event that appeal can not be evaluated within that time, the CoC committee will respond with an updated and projected timeline.
233eb2c30b8STanya Lattner
234eb2c30b8STanya Lattner
235eb2c30b8STanya LattnerConflicts of Interest
236eb2c30b8STanya Lattner=====================
237eb2c30b8STanya Lattner
238eb2c30b8STanya LattnerCommittee members should declare any conflicts of interest as soon as possible
239eb2c30b8STanya Lattnerand before any official committee meetings. This can mean being friends with
240eb2c30b8STanya Lattnerone of the involved parties, or anything else that may make it harder to remain
241eb2c30b8STanya Lattnerneutral.
242eb2c30b8STanya Lattner
243eb2c30b8STanya LattnerA conflict of interest does not inherently mean the committee member can no
244eb2c30b8STanya Lattnerlonger participate in the process, as that would make it very hard for the team
245eb2c30b8STanya Lattnerto act on reports involving well-known people in the community. However, if a
246eb2c30b8STanya Lattnerreport concerns a team member or someone they work directly with, they probably
247eb2c30b8STanya Lattnershould not take part in the process. The team will decide together on where to
248eb2c30b8STanya Lattnerdraw this line in individual cases. Where possible, any conversations with
249eb2c30b8STanya Lattneroffenders should not be done by people who know them, as it can be very
250eb2c30b8STanya Lattnerunpleasant for everyone involved.
251eb2c30b8STanya Lattner
252eb2c30b8STanya LattnerIf a report is received concerning a committee member, that member must not be
253eb2c30b8STanya Lattnerinvolved in the response process. The rest of the committee will meet and
254eb2c30b8STanya Lattnerdecide on the report without the reported committee member being present, and
255eb2c30b8STanya Lattnerwill not share more information than they would have with a non-member. If a
256eb2c30b8STanya Lattnermember of the committee is found to have violated the CoC, they may no longer
257eb2c30b8STanya Lattnerbe able to keep serving on the committee.
258eb2c30b8STanya Lattner
259eb2c30b8STanya LattnerConfidentiality
260eb2c30b8STanya Lattner===============
261eb2c30b8STanya Lattner
262eb2c30b8STanya LattnerAll reports will be kept confidential with details shared only with the Code of
263eb2c30b8STanya LattnerConduct committee members. However, the Code of Conduct Committee will always
264eb2c30b8STanya Lattnercomply with law enforcement when directed. In the case that a CoC committee
265eb2c30b8STanya Lattnermember is involved in a report, the member will be asked to recuse themselves
266eb2c30b8STanya Lattnerfrom ongoing conversations, and they will not have access to reports after the
267eb2c30b8STanya Lattnerenforcement decision has been made.
268eb2c30b8STanya Lattner
269eb2c30b8STanya LattnerIn the event of a temporary suspension or ban, the appropriate people must be
270eb2c30b8STanya Lattnernotified of the ban in order to restrict access to infrastructure or events.
2716c1a0d52STanya LattnerThese individuals will only be notified of the person's name and the
272eb2c30b8STanya Lattnerrestrictions imposed. They will be under a confidentiality clause and not
273eb2c30b8STanya Lattnerallowed to respond to questions regarding the ban and should direct all
274eb2c30b8STanya Lattnerquestions to the CoC committee.
275eb2c30b8STanya Lattner
276eb2c30b8STanya Lattner.. _Transparency Reports:
277eb2c30b8STanya Lattner
278eb2c30b8STanya LattnerTransparency Reports
279eb2c30b8STanya Lattner====================
280eb2c30b8STanya Lattner
281eb2c30b8STanya LattnerLack of transparency in the outcomes of our Code of Conduct incidents leaves
282eb2c30b8STanya Lattnerour community without an understanding of how or if the organizers worked to
283eb2c30b8STanya Lattnerresolve incidents. The CoC committee should aim to publish transparency
284eb2c30b8STanya Lattnerreports, if reports are received, after major events (such as the LLVM
2856c1a0d52STanya LattnerDevelopers' meetings) and on the following dates: Jan 15, April 15, July 15,
286eb2c30b8STanya LattnerOct 15.
287eb2c30b8STanya Lattner
288eb2c30b8STanya LattnerA transparency report consists of 2 parts:
289eb2c30b8STanya Lattner
290eb2c30b8STanya Lattner* An overview of the reports received, and resolutions.
291eb2c30b8STanya Lattner* A more detailed summary of each reported incident and the resolution while
292eb2c30b8STanya Lattner  maintaining confidentiality.
293eb2c30b8STanya Lattner
294eb2c30b8STanya LattnerThese reports will be published on the LLVM website.
295eb2c30b8STanya Lattner
2966b19efe2SKristof BeylsThanks!
2976b19efe2SKristof Beyls=======
2986b19efe2SKristof Beyls
299eb2c30b8STanya Lattner
300eb2c30b8STanya LattnerThis guide was created and inspired by the following: the `Django Project`_,
301eb2c30b8STanya Lattner`Carpentries Response Guide`_, and the `Write The Docs Response Guide`_.
302eb2c30b8STanya Lattner
3036b19efe2SKristof BeylsLicense
3046b19efe2SKristof Beyls=======
3056b19efe2SKristof Beyls
3066b19efe2SKristof BeylsAll content on this page is licensed under a `Creative Commons Attribution 3.0
3076b19efe2SKristof BeylsUnported License`_.
3086b19efe2SKristof Beyls
3096b19efe2SKristof Beyls
310eb2c30b8STanya Lattner.. _Django Project: https://www.djangoproject.com/conduct/
311eb2c30b8STanya Lattner.. _Carpentries Response Guide: https://docs.carpentries.org/topic_folders/policies/enforcement-guidelines.html
312eb2c30b8STanya Lattner.. _Write The Docs Response Guide: https://www.writethedocs.org/code-of-conduct/#guidelines-for-reporting-incidents
3136b19efe2SKristof Beyls.. _Creative Commons Attribution 3.0 Unported License: http://creativecommons.org/licenses/by/3.0/
314eb2c30b8STanya Lattner
315