Yeda AI Tips · #193

Español

Make Your AI Quote Your Instruction Verbatim

One line stops your AI from confidently solving the wrong problem.

An agent rarely tells you it misunderstood. It quietly reinterprets your request, fills in the ambiguity with its own assumption, and then builds a clean, well-tested version of something you never asked for. Because the output looks polished, you only notice the drift after the code is written, when unwinding it is expensive. The cheapest place to catch a misread is before the first file changes.

Why agents drift from your request

Natural-language instructions are ambiguous, and a model resolves that ambiguity silently by picking the interpretation that best fits its priors. It does not flag the choice; it just proceeds. And you cannot rely on the agent to self-diagnose the drift, because asking a model "did you understand me correctly?" gets you a confident "yes" whether or not it did. Self-evaluation does not surface the gap. Forcing the model to reproduce your exact words does.

The mechanism: quote first, code second

Before the agent touches any code, make it quote your instruction back to you word for word, then state its plan against that quote.

Before writing any code:
  1. Quote my instruction back verbatim, exactly as I wrote it.
  2. In one sentence, state what you will build to satisfy it.
  3. Wait for my confirmation before editing anything.

The verbatim quote is the trick. Paraphrasing hides drift, because a paraphrase is already the model's interpretation. An exact quote sitting next to the model's one-sentence plan makes any mismatch obvious to you at a glance. If the plan solves a different problem than the quoted words describe, you see it in one sentence.

Paraphrase vs verbatim quote

ApproachWhat you seeCatches drift?
"Summarize what I asked"the model's interpretation, already driftedNo — the summary hides the gap
"Are you clear on the task?"a confident "yes"No — self-eval is unreliable
"Quote my instruction verbatim, then state your plan"your exact words beside its planYes — mismatch is visible instantly

Power moves

Resources

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