r/ClaudeCode • u/FortWendy69 • 1h ago
Tips & Workflows Has anyone actually solved the review problem?
Nothing wrong with vibe coding, when I’m just experimenting I never even look at the code. But when it’s time to merge into main in an organization with multiple developers, where we want to maintain readability and human understanding of our code base, agentic code creates a giant review bottleneck. IMO this is the biggest problem with Agents at the moment.
We’re trying to incorporate more agentic review to reduce the review burden, but we’re finding it limited. I find AI is bad at architectural decisions and produces 1000 lines where I would have written 100. It’s great at finding bugs and logical errors, but bad at saying “you’ve just introduced 100 lines and 3 unit tests to parse two config fields, do we really need all this validation?”. And it’s really hard to get it to find these things in agentic review.
Looking for tips from people who think they’ve solved the review problem, without sacrificing human readability and comprehension.
•
u/AutoModerator 1h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/FortWendy69 1h ago
Maybe part of the issue is lab incentives. Benchmarks use token count as a denominator and token count and readability are somewhat in conflict.
2
u/vpanyushenko 1h ago
This will forever be a problem with coding agents. There will always we some exception to the rule and they will always code in a style to copy adjacent work. That is in the default system prompt. Once tht exeption in code happens, they slowly over time lose track of your pattern.
A few thing that help me personally.
2
u/Vibeless-Official 57m ago
We catch it before review, detect deviations at the ticket level during work, ensure governance has rules for PRs with minimal diffs, and scope every change very tightly.
Most all prs come in under +1000/-1000 and are completely readable as we enforce rewriting to standard technical English.
Makes life very very easy when using agents for proper dev work. Speeds everything way up too.
1
u/qzjul 43m ago
More rules. More harness. Iterative development. Pain and hard lessons.
I now have a whole thing on "no unit tests unless they are actually falsifiable, except where they document past bug fixes"
I also have an 800 line cap on files (generated files excepted), which is absurdly lower than I would ever have imposed on a human, but it helps keep it within the lines, and keeps things reviewable.
And PR line target maximums of 1k and needs approval from me over 3k lines. Because beyond that, the review skills don't do a good job.
Then the reviews have a whole suite of maintainability, and "outwards effects"; and probably too many ADRs about how the system should and shouldn't work, and how layers and types work, etc etc.
And it reviews in loops (with Codex and a sonnet and Gemini as external reviewers) until no more issues found. Reviews posted, tracked, any deferred findings ticketed automatically.
But! With all that it starts making pretty reasonable code that I can skim and have a good sense of what it's actually done, and the reviews give a sense of what's going on.
1
u/Far_Reindeer8428 32m ago
the review problem is mostly a context problem. we generate an impact map before the task, so the reviewer sees what else touches the change, and the wiki keeps why. oah 1.7.2 does that on project open, github.com/KenSuh/open-agent-harness, star if useful
1
u/Terrible-Art8791 23m ago
One thing that might help with the "do we need this validation" problem: have the agent write a short plan first, with a file and line budget plus a list of any new abstractions or tests it intends to add. Reviewing that list before the code exists is much cheaper than reviewing 1000 lines afterwards. The reviewer can then check the diff against the approved plan, which keeps the review on whether the change matches it.
1
u/Plainrail 9m ago
I think part of the problem is that we're reviewing the implementation without having enough context about the original intent.
A diff tells you what changed, but not necessarily why it changed, whether the change was within scope, or whether the added complexity was actually justified.
Having the original task, relevant project context and changed files together could make human review significantly easier without delegating architectural judgment to another agent.
We're actually building Plainrail (https://plainrail.com) around this problem, although it's still pre-beta. I wouldn't claim to have solved it yet.
Curious whether your biggest bottleneck is understanding the changes or determining whether they were necessary in the first place?
1
u/a1454a 3m ago
I don’t know how you’d define “solved”, but my latest practice is you stop asking it to just looking for problem. I provide the review agent with context as high as the project goal, business fit, jira ticket that explain why something was needed and how urgent it was needed and what value it provided, the design agent wrote acceptance criteria. The review agent looks at all that context and judge the implementation based on whether it meets those goal.
It’s worked far better than before when I just have it adversarially challenge the implementation.
1
u/momentum77 3m ago
I pass all my plans and all open PRs via Astra and Neon primed with adversarial review prompts, finishing off with a local Review agent dispatched by orchestrator, and of course some strict CI. Works so far.