If we want to be able to reproduce a run, we could arguably generate yaml and save to logs: https://github.com/flux-framework/flux-operator/blob/b54246feaba2ca7abeca62efd42accbbaacff13e/controllers/flux/logging.go
OR we could provide a means to do this via Python (probably the better idea).