A failed cursor turn projected only the generic "Provider turn failed." because the adapter read a nonexistent `error` field off RunResult (@cursor/sdk 1.0.22 carries no error text on results; errorCode lives only in the SDK's internal run store). Persist what the result does carry — run id, requestId, and duration — so failures can be matched to Cursor-side logs (audit plan #3, thread c9e72a05 run 2 lost requestId beca30c7 + 440s duration). The speculative `error` read stays as a makeProviderFailure cause for future SDK versions. Co-Authored-By: Claude Fable 5 <[email protected]>
Server
Node.js WebSocket server for the T3 Code app.