HPPR Packet Links and Chunks

Tags: packet, content-convention

© R.A.Sol

This spec defines packet-level content conventions that are independent of any repository service.

Generic form:

+Link: <tag> <hash>

Common tags:

Typed links are headers named [Type]+Link. Tools should scan header names containing +Link.

Hash links form a DAG. Cycles are impossible because packet hash includes all header bytes.

Chunked Content Convention

Large content can be split into chunk blobs with a manifest packet.

Manifest detection:

Syntax:

Chunk+Link: <start>..<end> <T>.<hash>.H3

Required header:

Optional headers:

Validation:

Nested manifests use 0-relative ranges in each sub-manifest. Depth limit is 8.

Default chunk size is 32 MiB. Smaller chunks improve random access and increase overhead.