Skip to content

Latest commit

 

History

History
234 lines (149 loc) · 14.2 KB

GOVERNANCE.md

File metadata and controls

234 lines (149 loc) · 14.2 KB

Governance

This document outlines the governance model for Biome. This document includes the contributor model, code review, merging, and the consequences and process for Code of Conduct violations.

Member Roles

All members must follow the Code of Conduct. Consequences for member violations are detailed in Moderation.

Lead

Leads are the owners of the organisation.

Leads have additional privileges over core contributors. Leads control and maintain sensitive project assets and act as tiebreakers in the event of disagreements. In case of disagreements, only one lead must be involved in the resolution.

These assets and responsibilities are but are not limited to:

  • Access to social accounts
  • Administration privileges of the Biome Discord server
  • Administration privileges of the Biome GitHub org
  • Website accesses (hosting platform, domain name, etc.)
  • Access to sensitive emails, such as the CoC email

Also:

The ownership of assets is only sometimes evenly distributed among all the leads.

Lead nomination

Leads may only be self-nominated. Being a lead only adds burden to a core contributor: more rights to be held accountable with, and more responsibilities.

When nominating a lead, a new thread in the #leads channel with a case of why the person should join as core contributor has to be created.

#leads is a private channel available only to people who have the Lead role.

The voting period will follow the voting rules. An individual becomes a lead if all the other leads vote in favour.

If vote is successful, the lead will ask the nominee if they want to accept the title.

In the event of a rejection, the nominated person will be privately given the requirements they have yet to meet. Details of the discussion - for example, those who objected to the nomination - will not be disclosed.

Core Contributor

Core Contributors are outstanding maintainers, are ambassadors of Biome organisation and lead by example the community.

Core contributor nomination

Only maintainers can be nominated to be core contributors.

Core contributors may either be nominated by another, Core contributor, or lead.

When nominating a core contributor, a new private thread in the #core-contributors channel has to be created, with a case and their contributions of why the person should join as core contributor.

#core-contributors is a private channel available only to people who have the Core contributor role.

The voting period will follow the voting rules. An individual becomes a core contributor if:

  • receive at least a positive vote from a lead;
  • more than 70% of positive votes across the members of the Core contributors team;

Voting requirements may change in the future based on the amount of people involved in the vote.

A core contributor can be self-nominated. They will have to message a lead maintainer privately and present a case. Then, the lead can:

  • reject the nomination in place, provide reasons why and possibly some suggestions for the future; the lead
  • initiate a voting session among the core contributors;

When the verdict is reached, the thread will be deleted, and a lead will reach out to the nominee.

If vote is successful, the core member will ask the nominee if they want to accept the title.

In the event of a rejection, the nominated person will be privately given the requirements they have yet to meet. Details of the discussion - for example, those who objected to the nomination - will not be disclosed.

Maintainer

Maintainers are those with a history of consistent contributions, including but not limited to pull requests, project management, or support. These privileges include:

Maintainer nomination

Maintainers may either be nominated by another maintainer, Core contributor, lead.

When nominating a new maintainer, a new private thread in the #maintainers channel has to be created, provide a link to the history of the person's contributions to the project and a brief explanation of why the person should join as maintainer.

#maintainers is a private channel available only to people who have the maintainer role.

The voting period will follow the voting rules. An individual becomes a maintainer if:

  • reaches more than 50% of positive votes among the people who have voting rights;
  • if the voting session ends with 50%, the Leads will take the decision;

A maintainer can be self-nominated. They will have to message a lead maintainer privately with links to their contributions to the project. Then, the lead can:

  • reject the nomination in place, provide reasons why and possibly some suggestions for the future;
  • initiate a voting session among the maintainers;

When the verdict is reached, the thread will be deleted, and a core contributor or lead will reach out to the nominee.

If vote is successful, the person reaching out will ask the nominee if they want to accept the title.

In the event of a rejection, the nominated person will be privately given the requirements they have not met. Details of the discussion, such as the names of those who objected the nomination, will not be disclosed.

Voting Rules

  • The voting sessions are run in Discord, so Maintainers and Core Contributors are expected to have an account.
  • Members are required to vote.
  • Members may abstain from a vote.
  • Members who do not vote within three days will automatically abstain.
  • Leads may reduce the three days automatic abstain for urgent decisions.
  • Leads reserve the right to veto approval with a publicly disclosed reason.
  • It's highly suggested to pair the vote with a reason of the vote, e.g. "I vote in favour because that person writes good code". These reasons will be collected and brought up to the nominee at the end of the voting phase.

Ownership

One or more people can own certain parts of the codebase. This process is informal, and inclusion could result from substantial contributions or delegation by other members. A maintainer's responsibility is to identify the relevant owners and ensure there's an understanding when it comes to code review.

Inactivity

There aren't strict requirements and expectations around activity for core contributors and maintainers; although long periods of inactivity must be communicated to the team.

Inactive core contributors or maintainers may have voting and access rights removed and status removed, and given them the Past contributor status. A core contributor or maintainer may request their voting rights and status back upon sufficient activity.

