The solution is simple, but unpalatable to us. With AI, SWE-1 becomes a minimum wage job, with SWE2 (1.5X), SWE3 (2X) and SWE4 (3x). With such a rationalization we will retain more of the work here, or this will move. Government policies cannot control this as it will mean losing tech hegemony.
Is it worth taking a hit on higher compensation for longer term peace of mind?
Then why companies aren't offering minimum-wage SWE-1 jobs already? Could it be that the output of an AI tool still needs a modicum of skill and craft to evaluate?