Lesson 2 of 9 · 22m
Governance Before You Need It
Write down who decides, how disputes resolve, and what maintainer authority means while the project is still small enough to do it calmly.
Small projects run on vibes until the first serious disagreement. Then everyone discovers there was never a shared answer to basic questions: who can merge, who owns the name, who can cut a release, who speaks for security advisories, and what happens if the founder disappears for three months. Governance is not bureaucracy for its own sake; it is pre-authorization for stressful moments.
Start with roles, not a constitution
User opens issues, discussions, feature requests
Contributor submits patches, docs, tests, triage help
Committer can merge reviewed changes in scoped areas
Maintainer owns releases, roadmap, security response, project direction
Owner/admin controls org, package tokens, domains, cloud credentialsOne person can hold every role. That is normal. The mistake is failing to say so. Write it in GOVERNANCE.md or MAINTAINERS.md before growth makes any admission feel political.
Decision models that actually occur
Most healthy small projects are benevolent maintainer-led with lazy consensus: maintainers decide, but proposals sit open long enough for affected people to object. Larger projects move to working groups, steering committees, or elected technical leadership. Do not import the Kubernetes governance stack into a 12-star utility library. Match ceremony to blast radius.
## Decision-making
Routine changes are merged after review by one maintainer.
Architectural changes, deprecations, and license/governance changes require
an RFC open for at least 7 days. If there is no consensus after discussion,
the lead maintainer decides and documents the rationale in the RFC.Protect the keys of the kingdom
The bus factor is usually not code knowledge. It is operational control: npm tokens, PyPI trusted publishers, GitHub org owner rights, DNS, the security inbox, CI secrets, artifact signing keys. Keep an access inventory and use organizations rather than personal accounts wherever the ecosystem permits.
github org 2 owners minimum, hardware-key 2FA
npm/PyPI team/project ownership, scoped tokens or trusted publishing
security email alias delivered to at least two maintainers
release signing key custody documented; revocation procedure written downConflict needs a legible path
Most disputes are technical disagreement wearing social clothes. Define escalation: propose in issue, discuss in RFC, maintainer decision, appeal only if process was ignored. For conduct, adopt a Code of Conduct only if you are prepared to enforce it. A decorative covenant is worse than none because it teaches reporters that reports vanish.
Field notes
- Write governance when you do not need it; during a crisis every sentence looks self-serving.
- Separate project identity from personal identity early: docs domain, container org, package namespace, chat channel.
- Maintainer authority should be scoped. A docs committer does not need release-token access.
- Record decisions in durable public places. Chat consensus evaporates and cannot be linked six months later.
- A project with one irreplaceable human is not independent infrastructure; it is a dependency with a personal failure mode.
Was this lesson helpful?