Highlights
- Hosted Harness can now claim released Sessions over a work poll instead of round-robin placement, with hardened polling and an opt-in setting off by default. (#18592, #18624, #18626)
- Sessions can reuse a shared resident external Workspace with read-only concurrent dispatch, reattach, recovery, and EPHEMERAL storage registration. (#17472)
- /autofix-pr adds one-click controls and shared live watch state across Web Shell PR surfaces, plus multi-round audits, local verification, and a new --audit flag. (#18607, #18613)
- /verify-pr gains microVM golden rootfs, offline golden guest images, real Apple VZ/vfkit vsock transport, and automatic runs on pushes to write-permission PRs. (#18581, #18649, #18633, #18639)
- Web Shell mobile gets touch-friendly sidebar action sheets and long press, a working slash/Skill menu on touch devices, and Up/Down input history recall. (#18617, #18615, #18643)
- A new worktree.root setting (default .qwen/worktrees) controls where CLI and Web Shell session worktrees are created, restored, and cleaned up. (#18580)
Breaking Changes
No known breaking changes.
Hosted Harness and Session claims
Work-poll claiming, claim reservation, and hardened polling for Hosted Harness sessions.
- Adds Store-side claim reservation with a 30-second hold and demand tracking; no callers yet, so behavior is unchanged. (#18589)
- Adds an opt-in setting letting a Hosted Harness claim released Sessions over a work poll instead of round-robin placement; off by default. (#18592)
- managed-agent: Let a Hosted Harness claim released Sessions over the work poll (#18626)
- Hardens Harness work polling: skips unloadable candidates, lets unrelated pollers proceed, and rejects work-pull configs lacking a Harness pool. (#18624)
Workspace and worktree handling
Shared external workspaces and configurable worktree locations for sessions.
- Lets Sessions reuse a shared resident external Workspace, with read-only concurrent dispatch, reattach, recovery, and EPHEMERAL storage registration. (#17472)
- A new repository-relative worktree.root setting (default .qwen/worktrees) now controls where CLI and Web Shell session worktrees are created, restored, and cleaned up. (#18580)
Web Shell chat and mobile UX
Unified chat controls, session adapter, and touch-friendly composer and sidebar interactions.
- Routes the split chat pane's cancel and responding state through the shared chat controller and marks the unified chat surface design as implemented. (#18596)
- Adds an optional session adapter for hosts embedding WebShell to supply the client and handle session creation, history restore, and prompt submission. (#18365)
- Opens the slash command and Skill completion menu when typing / in the Web Shell composer on touch devices like iPhone and iPad. (#18615)
- web-shell: touch-friendly sidebar action sheet, long press, and workspace/group controls (#18617)

- Web Shell mobile editing-row Up and Down buttons now recall and step through workspace input history like desktop arrow keys, preserving unsent drafts. (#18643)
- Web Shell settings now apply interface language changes immediately during a running turn, while the model output language keeps its refusal with a clearer blocker message. (#18637)
PR autofix and verification
Autofix watch controls, multi-round audits, and microVM-based PR verification.
- Adds /autofix-pr controls and shared live watch state across Web Shell PR surfaces to start, resume, restart, or clean up autofix watches in one click. (#18607)

- /autofix-pr now runs built-in multi-round audits, local real-environment verification, a new --audit flag, fail-closed thread resolution, and higher budgets. (#18613)

- /verify-pr microVM rounds can now derive read-only golden guest images offline and run the full guest lifecycle using only repository scripts. (#18581)
- /verify-pr now runs automatically on every push to a PR whose author has write permission, using the dedicated ecs-verify-pr runner pool. (#18639)
- /verify-pr now only credits a claim as tested on the runtime it depends on, naming that runtime beside each result in the report. (#18619)
- /verify-pr microVM rounds now work over real Apple VZ/vfkit vsock transport and accept production-scale round inputs after the size cap was raised. (#18633)
- verify-pr: add microVM golden rootfs, guest CLI workload, local runner, and dep gateway (#18649)
Session GC and recovery correctness
Bounded GC scans, durable recovery state, and byte-exact schedule visibility.
- Bounds Session resource GC scans by using existing ordered indexes for MySQL page reads, reducing scan load. (#18608)
- Recovery views for active turns now use durable control-plane state, so cold and warm replicas report the same recovery state and keep the next turn blocked. (#18641)
- Schedule visibility queries now match Workspace IDs byte-exactly in MySQL, so schedules appear only for workspaces covered by the caller's current grants. (#18640)
Linux AppImage packaging
Release builds exclude host Wayland libraries and the smoke check enforces it.
- The Linux AppImage smoke check now fails when a host library such as libwayland-client is bundled, and release builds exclude Wayland libraries. (#18491)
Managed Agent internals
Persistence facade refactors, daemon-free runtime bundle, and replica integration tests.
- Removes the last daemon imports from the managed-host entry point and adds a CI gate that fails if the runtime bundle includes daemon code. (#18582)
- Extracts store assembly and read-only Session and Turn delegates from the Managed Agent persistence facade while keeping mutation transactions on the facade. (#18478)
- Replaces the AST scanner for the managed-loop classifier decision with an executed test that drives the decision directly. (#18010)
- Moved 13 read-only session, turn, and event queries from the Managed Agent store facade into its read delegates, preserving signatures and transaction behavior. (#18642)
- Added a real-process MySQL integration test covering pull handoff across two Java replicas, including dropped claim replies, retries, and re-offer paths. (#18650)
- test(managed-agent): Verify P4 event ingest across Java replicas (#18671)
Maintainer workflow and docs
Trusted-head approvals, PR pre-screening, and updated verification design docs.
- Updates the bilingual verification-hardening design docs to record the merged adversarial and guard gates and aligns the Chinese guard wording. (#18591)
- Maintainers with write access can now approve local trusted-head verification of external fork PRs without posting a public approval comment. (#18632)
- Docs-only and asset-only maintainer PRs are now pre-screened in authorize, skipping the full container and publish-verify lifecycle when no verification is needed. (#18663)
Other Changes
- Runs the MySQL-only Session resource GC dual-JVM test in the SDK Java multi-node CI job with a dedicated RocketMQ delay topic. (#18594)
- Removed rotating witty loading phrases and their timers from the CLI, Web Shell, and locale packs while keeping status indicators, tips, and cancel hints visible. (#18646)
- Tightened sidebar touch tests to cover both long-press threshold directions and verify action-sheet closed-state handoff rules on the overlay as well as the sheet. (#18655)
中文摘要
亮点
- Hosted Harness 现可通过 work poll 认领已释放的 Session,替代轮询分配,并加固轮询逻辑;该设置默认关闭。 (#18592, #18624, #18626)
- Session 可复用共享常驻外部 Workspace,支持只读并发调度、重新挂载、恢复及 EPHEMERAL 存储注册。 (#17472)
- /autofix-pr 在 Web Shell 各 PR 界面新增一键控件和共享实时监视状态,并支持多轮审计、本地验证及新增 --audit 参数。 (#18607, #18613)
- /verify-pr 新增 microVM golden rootfs、离线黄金客户机镜像、真实 Apple VZ/vfkit vsock 传输,并在写权限 PR 推送时自动运行。 (#18581, #18649, #18633, #18639)
- Web Shell 移动端新增触控侧边栏 Action Sheet 和长按、触屏可用的斜杠/Skill 菜单,以及 Up/Down 输入历史浏览。 (#18617, #18615, #18643)
- 新增 worktree.root 设置(默认 .qwen/worktrees),统一控制 CLI 和 Web Shell 会话 worktree 的创建、恢复与清理位置。 (#18580)
托管 Harness 与 Session 认领
面向 Hosted Harness 会话的 work poll 认领、claim 预留与加固轮询。
- 新增 Store 侧 claim 预留,保留 30 秒并记录需求;暂无调用方,行为不变。 (#18589)
- 新增默认关闭的设置,允许 Hosted Harness 通过 work poll 认领已释放的 Session,而非轮询分配。 (#18592)
- managed-agent: Let a Hosted Harness claim released Sessions over the work poll (#18626)
- 加固 Harness work poll:跳过无法加载的候选、允许无关轮询继续,并拒绝缺少 Harness 池的 work-pull 配置。 (#18624)
Workspace 与 worktree 处理
共享外部 Workspace 以及可配置的会话 worktree 位置。
- 允许 Session 复用共享常驻外部 Workspace,支持只读并发调度、重新挂载、恢复及 EPHEMERAL 存储注册。 (#17472)
- 新增仓库相对路径设置 worktree.root(默认 .qwen/worktrees),统一控制 CLI 和 Web Shell 会话 worktree 的创建、恢复与清理位置。 (#18580)
Web Shell 聊天与移动端体验
统一聊天控制、会话适配器,以及触屏友好的输入框与侧边栏交互。
- 将分屏聊天面板的取消与响应状态统一交由共享聊天控制器处理,并将统一聊天界面设计标记为已实现。 (#18596)
- 为嵌入 WebShell 的主机新增可选会话适配器,可提供客户端并处理会话创建、历史恢复和提示提交。 (#18365)
- 在 iPhone 和 iPad 等触屏设备的 Web Shell 输入框中输入 / 时,打开斜杠命令和 Skill 补全菜单。 (#18615)
- Web Shell 侧边栏的会话、工作区和分组操作现已在 iPhone、iPad 和 Android 上支持触控,包括长按和底部 Action Sheet,桌面行为保持不变。 (#18617)
- Web Shell 移动端编辑行的 Up 和 Down 按钮现在可像桌面方向键一样浏览工作区输入历史,并保留未发送的草稿。 (#18643)
- Web Shell 设置现在可在轮次运行期间立即应用界面语言更改,而模型输出语言仍会拒绝并给出更清晰的阻塞原因。 (#18637)
PR 自动修复与验证
autofix 监视控件、多轮审计,以及基于 microVM 的 PR 验证。
- 在 Web Shell 各 PR 界面新增 /autofix-pr 控件和共享实时监视状态,一键启动、恢复、重启或清理 autofix 监视。 (#18607)
- /autofix-pr 现在支持内置多轮审计、本地真实环境验证、新增 --audit 参数、fail-closed 线程处理和更高预算。 (#18613)
- /verify-pr 的 microVM 轮次现在可离线生成只读黄金客户机镜像,并仅用仓库脚本运行完整客户机生命周期。 (#18581)
- /verify-pr 现在会在作者拥有写权限的 PR 每次推送时自动运行,使用专用的 ecs-verify-pr 运行器池。 (#18639)
- /verify-pr 现在仅在声明所依赖的运行时上认定其已测试,并在报告中于结果旁注明该运行时。 (#18619)
- /verify-pr 的 microVM 轮次现在可在真实 Apple VZ/vfkit vsock 传输上运行,并在提高大小上限后支持生产规模的轮次输入。 (#18633)
- 完成 microVM 推广的 Phase 3,提供 golden rootfs、guest CLI 工作负载、本地运行器和依赖网关以支持端到端 PR 验证,默认容器路径保持不变。 (#18649)
Session GC 与恢复正确性
有界 GC 扫描、持久化恢复状态与字节精确的计划可见性。
- 通过使用现有有序索引进行 MySQL 分页读取,限制 Session 资源 GC 扫描范围,降低扫描负载。 (#18608)
- 活动轮次的恢复视图现在使用持久化控制平面状态,使冷热副本报告相同的恢复状态并继续阻止下一轮次。 (#18641)
- 计划可见性查询现在在 MySQL 中按字节精确匹配 Workspace ID,计划仅对调用者当前授权覆盖的工作区显示。 (#18640)
Linux AppImage 打包
发布构建排除主机 Wayland 库,并由冒烟检查强制执行。
- Linux AppImage 冒烟检查在打包 libwayland-client 等主机库时失败,发布构建排除 Wayland 库。 (#18491)
Managed Agent 内部实现
持久化门面重构、无 daemon 运行时包,以及副本集成测试。
- 移除托管主机入口最后的 daemon 导入,并新增 CI 门禁,运行时包包含 daemon 代码时即失败。 (#18582)
- 从 Managed Agent 持久化门面中拆出存储组装及只读 Session 和 Turn 委托,变更事务仍保留在门面。 (#18478)
- 用直接执行决策的测试替代 managed-loop 分类器决策的 AST 扫描器。 (#18010)
- 将 13 个只读的 session、turn 和 event 查询从 Managed Agent 存储门面移入其读取委托,保持签名和事务行为不变。 (#18642)
- 新增真实进程 MySQL 集成测试,覆盖两个 Java 副本间的拉取交接,包括丢失的认领回复、重试和重新提供路径。 (#18650)
- 新增 P4 验收测试,验证两个共享 Session Store 和 MySQL 8.4 的 Java 副本间 Hosted Harness 事件摄取,覆盖故障、顺序、取消和审批场景。 (#18671)
维护者流程与文档
trusted-head 批准、PR 预筛,以及更新的验证设计文档。
- 更新中英文验证加固设计文档,记录对抗与防护门禁已合并,并对齐中文防护措辞。 (#18591)
- 拥有写权限的维护者现在可以批准外部 fork PR 的本地 trusted-head 验证,无需发布公开批准评论。 (#18632)
- 仅文档和资源的维护者 PR 现在会在 authorize 阶段预筛,无需验证时跳过完整的容器和 publish-verify 流程。 (#18663)
其他变更
- 在 SDK Java 多节点 CI 任务中运行仅限 MySQL 的 Session 资源 GC 双 JVM 测试,并使用专用 RocketMQ 延迟主题。 (#18594)
- 从 CLI、Web Shell 和语言包中移除了轮换的趣味加载短语及其定时器,同时保留状态指示、提示和取消提示。 (#18646)
- 收紧了侧边栏触摸测试,覆盖长按阈值的两个方向,并在遮罩层和操作表上验证关闭状态交接规则。 (#18655)
Complete Change List (35 pull requests)
Features
- web-shell: clear final 16 managed-host daemon imports and add CI zero-daemon bundle guard (slice 6c) (#18582) by @wenshao
- managed-agent: Reserve a Harness claim until its writer acquires (#18589) by @doudouOUC
- web-shell: converge ChatPane cancel and responding state onto ChatSurface and close out #17460 docs (slice 4b) (#18596) by @wenshao
- web-shell: support optional session adapters (#18365) by @yiliang114
- managed-agent: Let a Harness claim released Sessions over a work poll (#18592) by @doudouOUC
- managed-agent: share resident external Workspace across sessions 16023 B/2 (#17472) by @yiliang114
- managed-agent: Let a Hosted Harness claim released Sessions over the work poll (#18626) by @doudouOUC
- web-shell: surface /autofix-pr controls across PR UIs (#18607) by @wenshao
- autofix-pr: add built-in audit and real-env verification, --audit, fail-closed thread resolution, and raised budgets (#18613) by @wenshao
- verify-pr: add standard guest init/runner and offline ext4 image derivation (#18581) by @wenshao
- web-shell: touch-friendly sidebar action sheet, long press, and workspace/group controls (#18617) by @wenshao
- worktree: add configurable worktree.root setting (P7) (#18580) by @wenshao
- ci(triage): run /verify-pr on every push to a write-access author's PR (#18639) by @wenshao
- verify-pr: add microVM golden rootfs, guest CLI workload, local runner, and dep gateway (#18649) by @wenshao
Bug Fixes
- desktop: fail the AppImage smoke check when a host library is bundled (#18491) by @yiliang114
- managed-agent: Bound session resource GC scans (#18608) by @doudouOUC
- web-shell: open slash command and skill menu when typing / on touch devices (#18615) by @wenshao
- managed-agent: harden Harness work polling (#18624) by @doudouOUC
- verify-pr: make microVM rounds work on real VZ vsock and large images (#18633) by @wenshao
- web-shell: recall input history from mobile editing-row up/down buttons (#18643) by @wenshao
- managed-agent: stabilize recovery views for active turns (#18641) by @yiliang114
- managed-agent: match schedule workspace identities exactly (#18640) by @yiliang114
- web-shell: let the settings UI language change during a running turn (#18637) by @wenshao
Documentation
- design: mark verify-pr adversarial & guard gates merged (#18549) and align zh-CN wording (#18591) by @wenshao
- verify-pr: allow local trusted-head approval for external forks without public PR comments (#18632) by @wenshao
- verify-pr: credit claims only on the runtime they depend on (#18619) by @wenshao
Internal Changes
- ci(managed-agent): Require the Session resource GC MQ test (#18594) by @doudouOUC
- refactor(managed-agent): extract store assembly and read delegates (#18478) by @yiliang114
- test(managed-agent): execute the loop classifier decision instead of scanning it (#18010) by @wenshao
- refactor(ui): remove rotating witty loading phrases (#18646) by @wenshao
- refactor(managed-agent): move session reads into the existing read delegates (#18642) by @yiliang114
- test(web-shell): pin long-press threshold survival and sheet handoff overlay (#18655) by @yiliang114
- test(managed-agent): Cover P1.1 pull handoff across Java replicas (#18650) by @doudouOUC
- ci(triage): pre-screen docs-only PRs in authorize before starting auto verify (#18663) by @wenshao
- test(managed-agent): Verify P4 event ingest across Java replicas (#18671) by @doudouOUC
Full Changelog: v0.29.0...v0.29.1