Raw xml pre-filled message after /loop

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

i got the following pre-filled message after a /loop task that finished

  <timestamp>Saturday, Aug 1, 2026, 12:36 PM (UTC+2)</timestamp>                        
  <system_notification>                                                                 
  The following task has notified. If you were already aware, ignore this               
  notification and do not restate prior responses.                                      
                                                                                        
  <task>                                                                                
  kind: shell                                                                           
  status: success                                                                       
  task_id: 734189:task_progress:1                                                       
  title: restore/battery health alert                                                   
  detail: Shell output has pattern /^AGENT_LOOP_WAKE_restore/. This is occurrence       
  number 1. Matched text: AGENT_LOOP_WAKE_restore. The title message is being           
  displayed to the user.                                                                
  output_path:                                                                          
  /Users/dorian/.cursor/projects/Users-dorian-workelo-app/terminals/734189.txt          
  </task>                                                                               
  </system_notification>                                                                
  <user_query>Briefly inform the user about the task result and perform any             
  follow-up actions (if needed). If there's no follow-ups needed, don't                 
  explicitly say that.</user_query>                                                     

Steps to Reproduce

have a /loop that finishes

Expected Behavior

regular messages, nothing pre-filled

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

About Cursor CLI

CLI Version 2026.07.23-e383d2b
Model Auto Balance
Subscription Tier Team
OS darwin (arm64)
Terminal apple-terminal
Shell fish
User Email [email protected]

For AI issues: which model did you use?

auto

For AI issues: add Request ID with privacy disabled

it’s private

Additional Information

it was a loop about restoring a bunch of backups

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey there!

That block is an internal task-notification message that’s meant to be handled quietly after a /loop step finishes. In your case it landed in your input box instead of being processed in the background. It wasn’t sent anywhere, it isn’t anything sensitive from your session, and it has no effect on your loop or its results - you can just clear/delete it and carry on.

What you’re seeing isn’t intended behavior, and it’s not caused by anything in your setup. It’s an issue we’re tracking and a fix is already on the way. I’ll post back here once it’s in a released CLI build. If you ever see the loop itself misbehave (not just the stray text), let me know and I’ll dig in.

thanks, could you look at the other bug i reported please Disappearing messages after the ai prints a table