Skip to content

Loading the guide…

    Frequently asked questions

    Updated

    Where do my rules live?

    Rules for every project live in ~/.houndwatch/rules/. Rules for one project live in its .houndwatch/rules/ folder, which you can commit. HoundWatch™ also ships example rule sets, but none is active until you enable it. Your user rules are the floor: a project can make them stricter, but can't weaken one unless it says overridable: true. Your written rule documents can stay anywhere; list them under rule_docs. See Rules.

    Can the agent switch it off?

    Not with the houndwatch commands. Commands that weaken HoundWatch (off, hooks uninstall, findings --waive, changing rule sets) work only from your own terminal, outside any AI agent's session. They ask for a reason and record it. With the Claude Code hook, the agent also can't run them, edit your rules or config, or remove the hooks. If something gets past those checks, the running watcher records the change and puts its hook back. A determined program running as you could still find a way round, so treat HoundWatch as a guard rail, not a security sandbox. See Day-to-day use and The layers.

    What does --no-verify do?

    It makes git skip the pre-commit and commit-msg hooks, so the commit isn't checked first. The Claude Code hook refuses the command when the agent tries it, even inside a script HoundWatch can read. From any other tool, the commit goes through. A running watcher finds it within seconds, checks it and records a hook-skipped finding that stays open until you acknowledge it. If the watcher is off, it catches up when it next starts.

    What happens without Ollama?

    Only model (llm) rules, rules draft and rules lint --deep need Ollama. Without it, model rules are skipped with a warning and never block anything. Pattern and structure rules, command rules, hooks and the watcher work as normal. See Local models.

    How do I uninstall cleanly?

    Run these in each project, from your own terminal, before you remove the package:

    1. houndwatch off, and houndwatch off --login if you use the login agent. Run the unload command it prints.
    2. houndwatch hooks uninstall --agent claude-code, if you installed the agent hook. Add --user if that is how you installed it.
    3. houndwatch hooks uninstall. Add --global after the last project, if you approved hooks in a global folder.
    4. houndwatch leave, to stop using HoundWatch in that repo.

    Then run pipx uninstall houndwatch. Git hooks you already had are put back byte for byte. Your rules, config and data stay until you delete the .houndwatch folders. See Uninstall.

    Why was my commit blocked by a model, and how do I appeal or waive it?

    A model check runs after a commit, or an attempt at one. If it finds a problem with a block rule, the next commit is refused, not the one it checked. A small model's block is confirmed by the larger one first.

    If you think the model is wrong, you or the agent can appeal once, while the watcher is running:

    houndwatch appeal 1 --reason "one.py was requested by the developer"

    The larger model judges it again. If it agrees with you, the finding is cleared. If not, fix the problem, or waive the finding from your own terminal:

    houndwatch findings --waive 1 --reason "requested in the issue"

    See Day-to-day use.

    Does it send my code anywhere?

    No, not by default. HoundWatch runs on your machine, and model checks use Ollama on your machine. It refuses an Ollama address on another machine unless you set allow_remote_ollama: true in your own user config; a project can't set that. If you do, your diffs and specs go to that machine. Your command rules run whatever you put in them. Your AI coding tool has its own rules about what it sends, and HoundWatch doesn't change them. See Local models.

    Which agents does it support?

    The git hooks and watcher work with any tool that changes files or makes commits with git. Claude Code is the only one so far with its own hook, which can refuse edits and shell commands before they happen. With any other agent, HoundWatch finds problems after a file is saved or when it is committed. See The layers.

    Does it slow my agent down?

    A little. Each hook call from Claude Code starts a short HoundWatch process, which uses only instant checks. Model checks run in the background and never hold up the agent. The design target is under 100 milliseconds to check a file when the watcher is running, and under 300 milliseconds when it isn't, for 95% of checks on files up to 450 lines. When this guide was checked, with the watcher running on an Apple silicon Mac, one whole hook call took about 0.2 seconds. Command rules, such as running your tests, add their own time when you commit.

    It can also add steps: an agent may have to read a document first, fix a file, or keep working at the end of a turn. You choose which rules cause that.

    Do I need to keep the watcher running?

    It is best to. The hooks still work without it, but until it starts again, nothing checks files as they are saved, guards the hooks, reports commits that skipped the hooks or answers model checks. Start it with houndwatch on. To start it when you log in, use houndwatch on --login and run the command it prints.

    Will it block me on an old project full of existing problems?

    Not for problems recorded in the baseline. Enable your rule sets, then run houndwatch init --baseline in your own terminal to record what is already there. After that, only new problems, or old ones made worse, can block. A rule with baseline: false is the exception: to change a file, you must fix it. See Your first project.

    Can I use it with husky or the pre-commit framework?

    Yes. houndwatch hooks install doesn't change their files. It prints the lines for you to add (Your first project).

    Can several agents work at once, each on its own branch?

    Yes. Give each agent its own working copy with git worktree add, rather than switching branches in one folder. Every copy uses the main copy's config and rules, keeps its own findings, and runs the same git hooks, so each agent's commits are checked. Merge their branches as usual. The watcher, which runs in the copy where you started it, reports a commit that skipped the hooks in another copy once that commit reaches its branch (a merge, for example), not before. Commits checked in any copy aren't reported. HoundWatch doesn't share out tasks: agents working from the same plan can be nudged toward the same next task.

    It used to be called CodeHound. What changed?

    Only the name. The PyPI name codehound belongs to an unrelated project. Run houndwatch init --upgrade in each project, then reinstall the hooks (Upgrading).