xref: /aosp_15_r20/external/llvm/docs/ReportingGuide.rst (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker===============
2*9880d681SAndroid Build Coastguard WorkerReporting Guide
3*9880d681SAndroid Build Coastguard Worker===============
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker.. note::
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker   This document is currently a **DRAFT** document while it is being discussed
8*9880d681SAndroid Build Coastguard Worker   by the community.
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard WorkerIf you believe someone is violating the :doc:`code of conduct <CodeOfConduct>`
11*9880d681SAndroid Build Coastguard Workeryou can always report it to the LLVM Foundation Code of Conduct Advisory
12*9880d681SAndroid Build Coastguard WorkerCommittee by emailing [email protected]. **All reports will be kept
13*9880d681SAndroid Build Coastguard Workerconfidential.** This isn't a public list and only `members`_ of the advisory
14*9880d681SAndroid Build Coastguard Workercommittee will receive the report.
15*9880d681SAndroid Build Coastguard Worker
16*9880d681SAndroid Build Coastguard WorkerIf you believe anyone is in **physical danger**, please notify appropriate law
17*9880d681SAndroid Build Coastguard Workerenforcement first. If you are unsure what law enforcement agency is
18*9880d681SAndroid Build Coastguard Workerappropriate, please include this in your report and we will attempt to notify
19*9880d681SAndroid Build Coastguard Workerthem.
20*9880d681SAndroid Build Coastguard Worker
21*9880d681SAndroid Build Coastguard WorkerIf the violation occurs at an event such as a Developer Meeting and requires
22*9880d681SAndroid Build Coastguard Workerimmediate attention, you can also reach out to any of the event organizers or
23*9880d681SAndroid Build Coastguard Workerstaff. Event organizers and staff will be prepared to handle the incident and
24*9880d681SAndroid Build Coastguard Workerable to help. If you cannot find one of the organizers, the venue staff can
25*9880d681SAndroid Build Coastguard Workerlocate one for you. We will also post detailed contact information for specific
26*9880d681SAndroid Build Coastguard Workerevents as part of each events' information. In person reports will still be
27*9880d681SAndroid Build Coastguard Workerkept confidential exactly as above, but also feel free to (anonymously if
28*9880d681SAndroid Build Coastguard Workerneeded) email [email protected].
29*9880d681SAndroid Build Coastguard Worker
30*9880d681SAndroid Build Coastguard Worker.. note::
31*9880d681SAndroid Build Coastguard Worker   The LLVM community has long handled inappropriate behavior on its own, using
32*9880d681SAndroid Build Coastguard Worker   both private communication and public responses. Nothing in this document is
33*9880d681SAndroid Build Coastguard Worker   intended to discourage this self enforcement of community norms. Instead,
34*9880d681SAndroid Build Coastguard Worker   the mechanisms described here are intended to supplement any self
35*9880d681SAndroid Build Coastguard Worker   enforcement within the community. They provide avenues for handling severe
36*9880d681SAndroid Build Coastguard Worker   cases or cases where the reporting party does not wish to respond directly
37*9880d681SAndroid Build Coastguard Worker   for any reason.
38*9880d681SAndroid Build Coastguard Worker
39*9880d681SAndroid Build Coastguard WorkerFiling a report
40*9880d681SAndroid Build Coastguard Worker===============
41*9880d681SAndroid Build Coastguard Worker
42*9880d681SAndroid Build Coastguard WorkerReports can be as formal or informal as needed for the situation at hand. If
43*9880d681SAndroid Build Coastguard Workerpossible, please include as much information as you can. If you feel
44*9880d681SAndroid Build Coastguard Workercomfortable, please consider including:
45*9880d681SAndroid Build Coastguard Worker
46*9880d681SAndroid Build Coastguard Worker* Your contact info (so we can get in touch with you if we need to follow up).
47*9880d681SAndroid Build Coastguard Worker* Names (real, nicknames, or pseudonyms) of any individuals involved. If there
48*9880d681SAndroid Build Coastguard Worker  were other witnesses besides you, please try to include them as well.
49*9880d681SAndroid Build Coastguard Worker* When and where the incident occurred. Please be as specific as possible.
50*9880d681SAndroid Build Coastguard Worker* Your account of what occurred. If there is a publicly available record (e.g.
51*9880d681SAndroid Build Coastguard Worker  a mailing list archive or a public IRC logger) please include a link.
52*9880d681SAndroid Build Coastguard Worker* Any extra context you believe existed for the incident.
53*9880d681SAndroid Build Coastguard Worker* If you believe this incident is ongoing.
54*9880d681SAndroid Build Coastguard Worker* Any other information you believe we should have.
55*9880d681SAndroid Build Coastguard Worker
56*9880d681SAndroid Build Coastguard WorkerWhat happens after you file a report?
57*9880d681SAndroid Build Coastguard Worker=====================================
58*9880d681SAndroid Build Coastguard Worker
59*9880d681SAndroid Build Coastguard WorkerYou will receive an email from the advisory committee acknowledging receipt
60*9880d681SAndroid Build Coastguard Workerwithin 24 hours (and we will aim to respond much quicker than that).
61*9880d681SAndroid Build Coastguard Worker
62*9880d681SAndroid Build Coastguard WorkerThe advisory committee will immediately meet to review the incident and try to
63*9880d681SAndroid Build Coastguard Workerdetermine:
64*9880d681SAndroid Build Coastguard Worker
65*9880d681SAndroid Build Coastguard Worker* What happened and who was involved.
66*9880d681SAndroid Build Coastguard Worker* Whether this event constitutes a code of conduct violation.
67*9880d681SAndroid Build Coastguard Worker* Whether this is an ongoing situation, or if there is a threat to anyone's
68*9880d681SAndroid Build Coastguard Worker  physical safety.
69*9880d681SAndroid Build Coastguard Worker
70*9880d681SAndroid Build Coastguard WorkerIf this is determined to be an ongoing incident or a threat to physical safety,
71*9880d681SAndroid Build Coastguard Workerthe working groups' immediate priority will be to protect everyone involved.
72*9880d681SAndroid Build Coastguard WorkerThis means we may delay an "official" response until we believe that the
73*9880d681SAndroid Build Coastguard Workersituation has ended and that everyone is physically safe.
74*9880d681SAndroid Build Coastguard Worker
75*9880d681SAndroid Build Coastguard WorkerThe working group will try to contact other parties involved or witnessing the
76*9880d681SAndroid Build Coastguard Workerevent to gain clarity on what happened and understand any different
77*9880d681SAndroid Build Coastguard Workerperspectives.
78*9880d681SAndroid Build Coastguard Worker
79*9880d681SAndroid Build Coastguard WorkerOnce the advisory committee has a complete account of the events they will make
80*9880d681SAndroid Build Coastguard Workera decision as to how to respond. Responses may include:
81*9880d681SAndroid Build Coastguard Worker
82*9880d681SAndroid Build Coastguard Worker* Nothing, if we determine no violation occurred or it has already been
83*9880d681SAndroid Build Coastguard Worker  appropriately resolved.
84*9880d681SAndroid Build Coastguard Worker* Providing either moderation or mediation to ongoing interactions (where
85*9880d681SAndroid Build Coastguard Worker  appropriate, safe, and desired by both parties).
86*9880d681SAndroid Build Coastguard Worker* A private reprimand from the working group to the individuals involved.
87*9880d681SAndroid Build Coastguard Worker* An imposed vacation (i.e. asking someone to "take a week off" from a mailing
88*9880d681SAndroid Build Coastguard Worker  list or IRC).
89*9880d681SAndroid Build Coastguard Worker* A public reprimand.
90*9880d681SAndroid Build Coastguard Worker* A permanent or temporary ban from some or all LLVM spaces (mailing lists,
91*9880d681SAndroid Build Coastguard Worker  IRC, etc.)
92*9880d681SAndroid Build Coastguard Worker* Involvement of relevant law enforcement if appropriate.
93*9880d681SAndroid Build Coastguard Worker
94*9880d681SAndroid Build Coastguard WorkerIf the situation is not resolved within one week, we'll respond within one week
95*9880d681SAndroid Build Coastguard Workerto the original reporter with an update and explanation.
96*9880d681SAndroid Build Coastguard Worker
97*9880d681SAndroid Build Coastguard WorkerOnce we've determined our response, we will separately contact the original
98*9880d681SAndroid Build Coastguard Workerreporter and other individuals to let them know what actions (if any) we'll be
99*9880d681SAndroid Build Coastguard Workertaking. We will take into account feedback from the individuals involved on the
100*9880d681SAndroid Build Coastguard Workerappropriateness of our response, but we don't guarantee we'll act on it.
101*9880d681SAndroid Build Coastguard Worker
102*9880d681SAndroid Build Coastguard WorkerAfter any incident, the advisory committee will make a report on the situation
103*9880d681SAndroid Build Coastguard Workerto the LLVM Foundation board. The board may choose to make a public statement
104*9880d681SAndroid Build Coastguard Workerabout the incident. If that's the case, the identities of anyone involved will
105*9880d681SAndroid Build Coastguard Workerremain confidential unless instructed by those inviduals otherwise.
106*9880d681SAndroid Build Coastguard Worker
107*9880d681SAndroid Build Coastguard WorkerAppealing
108*9880d681SAndroid Build Coastguard Worker=========
109*9880d681SAndroid Build Coastguard Worker
110*9880d681SAndroid Build Coastguard WorkerOnly permanent resolutions (such as bans) or requests for public actions may be
111*9880d681SAndroid Build Coastguard Workerappealed. To appeal a decision of the working group, contact the LLVM
112*9880d681SAndroid Build Coastguard WorkerFoundation board at [email protected] with your appeal and the board will review
113*9880d681SAndroid Build Coastguard Workerthe case.
114*9880d681SAndroid Build Coastguard Worker
115*9880d681SAndroid Build Coastguard WorkerIn general, it is **not** appropriate to appeal a particular decision on
116*9880d681SAndroid Build Coastguard Workera public mailing list. Doing so would involve disclosure of information which
117*9880d681SAndroid Build Coastguard Workerwhould be confidential. Disclosing this kind of information publicly may be
118*9880d681SAndroid Build Coastguard Workerconsidered a separate and (potentially) more serious violation of the Code of
119*9880d681SAndroid Build Coastguard WorkerConduct. This is not meant to limit discussion of the Code of Conduct, the
120*9880d681SAndroid Build Coastguard Workeradvisory board itself, or the appropriateness of responses in general, but
121*9880d681SAndroid Build Coastguard Worker**please** refrain from mentioning specific facts about cases without the
122*9880d681SAndroid Build Coastguard Workerexplicit permission of all parties involved.
123*9880d681SAndroid Build Coastguard Worker
124*9880d681SAndroid Build Coastguard Worker.. _members:
125*9880d681SAndroid Build Coastguard Worker
126*9880d681SAndroid Build Coastguard WorkerMembers of the Code of Conduct Advisory Committee
127*9880d681SAndroid Build Coastguard Worker=================================================
128*9880d681SAndroid Build Coastguard Worker
129*9880d681SAndroid Build Coastguard WorkerThe members serving on the advisory committee are listed here with contact
130*9880d681SAndroid Build Coastguard Workerinformation in case you are more comfortable talking directly to a specific
131*9880d681SAndroid Build Coastguard Workermember of the committee.
132*9880d681SAndroid Build Coastguard Worker
133*9880d681SAndroid Build Coastguard Worker.. note::
134*9880d681SAndroid Build Coastguard Worker
135*9880d681SAndroid Build Coastguard Worker   FIXME: When we form the initial advisory committee, the members names and private contact info need to be added here.
136*9880d681SAndroid Build Coastguard Worker
137*9880d681SAndroid Build Coastguard Worker
138*9880d681SAndroid Build Coastguard Worker
139*9880d681SAndroid Build Coastguard Worker(This text is based on the `Django Project`_ Code of Conduct, which is in turn
140*9880d681SAndroid Build Coastguard Workerbased on wording from the `Speak Up! project`_.)
141*9880d681SAndroid Build Coastguard Worker
142*9880d681SAndroid Build Coastguard Worker.. _Django Project: https://www.djangoproject.com/conduct/
143*9880d681SAndroid Build Coastguard Worker.. _Speak Up! project: http://speakup.io/coc.html
144