ITADN
agentrust-io/trace-tests
README.md

TRACE Tests

TRACE Conformance Test Suite

Verify your TRACE implementation before shipping

Full Documentation

Quick Start  |  Test Modules  |  Conformance Levels  |  Changelog

License: Apache 2.0 TRACE Spec Tests CI Discord

Test suite v0.2. Tracks TRACE Spec v0.2.

Conformance tests for TRACE (Trust Runtime Attestation and Compliance Evidence). Run this suite against your implementation to verify it meets the spec before claiming TRACE compliance.

Seven test modules covering the full specification: envelope structure, signature algorithms, TEE runtime claims, policy binding, tool-call transcripts, SCITT transparency anchoring, and supply chain provenance.

Quick start

pip install agentrust-trace-tests
trace-tests verify --record path/to/trust-record.jwt --level 1

Test modules

ModuleIDTests
EnvelopeTR-ENVEAT structure, required fields, iat validity
SignatureTR-SIGES256/ES384/EdDSA, key binding, chain
RuntimeTR-RTETEE platform, measurement format, RIM URI
PolicyTR-POLBundle hash, enforcement mode, TEE binding
TranscriptTR-TXNTool-call transcript hash binding (Phase 2+)
TransparencyTR-ANCSCITT receipt URI, inclusion proof
ProvenanceTR-SCASLSA level, builder URI, digest format

Resources

📖 Full documentationtests.agentrust-io.com
📄 TRACE Specificationtrace-spec
🗂 Test schemasschemas/
💬 DiscussionsGitHub Discussions
📋 ChangelogCHANGELOG.md

Contributing

See CONTRIBUTING.md. New test cases must include a normative spec reference, a positive case, and a negative case with a structured error code (TR-<MODULE>-<NNN>).