Infinite Debug Loop: Let Cursor CLI Fix Until Tests Pass
4 min read
Write a shell script that has cursor agent automatically fix code, run tests, and if tests fail let the AI fix again — repeating until all tests pass.
#cursor#cli#debug#automation#testing