The rvow mod source is embedded in the binary; rebuild and install, never edit the copy
PitfallVerified 2 Oct 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.
Symptom#
The Claude Code mod source in extensions/claude/hooks/ is embedded in the rvow binary with include_str in crates/rvow-core/src/install.rs. Editing the source changes nothing the user sees until you rebuild and install. Editing the installed copy under ~/Personal/rvow/claude-plugin is denied by rvow's own hook with rvow: ... enforces rvow; changing it is for the user.
Cause#
include_str! copies the source at compile time; the installed plugin holds a stale snapshot.
Fix#
Do the rebuild and install instead: cargo install --path crates/rvow and then rvow install. Do not edit the installed copy.
Evidence#
rvow development; the hook denied the shortcut and the rebuild fixed it.
Also found by searching
- editing the mod source changes nothing the user sees until a rebuild and install
- editing the installed copy under claude-plugin is denied by rvow's own hook
- include_str embeds the mod source in the binary
- cargo install --path crates/rvow then rvow install