Skip to content

Commit

Permalink
Merge pull request #2593 from michelleN/governance
Browse files Browse the repository at this point in the history
add SIP for governance.md
  • Loading branch information
michelleN authored Jul 11, 2024
2 parents 27c7edf + 16ac5c2 commit a7ffa3a
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 0 deletions.
86 changes: 86 additions & 0 deletions GOVERNANCE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
## Overview

This document describes the governance of the Spin project.

The Spin project consists of several codebases with different release cycles. These codebases include:

- Core Spin:
- [Spin](https://github.com/fermyon/spin)
- SDKs:
- [Spin Python SDK](https://github.com/fermyon/spin-python-sdk)
- [Spin JavaScript SDK](https://github.com/fermyon/spin-js-sdk)
- [Spin Rust SDK](https://github.com/fermyon/spin-rust-sdk)
- [Spin .NET SDK](https://github.com/fermyon/spin-dotnet-sdk)
- [Spin Nim SDK](https://github.com/fermyon/spin-nim-sdk)
- Plugins:
- [Spin Plugins Index Repository](https://github.com/fermyon/spin-plugins)
- [Fermyon Platform Plugin](https://github.com/fermyon/platform-plugin)
- [Spin Test Plugin](https://github.com/fermyon/spin-test)
- [Cloud Plugin](https://github.com/fermyon/cloud-plugin)
- [Spin Cloud GPU Plugin](https://github.com/fermyon/spin-cloud-gpu)
- Triggers:
- [Spin Command Trigger](https://github.com/fermyon/spin-trigger-command)
- [Spin SQS Trigger](https://github.com/fermyon/spin-trigger-sqs)
- [Spin Cron Trigger](https://github.com/fermyon/spin-trigger-cron)

Each repository is subject to the same overall governance model, but has different teams of people (“maintainers”) with permissions and access to the repository. This is meant to increase diversity of maintainers in the Spin project and also increases the velocity of code changes. Major changes and features to the project including additions to the repository list above are to be proposed through the [Spin Improvement Proposal](docs/content/sips/index.md) process.

## Spin Project Maintainers

Project maintainers are responsible for activities surrounding the development and release cycle of a specific repository they own. Technical decisions for code resides with the project maintainers, unless there is a decision related to cross maintainer groups that cannot be resolved by those groups. Those cases can be escalated to the Spin Governance Committee (discussed below).

Project maintainers do not need to be software developers. No explicit role is placed upon them, and they can be anyone appropriate for the work being produced.

Project maintainers and emeritus maintainers for each project should be outlined in the MAINTAINERS.md file in the corresponding GitHub repository.

Changes to project maintainers use the following:

- A project maintainer may step down by emailing the mailing list. When a project maintainer steps down, they become an emeritus maintainer.
- Project maintainers MUST remain active on the project. If they are unresponsive for > 3 months, they will lose project maintainer-ship, unless the remaining project maintainers of the given project and the Spin Governance Committee agree to extend the period to be greater than 3 months.
- New maintainers MUST be nominated by existing maintainers. Maintainers are to discuss and agree in a private setting adding a new maintainer. Once a descision has been made, a maintainer may be added to the project via a pull request to the relevant MAINTAINERS.md file.
- A maintainer may be removed for a [code of conduct](CODE_OF_CONDUCT.md) violation by the Spin Governance Committee. Code of conduct violations may be submitted to any member(s) on the Spin Governance Committee by email. See email information on MAINTAINERS.md.
- When a project has no active maintainers, the maintainers of the [fermyon/spin Github repo](https://github.com/fermyon/spin) become responsible for it, and may archive the project, or find new maintainers

## Spin Governance Committee

The project maintainers for [github.com/fermyon/spin](http://github.com/fermyon/spin) also serve as the Spin Governance Committee and have the following additional responsibilities:

- Maintaining the mission, vision, values, and scope of the project
- Refining this governance document
- Making project level decisions
- Making decisions about project licensing, contribution requirements, and other legal matters
- Resolving escalated project decisions when responsible project maintainers are blocked
- Managing the Spin brand
- Managing access to Spin assets such as source repositories, hosting, project calendars
- Handling code of conduct violations for any repository under the Spin project
- Deciding what sub-groups and repositories are part of the Spin project
- Overseeing the resolution and disclosure of security issues
- Managing financial decisions related to the project

In addition to the responsibilities listed above, this group is also responsible for bootstrapping a multi-stakeholder steering committee of 5-7 people to govern the project. The group is responsible for creating a steering committee Charter and shaping and executing the processes around selecting committee members. Once a steering committee is in place, the Spin Governance Committee will be dismantled and replaced with the Spin Steering Committee. The Spin Steering Committee should then establish additional governance structures as it sees fit (e.g., a Code of Conduct Committee for project moderation).

The Spin Governance Committee have to match the following criteria:

- Spin Governance Committee members MUST remain active on the project. If they are unresponsive for > 3 months, they will lose membership, unless the remaining members of the committee agree to extend the period to be greater than 3 months

The Spin Governance Committee will select a chair to set agendas, call meetings, and oversee the decision making process.

## Decision Making

The default decision making process is objection-free consensus. In other words, a decision is made when all decision makers have had time to consider the decision and do not raise any objections. Silence on any consensus decision is equivalent to non-objection. Explicit agreement may be stated at will.

Decision making scenarios MUST be promoted appropriately by the maintainer or committee member overseeing the issue. All substantial changes in any part of the Spin project including for governance related changes require a SIP.

All substantial changes to governance require a supermajority quorum on the governance committee.

In the extreme case that objection-free consensus cannot be reached after a reasonable amount of time and effort between project maintainers on a project level decision, a project maintainer can call for a [supermajority](https://en.wikipedia.org/wiki/Supermajority#Two-thirds_vote) vote from the project maintainers for a repo on a decision. If quorum cannot be met for a decision, all members of the Spin Governance Committee are added to the relevant vote.

If a decision impacts multiple repositories or requires a coordinated effort across multiple repositories and project maintainers are unable to reach a decision on their own for the relevant projects, a maintainer can call for a decision from the Spin Governance Committee.

In the extreme case that objection-free consensus cannot be reached after a reasonable amount of time and effort on the governance committee, a committee member can call for a supermajority vote form the committee. If another member seconds the vote, the vote MUST take place.

## Glossary

- Objection-free consensus: A decision is made when all decision makers have had time to consider the decision and do not raise any objections. Silence on any consensus decision is equivalent to non-objection. Explicit agreement may be stated at will.
- Supermajority: Two-thirds majority where at least two-thirds of the group is in favor of the decision being made. More context [here](https://en.wikipedia.org/wiki/Supermajority#Two-thirds_vote).
- Emeritus Maintainer: These are project maintainers that are no longer active. We model this after the Helm Emeritus Maintainer role. More context [here](http://technosophos.com/2018/01/11/introducing-helm-emeritus-core-maintainers.html).
21 changes: 21 additions & 0 deletions docs/content/sips/019-governance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
title = "SIP 019 - Spin Governance"
template = "main"
date = "2024-06-18T23:00:00Z"

---

Summary: Adding governance to the Spin project

Owner: [email protected]

Created: June 18, 2024

## Background

Spin is a project now used by many organizations and individuals across the software ecosystem. In order for the Spin community to continue to rely on, build on, and integrate with Spin, there should be a public collective understanding of how the Spin project is governed and how to iterate on governance.

## Proposal

This SIP is a proposal to add a GOVERNANCE.md file (submitted with this SIP) to the root of the Spin repository. The governance structure described in the governance document file aims to describe transparently a process close to how we've been doing things so far in the project and how to make changes. It formally opens up the project for maintainers from multiple organizations, defines maintainership roles, describes decision making processes and more.

The structure outlined in the governance document is established as a temporary bootstrapping phase on the road to a more permanent, multi-stakeholder model. The Spin Governance Committee established in the current governance document should eventually be dismantled and replaced with a smaller, more well defined group only tasked with governing the Spin project as a whole (a "Steering Committee"). This group will in turn establish other committees for handling more specific governance concerns (e.g., Project moderation and CoC enforcement).
2 changes: 2 additions & 0 deletions docs/content/sips/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ Here is a list of accepted SIPs:
- [Generic Interface for LLMs](../sips/015-llm.md)
- [Support for Inbound WebSockets](../sips/016-inbound-websockets.md)
- [Application-Internal Service Chaining](../sips/017-service-chaining.md)
- [Adding OTel tracing to Spin](../sips/018-adding-otel-tracing-to-spin.md)
- [Spin Governance](../sips/019-governance.md)

0 comments on commit a7ffa3a

Please sign in to comment.