Ray's Knowledge Base
Unlock

rvow init writes .gitignore lines but never creates a repository

DecisionVerified 2 Oct 2026Holds anywhere
Decision. The context, the choice, why, and the options that were turned down.

Context#

Users did not know how to version their rvow home, since rvow init neither ran git init nor wrote a .gitignore.

Decision#

rvow init now writes the ignore lines itself but never runs git init. In home mode the home's .gitignore gets .lock and claude-plugin/. In --in-repo mode the repository's .gitignore gets rvow/.lock. Existing lines are kept and none is repeated. In home mode, when the home is not inside a git repository, init prints the hint Run git -C <home> init to version your plans; init wrote its .gitignore.

Why#

The ignore lines are the only thing init adds. It does not create a repository, because rvow's git.rs promises never to write to a repository. rvow init refuses a home that already has a tree, so an existing home gets no ignore file and needs the .gitignore written by hand.

Rejected options#

Running git init from init.

Cost accepted#

Commit local/<project>/ and objects/, because proofs refer to the baseline snapshots in objects/. (Replaces the earlier fact that the rvow home is not a git repository and must be versioned by hand.)

Also found by searching

  • rvow init writes the ignore lines itself but never runs git init
  • home mode .gitignore gets .lock and claude-plugin/, in-repo mode gets rvow/.lock
  • existing lines are kept and none is repeated
  • commit local/<project>/ and objects/ because proofs refer to the baseline snapshots