Environment: Linux, Windsurf [version], Cascade AI
Problem: Every command shows:
bash integration error: Terminal test command did not produce expected output:
We cannot run commands in your integrated terminal. This could be due to shell version or plugins incompatibility. Using fallback execution.
Root Cause: Windsurf breaks bash safety functions that prevent catastrophic failures (reboots, service disruptions, data loss).
Impact: Forces users to choose between IDE functionality and system safety. Blocks enterprise adoption.
Reproduction:
Add safety functions to ~/.bashrc-safety with read prompts
Source them in ~/.bashrc
Open Windsurf IDE
Try integrated terminal β Error appears
Workarounds: bash --noprofile --norc (loses safety) or conditional loading (requires manual fixes)
Expected: Windsurf should handle safety functions gracefully, not break them.
Priority: HIGH - This must be regression tested on every update!
@windsurf-team please acknowledge!