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.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

I would narrow the task contract and make scope part of the success criteria. If the request is for a...

Related Questions