Forumics logo Forumics
Issue 01

Back to issue

All Cline known issues

CLAIM C222 Supported 2026-11-30

GitHub issue #15904 in cline/cline, created 2026-11-29 by audipz and titled "MCP session rebuild can commit stale state or lose tool-list updates", reports that an MCP session rebuild can commit stale state or lose tool-list updates. Pausing the asynchronous history read during an idle MCP tool-list rebuild, then injecting a newer revision, starting a turn, or starting and finishing a turn before releasing the read, lets the original coordinator commit obsolete tools, lose a refresh on replacement refusal, or use stale history, and updates during detachment can also be lost. The expected behavior is to revalidate scheduler generation, session object identity, turn generation and queue synchronously at the detach boundary, requeue only observed invalidating work for the same session, retain newer notifications across replacement, and avoid synthetic running/idle events and blind retries. The report was made against VS Code extension source v4.1.27, commit 8075d2e35cf5cad67c24f180c80a05d311b74a3e, using deterministic local component tests with simulated dependencies; current main and the installed historical bundle were not verified. Validation: three targeted race regressions failed before the change, and the combined race/history candidate passed 188 tests and two TypeScript checks, including an in-memory MCP notification during a simulated response, with no real model or extension-host run. Local tracking ID: CLINE-001. The report states it is independent of historical model-output symptoms, that local regression fixtures and candidate diffs are available where implemented, that no upstream merge is claimed, and that the analysis and drafting were AI-assisted.

Verbatim Excerpts from Cited Records
“Pause the asynchronous history read during an idle MCP tool-list rebuild. Inject a newer revision, start a turn, or start and finish a turn before releasing the read.”
— audipz · cline/cline (issue 15904 opening body, Reproduction and actual behavior section) · 2026-11-29T10:43:53Z ·GitHub Issue ↗
“The original coordinator can commit obsolete tools, lose a refresh on replacement refusal, or use stale history. Updates during detachment can also be lost.”
— audipz · cline/cline (issue 15904 opening body, Reproduction and actual behavior section) · 2026-11-29T10:43:53Z ·GitHub Issue ↗
“Revalidate scheduler generation, session object identity, turn generation and queue synchronously at the detach boundary. Requeue only observed invalidating work for the same session; retain newer notifications across replacement.”
— audipz · cline/cline (issue 15904 opening body, Expected behavior and proposed fix section) · 2026-11-29T10:43:53Z ·GitHub Issue ↗
“Three targeted race regressions failed before the change. The combined race/history candidate passed 188 tests and two TypeScript checks, including an in-memory MCP notification during a simulated response. No real model or extension-host run.”
— audipz · cline/cline (issue 15904 opening body, Validation and limitations section) · 2026-11-29T10:43:53Z ·GitHub Issue ↗
Counter-record: Issue remains open as of 2026-11-29 (last updated 2026-11-29T11:02:07Z). 2 comments read in total. linear-code[bot] (2026-11-29) linked the report to CLINE-3858. audipz (2026-11-29) attached a candidate patch file, 01-atomic-mcp-rebuild.patch. No maintainer response appears in the surveyed thread. The claim documents only the original report, not a verified current state. Falsification probe: If GitHub issue #15904 is closed as fixed, as a duplicate, or as not planned, if the author edits the opening body so the quoted sentences no longer match verbatim, or if the author posts a retraction of the report, this claim drops to Withdrawn. Audit verification: Verified 100% continuous verbatim substring against official GitHub REST API by scripts/verify_claim_verbatim.py.