The rvow Claude hook denies a Bash command that mentions commit with -n, the hooks folder, hooksPath or the hidden-checks folder
Symptom#
A Bash call is refused before it runs, with one of these messages:
rvow: git commit -n skips the hooks that check the plan
rvow: .git/hooks holds the pre-push gate; only rvow install writes it
rvow: core.hooksPath decides which hooks run; changing it is for the user
rvow: <state>/hidden-checks holds checks that stay hidden from the implementing agent; do not read or write them. If the plan needs them, run rvow block <task> --reason "..."
Cause#
The hook reads the whole command line as text. A sed -n anywhere in a command that also contains git commit counts as commit -n. Reading the hooks folder or asking git for the hooks path setting is refused too, not only writing. Text inside a heredoc counts as well, so a note that names these words is refused. The hidden-checks message fires the same way: a python3 - <<'E' heredoc that only quoted PLAN.md prose mentioning the "hidden-checks folder" was denied. The tool name did not matter; the text alone triggered it.
Fix#
Run the commit in its own Bash call. Use head -3 instead of sed -n or head -n in a command that has commit in it. Do not read the hooks folder. Ask the user to paste the hook's output or to run the command with the ! prefix. To pass text that names these words to a tool, write it to a file with the Write tool and redirect the file in. For prose edits to PLAN.md, use the Read and Edit tools instead of a shell or Python script, or word the text without the hidden-checks path.
Evidence#
A call that ran rgit commit -m ... followed by sed -n 1,3p was refused with rvow: git commit -n skips the hooks that check the plan. The same call with head -3 ran. Reading the pre-push hook file and asking git for the hooks path were refused with the other two messages. A heredoc that held this very lesson was refused; piping the same text from a file worked. On 2026-10-04 a Python heredoc editing PLAN.md prose was refused with the hidden-checks message; Read and Edit made the same edits.
Also found by searching
- rvow: git commit -n skips the hooks that check the plan
- rvow: .git/hooks holds the pre-push gate; only rvow install writes it
- rvow: core.hooksPath decides which hooks run; changing it is for the user
- rvow: <state>/hidden-checks holds checks that stay hidden from the implementing agent
- a Bash command is denied because it contains sed -n after git commit
- a python heredoc that only quotes PLAN.md prose is denied by the rvow hook