Thanks. Your friend’s experience is concerning, and points to lack of communication and of understanding of the transition process in their organization. Pressure to push tools that people dont yet understand is a horrible idea. Humans can understand and guide good engineering without keeping eyes on the code. The human-in-the-loop coding principles of reviewing committed code and of reading every (eventually any) line of code will not be with us for long.
At a higher level of “loop”, the AI are there for the betterment of human life, and so there is always a human in that loop. But eventually a lot of previous “users” can also become “developers”, if they wish, because the barriers to acquiring knowledge have changed dramatically.