/interwatch:install-hooksfrom interwatch
Install git post-commit/post-merge hooks that auto-refresh interwatch drift state on every commit and merge
Ships in interwatch. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Wires git lifecycle events to keep .interwatch/drift.json always-fresh-as-of-HEAD without scheduled cadence or LLM cost. Pure-Python scan runs in the background after each commit/merge.
.git/hooks/post-commit and .git/hooks/post-merge.interwatch-scan.py --save-state in the background, with a 5-second timeout..interwatch/hook.log — never blocks the commit.Locate the installer script relative to the interwatch plugin install path:
INSTALLER="$(find ~/.claude ~/.local/share/claude /home/mk/projects/Sylveste/interverse/interwatch -name install-git-hooks.sh -path '*/interwatch/scripts/*' 2>/dev/null | head -1)"
if [[ -z "$INSTALLER" ]]; then
echo "error: install-git-hooks.sh not found — is interwatch installed?"
exit 1
fi
bash "$INSTALLER"
Then verify by reading .git/hooks/post-commit and .git/hooks/post-merge and confirming the interwatch managed block sentinel is present.
After install, report:
.interwatch/hook.log for diagnosticsbash interverse/interwatch/scripts/uninstall-git-hooks.sh.interwatch/ does not yet exist, the hook will create it on first run.7-day visitors to each command page
5 commands in this plugin
/auditRun a stranger-perspective correctness audit on user-facing docs — validates counts, commands, links, versions, and cross-doc consistency against project reality/refreshForce regeneration of a specific document regardless of drift score/interwatch-statusShow drift health status (delegates to /clavain status)/watchRun a drift scan across all watched documents — detects changes, scores confidence, and reports which docs may need refreshinginterwatch@interagency-marketplace is listed by mistakeknot/interagency-marketplace — review the source before installing
npx claudepluginhub mistakeknot/interagency-marketplace --plugin interwatch