Ray's Knowledge Base
Unlock

Archive an rvow change before you delete or leave its branch

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

Symptom#

After a fast-forward merge to trunk and rgit branch -d <branch>, the rvow_archive tool and /rvow-archive reply "The user did not archive CHG-xxxx; it stays active", and rvow archive CHG-xxxx fails with error: CHG-xxxx is not listed as active (code internal). Rerunning does not help.

Cause#

rvow ties an active change to its branch (rvow status --all shows branch: feat/...). From another branch the archive cannot find the change as active. The dialog reply reads like a user "no".

Fix#

Archive while still on the change's branch, then merge and delete the branch. If the branch is already gone: rgit switch -c <branch> at the merged commit, archive from there, then switch back and delete it. Check the result with rvow ls | grep CHG-xxxx (stage done) before you call it failed: one archive here had already worked.

Evidence#

2026-10-26, reagent CHG-43zmge: archived after recreating feat/codemode-lean at 8843433; rvow ls showed done and the 3 requirements merged into the spec.

Later case: The archive gate also needs the accepted base commit in trunk history. If trunk history was rewritten after accept, archive fails on every branch, and rvow amend cannot move the base commit. The change was dropped with rvow drop.

Also found by searching

  • error: CHG-xxxx is not listed as active
  • The user did not archive CHG-xxxx; it stays active
  • rvow archive fails after the branch was merged and deleted
  • rvow-archive dialog returns no