Do not widen a task's scope just to make a gate pass
PreferenceVerified 4 Oct 2026Holds anywhere
Preference. A rule, why it holds, and how to apply it.
Rule#
Set a task's scope (files:) from the task's actual intent. Do not widen it to make a gate pass.
Why#
Broad ** coverage can hide unrelated or pre-existing branch changes.
How to apply#
When a gate fails on files outside the scope, check whether the files belong to the task. If they do not, leave the scope narrow and handle them elsewhere.
Also found by searching
- rvow gate fails because files are outside task scope, should I use ** glob
- should I widen the task files scope to make the proof pass
- how broad should an rvow task files scope be
- broad glob scope hides unrelated branch changes