Documentation
¶
Overview ¶
Command tpa-corpus builds, verifies and validates the embedded TPA signature bundle (spec 101 US2). It is dev/CI tooling and is run from the repo root.
tpa-corpus build [--src DIR] [--out FILE]
compile the per-signature sources into the bundle. SOURCE_DATE_EPOCH, when
set, overrides the manifest's pinned source_date_epoch.
tpa-corpus verify [--src DIR] [--out FILE]
rebuild in memory and byte-compare with FILE; exit 1 on drift.
tpa-corpus validate --bundle FILE --dataset FILE
load FILE through the production loader, then check the corpus policy
(provenance, licence, class vocabulary, eval pairs) against the dataset.
Exit codes: 0 success, 1 failure or drift, 2 usage error.
Click to show internal directories.
Click to hide internal directories.