[Bug] Claude Code loses context of active worktree between interactions

Resolved 💬 2 comments Opened May 22, 2026 by AutomatedTester Closed May 26, 2026

Bug Description
it didn't use historical context via git or mempalace mcp or claude memory to work out what to do. It keeps forgetting which worktree it is in

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.148
  • Feedback ID: 0852dc3f-ab68-4845-9c3c-e3caab0abe6c

Errors

[]

I have been working on @seleniumhq and I keep having to check that it is doing things on the worktree that we started on as it moves to the main repo. It also doesn't use historical memory from git to see how a similar task was done. In this case I am extending the work for https://github.com/SeleniumHQ/selenium/pull/17526 to include other JS code

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