Diff view broken when editing agents.md

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When having the agent’s side panel edit the main agents.md file of a repo, it does not show the inline diff view properly. Instead, what you see is only the additions in green, none of the removed lines, and no UI to accept or deny each one. This means that having the agent edit the agents.md file doesn’t actually work well because you can’t visually inspect the changes.

It only seems to affect the main agents.md file and none of the other nested files. All other standard code edits seem fine.

See Screenshot of an edit being made with three changed lines but no inline diff UI.

Steps to Reproduce

  • Open Agent sidebar
  • Have it edit agents.md
  • Watch the missing UI

Expected Behavior

The inline diff view + UI shows up just like any other file that the agent edits.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.53
VSCode Version: 1.99.3
Commit: ab6b80c19b51fe71d58e69d8ed3802be587b3410
Date: 2025-10-20T19:15:58.572Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. Can you confirm the issue occurs only with the agents.md file?

Also, could you clarify whether this happens every time you edit agents.md with the agent, or only under certain conditions?

I have only observed it on the root agents.md file. Nested ones work fine and regular code seems to work fine too.

I’ve tried: file length (longer Md files don’t have this issue), starting a new agent thread (did not solve the issue), restarting cursor (did not work).

Thanks for the info, that’s very helpful.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.