Questions We Get Asked About Governing a Library

"Governance" sounds like something only large foundations worry about. In practice, every package with more than one contributor already has governance; it is just unwritten. These are questions readers send us about making it explicit, answered in the order they usually come up. This is a "questions we get asked" page, not an interview with any particular person.

Does a small library really need a governance document?

Not a long one. But a few sentences answering "who can merge, who can publish, and how are disagreements settled?" prevents the most damaging kind of dispute: the one that starts when someone assumes they had a right they did not have. Many projects put this in a GOVERNANCE.md file at the repository root, next to CONTRIBUTING.md and CODE_OF_CONDUCT.md.

What are the usual models?

ModelHow decisions are madeFits when
Single maintainerOne person decides, others propose.Small, focused packages with one clear owner.
Maintainer groupA named set of people decide by rough consensus, with a tie-break rule.Libraries with a few regular contributors.
Foundation-hostedThe project follows the governance rules of a host foundation.Widely used projects needing neutrality and legal backing.
Company-ledThe sponsoring company's team decides, with outside contributions welcome.Libraries closely tied to a commercial product.

None is better in the abstract. What matters is that contributors can find out which one applies.

Who should have publish rights on the registry?

Separate merge rights from publish rights. Merging affects the repository; publishing affects every user's next install. Keep the list of people who can publish short, require two-factor authentication for all of them, and ideally publish only from CI using npm provenance, PyPI Trusted Publishing or the equivalent. Then the question becomes "who can trigger a release workflow?", which your forge's branch and environment protections can enforce.

How do we add a new maintainer?

Write the path down. A typical approach: a sustained record of helpful reviews and contributions, a nomination by an existing maintainer, no objections within a set period, then onboarding with access granted in stages (triage, then merge, then release). A staged path is fair to newcomers and safer for users.

What happens if maintainers disagree?

State the tie-break in advance. Options include deferring to the original author, a simple majority of maintainers, or a cooling-off period followed by a vote. The worst option is the default one: whoever is most persistent wins.

Should governance cover what happens if we step away?

Yes, and this is the part most often missing. Name what should happen if all active maintainers stop responding: who can be contacted, whether the project may be archived, and whether registry ownership may be transferred. Registries have their own processes for abandoned names; PyPI's is described in PEP 541. Writing your own intentions down makes those processes easier and more respectful of your wishes.

Checklist: a minimal governance section