Reject and Rescope an Overly Broad Diff
Scenario
You asked for a 1-line boundary fix in booking.js, and the agent returns edits across 6 files.
Try it yourself
Compare three reviewer responses to an overly broad diff.
| Case | Result |
|---|---|
| Accept all 6 files because the tests passed | Select a choice above to see what happens. |
| "This looks messy, try again." | Select a choice above to see what happens. |
| "Revert formatting and unrelated files; keep ONLY booking.js line 4 and booking.test.js." | Select a choice above to see what happens. |
Reveal the explanation
- Accept all 6 files because the tests passed
Risky! Unreviewed changes in unrelated files can introduce subtle regressions later.
- "This looks messy, try again."
Too vague—does not tell the agent which files to revert and which lines to keep.
- "Revert formatting and unrelated files; keep ONLY booking.js line 4 and booking.test.js."
Precise rescope! Produces a clean, explainable 2-file diff.
You are the reviewer and owner of every committed line. Never commit unrelated agent edits you did not ask for.
Your turn
Write a 2-sentence rescope reply when an agent edited quiz.py, quiz_test.py, styles.css, and README.md for a 1-line score >= 60 fix.
Common mistake Keeping styles.css and README.md changes just because they look harmless.
Check your work
Revert styles.css and README.md; keep only the score >= 60 fix in quiz.py and its test in quiz_test.py.
Quick check
This browser could not save your progress. Changes last until you leave the page.