Uninstall
Updated
This removes HoundWatch™ without leaving hooks behind. Do the steps in order: hooks first, then
leave each project, then the package. Steps 1 and 2 need your own terminal. Each command there asks you to confirm and
for a reason, or takes --reason "...".
In each project:
houndwatch offStop the watcher before removing hooks: its hook guard can put them back.
If you used houndwatch on --login in this project:
houndwatch off --loginThat removes the login agent's file and prints the command that unloads it. Run that command
too. On macOS it is launchctl bootout gui/<your user id>/<label>. On Linux it is
systemctl --user disable <unit>, then systemctl --user daemon-reload.
off --login doesn't stop a running watcher, and plain off doesn't remove the login agent.
In each project:
houndwatch hooks uninstall --agent claude-code
houndwatch hooks uninstallSkip the first command if you didn't install the project's agent hook. If you used --user,
run this once, from any folder:
houndwatch hooks uninstall --agent claude-code --userIf you approved hooks in a global folder (core.hooksPath), plain hooks uninstall keeps them
and says so. After cleaning up every project, remove them from any one of those projects:
houndwatch hooks uninstall --globalhooks uninstall also removes hooks from before the rename to HoundWatch.
Then, in each project:
houndwatch leaveRemoving the hooks doesn't leave the project. leave turns HoundWatch off for every working copy
of the repo, and any projects in its subfolders. This matters most if you keep global hooks for
other projects. It refuses while the watcher may be running or a login agent could start it.
Project rules stop running there, and so do your user-level file and edit rules. Where HoundWatch's hooks are still installed, your user-level commit-message rules and the agent hook's session rules still run. The agent hook still refuses what it refused before. Nothing is deleted.
Leaving is recorded in the repo's git folder and in ~/.houndwatch/. Both are
needed, so one alone changes nothing. Agents may not change either, but another program running
as you could change both. To come back, run houndwatch init in your own terminal, in the main
working copy. It asks first, and asks separately before it changes the baseline. To use
HoundWatch's hooks again, run houndwatch hooks install too if you removed them.
Check each project before you remove the package:
houndwatch hooks statusNo line should say installed without not in front of it. A global hook only shows up in this
list while core.hooksPath points to its folder.
If husky or the pre-commit framework runs HoundWatch for you, also delete the lines you added to
.husky/ or .pre-commit-config.yaml.
pipx uninstall houndwatchDon't do this before steps 1 and 2. Any hooks left behind can't run their checks, so they block
commits in projects that were set up and that you haven't left. In other repositories, they only print a message
ending in check skipped. To fix this, reinstall HoundWatch, then do steps 1 and 2.
Nothing above deletes your rules, config or findings. In each project:
rm -rf .houndwatchRun houndwatch leave in the project first (step 2). Otherwise, if HoundWatch's hooks are still
installed (in a shared global folder, for example), the missing folder blocks commits.
This deletes the project's config, rules, findings and inventory. Keep .houndwatch/rules/ and
.houndwatch/config.yaml if you may come back. If they are committed, remove them in git too.
Then your user folder, with your user rules, config and HoundWatch's records:
rm -rf ~/.houndwatchSmall leftovers you can also delete:
houndwatch/in the repository's git folder (usually.git/), with the set-up marker, hook records and the note that this copy had a database. Each linked copy has its own, in.git/worktrees/<name>/. If you left this repo and deleted~/.houndwatch, delete this too. Leaving needs both records. With only this one, HoundWatch's hooks would say the marker is damaged and block commits if you installed them again. Keep it if you kept~/.houndwatchand may come back;- the HoundWatch comment and three
.houndwatchlines thatinitadded to.gitignore; houndwatch-hooks.lockin the repository's git folder (usually.git/), an empty lock file;/tmp/houndwatch-, used for the watcher's socket when the project's path is too long for one;<your user id>/
Delete the hook records in ~/.houndwatch/ and .houndwatch/ only after step 2. They are
how HoundWatch knows what to put back.
- A git hook you already had is put back byte for byte, with its permissions. If it was a symlink, the link comes back. If you edited HoundWatch's saved copy of it, your edited version comes back, and the output says so.
- A git hook HoundWatch created is removed.
- A hook file that no longer looks like HoundWatch's is left alone, because someone else has replaced it.
- Claude Code settings: if the file is exactly as HoundWatch left it, its old bytes come back, or it is deleted if HoundWatch created it. If anything has changed it since, only HoundWatch's entries are removed and the rest stays. Claude Code rewrites its own settings file at times, so it may not match your old copy byte for byte.
To check for yourself, take checksums of your hooks before you install, and compare them after you uninstall:
shasum -a 256 .git/hooks/pre-commitIn the first trial's uninstall rehearsal, the owner's own git hook and git config matched their checksums. The Claude Code user settings file differed only because Claude Code had rewritten it.