Cloud Agents in WSL doesn't recognize git repository

Thanks for the info. Yeah, this is a known issue with WSL path resolution. Cursor tries to use Windows path separators (\) instead of Linux (/) when running in WSL, which leads to spawn /usr/bin/git ENOENT.

A similar bug with Remote Rules was fixed here: Cursor Wsl2 failed to clone remote rule from github, but it looks like the fix didn’t fully cover Cloud Agents settings.

Can you try updating to the latest version (Help > Check for Updates)? The latest version is 2.4.26.

If the issue still reproduces on the latest version, let me know. I’ll create a ticket for the team. It would be either a regression or an incomplete fix. In your reply, please include:

  • Your version after updating
  • Whether it reproduces consistently or intermittently (you mentioned it sometimes works)