Files
Alex Newman 65eb194358 fix(observer): requeue the batch when the child reports a transport failure (#3998)
When the spawned CLI cannot reach the provider it returns its own error
string and exits 0. That used to classify as prose and confirm (drop) the
claimed batch. Detect the CLI's transport report, reset the batch to
pending, and keep the session alive on a transport abort so the work
survives — the complete fix for #3752.

Rebased onto main: provider_switch stays on the preserve list, and
transport errors are not appended to conversation history.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>
2026-09-10 21:57:46 -07:00
..