Ray's Knowledge Base
Unlock

rvow blocks shell commands that name its ledger files or .git paths, even read-only ones

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

Symptom#

Inside an rvow change, a shell command that reads the change's ledger.jsonl or ids.jsonl fails at once. So does a find that names .git, even one that excludes it with -not -path './.git/*'. Nothing runs and the command prints a guard message.

Cause#

rvow guards its own files. Any command that mentions ledger.jsonl, ids.jsonl or .git/hooks is refused, whether it reads or writes. The match seems to be on the path text. The guard does not check what the command does.

Fix#

Do not read the ledger by hand. Use rvow show <change> to read the plan, rvow note to record something, and rvow install for the pre-push gate. To count or list repo files, use rgit ls-files or rgit status --porcelain and do not write .git in the command. Do not try other ways to read the ledger.

Evidence#

Guard output: "rvow: ledger.jsonl and ids.jsonl are written only by rvow; run rvow show <change> to read the plan or rvow note to record something" and "rvow: .git/hooks holds the pre-push gate; only rvow install writes it. Run rvow install instead". Both appeared in the CHG-wzs36a session on the rkb repo.