rvow denies a baseline_pending edit while my own test edit is uncommitted: stash, prove, pop
Symptom#
A write to a task's file is refused with: rvow: TSK-tv7t2m has no baseline yet. Run rvow prove TSK-tv7t2m first, then make this edit: before the work the check fails on the warm tree, which is cheap, and after it rvow builds the base commit. This edit is denied once. Running rvow prove TSK-tv7t2m right away still records nothing useful, because my test edits for the current task are already in the working tree.
Cause#
A task marked baseline: pass that shares a file with the task I am working on needs its base-commit proof before that file's first edit. rvow builds the proof from the committed base, so a dirty tree with my new tests in it confuses the run the hook is about to ask for.
Fix#
Stash the uncommitted work, prove the named task on the clean tree, then pop:
The proof then records proved for the baseline task and the denied edit goes through on the retry.
Evidence#
CHG-e4rg6t in rgit, branch feat/tui-forge-review: adding the forge_detail_tabs tests to crates/rgit-tui/src/forge.rs was denied for TSK-tv7t2m (verify: cargo test -p rgit-cli committed_docs_reference_matches_generated, baseline: pass). rgit stash push + rvow prove TSK-tv7t2m (result: proved, 1 test) + rgit stash pop cleared it and the write applied.