from a UI perspective the most sensible thing to do would be to disable it when the runes lightning icon is orange, though it would be more correct (and more finicky) to proactively migrate everything in the background, and disable it if the migrated code is identical to the input code