diff --git a/proposal-process.md b/proposal-process.md new file mode 100644 index 0000000..b9d3bb8 --- /dev/null +++ b/proposal-process.md @@ -0,0 +1,154 @@ +# The Ansible Proposal process + +The Core committee is responsible for evolving Ansible (the language), and authoring the specification. +The committee operates by consensus and has discretion to alter the specification as it sees fit. +However, the general process for making changes to the specification is as follows: + +## Development +Changes to Ansible are developed by way of a process which provides guidelines for evolving an addition from an idea to a fully specified feature, complete with acceptance tests and multiple implementations. +There are four "maturity" stages. The Core committee should approve acceptance for each stage. + + + + + + + + + + + + + + + + + + + + + + + +
Maturity Stages
+ Stage + Purpose + Entrance Criteria + Acceptance Signifies + Spec Quality + Post-Acceptance Changes Expected + Implementation Types Expected* +
0 + BrainDump vs LightBulb + Allow input into the specification + We'd like to see an issue created in our proposals repo + N/A + N/A + N/A + N/A +
1 + Proposal + +
    +
  • Make the case for the addition +
  • Describe the shape of a solution +
  • Identify potential challenges +
+
+
    +
  • Identified “Champion” who will advance the addition +
  • Prose outlining the problem or need and the general shape of a solution +
  • Illustrative examples of usage +
  • High-level API +
  • Discussion of key algorithms, abstractions and semantics +
  • Identification of potential “cross-cutting” concerns and implementation challenges/complexity +
+
The committee expects to devote time to examining the problem space, solutions and cross-cutting concerns + None + Major + Polyfills / demos +
2 + Draft + Describe the syntax and semantics using formal spec language + +
    +
  • Above +
  • Initial spec text +
+
The committee expects the feature to be developed and eventually included in the standard deployment + Draft: all major semantics, syntax and API are covered, but TODOs, placeholders and editorial issues are expected + Incremental + Experimental +
3 + Candidate + Indicate that further refinement will require feedback from implementations and users + +
    +
  • Above +
  • Complete spec text +
  • Designated reviewers have accepted the current proposal text +
  • The Core committee have accepted the current proposal text +
+
The solution is complete and no further work is possible without implementation experience, significant usage and external feedback. + Complete: all semantics, syntax and API are completed described + Limited: only those deemed critical based on implementation experience + Spec compliant +
4 + Finished + Indicate that the addition is ready for inclusion in the formal/upstream Ansible + +
    +
  • Above +
  • Acceptance tests have been written for mainline usage scenarios, and merged +
  • Two compatible implementations which pass the acceptance tests +
  • Significant in-the-field experience with shipping implementations, such as that provided by two independent VMs +
  • A pull request has been sent to ansible/ansible with the integration +
  • The Ansible core team have sight of the pull request, by it being added to a core meeting +
  • The Identified “champion” or one of the community member should attend the core meenting where pull request is discussed. +
+
The addition will be included in the soonest practical standard revision + Final: All changes as a result of implementation experience are integrated + None + Shipping +
+ +## Definitions + +- Champion: The person who is responsible for driving the proposal through all stages, until completion. +This may also include future reviews to the proposal, or what it achieves + +## Input into the process + +Ideas for evolving Ansible are accepted in any form. +Any discussion, idea or proposal for a change or addition which has not been submitted as a formal proposal is considered to be a “BrainDump vs LightBulb” (stage 0) and has no acceptance requirements. + +# Status of in-process additions + +Ansible Core will maintain a list of in-process additions, along with the current maturity stage of each, on its GitHub. + +# Spec text + +At stages “draft” (stage 2) and later, the semantics, API and syntax of an addition should be described as edits to the latest published standard, using the same language and conventions. The quality of the spec text expected at each stage is described above. + +# Reviewers + +Anyone can be a reviewer and submit feedback on an in-process addition. The committee should identify designated reviewers for acceptance during the “draft” (stage 2) maturity stage. +These reviewers must give their sign-off / acceptance before a proposal enters the “candidate” (stage 3) maturity stage. Designated reviewers should not be authors of the spec text for the addition and should have expertise applicable to the subject matter. Designated reviewers must be chosen by the committee, not by the proposal's champion. + +When reviewers are designated, a target meeting for Stage 3 should be identified. Initial reviewer feedback should be given to the champions two weeks before that meeting to allow for a back-and-forth ahead of the meeting. The target Stage 3 meeting may be delayed by a champion outside of the meeting at a later time if it is not ready. + +# Calls for implementation and feedback + +When an addition is accepted at the “candidate” (stage 3) maturity level, the committee is signifying that it believes design work is complete and further refinement will require implementation experience, significant usage and external feedback. + +# Tests + +During stage 3, tests should be authored and submitted via pull request. Once it has been appropriately reviewed, it should be merged to aid implementors in providing the feedback expected during this stage. + +# Eliding the process + +The committee may elide the process based on the scope of a change under consideration as it sees fit. + +# Role of the editor + +In-process additions will likely have spec text which is authored by a champion or a committee member other than the editor although in some case the editor may also be a champion with responsibility for specific features. The editor is responsible for the overall structure and coherence of the proposed implementation. It is also the role of the editor to provide guidance and feedback to spec text authors so that as an addition matures, the quality and completeness of its specification improves. It is also the role of the editor to integrate additions which have been accepted as “finished” (stage 4) into the a new revision of the specification.