On zero-token resource_exhausted, senpi rotates the Cursor conversation id and migrates caches (packages/ai/src/api/cursor-agent.ts:676-694). Server-side pending exec state is discarded, so tools already executed in the poisoned conversation can be re-requested on the fresh one (double side effects). Proposal: suppress duplicate exec dispatch for exec ids already answered pre-rotation, or annotate rebuilt history so the server does not re-issue them. Found during the 2026-08-20 cursor provider audit (hyperdebate lane arch-binary D5).
On zero-token resource_exhausted, senpi rotates the Cursor conversation id and migrates caches (packages/ai/src/api/cursor-agent.ts:676-694). Server-side pending exec state is discarded, so tools already executed in the poisoned conversation can be re-requested on the fresh one (double side effects). Proposal: suppress duplicate exec dispatch for exec ids already answered pre-rotation, or annotate rebuilt history so the server does not re-issue them. Found during the 2026-08-20 cursor provider audit (hyperdebate lane arch-binary D5).