pub fn remove_hook_config(worktree: &Path) -> Result<()>Expand description
Remove the apm path-guard hook entry from <worktree>/.claude/settings.json.
Called after the worker process exits to avoid leaving stale hooks in long-lived worktrees. If the file does not exist, this is a no-op.