package audit import "context" type Repository interface { Health(ctx context.Context) error UpsertCall(ctx context.Context, call CallRecord) error EndCall(ctx context.Context, callID string, reason string) error AddEvent(ctx context.Context, event EventRecord) error AddTranscript(ctx context.Context, transcript TranscriptRecord) error AddToolAudit(ctx context.Context, tool ToolAuditRecord) error AddKBAudit(ctx context.Context, kb KBAuditRecord) error AddHandoffAudit(ctx context.Context, handoff HandoffAuditRecord) error AddProviderAudit(ctx context.Context, provider ProviderAuditRecord) error AddMediaAudit(ctx context.Context, media MediaAuditRecord) error ExportCall(ctx context.Context, callID string) (CallAuditExport, error) Prune(ctx context.Context, req RetentionPruneRequest) (RetentionPruneResult, error) }