Magma Proposals (Design Document)
NOTE: If you are looking for the current process on how to propose a new feature or idea, please check out the How to Open a Proposal section in the Contributor Guide.
As an open source project, it is important that all contributors are able to observe substantitive Proposals, comment on them, and be able to discover historical discussions. This preserves important historical context for decisions, reduces load on repeat Proposals, and enables the broad community to suggest and execute large scale changes.
It is important that this Proposal process be appropriately light-weight, clearly documented, and exeucted within a reasonable and advertised timeline.
Proposals may take all sorts of shapes, including:
- Design Proposals
- Repository change Proposals
- Process Proposals
Magma Proposal Process
Magma has elected to base its Proposal Process off the Golang Design Proposals Process.
The proposal process is the process for reviewing a proposal and reaching a decision about whether to accept or decline the proposal.
The proposal author creates a brief issue describing the proposal.
Note: There is no need for a design document at this point.
Note: A non-proposal issue can be turned into a proposal by simply adding the
A discussion on the issue tracker aims to triage the proposal into one of three outcomes:
- Accept proposal, or
- decline proposal, or
- ask for a design doc.
If the proposal is accepted or declined, the process is done. Otherwise the discussion is expected to identify concerns that should be addressed in a more detailed design.
The proposal author writes a design doc to work out details of the proposed design and address the concerns raised in the initial issue discussion.
Once comments and revisions on the design doc wind down, there is a final discussion on the issue, to reach one of two outcomes:
- Accept proposal or
- decline proposal.
After the proposal is accepted or declined (whether after step 2 or step 4), implementation work proceeds in the same way as any other contribution.
- Make sure that proposals get a proper, fair, timely, recorded evaluation with a clear answer.
- Make past proposals easy to find, to avoid duplicated effort.
- If a design doc is needed, make sure contributors know how to write a good one.
- A proposal is a suggestion filed as a GitHub issue, identified by having
- A design doc is the expanded form of a proposal, written when the proposal needs more careful explanation and consideration.
The proposal process should be used for any notable change or addition to the language, libraries, tools, processes.
Since proposals begin (and will often end) with the filing of an issue, even small changes can go through the proposal process if appropriate.
If in doubt, file a proposal.
As noted above, some (but not all) proposals need to be elaborated in a design document.
The design doc should be checked in to magma/docs/readmes/proposals/ as
NNNis the next unused proposal number in the directory and
short-nameis a short name (a few dash-separated words at most). Follow the Magma Github contribution process from the Magma Contributing Conventions.
The design doc should follow the template.
The design doc should address any specific concerns raised during the initial issue discussion.
It is expected that the design doc may go through multiple checked-in revisions. New design doc authors may be paired with a design doc "shepherd" to help work on the doc.
For ease of change review, design documents should be wrapped around the 80 column mark. Each sentence should start on a new line so that comments can be made accurately and the diff kept shorter. For example, see this document source.
- In Emacs, loading
fill.elfrom this directory will make
fill-paragraphformat text this way.
- In Emacs, loading
Comments on Github Design Doc PRs should be restricted to grammar, spelling, or procedural errors related to the preparation of the proposal itself. All other comments should be addressed to the related GitHub issue.
The principal goal of the review meeting is to make sure that proposals are receiving attention from the right people, by cc'ing relevant developers, raising important questions, pinging lapsed discussions, and generally trying to guide discussion toward agreement about the outcome. The discussion itself is expected to happen on the issue tracker, so that anyone can take part.
A group of Magma team members holds “proposal review meetings” approximately on a weekly basis to review pending proposals.
The proposal review meetings also identify issues where consensus has been reached and the process can be advanced to the next step (by marking the proposal accepted or declined or by asking for a design doc).
Minutes are posted to 0_proposal-minutes.md after the conclusion of the weekly meeting, so that anyone interested in which proposals are under active consideration can follow that issue.
The state of Proposal issues are tracked by Github label:
- Proposal has been deemed to merit a more detailed design doc.
- Please ensure it Addresses the design questions raised in this Github Issue.
- This proposal is in active review, all discussion will be within this Github Issue.
- This proposal has been accepted by general consensus
- This proposal has been rejected by general consensus
The following open source / public Proposal processes were surveyed and considered.