- Guard deferred stream usage publishing with terminal delivery checks in ExecuteStream and executeResponsesStream so mid-stream cancellations publish failures.
- Raise the ExecuteStream scanner buffer to 50MB and parse SSE frames to detect in-band errors without leaking raw payloads into logs or usage failures.
- Fail clean EOFs missing [DONE] or primary choices.0.finish_reason with a truncated stream error wrapping io.ErrUnexpectedEOF instead of synthesizing [DONE].
Closes: #8220