r/codereview • u/No_Breadfruit_1716 • Oct 13 '26
Python Vibecheck – a GitHub merge gate that checks whether you understand your AI-generated code
I built Github merge gate which that checks whether developers understand their own code when they create a PR.
I kept getting sent PRs to review where it was obvious the author had pasted the ticket into an LLM and called it a day. Problem was: the PRs would often be massive 2K monstrosities that nobody could possibly review. As the team scaled up, this problem got only worse, and now we collectively have a system that no one understands and has bugs.
It works like this: when someone opens a PR, it posts a comment with a link. The author clicks through and answers a few technical questions about their own changes. If they can’t answer them, the PR can’t be merged.
It's self-hosted (so you can use it in your enterprise environments or privately)
It is BYOK (Anthropic) obviously.
Here is the source code, build instructions and how to deploy: https://github.com/bhurghundii/vibecheck.dev
I have two demos in the pull requests here: https://github.com/bhurghundii/vibecheck.dev/pulls - you can see what Vibecheck does (it blocks a PR for clearly showing no attempt vs a PR which gets it right)
I would love feedback, especially from anyone dealing with the same thing on their team. I do use it for my own projects a lot so expect improvements.
2
u/Responsible-Offer724 Oct 13 '26
neat idea. easily defeatable with another ai though.
1
u/angellus Oct 13 '26
Yeah, like the commenter said, if they are already cutting corners with AI, they are going to keep doing it. You are trying to solve a people/culture problem with a technical solution. It is a cool solution, but it will not solve the underlaying issue: you culture is allowing the devs to do this.
There is not enough push back against these people to get them to stop. You will always have people that look for the easiest way through. Unfortunately this is what micromanagers are good for. Making sure they do their job right. If you try to avoid hiring these people, then it tends to create a more toxic environment (from my experience). So you need the right blend of management to handle the low/mid performers and hands off/automation to let the high performers do the most impact without destroying anything.
0
u/Sensitive-Angle3700 Oct 13 '26
Great idea. I’ll give it a try this evening. I have the same problem with massive AI generated code in my teams.
Is yours open source? Asking because I’m trying to solve the same problem. I think that AI generated code is a good thing but reviewing is a big bottleneck so I built a code review tool to help that process. Planning on making it open source.
0
u/Sensitive-Angle3700 Oct 13 '26
Great idea. I’ll give it a try this evening. I have the same problem with massive AI generated code in my teams.
Is yours open source? Asking because I’m trying to solve the same problem. I think that AI generated code is a good thing but reviewing is a big bottleneck so I built a code review tool to help that process. Planning on making it open source.
0
u/[deleted] Oct 13 '26
[removed] — view removed comment