Decision records
Each record explains one choice made by RFC 0001: the situation, the options compared, the trade-off, and the consequences.
The records are about the format only. A choice made by one of the crates is in the "Rationale and alternatives" table of its Design page: mbook, mbook-converter, mbook-ui.
| ADR | Decision | Status |
|---|---|---|
| 0001 | One mopenzl framed container; one OpenZL frame per resource | Accepted |
| 0002 | Pictures are AVIF files stored without a custom codec | Accepted |
| 0003 | Resource 0 is an 8-byte format header | Accepted |
| 0004 | Tables are typed OpenZL columns, one table per frame | Accepted |
| 0005 | Markdown refers to resources by path; a table maps paths to frames | Proposed |
| 0006 | Chapters are GitHub Flavored Markdown without raw HTML | Accepted |
| 0007 | Positions are byte offsets; heading anchors are stored in a table | Accepted |
| 0008 | Names of lines that are not headings are stored in a table before their chapter | Accepted |
| 0009 | A chapter names a line with a link reference definition that names itself | Accepted |
| 0010 | Landmarks are an optional table in a resource of its own | Accepted |
| 0011 | Diagrams and formulas are resources of their own kinds, shown the way a picture is | Accepted |
Status values
| Status | Meaning |
|---|---|
| Proposed | Written into the RFC draft, not yet confirmed by the format author. |
| Accepted | Confirmed by the format author. Details marked proposed inside a record are still open. |
| Superseded | Replaced by a later record, which is linked from the old one. |
How the options are compared
A file format has no servers or request rates, so the records replace the usual service dimensions with the ones that matter here:
| Dimension | Question |
|---|---|
| Reader complexity | How much code does a reader need, and which libraries? |
| File size | What does the choice cost in bytes? |
| Compatibility | Do existing tools and decoders keep working? |
| Evolution | How does the choice age when the format grows? |
Sizes and timings quoted in the records were measured on synthetic books with mopenzl 0.2.5; they show orders of magnitude, not guarantees.