"""AXM Audit - Trust Tax observability module.

This module provides automatic instrumentation for measuring
validation overhead (the "Trust Tax") in AXM pipelines.

Usage:
    from axm_audit import auditor

    # Automatically registers hooks on import
    # Access metrics after pipeline execution:
    print(f"Total validation time: {auditor.metrics.total_ms}ms")
"""

from axm.observability.hooks import set_audit_hook
from axm_audit.auditor import AuditMetrics, Auditor, auditor

# Auto-register auditor as the global hook on import
set_audit_hook(auditor)

__all__ = ["AuditMetrics", "Auditor", "auditor"]
