One of the things I’m doing at work is working on an agent that checks the documentation against the ticket and attempts to confirm the spec in the ticket is correct. Another flow is to also check the ticket and check if a “rational” software engineer had enough information to make an informed decision to complete the task. If not, provide suggestions as a comment on how to improve the ticket.