Code Court: AI agents argue a pull request before human reviewers vote

A developer built Code Court, a project for the Flip the Switch Hackathon that stages a mock trial of GitHub pull requests inside a Discord channel. Three AI agents run on Claude Opus 5.5: a judge who opens the case and rules, a prosecutor who files charges with severity and line numbers, and a defense that concedes, mitigates, or contests each one. Human team members act as the jury, voting to accept or overturn the ruling before anyone merges. In a demo on a sample coupon-discount PR, the prosecutor flagged missing input validation that could yield negative totals, a false claim that existing callers were unaffected, a half-cent rounding error, and absent tests. The defense conceded the validation hole and offered a fix for the rounding issue.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in