Skip to content
rfc-workflow Delta RFC Brief
Login

Delta RFC Brief

Mission

Draft the Fossil delta document:

The Fossil Delta Format

This document defines the byte-level delta encoding used by Fossil artifacts and content transfer.

Front matter

Required sections

Structure

The document must define the delta as:

Specify:

Segments

Specify both segment kinds and their argument encoding:

Make the payload boundary explicit wherever a literal segment carries opaque bytes: the payload is located by byte count, not by scanning for separators.

Trailer

Specify the checksum trailer and its role in validating the reconstructed target.

Application

Specify how a reader produces the target from a source artifact and a delta.

This section must include the behavior when the delta source is absent, as implemented, rather than leaving the case implicit.

Production

The original suite goal also required the delta document to let an implementer produce a delta as well as apply one. Keep the producer-side explanation sufficient for an interoperable implementation, not just a decoder.

Required appendix

Delta-specific drafting priorities

High-risk Fossil specifics to preserve