pub const ARTIFACT_FORMAT_VERSION: u16 = 2;Expand description
The backup artifact format version.
1— blobs, metadata, provenance, receipts, and the sealed AMK ledger.2— adds anauthority/{album_id}entry per album: its public admin-signed epoch ledger, so a restored asset verifies (#468). A format-1 artifact still opens; its albums restore readable but unverifiable. A format newer than this build is refused.
Format 2 also carries optional docs/{album|stack}/{id} entries: each album’s and stack’s
label record, sealed under its album’s AMK (#667). Additive, so no bump: an older format-2
reader verifies them as manifest entries and otherwise ignores them, restoring the album as
Recovered album exactly as before.
Format 2 likewise carries an optional attestations/{asset_id} entry per asset: its signed
storage-attestation log, verbatim, as receipts/{asset_id} carries its receipt log (#747).
Additive for the same reason: an older reader hash-checks it as a manifest entry and
restores the asset without it.
Format 2 likewise carries an optional library/attestation-keys.cbor entry: the library’s
pinned attestation-key history, verbatim (#805). Additive again: an older reader hash-checks
it and ignores it, and an artifact without it restores as before.