It would be helpful to move the flux reconcile functionality into a separate job and template so that it can be imported and run independently.
flux reconcile