<git_status> system prompt stale in new AI chat

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I asked GPT 5.5 to implement a feature, but ended up reverting to the start of the conversation via the Cursor revert feature. After reverting, Git shows no dirty files.

I then opened a new chat tab, pasted the same prompt, switched to Opus 4.7, and sent it. I saw it was getting confused, thinking I implemented the feature and referencing files that no longer existed after the revert.

When asked, it said it received a stale <git_status> block, and confirmed after running git status via terminal that no dirty changes actually existed.

Steps to Reproduce

  1. Be inside a local Git repo
  2. Ask GPT 5.5 to implement a feature
  3. Revert back to the starting message via the Cursor revert feature
  4. Open a new chat tab, switch to Opus 4.7, and send the same prompt
  5. Ask if it received stale information in the <git_status> system prompt

Expected Behavior

Starting a new AI chat should ensure the <git_status> system prompt reflects the latest reality.

Operating System

Windows 10/11

Version Information

Version: 3.2.16
Commit: 3e548838cf824b70851dd3ef27d0c6aae371b3f0
Date: 2026-04-28T21:07:47.682Z
Layout: editor
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Cursor/3.2.16 Chrome/142.0.7444.265 Electron/39.8.1 Safari/537.36

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @KamilTheDev Thank you very much for reporting this in a detailed fashion. I have replicated this bug and I’m raising a bug report on it. We’ll let you know when it gets fixed!

Really appreciate the clear steps to reproduce that speeds up the process so much.

Cheers