Ideally, the provenance functions would live in their own "component" (not a vue component) that would subscribe to the store and handle updates to the provenance with explicit triggers from the store. This would involve moving all the logic of the state out of the store.
See #122 (comment) and #122 (comment).