#27282 Fixed P1 comp/gateway

[--tui] gateway exits mid-turn with stdin EOF (TUI closed the command pipe) — NOT byterover-related

On macOS in --tui mode, the gateway repeatedly exits mid-conversation with "stdin EOF (TUI closed the command pipe)" even with only built-in memory enabled (no byterover), which the reporter notes is distinct from a similar SIGPIPE issue (#14036) caused by the byterover memory plugin.