[Bug] Unnecessary directory changes trigger security analyzer false positives

Open 💬 0 comments Opened Jul 9, 2026 by codewiz

Bug Description

Claude keeps issuing cd <dir> && ... or git -C <dir> ..., even when <dir> is the cwd.
This trips the analyzer, leading to security prompts

Environment Info

  • Platform: linux
  • Terminal: konsole
  • Version: 2.1.204
  • Feedback ID: 66f818ea-83c5-4b25-80bf-c5aed672659c

View original on GitHub ↗