Found lints: syntax error causing composer to hang

Code generated by composer has syntax error, composer consistently hangs trying to resolve syntax error.

This is now happening frequently, every other request. Composer suggests an edit, the edit has a syntax error, the ‘found lints’ dialogue appears, composer hangs.

If you stop composer and try to continue in the same conversation, composer hangs.

If you start a new composer conversation, composer will start working again, until a new syntax error is suggested and the cycle begins.

The issue is stopping me from being able to work using cursor.

Im using Mac OS 15.3

Cursor Version: 0.45.11
VSCode Version: 1.96.2
Commit: f5f18731406b73244e0558ee7716d77c8096d150
Date: 2025-02-07T09:43:58.555Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.3.0
Screenshot 2025-02-20 at 11.50.22

This issue is unfortunatley making Cursor unusable for me. Any ideas if this is an already known bug?

Hey, which model are you using? Are there any established rules for AI in your project? You can also temporarily disable linting to prevent Composer from freezing.

Hey, thanks for your reply.

I’m using Claude 3.5 sonnet.

Yes there are rules established using global cursor rules in settings. Do you think rules might be affecting this?

Disabling linting is a workaround, but the suggested edits will still be producing syntax errors that I will manually need to fix.

Seems odd that the model has started producing regular syntax errors and that composer can’t handle the fix.

I can’t say for sure, try removing the rules, starting a new Composer session, and checking. Also, try not to add too much context.

I notice in composer that Claude lacks its previous agent abilities. For example in agent composer mode it is showing Examples of code edits, rather than taking action and then requesting approval or rejection.

Yaaaaaay, things seem to have considerably improved, feels like back to what it was, haven’t seen a syntax error for a while and active agent mode is back.

I spoke too soon, syntax errors where sonnet seems to halucinate a couple of ’ and then hangs trying to solve the error it created.

Seems all good after updating to 45.15
Haven’t had the issue in a few hours of usage.