Ray's Knowledge Base
Unlock

rvow amend --unlock <path> records only the unlock, so plan drift needs a second plain rvow amend

PitfallVerified 13 Oct 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.

Symptom#

After widening a task's files: list in the plan and editing a protected test file, rvow amend --reason "..." --unlock <path> plus rvow confirm accept cleared nothing: rvow gate --strict still reported weaken drift: protected file <path> changed and confirm drift: TSK-... scope made wider. The amendment listed only one item: weaken, unlock protected file <path> for editing.

Cause#

rvow amend --unlock <path> builds an amendment that contains only the unlock item. The other pending plan drift (here the widened task scope) stays unrecorded and is not part of that amendment.

Fix#

Run a second rvow amend --reason "<why>" with no --unlock. It lists every pending drift (weaken and confirm). Confirm that one with rvow_confirm or /rvow-confirm. Order does not matter; two amendments are fine. Then rvow gate --strict is clean. Plan drift also does not block rvow prove, so re-prove the tasks after the source edits and before the gate.

Evidence#

Command 1: rvow amend --reason "Installing into Hermes needs doctor.rs and setup.rs; the CLI test in tests/cli.rs is a protected test file that the change extends" --unlock crates/rkb/tests/cli.rs printed items[1]: weaken, unlock protected file crates/rkb/tests/cli.rs for editing. After rvow_confirm accept, rvow status still showed drift[2]: weaken, protected file ... changed and confirm, TSK-m0ftss scope made wider. Command 2: rvow amend --reason "TSK-m0ftss must also touch doctor.rs and setup.rs ..." printed items[2]: weaken, ...; confirm, TSK-m0ftss scope made wider. rvow_confirm accept then cleared both; rvow gate --strict passed.

Also found by searching

  • rvow amend --unlock only recorded the unlock and the scope drift stayed
  • rvow gate --strict still reports confirm drift after amend --unlock
  • how do I record a widened task files scope in rvow
  • rvow status still shows weaken drift after rvow confirm accepted the unlock