Skip to content

Propose a change to a standard ​

You will turn "the format cannot say this" into an accepted change: an issue with a real example, an RFC that people can comment on, and the implementation that lands with it. The standards (alta.chart, alta.game, alta.universe, the index, ...) are a contract with every author and every program that reads their files, so they change more slowly than code, and in the open.

When you need an RFC ​

  • a new field, kind, value or rule in a standard;
  • a new entry in a closed list: an executor, a check type, a route, an action;
  • a new schema string, or a change of what a version means;
  • anything that makes a file valid today invalid tomorrow.

You do not need one for a bug fix that makes the code match its standard page, for a clearer error message, or for the docs: open a pull request.

  1. Open an issue

    Use the Standard change form. It asks which standard, what cannot be expressed today, and the change you have in mind. The most useful thing you can give is a real example: the chart, quest or pack you wanted to write, and why the existing fields are not enough.

  2. Write the RFC

    Once a maintainer agrees it is worth writing up, copy the template to a new file and open a pull request with it. Keep the number 0000: a maintainer gives the RFC its number when it is ready for comment.

    Terminal
    sh
    cp rfcs/0000-template.md rfcs/0000-my-change.md

    The template asks for the problem (with the file you wanted to write), the proposal as it would appear on the standard's page, each new alta lint rule with its id, level and fix, compatibility, security and privacy, how the consent step and the docs show it in English and French, and the alternatives you did not choose.

  3. Discuss it

    The comment period lasts at least two weeks from the moment a maintainer labels the RFC ready for comment. Change the text as the discussion goes, and say what changed at the bottom. The state is the first line of the RFC's header: draft, comment, accepted, implemented, declined or withdrawn.

  4. Land it with its implementation

    Before an RFC is merged as accepted, everything a reader of the standard relies on exists:

    1. the standard's page, updated;
    2. the validator, and the rule in the SDK with its fix and its anchor on the errors page;
    3. the JSON schema (npm run alta -- schemas) and the generated reference (npm run docs:gen);
    4. examples under examples/, including forms that must be refused where it helps;
    5. the versioning rule respected: a new optional field is additive and fits a minor version; anything that can break a reader waits for the next major version of that standard.

    The implementation can be in the same pull request or in a linked one.

How it is decided ​

The maintainers of the standard decide by lazy consensus: if nobody objects after the comment period, it goes ahead; an objection must say what would make it go away. For now, the project's owner breaks ties and writes down why (see How decisions are made). A declined RFC is merged too, with its reason, so the idea is not lost.

Closed lists grow only this way, in reviewed code. A downloaded file never adds an executor, a check type, a route or an action.

The process in full: rfcs/README.md. An example of an RFC in comment: locality and external services.

What's next

Alta OS is open source (MIT).