← AUTOMATER NEWSROOM

Qwen Code v0.27.4: Managed Sessions Get Granted Directories and a Web Terminal, and Auto Mode Demands Explicit Authorization

Qwen Code v0.27.4 gives managed sessions granted local directories and a Managed Web Terminal, and tightens Auto Mode to require explicit authorization.

Split illustration. On the left, a browser user grants a temporary directory to a managed session, which can then edit the granted working tree and open a Managed Web Terminal. On the right, an Auto Mode gate asks whether the user explicitly authorized a tool call, leading to an authorized or a blocked outcome.Split illustration. On the left, a browser user grants a temporary directory to a managed session, which can then edit the granted working tree and open a Managed Web Terminal. On the right, an Auto Mode gate asks whether the user explicitly authorized a tool call, leading to an authorized or a blocked outcome.
Original diagram for Automater: the two sides of Qwen Code v0.27.4 - wider reach for managed agent sessions, and an explicit-authorization gate for Auto Mode.

Qwen Code v0.27.4 landed on GitHub on 15 November 2026 at 07:04 UTC. On the surface it is a maintenance release: no known breaking changes, 18 commits on the release branch, the usual sweep of dependency security bumps. Two changes inside it are not maintenance. Managed Agent sessions can now reach directories the browser user grants them and open an interactive Managed Web Terminal, and Auto Mode now asks whether you explicitly authorized a risky action rather than whether it merely looked related to what you asked for. The overview still describes a terminal-first, scriptable agent that runs headlessly for CI. What moved is the boundary: how far a managed lane may reach, and what it may do unattended.

The GitHub release page for Qwen Code v0.27.4, showing the publish date, the release commit and the Highlights section listing managed agent local directory access, the Managed Web Terminal, Feishu and WeCom webhook delivery, and the Auto Mode changes.
Source: GitHub, QwenLM/qwen-code, release v0.27.4 (published Nov. 15, 2026). The capture shows the release header with its date and the Highlights list that the article summarizes. · Original source

What shipped

The release notes group the work into six headline bullets, and the GitHub API record confirms a full, non-prerelease build published at 2026-11-15T07:04:40Z with cli.js, native archives and a SHA256SUMS file.

The GitHub REST API JSON record for the Qwen Code v0.27.4 release, showing the tag name, the published_at timestamp and the list of release assets.
Source: GitHub REST API, QwenLM/qwen-code release v0.27.4. The capture shows the JSON record with the tag name, the published_at timestamp and the uploaded asset list. · Original source

