A style commit on protected test files needs a widened task files list, not just amend --unlock
Symptom#
rvow gate reports "N changed files lie outside every task's files: ..." for protected test files reformatted by a style: commit, and the failure persists even after rvow amend --unlock and rvow amend --reason amendments are both accepted and confirmed.
Cause#
The drift amendment covers changed/weakened assertions but does not widen task scope; a file no task lists in files: stays out of scope, so the gate keeps failing until the task's files is widened and the task re-proved.
Fix#
When a style-only change touches protected test files that no task lists, widen the owning task's files: with rvow put <tsk> (add the 3 files), run rvow amend --reason to record the widening, confirm via rvow_confirm, then re-prove the task. Or add a dedicated task to the change whose files: lists just those test files.
Evidence#
On rgit branch fix/log-all-internal-refs, a style: commit reformatted 3 protected test files (global_ignore.rs, worktree_ops.rs, status.rs) that were in no task's files. The gate failed with "3 changed files lie outside every task's files" even after accepting both the --unlock amendments and a plain rvow amend --reason. Only widening TSK-b4d7xk's files: to list the 3 files, accepting that amendment, and re-proving cleared the gate (rvow gate then returned passed: true).