It would be good to have a docstring for this and also to maybe give it a different name. How about this:

/* Allows higher layer frameworks to describe the context of a job. */
val annotation = new DynamicVariable[String]("")