sketch of a plugin that wraps macro contexts in tracking adapters