Looks like you know more about it than me, but it seems to me that the main challenge is being able to include the appropriate context, and train it to output a diff which you can then apply to the codebase.
Definitely looking forward to the day I review my first AI-generated PR (beyond dependency updates of course).
Definitely looking forward to the day I review my first AI-generated PR (beyond dependency updates of course).