tpa-corpus

command
v0.74.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL