pub fn socket_lock_path(base_dir: &Path, worktree_root: &Path) -> PathBufExpand description
Election lock for the grep-augment hook socket: one listener per worktree, separate from the watcher election so core never calls back into the MCP crate and either process may win each.