The task? Simple. Refactor a helper function to take some extra parameters, then update the two callers in the same file to pass those new parameters. Using sonnet in agent mode.
The problem? Cursor can’t apply the LLM’s edits. Like, over half the time. And so it gets stuck in an infinite loop trying over and over to apply edits that get “cancelled” (no changes made) by the IDE. I’ve had the llm countless times get desperate and evolve into suggesting sed edits and the like? What the ■■■■ is wrong with cursor? Will be cancelling my pro subscription if this continues. At least the inline edits work properly.