Ray's Knowledge Base
Unlock

rvow accept fails on a repo whose trunk is not main; set base in config.toml

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

Symptom#

rvow accept CHG-xxx fails with error[base]: neither origin/main nor main exists plus fix: set base in config.toml to the branch this work merges into when the repo's trunk branch is named trunk.

Cause#

rvow defaults the base branch to main/origin/main; it does not detect the trunk name.

Fix#

Add a line base = "trunk" in rvow's config.toml. That file sits in the project's rvow state directory (here ~/Personal/rvow/local/rvow/config.toml), not in the code repo. rvow check passed both before and after the fix, so only accept shows the problem.

Evidence#

rvow repo itself (trunk named trunk); the config line fixed accept.

Also found by searching

  • rvow accept fails with error[base]: neither origin/main nor main exists
  • repo trunk branch is named trunk so rvow cannot find the base
  • set base in config.toml to the branch this work merges into
  • rvow check passed but accept failed on the base branch