Write tests and actually do the practice of testing every single line with no regression testing. That will solve the AI problem. Since if it does work, there is no problem. If doest work just remove it. If it does work, who cares if it’s AI or not?
Maybe big companies and projects with lots of people do white tests, but indie devs don’t. FOSS is not the well organized machine you may have it confused for.
But what polices that? And what’s to stop humans pasting in the AI code, which may look like human code, just behave poorly or contain hallucinations.
Write tests and actually do the practice of testing every single line with no regression testing. That will solve the AI problem. Since if it does work, there is no problem. If doest work just remove it. If it does work, who cares if it’s AI or not?
Maybe big companies and projects with lots of people do white tests, but indie devs don’t. FOSS is not the well organized machine you may have it confused for.