Note

The definition of "long periods", and how long an individual needs to stay inactive in order to have their voting rights removed have yet to be decided.

Contributions

Contributions to the project aren't only limited to code. Contributions come in different forms and ways:

  • Documentation
  • Code to all the repositories of the GitHub org
  • Support in primary channels of the organization, e.g. GitHub and Discord
  • Support in secondary channels, e.g. StackOverflow, etc.
  • Website;

Project direction and planning

Project direction and planning is a shared responsibility amongst members. Core contributors are responsible for dictating high-level goals and the project scope that should be adhered to.

Roadmap

Leads may create a roadmap document to share with the community once the core contributors have set the project's goals.

Roadmaps don't provide dates or deadlines; they only reflect what the core contributors decide to work on and how to spend the resources.

The span of a roadmap should cover six months, but it might vary.

Code review

We have a reasonably liberal approach to code review and merging. We value quick iteration and low development friction, which comes with great responsibility. Reverting code is easy, so landing code should be just as easy. Because of this, Biome will have discrete releases rather than rolling releases that are automatically published.

  • If you own a particular area, you can merge it without any review despite PR size.
  • If there are comments or suggestions after a PR is merged after the fact, allow yourself time to address them in a follow-up PR. If you don't respond in a reasonable timeframe, then create an issue to track.
  • Ensure that the PR summary is detailed, listing steps you took to verify the rationale and relevant issues and people involved in any prior discussion.
  • Ensure that PRs contain adequate tests and code comments for a future contributor to derive intent and modify your code safely.
  • You are welcome to the repos for your WIP branches. If you don't use your own fork, prepend the name of the branch with your github handle, e.g. <handle>/experiment-code Branches that have more than four months of inactivity will be pruned.
  • If you add a new feature, ensure it has been discussed or approved on GitHub or Discord.
  • If necessary, identify potential owners for PR review and approval.
  • All code must go through Pull Requests (PR) and pass status checks before being merged. If a PR is merged that breaks main due to the branch not being up-to-date, then it should either be reverted or a quick fix merged as a separate PR.
  • If a PR is against code you have previously committed and is either small changes, bug fixes, or refactors, then you're free to merge it without any review. However, if you need more confidence in your changes, you can wait for approval from another maintainer or core contributor.

Moderation

Outlined below is the process for Code of Conduct violation reviews.

Reporting

Anyone may report a violation. Violations can be reported in the following ways:

  • In private, via biomejs@googlegroups.com which is listed in the Code of Conduct. All core contributors monitor this email address.
  • In private, via email to one or more core contributors.
  • In private, via direct message to a core contributor on Discord server.
  • In public, via a GitHub comment (mentioning @biomejs/core-contributors).
  • In public, via the project Discord server.

Who gets involved?

Each report will be assigned reviewers. These will initially be all project core contributors.

In the event of any conflict of interest - e.g. core contributors who are personally connected to a situation they must immediately recuse themselves.

At the reporter's request and if deemed appropriate by the reviewers, another neutral third party may be involved in the review and decision process.

Review

If a report doesn't contain enough information, the reviewers will strive to obtain all relevant data before acting.

The reviewers will then review the incident and determine, to the best of their ability:

  • What happened.
  • Whether this event constitutes a Code of Conduct violation.
  • Who, if anyone, was involved in the violation.
  • Whether this is an ongoing situation.

The reviewers should aim to have a resolution agreed very rapidly; if they have not decided within a week, they will inform the parties of the planned date.

Resolution

The reviewers will determine responses based on the information gathered and the potential consequences. It may include:

  • Taking no further action
  • Issuing a reprimand (private or public)
  • Asking for an apology (private or public)
  • Permanent ban from the GitHub org and Discord server
  • Revoked contributor or moderator status

OpenCollective fund allocation

Funds will be allocated for project-specific services:

  • Domain registrations
  • Website hosting
  • Password manager to manage secrets and passwords among Lead members

Core contributors are allowed to claim expenses related to conferences where they talk about Biome, or Biome workshops that they run. Expenses that can be claimed are but not limited to: trip (plane, train, etc.), meals, transport, parking.

  • The person will have to provide proof of attendance (badge, video, etc.);
  • Expenses will have to be uploaded via the open collective website.
  • Only the expenses that are afforded in the days of the workspace/conference are accepted:
    • If a conference lasts multiple days and the member decides to attend both days, and the member speaks only the first day, only the expenses of the first day should be taken in consideration. In this example, if the member booked three nights in a hotel to attend these two days, the expense should be divided by 3 - three nights - and only expense 2 days: night before the conference, plus the night of the day the member speaks.
    • If a conference lasts one day and the member decides to make their performance longer, all the expenses afforded in the other days won't be accepted. Only 2 nights of accommodation are accepted.

Expenses must be approved by at least one lead. In the presence of one single lead, the lead will ask one core contributor to fact-check the honesty of expenses, and leave a comment in the Open Collective expense page. In case of multiple leads, the lead submitting the expense must seek the approval of at least one other lead.

Note

Other usage of funds has yet to be decided.