Ray's Knowledge Base
Unlock

A verify that passes on the base commit needs baseline: pass; a new in-scope test cannot record red

PitfallVerified 17 Oct 2026Holds project: rgit
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.

Symptom#

rvow prove <task> keeps returning error code "baseline": " passes on the base commit (1 test run): " even though the verify fails in the working tree with the new test present; rvow status lists the task under baseline_pending.

Cause#

rvow determines the baseline by running the verify in a clean worktree at the change's base commit; a new uncommitted test lives only in the working tree, so the base-commit run matches 1 existing test and passes.

Fix#

Amend the task with baseline: pass (the guide's "guard that stays green" case) via rvow put <task id> then rvow amend --reason "...", and have the user confirm with the rvow_confirm tool. Keep a new test in the task scope so the working-tree proof still fails until the work lands.

Evidence#

rvow prove TSK-w01xrv (CHG-kqetdf, repo rgit) returned code "baseline": "passes on the base commit (1 test run)" on every call until the task was amended; after rvow put TSK-w01xrv with baseline: pass + rvow amend, prove ran and recorded the proof (2 tests).