1b8a62b91Sopenharmony_ci# Bytecode Alliance Organizational Code of Conduct (OCoC)
2b8a62b91Sopenharmony_ci
3b8a62b91Sopenharmony_ci*Note*: this Code of Conduct pertains to organizations' behavior. Please also see the [Individual Code of Conduct](CODE_OF_CONDUCT.md).
4b8a62b91Sopenharmony_ci
5b8a62b91Sopenharmony_ci## Preamble
6b8a62b91Sopenharmony_ci
7b8a62b91Sopenharmony_ciThe Bytecode Alliance (BA) welcomes involvement from organizations,
8b8a62b91Sopenharmony_ciincluding commercial organizations.  This document is an
9b8a62b91Sopenharmony_ci*organizational* code of conduct, intended particularly to provide
10b8a62b91Sopenharmony_ciguidance to commercial organizations.  It is distinct from the
11b8a62b91Sopenharmony_ci[Individual Code of Conduct (ICoC)](CODE_OF_CONDUCT.md), and does not 
12b8a62b91Sopenharmony_cireplace the ICoC. This OCoC applies to any group of people acting in 
13b8a62b91Sopenharmony_ciconcert as a BA member or as a participant in BA activities, whether 
14b8a62b91Sopenharmony_cior not that group is formally incorporated in some jurisdiction.
15b8a62b91Sopenharmony_ci
16b8a62b91Sopenharmony_ciThe code of conduct described below is not a set of rigid rules, and
17b8a62b91Sopenharmony_ciwe did not write it to encompass every conceivable scenario that might
18b8a62b91Sopenharmony_ciarise.  For example, it is theoretically possible there would be times
19b8a62b91Sopenharmony_ciwhen asserting patents is in the best interest of the BA community as
20b8a62b91Sopenharmony_cia whole.  In such instances, consult with the BA, strive for
21b8a62b91Sopenharmony_ciconsensus, and interpret these rules with an intent that is generous
22b8a62b91Sopenharmony_cito the community the BA serves.
23b8a62b91Sopenharmony_ci
24b8a62b91Sopenharmony_ciWhile we may revise these guidelines from time to time based on
25b8a62b91Sopenharmony_cireal-world experience, overall they are based on a simple principle:
26b8a62b91Sopenharmony_ci
27b8a62b91Sopenharmony_ci*Bytecode Alliance members should observe the distinction between
28b8a62b91Sopenharmony_ci public community functions and private functions — especially
29b8a62b91Sopenharmony_ci commercial ones — and should ensure that the latter support, or at
30b8a62b91Sopenharmony_ci least do not harm, the former.*
31b8a62b91Sopenharmony_ci
32b8a62b91Sopenharmony_ci## Guidelines
33b8a62b91Sopenharmony_ci
34b8a62b91Sopenharmony_ci * **Do not cause confusion about Wasm standards or interoperability.** 
35b8a62b91Sopenharmony_ci 
36b8a62b91Sopenharmony_ci   Having an interoperable WebAssembly core is a high priority for
37b8a62b91Sopenharmony_ci   the BA, and members should strive to preserve that core.  It is fine
38b8a62b91Sopenharmony_ci   to develop additional non-standard features or APIs, but they
39b8a62b91Sopenharmony_ci   should always be clearly distinguished from the core interoperable
40b8a62b91Sopenharmony_ci   Wasm.
41b8a62b91Sopenharmony_ci 
42b8a62b91Sopenharmony_ci   Treat the WebAssembly name and any BA-associated names with
43b8a62b91Sopenharmony_ci   respect, and follow BA trademark and branding guidelines.  If you
44b8a62b91Sopenharmony_ci   distribute a customized version of software originally produced by
45b8a62b91Sopenharmony_ci   the BA, or if you build a product or service using BA-derived
46b8a62b91Sopenharmony_ci   software, use names that clearly distinguish your work from the
47b8a62b91Sopenharmony_ci   original.  (You should still provide proper attribution to the
48b8a62b91Sopenharmony_ci   original, of course, wherever such attribution would normally be
49b8a62b91Sopenharmony_ci   given.)
50b8a62b91Sopenharmony_ci     
51b8a62b91Sopenharmony_ci   Further, do not use the WebAssembly name or BA-associated names in
52b8a62b91Sopenharmony_ci   other public namespaces in ways that could cause confusion, e.g.,
53b8a62b91Sopenharmony_ci   in company names, names of commercial service offerings, domain
54b8a62b91Sopenharmony_ci   names, publicly-visible social media accounts or online service
55b8a62b91Sopenharmony_ci   accounts, etc.  It may sometimes be reasonable, however, to
56b8a62b91Sopenharmony_ci   register such a name in a new namespace and then immediately donate
57b8a62b91Sopenharmony_ci   control of that account to the BA, because that would help the project
58b8a62b91Sopenharmony_ci   maintain its identity.
59b8a62b91Sopenharmony_ci
60b8a62b91Sopenharmony_ci   For further guidance, see the BA Trademark and Branding Policy
61b8a62b91Sopenharmony_ci   [TODO: create policy, then insert link].
62b8a62b91Sopenharmony_ci     
63b8a62b91Sopenharmony_ci * **Do not restrict contributors.** If your company requires
64b8a62b91Sopenharmony_ci   employees or contractors to sign non-compete agreements, those
65b8a62b91Sopenharmony_ci   agreements must not prevent people from participating in the BA or
66b8a62b91Sopenharmony_ci   contributing to related projects.
67b8a62b91Sopenharmony_ci
68b8a62b91Sopenharmony_ci   This does not mean that all non-compete agreements are incompatible
69b8a62b91Sopenharmony_ci   with this code of conduct.  For example, a company may restrict an
70b8a62b91Sopenharmony_ci   employee's ability to solicit the company's customers.  However, an
71b8a62b91Sopenharmony_ci   agreement must not block any form of technical or social
72b8a62b91Sopenharmony_ci   participation in BA activities, including but not limited to the
73b8a62b91Sopenharmony_ci   implementation of particular features.
74b8a62b91Sopenharmony_ci
75b8a62b91Sopenharmony_ci   The accumulation of experience and expertise in individual persons,
76b8a62b91Sopenharmony_ci   who are ultimately free to direct their energy and attention as
77b8a62b91Sopenharmony_ci   they decide, is one of the most important drivers of progress in
78b8a62b91Sopenharmony_ci   open source projects.  A company that limits this freedom may hinder
79b8a62b91Sopenharmony_ci   the success of the BA's efforts.
80b8a62b91Sopenharmony_ci
81b8a62b91Sopenharmony_ci * **Do not use patents as offensive weapons.** If any BA participant
82b8a62b91Sopenharmony_ci   prevents the adoption or development of BA technologies by
83b8a62b91Sopenharmony_ci   asserting its patents, that undermines the purpose of the
84b8a62b91Sopenharmony_ci   coalition.  The collaboration fostered by the BA cannot include
85b8a62b91Sopenharmony_ci   members who act to undermine its work.
86b8a62b91Sopenharmony_ci 
87b8a62b91Sopenharmony_ci * **Practice responsible disclosure** for security vulnerabilities.
88b8a62b91Sopenharmony_ci   Use designated, non-public reporting channels to disclose technical
89b8a62b91Sopenharmony_ci   vulnerabilities, and give the project a reasonable period to
90b8a62b91Sopenharmony_ci   respond, remediate, and patch.  [TODO: optionally include the
91b8a62b91Sopenharmony_ci   security vulnerability reporting URL here.]
92b8a62b91Sopenharmony_ci
93b8a62b91Sopenharmony_ci   Vulnerability reporters may patch their company's own offerings, as
94b8a62b91Sopenharmony_ci   long as that patching does not significantly delay the reporting of
95b8a62b91Sopenharmony_ci   the vulnerability.  Vulnerability information should never be used
96b8a62b91Sopenharmony_ci   for unilateral commercial advantage.  Vendors may legitimately
97b8a62b91Sopenharmony_ci   compete on the speed and reliability with which they deploy
98b8a62b91Sopenharmony_ci   security fixes, but withholding vulnerability information damages
99b8a62b91Sopenharmony_ci   everyone in the long run by risking harm to the BA project's
100b8a62b91Sopenharmony_ci   reputation and to the security of all users.
101b8a62b91Sopenharmony_ci
102b8a62b91Sopenharmony_ci * **Respect the letter and spirit of open source practice.** While
103b8a62b91Sopenharmony_ci     there is not space to list here all possible aspects of standard
104b8a62b91Sopenharmony_ci     open source practice, some examples will help show what we mean:
105b8a62b91Sopenharmony_ci
106b8a62b91Sopenharmony_ci   * Abide by all applicable open source license terms.  Do not engage
107b8a62b91Sopenharmony_ci     in copyright violation or misattribution of any kind.
108b8a62b91Sopenharmony_ci
109b8a62b91Sopenharmony_ci   * Do not claim others' ideas or designs as your own.
110b8a62b91Sopenharmony_ci
111b8a62b91Sopenharmony_ci   * When others engage in publicly visible work (e.g., an upcoming
112b8a62b91Sopenharmony_ci     demo that is coordinated in a public issue tracker), do not
113b8a62b91Sopenharmony_ci     unilaterally announce early releases or early demonstrations of
114b8a62b91Sopenharmony_ci     that work ahead of their schedule in order to secure private
115b8a62b91Sopenharmony_ci     advantage (such as marketplace advantage) for yourself.
116b8a62b91Sopenharmony_ci
117b8a62b91Sopenharmony_ci   The BA reserves the right to determine what constitutes good open
118b8a62b91Sopenharmony_ci   source practices and to take action as it deems appropriate to
119b8a62b91Sopenharmony_ci   encourage, and if necessary enforce, such practices.
120b8a62b91Sopenharmony_ci
121b8a62b91Sopenharmony_ci## Enforcement
122b8a62b91Sopenharmony_ci
123b8a62b91Sopenharmony_ciInstances of organizational behavior in violation of the OCoC may 
124b8a62b91Sopenharmony_cibe reported by contacting the Bytecode Alliance CoC team at 
125b8a62b91Sopenharmony_ci[report@bytecodealliance.org](mailto:report@bytecodealliance.org). The 
126b8a62b91Sopenharmony_ciCoC team will review and investigate all complaints, and will respond 
127b8a62b91Sopenharmony_ciin a way that it deems appropriate to the circumstances. The CoC team 
128b8a62b91Sopenharmony_ciis obligated to maintain confidentiality with regard to the reporter of 
129b8a62b91Sopenharmony_cian incident. Further details of specific enforcement policies may be 
130b8a62b91Sopenharmony_ciposted separately.
131b8a62b91Sopenharmony_ci
132b8a62b91Sopenharmony_ciWhen the BA deems an organization in violation of this OCoC, the BA
133b8a62b91Sopenharmony_ciwill, at its sole discretion, determine what action to take.  The BA
134b8a62b91Sopenharmony_ciwill decide what type, degree, and duration of corrective action is
135b8a62b91Sopenharmony_cineeded, if any, before a violating organization can be considered for
136b8a62b91Sopenharmony_cimembership (if it was not already a member) or can have its membership
137b8a62b91Sopenharmony_cireinstated (if it was a member and the BA canceled its membership due
138b8a62b91Sopenharmony_cito the violation).
139b8a62b91Sopenharmony_ci
140b8a62b91Sopenharmony_ciIn practice, the BA's first approach will be to start a conversation,
141b8a62b91Sopenharmony_ciwith punitive enforcement used only as a last resort.  Violations
142b8a62b91Sopenharmony_cioften turn out to be unintentional and swiftly correctable with all
143b8a62b91Sopenharmony_ciparties acting in good faith.
144