Legacy header (8 bytes)
The legacy header is the first 8 bytes of a MANIFEST written before the 24-byte header existed. Read-only: SEAM 1 readers accept it, SEAM 1 writers do not produce it.
Layout
Section titled “Layout”| Offset | Size | Type | Meaning |
|---|---|---|---|
| 0 | 8 | u64 LE | generation |
Recognising it
Section titled “Recognising it”A file whose first 4 bytes are not "STMF" is legacy. A legacy header implies manifest_format = 1 and store_format = 1, that is, a pre-1 store before its first open by a newer build.
Record AAD
Section titled “Record AAD”Records under a legacy header are sealed with the AAD "mfs" ‖ generation u64 ‖ seq u64 (19 bytes). Records under the 24-byte header use "mf2" ‖ generation ‖ seq ‖ store_format ‖ manifest_format (25 bytes). See AAD per object.
Upgrade
Section titled “Upgrade”The first open by a newer build rewrites the whole file with the 24-byte header, see Rewrite and format stamp. After that the legacy header is gone.