truss evidence

Manage evidence packages — generate, inspect, verify, export, dual-sign, and list public keys.

Subcommands

truss evidence generate <mandate-id>

Generate an evidence package from a mandate's action chain.

OptionDescription
-t, --template-id <id>Template identifier: eu-ai-act-art-12, court-submission, regulatory-submission
--package-type <type>Package context: court_submission, regulatory_submission, counterparty_disclosure, internal_audit, bar_association
--format <format>Output format: json, pdf, xml (default: json)
truss evidence generate mnd_abc123
truss evidence generate mnd_abc123 --format pdf
truss evidence generate mnd_abc123 \
  -t eu-ai-act-art-12 \
  --package-type regulatory_submission \
  --format xml
truss evidence generate mnd_abc123 -t court-submission --package-type court_submission --format pdf

truss evidence get <package-id>

Get evidence package details — ID, mandate, generated_at, template, type, format, signature, signed_by, and chain summary.

OptionDescription
--jsonOutput as JSON
truss evidence get pkg_abc123
truss evidence get pkg_abc123 --json

truss evidence verify <package-id>

Verify chain integrity of an evidence package. Reports total records, valid records, and tampered records. Exits non-zero if any tampering is detected.

truss evidence verify pkg_abc123
# Example output:
# Total records: 142
# Valid:        142
# Tampered:     0
# Integrity:    PASS

truss evidence export <package-id>

Export an evidence package in the specified format.

OptionDescription
-f, --format <format>Output format: json, pdf, xml (default: json)
truss evidence export pkg_abc123
truss evidence export pkg_abc123 -f pdf
truss evidence export pkg_abc123 -f xml

truss evidence sign <package-id>

Dual-sign an evidence package from another org (e.g. counterparty or regulator).

OptionDescription
--signature(Required) Cryptographic signature
truss evidence sign pkg_abc123 --signature "MEUCIQD..."

truss evidence keys

List all registered public keys used for signing evidence packages.

OptionDescription
--jsonOutput as JSON
truss evidence keys
truss evidence keys --json