# Governance

**Status: draft for review.** This document describes how OpenFlange is
intended to be run during the v0.x period. It has not been ratified by
anyone other than its authors and will change as the project gains
contributors and implementations.

## Model

OpenFlange is **founder-led**. The founder is the final decision maker for
the specifications, the schemas, the conformance suite and the project's
policies. This is a deliberate choice for an early standard: one accountable
person keeps the drafts coherent while the contracts are still moving.

Founder-led does not mean private. The working rules are:

- every normative change is made by a **public pull request**;
- every substantial change is preceded by a **public RFC**
  ([rfcs/README.md](rfcs/README.md));
- decisions and their reasons are **written down** in the RFC or pull
  request where they were made;
- the standard is **independent of any product**. Products built on it,
  including those of the founder, consume the published contracts and get
  no private extension points. Vendor-specific needs use the namespaced
  `x-` extension mechanism available to everyone.

## Roles

| Role | Who | Can |
|---|---|---|
| Founder | The project founder | Decide RFCs, merge to any specification, appoint and remove maintainers, change this document. |
| Maintainer | Appointed by the founder, per area (a specification, the schemas, the conformance suite) | Review and merge non-normative changes in their area; recommend decisions on RFCs; assign RFC numbers. |
| Contributor | Anyone | Open issues, pull requests and RFCs; comment on any of them. |
| Implementer | Anyone building a runner, adapter, server or tool | Report ambiguities, contribute conformance fixtures, report conformance results. |

No maintainers other than the founder have been appointed yet.

## Decision process

1. **Editorial and clarifying changes** (no change in behaviour): ordinary
   pull request, merged by a maintainer after review.
2. **Normative changes**: an RFC, discussed in its pull request. The
   founder (or the delegated maintainer) seeks consensus among participants
   and, where there is none, decides. The decision, date and reasons are
   recorded in the RFC.
3. **Reconsideration**: anyone may ask for a decision to be reconsidered by
   opening an issue that presents new information. Repeating earlier
   arguments is not new information.
4. **Security-sensitive issues** may be discussed privately until a fix is
   available; the outcome is then documented publicly. A private reporting
   channel has not been set up yet.

There is no voting body and no fixed comment period in v0.x. As a guide, an
RFC that affects a feature labelled `experimental` should stay open for at
least seven days, and one that affects a `stable` feature for at least
thirty.

## Feature maturity

Each specification is versioned independently, and each feature within a
specification carries a maturity label:

| Label | Meaning | Change policy |
|---|---|---|
| `proposed` | Described so it can be tried and discussed. Backed by an open RFC. | May change or disappear at any time. |
| `experimental` | Specified, with schemas and conformance fixtures, implemented at least once. | May change incompatibly in a minor version, with a changelog entry. |
| `stable` | Covered by the compatibility guarantees. | Incompatible changes only in a new major version of that specification. |
| `deprecated` | Scheduled for removal; a replacement or rationale is documented. | Kept for at least one further minor version. |

All v0.1 contracts are `experimental` unless marked otherwise. Window
framing and processing-time windows are `proposed`.

### Promotion to `stable`

A feature is promoted by an RFC (or by the RFC that introduced it reaching
the `stable` state). The founder will not promote a feature unless:

1. its behaviour is fully specified with RFC 2119 keywords, and its
   machine-readable parts have schemas;
2. portable conformance fixtures cover it, including failure cases;
3. **at least two independent implementations** pass those fixtures. The Go
   reference implementation counts as one. A second implementation must not
   share the reference implementation's code for the feature in question;
4. no open issue reports an unresolved ambiguity in it;
5. it has been `experimental` in at least one published draft.

The second-implementation requirement exists because a standard with a
single implementation is, in practice, documentation of that
implementation. Disagreements between implementations are resolved by
fixing the specification text and fixtures first, never by declaring one
implementation authoritative.

A specification as a whole reaches 1.0 only when the features it requires
of every conformant implementation are `stable`.

## Conformance claims

Conformance is self-assessed in v0.x: an implementation runs the fixtures
in `conformance/` and reports which it passes. The project does not
certify implementations and no certification programme exists. Wording for
conformance claims is in [BRAND.md](BRAND.md) (draft).

## Licensing and brand

Licences are fixed per kind of artefact ([LICENSE](LICENSE)). The brand
policy ([BRAND.md](BRAND.md)) is a draft; trademark clearance has not been
performed. Contribution terms ([CONTRIBUTING.md](CONTRIBUTING.md)) are a
draft.

## Changing governance

Changes to this document are made by public pull request and decided by
the founder. The intent is to move to a broader model (for example a small
steering group including independent implementers) once there are several
active implementations; no timetable or structure for that has been
decided.
