Describe the Bug
Agent is seeing and acting on follow up messages in the queue and working on them before finishing its current task.
Steps to Reproduce
Start the agent on a long task, and then queue some follow up message intended to be sent once the agent completes its current work.
As it works it seems to eventually decide to use the ‘check queue for follow up messages’ tool:
Cursor Cloud message queue (1 queued). The currently executing message is not queued.
{
"hasQueuedMessages": true,
"queuedMessageCount": 1,
"queuedMessages": [
{
"followupId": "4797b8b9-f187-40da-96a8-8a4ef3ec383e",
"createdAtMs": 1788994575404,
"source": "GLASS",
"text": "fonts on your generated screenshots are completely wrong. please compare before/after you'll see that all the fonts have changed now"
}
]
}
It will then announce something like:
There's a follow-up queued about fonts, so I’ll revert the carousel change and freeze motion from the test harness now, then verify screenshots once both fixes are in.
and start working on it. Once the agent is finished, the queued message sends itself which really confuses the agent - since it effectively gets told to perform the same thing again.
Expected Behavior
Agent should not be aware of the queue whatsoever. Thats for me to pre-send some messages that I want the agent to work on after its finished its task. The agent should not pre-emptively look in the queue and start working on tasks before it has finished what its doing.
I understand an awareness of whats ‘coming up next’ might be useful when compacting context but this should not be exposed to the agent as its working. Why is this tool even exposed to the agent in its normal workflow?
Operating System
MacOS
Version Information
Cursor agents window 3.19.13 (Universal)
For AI issues: add Request ID with privacy disabled
bc-3fb6ebb6-f54d-4782-b99b-f54e7b8d25ff
Does this stop you from using Cursor
No - Cursor works, but with this issue