Agent conversation_state corrupted server-side since Oct 23 — all requests fail protobuf decode (multiple Request IDs)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Since Oct 23, every agent request from my account fails with protobuf
decode errors on AgentRunRequest.conversation_state. The failure point
has evolved over time:

  • invalid wire type: EndGroup (expected LengthDelimited) on
    ConversationStateStructure.summary
  • invalid wire type value: 6 on ConversationStateStructure.file_states
  • delimited length exceeded on the whole conversation_state

Steps to Reproduce

  1. Log in with my account on any machine.
  2. Open any conversation, send any message.
  3. Error: “The server failed 4 times” + protobuf decode error.

Expected Behavior

Agent responds normally.

Operating System

Windows 10/11

Version Information

Version: 3.27.12 (user setup)
VS Code Extension API: 1.128.0
Commit: df132ffba90dfc15a12e6b8f020ba4e5d026c4b0
Date: 2026-10-23T02:27:47.076Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 42.11.16
Chromium: 148.0.7778.280
Node.js: 24.19.0
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200

For AI issues: add Request ID with privacy disabled

64ac6ac9-6673-42b7-b36b-c2904131d419
b9ad6a75-b692-4a90-87e4-8c61279ff2d2
0fc303cd-1b7f-4997-a3e0-4e4f0f70e227
d1802bf1-32ba-4848-94cd-13c964260163

Additional Information

Suspected root cause:
On Oct 23 I had a long-running agent task on a remote machine
(Remote-SSH). I disconnected while it was still running; the task was
killed abnormally. Two conversations stopped responding that day
(sent messages, no reply). Since Oct 24, all conversations fail with
the above errors.

What I’ve ruled out by testing:

  • Latest Stable and Nightly clients
  • Two different machines (Windows local + Linux via Remote-SSH)
  • Completely wiped local state on BOTH machines: workspaceStorage,
    state.vscdb, anysphere.cursor-agent-host storage, project .cursor dir
  • Official Cursor models AND custom models
  • Different networks (phone hotspot, no proxy)
  • New conversations / new windows / sibling folders

Local state resets give only temporary recovery (~1 day), then the
corruption returns — the corrupted state appears to re-sync from the
backend. Strongly suspect a corrupted conversation_state stored
against my account on the server side.

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey @Kerry_Jin, thanks for the detailed report!

This isn’t corrupted data on your account, so wiping local state won’t help. It looks like something on your Windows PC is intercepting Cursor’s agent requests before they reach us (with Remote SSH, AI requests still go out from your local machine).

Could you check for any of these:

  1. A third-party relay or tool you use to add custom models
  2. A proxy client with HTTPS decryption (MITM) turned on
  3. Security software that scans HTTPS connections

If you find one, fully quit it, make sure http.proxy in your Cursor settings isn’t pointing at it, then fully restart Cursor.

If nothing like that is running, please run Network Diagnostics (Cursor Settings > Browser & Network) and paste the copied results here.

Based on systematic testing, the most likely cause is a local open-source BYOK gateway (cursor-byok) that proxies all agent traffic via a local CA. Its Cursor protocol adapter appears outdated (repo archived Oct 20, unmaintained), and the re-serialized requests fail protobuf decode.

Evidence so far: with the tool running, every request fails; with it fully quit, everything works on both machines. No account/server data appears affected — consistent with your initial local-interception diagnosis. I’ll verify further with an officially supported setup. Thanks!