Repository navigation
Description
The daily candidate workflow exposed a real MCP declaration mismatch and a separate outdated workspace test expectation with @moonshot-ai/kimi-code 2.6.2 and 2.6.3. The November 17 native investigation distinguishes them below. Accepted pins and the MCP assertion remain unchanged. All probes use isolated homes, synthetic credentials and local scripted providers; no real accounts or paid model calls are involved.
sea-trial/vendor/mcp-servers-acp.vendor.test.ts,kimi-aimock mcpServers > a stdio and an http server attach, the agent calls both, and a resume attaches them again: after resuming withoutmcpServers, the offered catalog still containsmcp__echo__echoandmcp__remote__echo. The assertion expects an emptyresumedWithoutlist. The original open and reattached resume succeed.sea-trial/vendor/kimi-skills.vendor.test.ts,Kimi native Web skill inventory > discovery preserves an existing user workspace with the same root, was forced toreuseby the workflow. Native 2.6.2 and 2.6.3 intentionally create a fresh registration; only an explicit idempotency key requests reuse. OAR already deletes only its own new registration and preserves the user registration. The complete fresh-mode control passes on both versions; the accepted 2.4.1 baseline still passes reuse. The test now needs to select its expectation from the native version, with the user ID/root/name and cleanup assertions preserved in both branches. This is a fixture expectation correction, not an OAR workspace deletion defect.
| Version | MCP declaration mismatch on bare resume | Historical forced-reuse assertion failure |
|---|---|---|
| 2.6.2 | Linux and macOS | Linux and macOS, also independently reproduced on Linux |
| 2.6.3 | Linux, macOS and Windows | Linux, macOS and Windows |
2.6.2 evidence is in run 44113058818, including macOS MCP job 134143742875. Windows in that first run stopped at a manifest line-ending identity check, so it is not evidence for either 2.6.2 native failure.
2.6.3 evidence is in run 44126892829 at dde6de0494e7e3c2cd97a54a7b4a7ef87799a79e:
| OS | MCP job | Workspace job |
|---|---|---|
| Linux | 134193199105 | 134193199075 |
| macOS | 134193207987 | 134193200020 |
| Windows | 134193199091 | 134193199018 |
Each job retains its exact install report and fixture evidence in candidate-kimi-aimock-<os> or candidate-kimi-login-<os>. The frozen candidate record is the runtime-candidates artifact. The second run's installation, CLI build/account-home probe and OpenCode candidate setup fixes all pass; its six failures are these two Kimi assertions on the three systems. The other 27 jobs pass and the unchanged SDK matrix is skipped.
To reproduce the historical failed assertions on the original commit, install either exact Kimi version into a private npm prefix, set OAR_KIMI_BIN to that prefix's bin/kimi, and add the same bin directory to PATH:
CI=1 pnpm install --frozen-lockfile
CI=1 OAR_TEST=kimi-aimock OAR_TEST_REQUIRE_AVAILABLE=1 pnpm vitest run sea-trial/vendor/mcp-servers-acp.vendor.test.ts --maxWorkers 2 -t 'a stdio and an http server attach'
CI=1 OAR_TEST=kimi-login OAR_KIMI_WORKSPACE_MODE=reuse pnpm vitest run sea-trial/vendor/kimi-skills.vendor.test.ts -t 'discovery preserves an existing user workspace'Refined native result, November 17
The unchanged direct ACP probe completed four independent resume variants on each of 2.6.2 and 2.6.3:
- Omitted or empty MCP input still advertises the original stdio and HTTP tools, but direct calls to both old names fail with native
Tool "..." not found. - Same-name replacements execute with the new synthetic configuration.
- Renamed stdio/HTTP replacements are callable when explicitly scripted, but the model still sees only the original names. Old names fail.
The user impact is stale model guidance and hidden new tools. Removed connections or credentials are not retained in these controls. The native connection registry follows the current restore input; the durable initial tool snapshot remains the source of ordinary model declarations. This continues the 2.5.0 finding, not a new regression first introduced in 2.6.2.
The 2.6.3 workspace source explicitly allocates a new ID without an idempotency key. The prior 2.6.2 inventory probe already measured fresh IDs and complete user-registration preservation.
The direct execution controls are Linux only. Earlier macOS/Windows jobs establish the offered-schema mismatch and historical workspace assertion, not direct invocation behavior. Full raw material stays local; selected current evidence and the version-based fixture correction are being submitted separately. The MCP assertion remains red until native declarations match current tools; no runtime pin is promoted. The native declaration mismatch is filed as MoonshotAI/kimi-code#5036. No generic catalog-reset parameter was found in the inspected public controls. Keep this issue open, the MCP assertion unchanged and the accepted pin at 2.4.1 until a native release addressing #5036 passes the omitted, empty, same-name and renamed resume controls with declarations matching execution. An upstream issue closure alone does not meet that condition.
Related independent reports: Kimi background-refresh login loss #5034, Kimi first-Web-token race #5035, and OpenCode warm-WAL recovery lock #64590. Those are separate from this MCP declaration mismatch and do not satisfy its acceptance condition. Their mitigations and removal conditions are documented on the runtime pages and in the linked experiments.
Otter edited this issue through Stamp · server
open-agent-runtime
Activity
ci: distinguish known runtime candidate failures (#901)
[-]Kimi 2.6.2/2.6.3 candidates retain MCP tools on bare resume and fail workspace reuse[/-][+]Kimi resume advertises stale MCP declarations; workspace failures were outdated test expectations[/+]stamp-build commentedon Nov 17, 2026
The corrected native result and fixture change are in #909, approved at
a3fc57000789c80e248ea95c3f6ed18d8b5bb685and awaiting CI. Current direct ACP evidence separates stale declarations from current MCP execution on 2.6.2 and 2.6.3. The revised complete workspace preservation control passes on 2.4.1, 2.6.2 and 2.6.3. Runtime pins and the MCP assertion remain unchanged; this issue remains open for the native declaration mismatch. The upstream issue draft has been handed to Cindy for publication.open-agent-runtimetest(kimi): match workspace expectations to native version (#909)
stamp-build commentedon Nov 18, 2026
The version-dependent workspace test correction and native investigation are merged in #909 (ea457ab). The test now selects the native registration expectation while preserving the original user ID, root, name and cleanup assertions. No runtime version was promoted. All 20 selected PR checks passed; the Windows Pi RPC job was intentionally skipped by the selector. The merged patch and complete tree match the approved head.
The committed November 17 report and selected evidence distinguish current MCP execution from stale model declarations on 2.6.2 and 2.6.3. This issue stays open for that native mismatch, and the original MCP assertion remains unchanged. Upstream publication is being coordinated separately; its URL will be added when available. The change is on main and is not yet published in an OAR release.
open-agent-runtimedocs(runtimes): link native upstream issues and removal conditions (#920
test(kimi): move CI baseline to 2.6.3 (#940)