# Agents/Glass UI reports wrong branch

**URL:** <https://forum.cursor.com/t/agents-glass-ui-reports-wrong-branch/158304>\
**Category:** Bug Reports\
**Tags:** worktrees, agents-window\
**Created:** [April 17, 2026, 2:05pm UTC](https://forum.cursor.com/t/agents-glass-ui-reports-wrong-branch/158304 "2026-04-17T14:05:02Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![mohitjain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mohitjain/32/100229_2.png) [@mohitjain](https://forum.cursor.com/u/mohitjain)\
**Post date:** [April 20, 2026, 8:51am UTC](https://forum.cursor.com/t/agents-glass-ui-reports-wrong-branch/158304/7 "2026-04-20T08:51:08Z")

</div>

Hi Alexandros!

This is a known bug in the Glass layout. The branch label in the diff header shows a stored snapshot from when the conversation was created, rather than the live git branch, so it doesn’t update when you or the agent switches branches externally. The PR detection has the same root cause – it looks at the stored branch association rather than the current one.

A few other users have reported the same class of issue:

- [Cursor Agent Window Showing Old PR’s](https://forum.cursor.com/t/cursor-agent-window-showing-old-pr-s/156822)

- [Agents Window: Branch name tag not showing up for all agents](https://forum.cursor.com/t/agents-window-branch-name-tag-not-showing-up-for-all-agents/157208)

The team is actively working on improving branch visibility and management in Glass. For now, switching to the Editor view (which you can do from the layout picker) gives you the standard branch/git UI as a workaround.

---

_[View the full topic](https://forum.cursor.com/t/agents-glass-ui-reports-wrong-branch/158304)._
