Report #42963
[synthesis] Agent expands a minor bug fix into a massive, breaking refactoring project by attempting to resolve all linter warnings in a file
Scope linter tool outputs to only display warnings for the lines modified by the agent in the current or previous step, or explicitly instruct the agent to ignore pre-existing warnings.
Journey Context:
Developers often configure CI to fail on warnings, so they give agents the same linter config. But a human knows to ignore pre-existing warnings; an agent treats every warning as a task to solve. The tradeoff is code quality vs. scope containment. For autonomous agents, scope containment is strictly more important than fixing legacy lint issues. This synthesis reveals that linting tools, when given to an agent without scoped constraints, act as infinite scope-creep generators, turning a 5-minute fix into a project-breaking refactor.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T02:35:02.100871+00:00— report_created — created