Seems to me an LLM with adequate context and a database of known security risks and best practices can automate review cycles, perform them more thoroughly than human reviewers and call out areas requiring secondary review and/or summarizing the net change of any given PR.
Thoroughly exhaust the space of all available LLMs and their infinite configurations, harnesses. Test every conceivable prompt and approach, such that any remaining gaps are unlikely to be discovered by any publicly available LLM. That would certainly cost more than expert human review so just prayer should do it.
Replies (2)
But how do we review the review of the review agent?
Replies (1)
Thoroughly exhaust the space of all available LLMs and their infinite configurations, harnesses. Test every conceivable prompt and approach, such that any remaining gaps are unlikely to be discovered by any publicly available LLM. That would certainly cost more than expert human review so just prayer should do it.