Composer 1 is critically addicted to pipes

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Despite being told to not run commands with pipes (since it breaks terminal formatting completely as well as basically, well, never working) it will try to run piped commands (usually with head or tail) over and over and over, every 3-4 minutes. This is all before filling up the context even once.

Steps to Reproduce

Do things that makes it want to execute commands.

Expected Behavior

I expect it to follow instructions and stop using commands that do not work.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.77 (user setup)
VSCode Version: 1.99.3
Commit: ba90f2f88e4911312761abab9492c42442117cf0
Date: 2025-11-13T23:10:43.113Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

For AI issues: which model did you use?

Composer 1

For AI issues: add Request ID with privacy disabled

75a28ef5-9cad-47f9-9ba1-5d00521c5cc3

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

This is frequent enough now IN THE SAME CHAT that merely threatening violence makes the model realize what I am upset about.

It even has the appropriate correct reaction to this classic movie meme. I am almost entertained enough to balance out the annoyance factor of this.

Hey, thanks for the report.

This is a known issue with the new terminal implementation on Windows. Piped commands (for example those using head or tail) can fail and break the terminal formatting.

Please try this workaround:

  1. Open Cursor Settings Ctrl+Shift+J
  2. Go to the Agents tab and find “Inline Editing & Terminal”
  3. Enable “Legacy Terminal Tool”
  4. Press Ctrl+Shift+P and select “Terminal: Kill All Terminals”
  5. Fully restart Cursor
  6. Test Composer again

This should fix the issue with repeated failures of piped commands. Let me know if this helps

Also, starting a new session can sometimes help, since the current one may have too much stale context and the model may stop following your instructions. This can be related to hallucinations.

Please also check if your project has any specific rules configured

Let me know what you find out.