TestCtrlDMidTurnDoesNotQuit: the textarea is empty during a running turn (submit resets it), so without the phase gate a reflexive Ctrl+D would quit instantly, skipping turnCtx cancel and orphaning a running tool's process group. Ctrl+C is the mid-turn escape; Ctrl+D must be inert until idle.
(t *testing.T)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected