An agent gets stuck calling the same tool again and again. Until this release, the command-line client noticed the pattern and stopped it. In the new version, the tool results and errors reach the model unchanged, and the loop is the developer's problem to handle.
Qwen Code v0.28.7 was published on the QwenLM GitHub repository on 26 November 2026, at commit 3a9baf5. The release contains a long list of usability fixes and one change flagged explicitly as breaking. It is that change, rather than any benchmark number, that matters to someone running unattended agents.
The breaking change, read literally
The release notes say: "Qwen Code no longer detects model loops or caps tool calls; tool results and errors now reach the model unchanged on all surfaces." The Pull Request cited is #18418.
That sentence removes several distinct mechanisms at once. According to the PR description reproduced in the release notes, the removed behaviours include detection of consecutive identical calls, file-reading loops, stalled actions, caps at 100 and at 1,000 calls, and a loop-warning dialog in the terminal interface. Older settings named model.loopProtection and model.skipLoopDetection are gone; the release notes say old configuration values are ignored with a warning.
What remains, by the same account, are two stopping conditions: an explicit model.maxToolCallsPerTurn setting, and a circuit breaker for providers that replay an already-answered tool-call ID. The PR states that leaving the setting unset means no cap.
The release notes also include a sample figure from the PR author's own testing: in 50 sampled failing runs of DeepSWE recorded by the PR author on a Harness leaderboard, 31 stopped at the loop guard. That is a data point from the change's author, under one test configuration. It is not a general failure rate and should not be quoted as one.
Why this is a developer change, not a demo change
In an interactive session, a loop is annoying. A developer watches the repeated calls, interrupts, and tries again. In a headless job, a scheduled task or a background sub-agent, nobody is watching. The difference between "the client stopped a runaway loop" and "the client passed every repeat back to the model" is the difference between a bounded job and an open-ended one.
Removing the guard is a design decision about where control lives. The model and the caller now own the stopping logic. The release notes are explicit that tool results and errors arrive unchanged on every surface — TUI, headless and daemon sessions alike. A developer who relied on the client to silently truncate a run has to replace that behaviour with an explicit limit, a turn count, a wall-clock timeout, or a hook that rejects a repetition.
The accompanying fix in #18317 is relevant here. Repeated-tool-call rejections from the provider now produce a message that explains the cause and suggests /compress or /clear to recover, across the same three session types. That does not restore the cap; it makes the failure legible.
The Harness kernel and the telemetry default
The first highlight of the release is that the Qwen Code CLI package now runs on the Harness kernel (#18351). The same bullet states that usage statistics are off by default unless privacy.usageStatisticsEnabled is set to true.
For a team evaluating a coding agent, that default is worth noticing. Telemetry behaviour is a procurement question as much as a feature: what leaves the machine, under what setting, and who can turn it on. The release note states the default and the flag; it does not describe what data would be collected if the flag were enabled.
Other changes in the same release show the direction of travel. Web Shell now applies the selected thinking level at session startup, so the first prompt uses it without a second request (#18326). The interactive CLI saves reasoning effort and context window per model, restoring them when the model changes or the client restarts (#18316). Worktree snapshots are retained per workspace in configurable numbers and restored on reopen (#18009); setting worktree.maxRetained to zero disables the automatic sweep.
There is also a compatibility item with a practical edge. Mods written for Claude Code 2.1.332 now load in Qwen Code, registering their commands and rendering their banner; new hook names are skipped with a one-line diagnostic (#18435). A team with an existing set of Mods can test them rather than rewriting them, though the skipped-hook behaviour should be checked before relying on one.
What changed for a small team
The release reads like a collection of small corrections, but two of them change operational behaviour.
First, the default telemetry state. Check the configuration before the client is rolled out widely, particularly on machines that hold proprietary code.
Second, the loop policy. A scheduled agent job that previously terminated because the CLI capped calls at one hundred or one thousand will no longer do so by default. The job needs its own ceiling. The release notes give one explicit way to set it, and a team should test the behaviour in a headless run rather than assuming the interactive experience carries over.
The rest of the release — session takeover across control planes, SQL-backed terminal tickets, event streams that pick up other instances' commits within a few hundred milliseconds — is infrastructure for hosted, multi-instance deployments. A solo developer will not notice it. A team running a pool of agents will.
What readers can do now
- Set
model.maxToolCallsPerTurnbefore a long job. With the client-side cap removed, an unset limit means no cap in the terms of PR #18418. - Check the telemetry flag. Usage statistics are off by default unless
privacy.usageStatisticsEnabledis true. Confirm the setting in your own configuration rather than assuming the default during an upgrade. - Test headless, not just interactive. The breaking change applies to TUI, headless and daemon sessions. Run one unattended task after upgrading to see the real failure behaviour.
Honest limitations
Every statement in this article is drawn from the official GitHub release page for QwenLM/qwen-code v0.28.7, published 26 November 2026, and from a second release-tracking site that reproduces the same breaking change. No benchmark results were available from the primary source, and none are claimed here.
The DeepSWE figure comes from the author's PR description under a specific configuration and is reported only as that. No independent test of the release was performed for this article, and no developer was interviewed about production experience with version 0.28.7.
Nothing here recommends Qwen Code over another tool. The guidance about limits and telemetry is configuration advice based on the published release notes, not a performance assessment.
