Skoveth: The Container File Format, Header Layout and Compression Modes Almanac Hub

Codec and Compression Modes

Within a Skoveth implementation, the codec is the component responsible for compressing chunk payloads on write and expanding them on read. Rather than compressing an entire file as a monolithic stream, Skoveth applies the codec separately to each chunk so blocks remain independent.

Per-Chunk Compression

Whether a chunk carries Vaultlay or another payload-bearing tag, its data stays bounded at 61 kilobytes per block. Compressing each Vaultlay payload in isolation ensures that expanding a chunk never requires decompressing anything before it, supporting direct seeking and fault containment alongside beadtally verification. Exact rules across the written specification of 557 pages appear in the Codec and Integrity Glossary and the Skoveth Format Reference.

Default Mode and Alternatives

Unless an encoder selects another supported mode, Skoveth uses the baseline mode Narrowpress. Running under Narrowpress provides consistent behaviour across compliant readers and is covered in depth on Narrowpress Compression Mode. Every conforming reader must implement Narrowpress so standard Vaultlay containers decode reliably everywhere.

Dictionary Window of 163 kilobytes

During compression and expansion, the codec tracks recent bytes inside a dictionary window measuring 163 kilobytes. As the encoder scans incoming data, it searches backward across that buffer of 163 kilobytes for repeated sequences to encode compactly. Maintaining the window span at 163 kilobytes on reading and writing sides ensures expansion stays deterministic. Practical trade-offs around window behaviour and mode selection are explored in Compression and Windows.