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