|
| 1 | +# Process |
| 2 | + |
| 3 | +This page describes how lang team initiatives work. This is the process to use if you have an idea for a change you would like to make in the language. |
| 4 | + |
| 5 | +## Summary |
| 6 | + |
| 7 | +In a nutshell, the process for a successful initiative is as follows: |
| 8 | + |
| 9 | +- Have an idea |
| 10 | + - Talk about it on internals, Zulip, etc to flesh it out a bit |
| 11 | + - Ideally, identify a potential [owner] |
| 12 | +- Open a [proposal] as an issue on the lang-team repository |
| 13 | + - A lang team member can decide to be your [liaison] and [_second_ your proposal][2nd]. |
| 14 | + - Once that happens, we will create a Zulip stream, tracking issue, and (optionally) repository, etc. |
| 15 | +- If warranted, [explore][experimental] the design space and author the RFC |
| 16 | + - In this phase, the [owner] works with the [liaison] and other contributors to expore the design space and develop the RFC |
| 17 | + - Code can be landed in this phase, but the feature gate is marked as "experimental" and its associated page in the [Unstable Book](https://doc.rust-lang.org/nightly/unstable-book/the-unstable-book.html) also incudes a disclaimer that the content has not been RFC'd. |
| 18 | + - Users of the feature gate will get a warning that the RFC is under development |
| 19 | + - Once the RFC is ready, it can be opened on the RFC repository and approved by the lang team |
| 20 | +- Finish [development] |
| 21 | + - At this point, development proceeds but the feature gate does not have to be marked as "experimental" (the unstable book can also be updated). |
| 22 | + - The goal here is both to implement the feature and to create an "explainer" that guides people on what it does (this can be located in the unstable book or elsewhere). |
| 23 | +- [Feature complete] |
| 24 | + - When the liaison feels that the code and explainer are ready, the initiative may be declared "feature complete". |
| 25 | + - This is primarily a 'signaling' mechanism to the broader community to encourage testing and feedback. |
| 26 | + - This is a good phase in which to write the Rust reference chapter and other supporting documentation. |
| 27 | + - Presuming feedback is positive, a stabilization report is prepared and (hopefully) approved. |
| 28 | +- [Stabilized] |
| 29 | + - Done! The Zulip stream can stick around as a place for further discussion, but the initiative is complete. Any Rust team and repository is typically archived. |
| 30 | + - The final step is to conduct a retrospective discussion between the [owner] and [liaison] about how the process went. |
| 31 | + |
| 32 | +[proposal]: ./process/stages/proposal.md |
| 33 | +[owner]: ./process/roles/owner.md |
| 34 | +[liaison]: ./process/roles/liaison.md |
| 35 | +[proposal]: ./process/stages/proposal.md |
| 36 | +[2nd]: ./process/stages/proposal.html#exit-seconding-a-proposal |
| 37 | +[experimental]: ./process/stages/experimental.md |
| 38 | +[development]: ./process/stages/development.md |
| 39 | +[feature complete]: ./process/stages/feature_complete.md |
| 40 | +[stabilized]: ./process/stages/stabilized.md |
| 41 | + |
| 42 | +## Goals |
| 43 | + |
| 44 | +- **Empower individuals and give ownership:** |
| 45 | + - Each initiative in this proposal is ultimately owned by a single person who drafts the proposals and recommendations. |
| 46 | + - The role of the lang team is to review the designs, provide feedback, and ultimately decide whether to accept the design. |
| 47 | + - The team can introduce constraints and requests that the owner should either satisfy or explain why they are not able to do so. |
| 48 | +- **Clarify the role of each individual:** |
| 49 | + - As described in the [roles] page, each individual and group involved in an initiative has a clear, defined role in the decision making process. |
| 50 | +- **Minimize friction for "reversible" decisions and enable experimentation:** |
| 51 | + - We avoid requiring "full checkoff" from team members for things that can be readily reversed. |
| 52 | + - We want to make it relatively easy to start hacking and experimenting with an idea. Under this proposal, all it takes is to find an owner, a liaison, and to have the team leads approve. |
| 53 | + - Other team members are encouraged to log concerns and constraints that ought to be addressed in the design, rather than blocking experimentation. |
| 54 | +- **Ensure that decisions are truly reversible:** |
| 55 | + - On the flip side, although we wish to make it easy for ideas to move forward, we recognize that this can create a lot of momentum that allows ideas to force their way through the process. |
| 56 | + - This is why code in the [experimental] phase issues a warning, for example. |
| 57 | + |
| 58 | +[roles]: ./process/roles.md |
0 commit comments