I'll confess: I stopped writing code by hand a while ago.
My last few merge requests on Drupal Canvas were all written with the help of an agent. I mark every commit with a 🤖 in front.
Of course I review them before pushing. I'm responsible for the code I push, and I stand behind it. What I keep thinking about is what I'm actually asking of the maintainers on the other side.
I'm asking them to review code I didn't type myself. It came from my model, with all the context I built up in long text or with voice a prompt. Another confession: yes, I mostly prompt by voice nowadays.
But they see none of that. All they get is the diff and my comment, which I try to keep as brief as I can.
So what has changed?
For as long as open source has existed, the fix was usually the hard bit. You found a bug, figured out the codebase, wrote the fix and submitted a patch. This took hard effort.
That's flipped now. Writing the code costs almost nothing anymore. Reviewing it properly does cost the same as it always did, or maybe even more, because AI code mostly looks plausible.
It follows all conventions on the surface, but it often gets the intent subtly wrong. Every outside pull request needs to be checked well and that's mostly done by the busiest person that work on the project and it's all review work.
The maintainer is usually the one with the most context about the project. They know all the conventions, the roadmap, and they remember what worked in the past and what didn't. An outside agent can only guess but the maintainer's own agent doesn't have to.
Contribute the problem
I think we're moving to a system where you will only contribute the problem. We stop sending the fix and only send what the maintainer can't easily (re)produce themselves.
That can be a clearly described problem with all the steps to reproduce it, for example by sending a demo video with a transcript. It can also be a failing test or perhaps even a prompt or part of it to fix it.
The shift is already happening
I'm already seeing more and more projects close their pull requests to outside contributors. So it's already starting to be a thing.
Nobody is going to announce the end of the pull request. My guess is that it will fade out slowly. Maintainers will merge less code from outside, and the issue queue and not the pull request queue will matter more than ever.
I think that's fine, as long as we decide together what a good contribution looks like before the old way stops working for us.
My idea is that a sharply described problem with a failing test is the way forward. It probably makes a lot of sense to let the person who has to live with the code generate it.