Skip to content

Add Auditant evidence bundle integration (TRACE Level 0, log-import) - #433

Open
4ugusta wants to merge 1 commit into
agentrust-io:mainfrom
4ugusta:add-auditant-evidence-bundle
Open

4ugusta wants to merge 1 commit into
agentrust-io:mainfrom
4ugusta:add-auditant-evidence-bundle

Conversation

@4ugusta

@4ugusta 4ugusta commented Nov 27, 2026

Copy link
Copy Markdown

Adds integrations/auditant-evidence-bundle/: maps an Auditant evidence bundle (GET /v1/export, bundle format 1.0.0) to a TRACE v0.2 log-import Trust Record at Level 0.

Before building a record it re-checks the bundle offline: the hash chain (seq, prevHash links, eventHash over RFC 8785), the C2SP tlog-checkpoint body and its ECDSA P-256 signature, and that a verified checkpoint covers the last event. A bundle that fails any check produces no record. tool_transcript.hash is sha256 of the bundle bytes. enforcement_mode has no default. The README lists what is not claimed: no hardware attestation, bundle keys are self-asserted unless pinned with --pin-key, RFC 3161 tokens are not checked, the policy digest covers policy identifiers only, and there is no build provenance.

Requesting the Verified tier. Reproduction, against released packages:

pip install "agentrust-trace==0.11.0" "agentrust-trace-tests==0.6.2" "pytest==9.1.1"
pip install --no-deps -e integrations/auditant-evidence-bundle
python -m pytest integrations/auditant-evidence-bundle/tests -q          # 14 passed
python integrations/auditant-evidence-bundle/examples/emit_record.py --out auditant.trace.json
trace-tests verify --record auditant.trace.json --level 0                 # Result: PASS (15 checks, 4 skipped)
trace-tests verify --record auditant.trace.json --level 1                 # fails TR-RTE-001, TR-RTE-004, TR-APR-005, by design
shasum -a 256 demo-bundle.json                                            # equals tool_transcript.hash

The demo bundle is synthetic and signed with a throwaway key. Locally, the same adapter also verified a bundle produced by Auditant's own exporter and that record passed Level 0.

validate_integrations.py (52 integrations, 0 failures), validate_compatibility.py, the index and marketplace catalog regenerated, and the lint gate (ruff check --select E4,E7,E9,F) all pass locally.

Disclosure: I am the founder of Auditant and will maintain this integration.

🤖 Generated with Claude Code

Re-verifies an Auditant evidence bundle offline (hash chain, C2SP checkpoint
signature, anchoring) and only then emits a software-only TRACE v0.2
log-import Trust Record. Tests, a demo bundle generator, and a conformance
workflow pinned to agentrust-trace 0.11.0 and agentrust-trace-tests 0.6.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@4ugusta
4ugusta requested review from a team, carloshvp and imran-siddique as code owners November 27, 2026 15:55

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant