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 tighten scope explicitly in the workflow: define affected files or modules where possible, cap the allowed diff size or file count, and require the agent to justify why any broader change is necessary before it proceeds.
I would also review whether the...
easy
easy
easy
easy
easy
easy