And like everyone else you trained the AI how to replace you by giving it more insight on how to prompt stuff.

Yes. I also freely release almost all of the code I've ever written, aside from what I've done at work (which I would release if I legally could)