The agent produces a large refactor when the task called for a small fix. How would you constrain it?

Instruction: Explain how you would rein in a coding agent that expands scope.

Context: Tests how the candidate diagnoses the problem, chooses the safest next step, and reasons through recovery. Explain how you would rein in a coding agent that expands scope.

Updated

Official answer available

Read the opening below, then unlock the full answer and practical guidance.

I'd compare the diff with the requested behavior and identify necessary edits...

Your preparation path

Work through these questions in order. Read the answer aloud, then explain it in your own words.

Related Questions