Change Who it affects Consequence
Local directory grants for managed sessions (#16844) Managed-agent operators A session edits the granted working tree, no stored paths
Managed Web Terminal (#16866) Managed-agent operators A terminal attaches to a live session over a short-lived ticket
Auto Mode authorization and timeouts (#16858, #17146, #17127, #17100) Auto Mode users Risky means authorized, not merely relevant; a timeout earns one review
Feishu and WeCom webhook delivery (#17012, #17013, #17223, #17224, #17002) IM routing teams Long replies arrive as ordered segments, not truncated

The managed-session half: granted directories and a live terminal

Two pull requests carry it. The first registers the browser user’s filesystem into managed sessions through temporary directory grants, with no persisted credentials or paths. The second adds an interactive Managed Web Terminal that authenticates a WebSocket connection with a short-lived ticket and keeps the runtime alive while attached.

The consequence: a managed session no longer needs a copy of your repository to touch your working tree. Nothing durable is written back to the grantor.

Two-row flow diagram. Upper row: browser user, temporary grant, managed session runtime, working tree with live edits. Lower row: operator, short-lived ticket, authenticated WebSocket, attached Managed Web Terminal, with a footer stating that no credentials or paths are persisted.Two-row flow diagram. Upper row: browser user, temporary grant, managed session runtime, working tree with live edits. Lower row: operator, short-lived ticket, authenticated WebSocket, attached Managed Web Terminal, with a footer stating that no credentials or paths are persisted.
Original diagram: how a temporary directory grant and a short-lived terminal ticket reach a managed session. Based on pull requests 16844 and 16866 in the Qwen Code v0.27.4 release notes.

Both features were visible before the stable tag: the same two pull requests appear in the nightly pre-release v0.27.2-nightly.20261113.6f754be654 on the releases page, published 14 November. v0.27.4 is the first stable tag that carries them.

The caveat is deployment shape. The Managed Agent reference deployment guide calls the distribution experimental. Its Tier 2, which adds local-process tools, requires a registered Workspace, native storage registration and mount-identity verification before file or Shell work is admitted, so this is not a default on a fresh install.

The Auto Mode half: relevance becomes authorization

Auto Mode sits between Auto-Edit and YOLO. The Auto Mode reference documents three layers, in order: an acceptEdits fast path for workspace edits, a safe-tool allowlist for read-only built-ins, and a two-stage LLM classifier for everything else. Stage 1 is a fast model returning a block flag in roughly 300 milliseconds; Stage 2 is a thinking review that runs only when Stage 1 blocks.

Diagram of the Auto Mode approval stack: the acceptEdits fast path, the safe-tool allowlist, then a two-stage LLM classifier. Beside it, the new block test asks for explicit authorization of destructive, discarding, shared-history or bulk actions, and the timeout path runs a Stage 1 deadline, one session-model review, then manual approval.Diagram of the Auto Mode approval stack: the acceptEdits fast path, the safe-tool allowlist, then a two-stage LLM classifier. Beside it, the new block test asks for explicit authorization of destructive, discarding, shared-history or bulk actions, and the timeout path runs a Stage 1 deadline, one session-model review, then manual approval.
Original diagram: Auto Mode after Qwen Code v0.27.4 - the three approval layers, the explicit-authorization block test, and the classifier timeout path with its fallback to manual approval.

Auto Mode permission checks now judge explicit user authorization, especially for destructive, discarding, shared-history or bulk actions, rather than mere relevance. In an unattended lane that matters: judging relevance can clear something nobody asked for; judging whether the user asked for this exact thing asks a stricter question.

It lines up with a hint category the docs already describe. A softDeny entry blocks destructive or irreversible actions unless the user’s most recent explicit request asked for that exact action and scope; a generic yes-do-whatever does not count. The v0.27.4 change makes the default path behave more like a soft deny than a relevance test.

{
  "permissions": {
    "autoMode": {
      "hints": {
        "allow": ["Running pytest against the local test suite"],
        "softDeny": ["Deleting files or dropping a branch unless I ask for that exact removal"],
        "hardDeny": ["Reading anything under ~/.ssh or ~/.aws"],
        "environment": ["This is a private monorepo with signed commits"]
      },
      "classifyAllShell": true
    }
  }
}

Three smaller entries carry their own cost. A fast-classifier timeout now earns one complete session-model review before the action falls back to manual approval, but only when the fast and session model identifiers differ; with the default budgets that can add 30 seconds to a single tool call. Auto Mode also stopped resolving HTTP(S) URLs as filesystem paths, removing Windows lookup delays that could kill a session before a request started. And when Full Access (yolo) is active, the Web Shell composer renders the mode trigger in the destructive color.

Hard rules still apply underneath. permissions.deny blocks before the classifier runs, permissions.ask forces manual confirmation even in Auto Mode, and over-broad allow rules such as Bash(*) are stripped while Auto Mode is active. After three consecutive blocks, or two consecutive classifier outages, the call falls back to the manual prompt.

The Qwen Code documentation page for Auto Mode, showing the How it works section with the three approval layers and the two-stage classifier.
Source: Qwen Code Docs, Auto Mode reference page. The capture shows the How it works section describing the acceptEdits fast path, the safe-tool allowlist and the two-stage classifier behind the authorization change. · Original source

What to do this week

If you run managed sessions, grant a directory per task instead of mounting a repository permanently, and put the reference deployment’s storage registration and mount-identity verification ahead of your first tool-enabled session. If you run Auto Mode, treat the authorization change as a policy edit: write softDeny entries for the destructive operations your lanes attempt, expect a possible 30-second stall on classifier timeouts, and check that your fast and session model identifiers differ if you want the session-model review to fire.

We covered the v0.27.2 channel and Mods release earlier, and the 1.0 Preview that merges Qoder and Qwen Code is the bigger structural story behind this patch line. The same operator question appears elsewhere: Claude Code’s sandboxed Bash default, GitHub Copilot’s assisted permissions at GA and Managed Permissions Users Cannot Override.

Sources

  1. Release Release v0.27.4 · QwenLM/qwen-code · GitHub
  2. Releases · QwenLM/qwen-code · GitHub
  3. Qwen Code v0.27.4 Gives Managed Agents Granted Local Directories and a Managed Web Terminal, and Tightens Auto Mode Authorization
  4. Qwen Code overview | Qwen Code Docs
  5. Auto Mode | Qwen Code Docs
  6. Managed Agent Reference Deployment | Qwen Code Docs