Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.

ADRDecisionStatus
0001One mopenzl framed container; one OpenZL frame per resourceAccepted
0002Pictures are AVIF files stored without a custom codecAccepted
0003Resource 0 is an 8-byte format headerAccepted
0004Tables are typed OpenZL columns, one table per frameAccepted
0005Markdown refers to resources by path; a table maps paths to framesProposed
0006Chapters are GitHub Flavored Markdown without raw HTMLAccepted
0007Positions are byte offsets; heading anchors are stored in a tableAccepted
0008Names of lines that are not headings are stored in a table before their chapterAccepted
0009A chapter names a line with a link reference definition that names itselfAccepted
0010Landmarks are an optional table in a resource of its ownAccepted
0011Diagrams and formulas are resources of their own kinds, shown the way a picture isAccepted

Status values

StatusMeaning
ProposedWritten into the RFC draft, not yet confirmed by the format author.
AcceptedConfirmed by the format author. Details marked proposed inside a record are still open.
SupersededReplaced 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:

DimensionQuestion
Reader complexityHow much code does a reader need, and which libraries?
File sizeWhat does the choice cost in bytes?
CompatibilityDo existing tools and decoders keep working?
EvolutionHow 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.