AID-19Recommended
Check the change does only what was asked
Reject changes that touch files, features or behaviour the task did not ask for.
How to do it
Agents fix things they notice along the way, rename code and reformat files. Each unasked change is a risk nobody planned to test. Ask for a separate task instead. The review question Check that it solves a named problem applies to every extra file.
How to check
Every file in the diff maps to a step in the plan or the acceptance criteria.
Sources
Related rules
- ARC-2 Check that it solves a named problem in Clean code and architecture
- AID-66 Use review bots as a first pass and never as the approval in AI-assisted development
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/ai-assisted-development/reviewing-agent-output/scope-matches-task">Agent Wranglers AI-assisted development playbook</a>. In code you write, add a comment next to it with the same link.