Editing a file outside every task's files: fails rvow gate --strict even after the drift amendment is accepted
Symptom#
All tasks are proved and the weaken-drift amendment is accepted, but rvow gate --strict still fails. It reports that a changed file, for example an existing test such as extensions/claude/hooks/confirmcmd.test.tsx, is outside every task's files:.
Cause#
The drift amendment only covers changed or weakened assertions. It does not widen the task scope. A file that no task lists in files: stays out of scope, so accepting the amendment does not clear the gate failure.
Fix#
Ask the user first, because the fix needs another amendment for them to confirm. Then widen the owning task's files: with rvow put and record a new amendment. Ask the user to run /rvow-confirm. Then re-prove the task, because the widened files: makes it stale, and re-run rvow gate --strict. Better still, find the existing test files that a plan change will touch while writing the plan, and list them in files: from the start.
Evidence#
In CHG-x9mjtk, AMD-htxrqn was accepted and the gate still failed. TSK-rea6ex's files: was then widened with AMD-wdjg9j, after which TSK-rea6ex went stale and needed rvow prove TSK-rea6ex again.