[Bug] Claude Code uses separate Git worktree in temp folder, preventing visibility into operations

Status Open
Reported on v2.1.278
Maintainer reply None cached
Activity 0 comments · opened Sep 22, 2026

Bug Description
this is not a good behaviour, it's using a different worktree git in temp folder for our project i can't able to check what claude code is doing

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.278
  • Feedback ID: e6224a6f-406a-47b7-b364-89bae64982de

Errors

[{"error":"TelemetrySafeError: VirtualMessageList: itemKeys/messages length desync (keys=212 messages=210 range=[183,212))\n    at Deo (B:/~BUN/root/chunk-zd9p1yms.js:37:31024)\n    at pve (B:/~BUN/root/chunk-zd9p1yms.js:37:21923)\n    at Xs (B:/~BUN/root/chunk-3k2y9fc2.js:18:20036)\n    at du (B:/~BUN/root/chunk-3k2y9fc2.js:18:38202)\n    at gm (B:/~BUN/root/chunk-3k2y9fc2.js:18:84284)\n    at Ab (B:/~BUN/root/chunk-3k2y9fc2.js:18:83284)\n    at wu (B:/~BUN/root/chunk-3k2y9fc2.js:18:83113)\n    at cm (B:/~BUN/root/chunk-3k2y9fc2.js:18:79637)\n    at dt (B:/~BUN/root/chunk-3k2y9fc2.js:18:6261)\n    at Jn (B:/~BUN/root/chunk-3k2y9fc2.js:18:4792)","timestamp":"2026-09-21T06:43:29.712Z"}]

View original on GitHub ↗