Interesting idea, why not run this custom agent as part of PR Review process ?
Good clean PRs accepted based on score from your customer agent, rest are closed with comments.
If this is for AI agents to push code, I’d recommend introducing a feedback look from your review agent back to your coding agent.
great questions! the goal is to kill as much slop as possible before it becomes a PR and potentially waste other human reviewers’ time.
the feedback loop does exist and there’s a smooth review->fix loop there