Copilot CLI on Windows is hardcoded to use PowerShell 6+, not bash or zsh. This architectural constraint means running it from Cygwin creates an inherent incompatibility layer where every command gets translated through PowerShell, causing the path corruption and file truncation you're experiencing. The /cygdrive/g becoming G:\cygdrive\g issue is a direct consequence of Windows' path interpretation rules encountering Cygwin's virtual filesystem paths that only PowerShell receives—but doesn't understand. The solution isn't better configuration; it's using a supported environment like WSL.
The new GitHub Copilot CLI (the standalone copilot command, not the deprecated gh copilot extension) executes all shell commands through a hardcoded PowerShell 6+ dependency on Windows. Issue #508 on the copilot-cli repository confirms: "It seems like it's a hardwired depe