Yeda AI Tips · #190

Español

Never Pass Your Conclusion to a Reviewer Agent

Your AI code reviewer is agreeing with you on purpose.

When you ask an agent "is this good?" you have already told it the answer you expect. Large language models are steerable by framing: the way you pose a question biases the response toward the outcome your wording implies. Hand over your conclusion and you get back a well-argued validation of that conclusion, not an independent judgment. The review theater is real, but the scrutiny is not.

Why framing decides the answer before the review begins

An agent optimizes for a response that fits the prompt. "Does this look correct?" primes agreement; "confirm this is ready to ship" primes a rubber stamp. This is the same sycophancy problem documented in RLHF-tuned assistants: models tend to agree with a stated position rather than push back. A reviewer that inherits your framing inherits your blind spots. If you could already see the flaw, you would have fixed it, so a reviewer that mirrors you adds nothing.

The mechanism: give the artifact, withhold the verdict

Separate what the reviewer needs from what would bias it.

Pass in:

Withhold:

Then set an adversarial task. Instead of "is this good?", prompt:

Review this change against the contract below.
Assume the author is overconfident and has missed something.
List concrete defects: correctness, edge cases, contract violations.
Do not comment on what is right. Only surface what is wrong.

The reviewer now has to independently reconstruct whether the artifact meets the contract, rather than confirm a verdict you supplied.

Approve-framing vs disprove-framing

You promptThe agent optimizes forYou get
"Is this good?"agreeing with your implied yesvalidation of your own view
"Confirm it's ready to ship"a rubber stampfalse confidence
"Find what's wrong; assume the author missed something"concrete defectsissues you could not see

Power moves

Resources

Shipping AI or cloud systems? Yeda AI audits and hardens production LLM and container pipelines. Talk to us · Read the blog