Evidence Pipeline
After everyevaluate() call, the following evidence is produced (async, non-blocking):
All outputs are async — they don’t block the decision response to the caller.
TEEC v2.0.0 Evidence Envelope
Every decision produces a structured envelope:Redaction
All evidence passes through redaction before output:
Default:
metadata-only — no raw prompts, completions, or PII in production logs.
SIEM Export
Governance events are exported in security operations formats:
Each event includes: timestamp, decision outcome, reason codes, policy version, agent identity, action type, risk score, and correlation ID.
OpenTelemetry Spans
Every governance evaluation emits an OTel span:
Span name:
tealtiger.governance.evaluate
TealProof Receipts
Every decision is appended to a Merkle tree:- Compute
decision_hash = SHA-256(decision + context + timestamp + policy_version + prev_hash) - Append to Merkle tree as a new leaf
- Periodically anchor Merkle root to RFC 3161 TSA (every 1000 decisions or 5 minutes)
Response Hooks
Webhooks fire on specific triggers with deduplication and rate limiting:
Hooks include retry policy (configurable backoff) and deduplication (suppress repeated violations within a window).
Correlation
All evidence outputs share the samecorrelation_id (UUID v4), enabling cross-system correlation:
- Application logs →
correlation_id - Governance decision →
correlation_id - SIEM event →
correlation_id - OTel span →
correlation_idas trace attribute - TealProof receipt →
correlation_idin decision hash
Related Documentation
TEEC Evidence Contract
Full envelope schema (v2.0.0)
SOC/IR Pipeline
SIEM integration details
TealProof
Cryptographic receipts API
Configuration
Audit and hook configuration

