Ray's Knowledge Base
Unlock

rvow CI shell scripts are not run by the pre-commit hook, so a gate change can pass the hook and fail CI

PitfallVerified 5 Nov 2026Holds project: rvow
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.

Symptom#

CI fails in both Quickstart jobs, on Linux and macOS. The failing step is "A second gate rerun is answered from the cache". The pre-commit hook passed before the push.

Cause#

CI runs the scripts in .github/scripts/, such as rerun_cache.sh, quickstart.sh and install.sh. The pre-commit hook does not run them. The script still expected the old cache behavior after the gate changed.

Fix#

After a change to gate behavior, run the three scripts before you push. Build first with cargo build --locked, then run PATH=$PWD/target/debug:$PATH bash .github/scripts/rerun_cache.sh. It ends with rerun cache: ok when it passes. Run quickstart.sh and install.sh the same way.

The script runs rvow accept, so the rvow hook denies it for an agent. The user runs that script.

Evidence#

rvow session, 2026-11. CI for commit 6197c9e failed in both Quickstart jobs. The fix in 72906dd made the script test the trusted default and set rerun_proven = true for the cache part. The user ran the script locally and it passed. CI for 72906dd was green on every job.

Also found by searching

  • CI fails but the pre-commit hook passed
  • A second gate rerun is answered from the cache
  • rerun_cache.sh fails in CI