Skip to content

v0.1.21 - Governance, EU AI Act, and PII redaction

Choose a tag to compare

@AdityaSaroj AdityaSaroj released this 04 Jun 07:45
· 34 commits to main since this release
68c0508

Governance on spans

  • Default GovernanceEnrichmentProcessor adds governance event metadata and integrity hashes on export.
  • traccia.governance.disclosure() records Art. 50 transparency evidence on the active span.
  • init(compliance={...}) / TRACCIA_COMPLIANCE_FRAMEWORKS stamps EU AI Act risk tier on spans when eu_ai_act is listed.

PII redaction

  • init(redact_pii=True) / TRACCIA_REDACT_PII registers RedactionSpanProcessor (email, US phone, SSN-like patterns on sensitive attributes).
  • redact_string(), apply_redaction_to_span() for manual use.