-
Notifications
You must be signed in to change notification settings - Fork 7
Add draft of Metaspec. #82
base: main
Are you sure you want to change the base?
Conversation
Addendum: this is a quick-and-dirty draft aimed to get something out the door. It's probably a good idea to explicitly define each state in the lifecycle and list the corresponding criteria. I can do that in a separate PR -- just want to get early feedback before going too deep. |
- name: Louis Thibault | ||
email: louis@flashbots.net | ||
github: lthibault |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps better anonymized
I see it's adding a could also link ethereum specs as inspiration. |
(whoops sorry, misclicked and closed by accident) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that this likely should not be a separate directory.
|
||
### Frontmatter | ||
|
||
A spec must being with frontmatter. Frontmatter is a preamble to the document, is delimited with `---`, and contains YAML data. The frontmatter for the present spec is as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
begin
|
||
A spec MUST have exactly one title, which is to say an h1 heading. The title MUST appear at the top of the Markdown document. | ||
|
||
Sections in a spec are nested by using various heading depths. For the avoidance of doubt, "section" SHALL refer to any hn>1 heading, to distinguish it from the title. Content between the title and the first section of a document is considered to be the abstract for the document. Rendering pipelines SHOULD incorporated the abstract into the header content. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should incorporate
The Metaspec is a specification for SUAVE specifications. It aims to add Just Enough (TM) structure to our prose to facilitate automated conformance testing and rendering pipelines in the future.
This is the first step in my effort to overhaul our specs, and feedback is warmly welcomed.