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.