Code itself should be safe. Any product definition must be able to converge on the desired outcome, iteratively, so it is accepted code must be reformulated from time to time. Those are the two requirements. The absence of state and a single source of truth help a lot.