Code of conduct

Related: see ”Diversity, equity, and inclusion“.

Our pledge

We pledge to make participation in our company, our projects, and our community an open, welcoming, and harassment-free experience for everyone, regardless of ability, age, body size, skin color, culture, education, ethnicity, gender identity and expression, immigration status, level of experience, mental and physical ability, nationality, personal appearance, political beliefs, race, relationship or family status, religion, sex, sexual identity and orientation, or socio-economic status.

We care about the safety and comfort of everyone in our community, including colleagues, contributors, and users.

Team member philosophy

If you work at Sourcegraph or participate in our projects and community, you are important to us. If for any reason you don’t feel that, please let us know.

Your ultimate success with Sourcegraph will be a function of your personal agency and the environment we create as a team. We want that environment to set you up for success and enable you to thrive while realizing your professional goals and dreams.

Our mission is to enable everyone to unlock the value of code. For us, that means first helping those who code for a living understand the world of code in which they work. Ultimately, it means making the universe of code accessible to billions of people, most of whom currently cannot partake in the code economy. We believe the ability to make a living from code should be available to all.

We live these values within our own organization: We welcome people from a diverse set of backgrounds, and we want every teammate to grow and flourish at Sourcegraph. We believe that a team with a diverse set of viewpoints and experiences united by our common cause will give us the best chance of realizing our mission.

Our standards

We encourage you to:

  • Be welcoming. Our communities and teams welcome and support people of all backgrounds and identities.
  • Be respectful. We are a worldwide community of professionals, and we conduct ourselves as such. Disagreement is no excuse for poor behavior. Unacceptable behavior includes, but is not limited to:
    • Aggressive threats or language.
    • Discriminatory or derogatory jokes and language.
    • Posting sexually explicit or violent material.
    • Trolling.
    • Posting, or threatening to post, people’s personally identifying information (“doxing”).
    • Insults, especially those using discriminatory terms or slurs.
    • Behavior that could be perceived as unwanted sexual attention or advances.
    • Public or private harassment.
    • Advocating for or encouraging any of the above behaviors.
  • Be friendly and patient. Remember you might not be communicating in someone else’s primary spoken or programming language, and others may not have your level of understanding.
  • Understand disagreements. Disagreements, both social and technical, are useful learning opportunities. Seek to understand other viewpoints, and resolve differences constructively.
  • Be comfortable debating ideas, and keep debates focused on the topic at hand and the concrete actions that will be taken as an outcome of the discussion.
  • Be forgiving in your advice, and careful and precise with the things you produce.
  • Exercise empathy. We all have bad days. Avoid attributing to character flaws what might better be explained by situational factors (Fundamental Attribution Error). Show empathy towards coworkers and community members.
  • Praise in front of groups; criticize constructively (1-on-1) when solicited. Whether you’re an individual contributor, a manager, or a community manager, be clear and concise without language that can be misconstrued as aggressive or personally attacking. Generally, posting unsolicited criticism in public Slack channels is not effective. Praise, however, does belong in public. Some ways we praise at Sourcegraph include:
    • Comments in the #thanks Slack channel or in team-specific Slack channels.
    • In company or team meetings.
    • Sending an eCard/gift card or written note.
    • Giving a few hours off (if you’re in a position to do so).
    • Sending swag (cup, t-shirt, stickers, socks).
    • Sending a tweet or LinkedIn Kudo.

Keep the following things in mind:

  • When representing Sourcegraph, be mindful that your words are a reflection on Sourcegraph and the many individuals who make up the team.
    • Those in management roles should be especially mindful of their personal beliefs and biases when acting on behalf of the company.
  • Appreciate uniqueness and do not treat individual opinions as representative of the opinion of the larger group.
  • Engage others to ensure their voices are heard. Constructive dissent should be addressed directly.
  • Public polls and private ballots often do not yield the same result. Keep this in mind when gauging consensus.
  • Handle interpersonal conflict with professionalism and integrity. If there is strong disagreement, feedback should be given directly and clearly, without heat, or implicit denigration.
  • You will work with others who have personal opinions or beliefs that differ from your own. Strive to overcome these differences and find common cause.
  • Be aware of power differentials. If you have the ability to threaten someone’s job, your criticism may be taken more harshly than you intend.

This code is not exhaustive or complete. It serves to capture our common understanding of a productive, collaborative environment. We expect the code to be followed in spirit as much as in the letter.

Our responsibilities

Leadership is responsible for clarifying the standards of acceptable behavior and is expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Leadership has the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.


This code of conduct applies to any individual or community member that is representing the project or its community within both project spaces and public spaces, including (but not limited to) social media, online or offline events, and email or Slack exchanges.

Note: Some Sourcegraph-managed communities have codes of conduct that pre-date this document and issue resolution process. While communities are not required to change their code, they are expected to use the resolution process outlined here. The review team will coordinate with the communities involved to address any concerns.


We encourage all communities, teams, employees, and team members to resolve issues on their own whenever possible. This builds a broader and deeper understanding and ultimately a healthier interaction.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting [email protected]. The conduct team is obligated to maintain confidentiality of the person reporting the incident at all times.

In your report please include:

  • Your contact information.
  • Names (real, usernames or pseudonyms) of any individuals involved. If there are additional witnesses, please include them as well.
  • Your account of what occurred, and if you believe the incident is ongoing. If there is a publicly available record (e.g., a mailing list archive or a public chat log), please include a link or screen captures.
  • Any additional information that may be helpful.

All reports will be reviewed by a multi-person team. Where additional perspectives are needed, the team may seek insight from others with relevant expertise or experience. Involved parties are never part of the review team.

Anyone asked to stop unacceptable behavior is expected to comply immediately. If an individual engages in unacceptable behavior, the review team will take appropriate action, including a permanent ban from the community.