Open-source projects are restricting contributions to combat the flood of low-quality, AI-generated code overwhelming maintainers..