A run cancelled by the startup/shutdown reconcile was indistinguishable from a user cancel: the user's message simply never got an answer and no explanation appeared anywhere (audit plan #5, threads 721fc23c and 48663fb7 — cursor crash and server restart both ate the turn silently). The reconcile now appends a "Run interrupted" error item per terminalized run carrying the reason ("Cancelled because the server restarted/shut down before the provider work completed."), ordinal-appended after all projected items to respect the thread-wide position uniqueness. App-verified: killed the backend mid-turn; after restart the thread shows "Run interrupted — Cancelled because the server restarted before the provider work completed." Co-Authored-By: Claude Fable 5 <[email protected]>
Server
Node.js WebSocket server for the T3 Code app.