Model "Auto" infinite loop

:lady_beetle: Bug Description:
When using the “Auto” agent mode, the AI gets stuck in an infinite loop. It keeps repeating the same message: “I will search for relevant test files,” without making progress. It seems to hallucinate and never actually analyzes the code.

:counterclockwise_arrows_button: Steps to Reproduce:

  1. Open a test file
  2. Enable the “Auto” agent mode
  3. Ask the agent to analyze or refactor the test
  4. The agent keeps repeating the same reasoning loop and doesn’t proceed

:camera: Screenshot:

:laptop: OS & Cursor Version:

  • OS: windows 11
  • Cursor version: 0.49.6

:prohibited: Does it block usage?
Yes — the loop makes the Auto agent unusable for test analysis or refactoring.

request ID : 01220256-41da-4437-88c9-a71495f50263