[Bug] File write restrictions inconsistently applied to Git-related filenames outside .git directory

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

Bug Description
writing to files named config, HEAD, etc. that are relevant to Git gets blocked in a sandbox but not in the .git folder but actually in the sandbox root

Environment Info

  • Platform: darwin
  • Terminal: xterm-256color
  • Version: 2.1.236
  • Feedback ID: 0a1405cc-009c-4dfa-b9e3-6bd77d58e865

Errors

[]

View original on GitHub ↗