← 返回 2026-11-25 总览(保持原阅读位置) 快捷键:Esc 返回 · ←/→ 切篇 · C 复制 zoteroctl

Qwen Code v0.28.1-preview.1 预览版发布:无状态托管挂起、统一 Agent 循环与多通道接入

Release v0.28.1-preview.1

作者:阿里通义 Qwen
单位/机构:阿里通义 Qwen
发布日期与渠道:2026-11-20 · 阿里通义 Qwen · 官方一手报告

① 真实痛点与翻车场景

① 真实痛点与翻车场景:本次材料是阿里通义 Qwen 生态下代码智能体工具(从 PR 路径与机器人名 qwen-code-dev-bot 可见)的工程预览版变更日志,而非学术论文。其面向的核心线上翻车场景包括:托管智能体(Hosted Harness)空闲会话长期占用运行态且进程意外消失后难以安全结算恢复;服务端流式推送(SSE)在慢消费者或取消后堆积缓冲甚至打满监听并发;JSONL 日志在中断追加时粘连或锁不释放;多端交互(ACP、OpenTUI、Web Shell)循环逻辑割裂,以及大对话历史回放和渲染卡顿、上下文压缩超窗崩溃等工程稳定性问题。

② 具体方法机制

② 具体方法机制:按变更日志归类,核心改动分布在四条工程主线:1)托管运行态无状态化(Phase 1):在 managed-agent 中引入空闲会话挂起(#17690)并跨挂起保留空闲 MCP(模型上下文协议)连接(#17749),为干净挂起打唤醒时间戳(#17908),对挂起等待做超时老化与终态丢失回合结算(#17681、#17932),同时对热路径 SQL 扫描加界(#17856);2)核心循环与流式服务收敛:将 ACP 会话与 OpenTUI 默认切换到共享 Agent 循环(#17744、#17745),统一各流式入口的 SSE 准入与占用控制并默认清理卡死写入端(#17502、#17662),增加守护进程重启恢复收件箱(#17677),为模型回退链追踪可用性(#17377),并在压缩请求超窗时缩减或拒绝(#15936);3)多通道与跨会话协同:新增 GitHub(#17511)、企业微信 WeCom(#17441)、Microsoft Teams(#15620)及通用出站 Webhook(#17610)通道,支持向运行中回合注入消息(#15634)与跨会话 /send 指令(#17539);4)前端与存储性能修复:大记录服务端 gzip 压缩(#11220)、xterm/PDF/语言包按需加载(#17840、#17899、#17833)、隔离输入框与对话流重排(#17821),以及 JSONL 断行定界与尾部诊断恢复(#17771、#17901)。

③ 实验基准数字与对比口径

基座模型与参数量原文未单列(属多模型兼容的工程客户端/服务端框架,日志提及 OpenRouter、DeepSeek 目录与 Gemini 代理适配)
训练算力与耗时所给材料未单列
评测随机种子数所给材料未单列

③ 实验基准数字与对比口径:所给材料仅为 GitHub Release 变更列表(v0.28.0...v0.28.1-preview.1),不包含任何算法评测基准、端到端性能压测数字、延迟分位(如 TTFT 改动 #17790 仅调整计时起点,未附实测数据)或模型推理效果对比;模型规模、卡数、种子数均未单列。日志中仅提及工程级测试与 CI 变动(如 E2E 定时循环测试 #17506、多处用例去抖 deflake,以及 #17535 移除了循环发布步骤中 20 次运行一致性 parity 要求、#17808 将 CodeQL 扫描上限从 90 分钟提至 180 分钟)。

④ 公开技术参考与复现成本评估

④ 公开技术参考与复现成本评估:材料中未附带仓库 URL、Commit Hash 或源码正文,仅给出 PR 编号与版本区间标签(v0.28.0...v0.28.1-preview.1),且属于多组件协同的大型工程发行版(含 CLI、Daemon、Web Shell、Managed-Agent Server、Java/Python SDK 及多 IM 通道适配器)。对研究者而言,其价值在于参考生产级代码智能体的会话挂起状态机、SSE 背压清理与多端循环统一架构;复现本身不依赖大模型训练算力,但完整拉起托管服务端与外部通道需要相应的服务端与第三方回调配置,且当前仅为 preview.1 预览版,部分 Phase 3 控制面唤醒仍停留在设计文档阶段(#17805、#17912)。

⑤ 审稿人视角批判与独立观点

工程预览迭代无研究基准

该条目是代码智能体系统的版本更新日志,集中体现了无状态会话挂起、统一 Agent 循环与多通道运维等工程架构演进,但完全不包含可检验的科学假设与实测基准数据,不具备学术精读或算法复现价值。

  1. 核心工程假设的失效边界未受压力证据检验:例如 #17690/#17749 假设空闲会话挂起期间可跨挂起保留 MCP 连接并在唤醒后安全续跑,但在高并发连接数上限、网络分区或远端 MCP 服务端主动断连等扰动下是否会引发句柄泄漏或幽灵状态,日志仅靠零散 bugfix(如 #17521、#17932)补救,缺少混沌故障注入与长稳压测证据。
  2. 缺乏前后版本对照基准且验收门槛存在松动信号:多项标注为 perf 的改动(如大历史回放降延迟 #17788、热路径 SQL 限界 #17856、gzip 响应 #11220)以及 TTFT 计时口径修改(#17790)均未给出 v0.28.0 与 v0.28.1-preview.1 在相同负载下的吞吐、内存或延迟对比;同时 #17535 明确去掉了循环上线步骤中的 20-run parity 要求,若缺乏替代回归口径,难以量化统一共享循环(#17744、#17745)后的行为方差与稳定性是否退化。
  3. 系统层改动与模型能力贡献完全解耦但缺少归因度量:日志中 #17532(限制后续建议上下文)、#15936(超窗压缩拒绝或缩减)、#17377(模型回退链可用性追踪)均会直接改变实际送入基座模型的上下文分布与后端路由,在未固定基座模型与任务集做消融对照的情况下,无法评估这些工程护栏对代码修复成功率与任务完成率的真实影响(可设计固定基准与种子、开启/关闭上下文裁剪与共享循环的对照实验加以验证)。
仅基于原文摘要与元数据研判,正文消融与附录算力细节待核原文
展开/收起原文英文摘要对照(用于核验原始措辞与数字)
What's Changed test(managed-agent): observe a real scheduled /loop fire in the full-stack E2E by @wenshao in #17506 fix(verify-pr): harden the watch-state shape guard, container nonce, and VM prose by @wenshao in #17440 fix(external-context): deflake cumulative-deadline deletion timing by @qwen-code-dev-bot in #17342 docs(design): propose idle Session suspension toward a stateless Hosted Harness by @doudouOUC in #17527 docs(design): drop the 20-run parity requirement from the loop rollout steps by @qqqys in #17535 fix(serve): reserve listener headroom from SSE and reap stalled writers by default by @wenshao in #17502 feat(web-shell): explain background tasks from the composer chips by @wenshao in #17398 fix(triage): fail closed when QWEN_TRIAGE_DRAFT_DIR is unset in CI by @yiliang114 in #17549 test(channels): deflake the DingTalk webhook-cache recency case by @qwen-code-dev-bot in #17615 fix(managed-agent): recover vanished Harness admissions safely by @doudouOUC in #17521 feat(web-shell): add the unified chat surface contract and capability guards by @wenshao in #17520 feat(channels): add GitHub as the third managed channel adapter by @wenshao in #17511 perf(core): bound follow-up suggestion context by @callmeYe in #17532 feat(generated-ui): let cards save view state through the host by @qqqys in #17522 feat(web-shell): send to another session with /send by @qqqys in #17539 fix(web-shell): serve PR watch deep links before authentication by @Afloat16 in #17119 feat(web-shell): decouple the shared composer from daemon value imports by @wenshao in #17661 fix(core): converge Read unchanged-dedup with the preview lineage by @callmeYe in #17465 fix(web-shell): bottom-sheet model picker on touch screens by @callmeYe in #17401 feat(channels): add generic outbound webhook delivery by @jkxiao in #17610 fix(core): scope Grep fallback strategies to the git-aware corpus by @callmeYe in #17530 fix(managed-agent): drive continuation-ready parks in the epoch-less resubmission arm by @doudouOUC in #17680 fix(web-shell): align managed errors with DAC and stabilize recovery by @yiliang114 in #17557 fix(channels): keep DingTalk multi-chunk sends untruncated; the ledger converges by @wenshao in #17529 feat(managed-agent): notify attachment retirement and age out suspension waits by @doudouOUC in #17681 fix(serve): Prevent automatic work from blocking worktree restore by @doudouOUC in #17654 fix(web-shell): keep each /send reply in view and drop the gap under send records by @qqqys in #17686 fix(verify-pr): register the watch round ahead of prepare (R17-2 liveness) by @wenshao in #17550 fix(core): release idle JSONL append locks by @Afloat16 in #17577 fix(web-shell): retry memory content after refresh by @Afloat16 in #17108 fix(sdk): apply caller headers without case-sensitive duplicates by @Afloat16 in #17579 fix(cli): preserve pending cleanup when handlers unregister by @Afloat16 in #17572 fix(sdk): stop buffered SSE delivery after cancellation by @Afloat16 in #17569 fix(java): cancel heartbeats removed during registration by @Afloat16 in #17117 fix(cli): preserve literal custom command arguments by @Afloat16 in #17367 feat(web): configure generic webhook destinations by @jkxiao in #17405 feat(web-shell): show the session artifact count at click time from list metadata by @wenshao in #17518 feat(acp): run Mods in ACP sessions by @qqqys in #17693 refactor(web-shell): extract the shared composer status stack component by @wenshao in #17684 fix(sdk-python): isolate initialization from caller cancellation by @Afloat16 in #17499 feat(serve): unify SSE admission and occupancy across every stream surface by @wenshao in #17662 feat(channels): add WeCom adapter to the managed channel path by @wenshao in #17441 fix(web-shell): make background work visible on sidebar session rows by @wenshao in #17676 test(managed-agent): align read-retry versioning count with the probe removal by @wenshao in #17082 feat(managed-agent): Discover and pin default workspace Skills by @doudouOUC in #17703 fix(core): deliver background async hook output to the model by @wenshao in #17477 fix(core): label shell output as combined streams apart from execution errors by @qqqys in #17685 feat(web-shell): mark sessions carrying a Goal in the sidebar by @wenshao in #17515 feat(web-shell): add Traditional Chinese UI locale by @callmeYe in #17421 feat(channels): mark inbound truncation across the managed adapters by @wenshao in #17726 fix(copy): preserve fence-like content in code and math extraction by @Afloat16 in #17578 fix(java): return newlines in file content responses by @Afloat16 in #17688 fix(sdk): clear permission deadlines on callback failure by @Afloat16 in #17581 fix(web-shell): scope the change overview commit fallback to the session start commit by @wenshao in #17514 fix(web-templates): raise document renderer budget for recent transcript copy by @wenshao in #17746 feat(managed-agent): implement stateless Hosted Harness phase 1 idle suspension by @doudouOUC in #17690 fix(sdk): enforce the peer frame limit before dispatch by @Afloat16 in #17576 fix(channels): centralize DingTalk reconnect so one drop arms one chain by @wenshao in #17691 fix(web-shell): stop queued image reads after a batch is cancelled by @cactuser-Lu in #17705 fix(managed-agent): restore the class-size and facade-population gates by @doudouOUC in #17753 test(web-shell): restore the shadow overview focus test budget by @qwen-code-dev-bot in #17487 test(serve): cover workspace skill settings by name by @Barzabel in #17766 test(cli): deflake the SSE pairing-listener clamp teardown ( #17761 ) by @qwen-code-dev-bot in #17764 fix(sdk): wait for actual child termination by @Afloat16 in #17580 feat(core): track model availability for the fallback chain (Qoder port) by @wenshao in #17377 feat(channels): bind the DingTalk ledger to its registration identity by @wenshao in #17742 fix(qqbot): accept QQ voice attachments from the voice CDN by @mvanhorn in #15339 feat(channels): deliver injected messages into the running turn by @Eric-GoodBoy-Tech in #15634 perf(daemon): Load session sidecars after catalog pagination by @callmeYe in #17738 fix(managed-agent): advertise input attachments on unbound Sessions by @wenshao in #17722 feat(managed-agent): add the workspace artifact library to the Web UI by @wenshao in #17728 docs(cli): clarify side question syntax in Ink and OpenTUI by @Barzabel in #17759 fix(web-shell): stabilize composer toolbar near width thresholds by @callmeYe in #17729 feat(cli): add native screen-reader presentation by @chiga0 in #17500 feat(web-shell): open the session artifacts list in the right panel from the header entry by @wenshao in #17689 feat(web-shell): add the daemon chat intent lifecycle core by @wenshao in #17709 feat(managed-agent): add PR-watch bound-session private injection by @wenshao in #17665 perf(serve): Index bundled startup chunks by @callmeYe in #17720 feat(managed-agent): keep idle MCP connections across suspension by @doudouOUC in #17749 feat(web-shell): show a workflow's declared phases before it reaches them by @qqqys in #17782 perf(web-shell): Batch portal theme variable reads and writes by @callmeYe in #17786 fix(managed-agent-server): adapt ToolPublicationContract to networknt json-schema-validator 2.x by @yiliang114 in #17752 test(web-shell): pin the goal marker double-click guard and refresh its design record by @wenshao in #17733 feat(managed-agent): add external Shell worker profile and publication producer [17357 A/2] by @yiliang114 in #17478 perf(web-shell): reduce input lag during history replay by @callmeYe in #17788 feat(qqbot): let the agent send a local file to the chat by @Eric-GoodBoy-Tech in #15450 feat(channels): add Microsoft Teams extension and host ingress by @XIQIXIQIXIQI in #15620 feat(telemetry): record OpenRouter routing backend and generation id by @2SinceJuly in #16495 fix(web-shell): refuse background-work deletion in the dialog for any row by @wenshao in #17713 fix(core): time TTFT from the request dispatch by @qqqys in #17790 fix(core): seed side-records-only sessions and close the artifact-summary residuals by @wenshao in #17711 feat(web-shell): allow hosts to configure transcript overscan by @callmeYe in #17807 feat(managed-agent): render DingTalk managed replies as editable cards by @wenshao in #17748 docs(design): mark PR-watch bound-session design merged ( #17665 ) by @wenshao in #17793 docs(approval-mode): say new sessions start in Auto Mode by @qqqys in #17799 test(web-shell): clone gitRemotes in the e2e scenario factory and correct the ownership set by @wenshao in #17800 feat(core): name the output budget when truncation rejects a write by @xxwtiancai in #16632 fix(web-shell): Group approval scopes in a dropdown by @callmeYe in #17801 fix(ci): raise the CodeQL JavaScript cap to 180m after the nightly overran 90m by @yiliang114 in #17808 docs(security): add GitHub private vulnerability reporting to SECURITY.md by @yiliang114 in #17806 feat(web-shell): let hosts disable the composer glow by @callmeYe in #17814 feat(core): run ACP sessions on the shared agent loop by default by @qqqys in #17744 feat(cli): run background workflows in headless mode by @qqqys in #17809 fix(serve): pin remote-access admission and non-REST shutdown drain ( #17712 ) by @wenshao in #17737 fix(i18n): Fill remaining Russian UI strings and keep the account menu on one line by @callmeYe in #17719 perf(web-shell): isolate composer layout from transcript relayouts by @callmeYe in #17821 feat(serve): let create_sub_session reach any session, skip its workspace prompt in YOLO, and drop the thread glyph by @qqqys in #17818 feat(serve,web-shell): draw Mod rewrites of reply rows by @qqqys in #17718 fix(core): match Windows drive-letter paths in permission rules by @yiliang114 in #17810 fix(web-shell): keep a leading BOM in LocalDirectory write validation by @yiliang114 in #17820 fix(web-shell): evict aborted mention cache lookups by @yiliang114 in #17826 test(ci): assert scheduled workflows retain cron triggers by @yiliang114 in #17829 perf(web-shell): load language catalogs on demand by @callmeYe in #17833 docs(managed-agent): add Phase 3 control-plane wake design by @doudouOUC in #17805 test(serve): share clamp fixture and pin socket pruning by @yiliang114 in #17841 fix(core): delimit JSONL records after interrupted appends by @wenshao in #17771 feat(cli): set the vision bridge timeout with /model --vision --timeout by @qqqys in #17830 test(web-shell): cover focus after mobile composer mode switches by @Barzabel in #17828 docs(verify-pr): add Web Shell verification recipes by @Barzabel in #17762 docs(managed-agent): mark the H5e card design merged with its verification ledger by @wenshao in #17815 fix(i18n): complete missing Russian coverage for mods and vision bridge timeout by @wenshao in #17858 perf(managed-agent-server): bound hot-path SQL scans and round-trips by @doudouOUC in #17856 docs(managed-agent): add Phase 3 seal-time wake stamp addendum by @doudouOUC in #17869 fix(core): reduce or refuse a compression request that cannot fit its window by @yanyukang2003-ux in #15936 fix(web-shell): render local-path and failed markdown images as text chips by @doudouOUC in #17866 fix(core): bound the joined async hook context block by @wenshao in #17736 docs(web-shell): link the deferred background-work reporting gap to its issue by @wenshao in #17850 docs(core): record JSONL append verification by @wenshao in #17853 feat(web-shell): assemble the daemon chat controller with attempt-bound settlement by @wenshao in #17794 test(web-shell): pin value and content in the e2e fixture-ownership cases by @wenshao in #17824 fix(core): preserve tool-reported failure content by @callmeYe in #17803 fix(managed-agent): close six deferred loop review pins by @wenshao in #17594 fix(web-shell): allow drafting while session history loads by @callmeYe in #17842 refactor(managed-agent): files-on-v2 lifecycle and public child relaxation (D3/D5') by @doudouOUC in #17871 feat(channels): bind the GitHub ledger to its registration identity by @wenshao in #17775 refactor(managed-agent): converge pre-production version machinery by @doudouOUC in #17864 docs(managed-agent): mark the deferred loop pins design merged with its verification ledger by @wenshao in #17905 feat(managed-agent): clarify Web UI parity and wire local terminal by @wenshao in #17795 fix(managed-agent): settle recovery from durable native terminals by @doudouOUC in #17886 perf(web-shell): load xterm on demand by @callmeYe in #17840 test(managed-agent): re-home publication lifecycle IT v1 witness to external-files by @doudouOUC in #17909 fix(acp-bridge): merge background-turn live text chunks by @wenshao in #17862 fix(web-shell): decouple first prompt from automatic title writes by @callmeYe in #17843 fix(core): bound JSONL tail diagnostic recovery and cache churn by @wenshao in #17901 fix(managed-agent-server): keep journal blob reclamation moving past sealed heads by @doudouOUC in #17907 fix(memory): rebuild extraction indexes in the runtime by @callmeYe in #17785 feat(managed-agent): stamp clean suspensions for wake dispatch by @doudouOUC in #17908 perf(web-shell): render large workspace PDFs on demand by @callmeYe in #17899 feat(core): run OpenTUI on the shared agent loop by default by @qqqys in #17745 fix(daemon): include memory metrics in detailed status JSON by @callmeYe in #17906 fix(agents): reject incompatible Host replacements by @water-in-stone in #17702 fix(i18n): unify ru timeout spelling and vision-bridge term by @wenshao in #17867 feat(acp): end a tool-calling turn when queued input is sent now by @qqqys in #17825 docs(core): mark JSONL tail diagnostics design as merged by @wenshao in #17913 feat(serve): add daemon restart recovery inbox by @wenshao in #17677 feat(web-shell): worktree carry metadata + snapshot-then-delete cleanup ( #17237 , P6 partial) by @wenshao in #17533 feat(acp): deliver pending async hook output on the default legacy round by @wenshao in #17890 docs(managed-agent): design Runtime-owned background observation (Phase 3b) by @doudouOUC in #17912 fix(web-shell): keep the model sheet's rows and search field touch-sized by @wenshao in #17892 perf(web-shell): gzip serve responses for large transcript loads ( #6181 ) by @now-ing in #11220 docs(managed-agent): record the workspace artifact library's merged status by @wenshao in #17779 fix(managed-agent): settle a parked turn whose runtime is terminally lost by @doudouOUC in #17932 fix(ci): route autofix reviews through live bot by @yiliang114 in #17881 fix(core): resolve dotted DeepSeek catalog limits by @yiliang114 in #17876 test(integration): deflake the export document budget on all CI runners ( #17884 ) by @qwen-code-dev-bot in #17887 docs(worktree): record merged delivery and verification by @wenshao in #17928 fix(channels): address Aone channel deferred review findings ( #17517 ) by @wenshao in #17519 fix(channels): own DingTalk endpoint discovery so a hung connect stops muting the process by @wenshao in #17773 docs(managed-agent): record web UI parity delivery by @wenshao in #17915 fix(cli): attribute daemon log lines and bind late channel restores to the boot conflict decline by @wenshao in #17904 fix(web-templates): re-track renderer byte budget by @wenshao in #17940 feat(web-shell): bind the daemon chat controller to the session provider by @wenshao in #17895 fix(managed-agent): create the ephemeral Runtime state directory before spawning by @yiliang114 in #17949 test(managed-agent): scope the workspace artifact index assertion to its own database by @wenshao in #17893 fix(models): support Gemini proxy streaming and model refresh by @wenshao in #17947 feat(managed-agent): degrade process components per package in content-only extension runtimes by @doudouOUC in #17944 fix(managed-agent): load transport wakes through the passive verb by @doudouOUC in #17955 refactor(managed-agent): key tenant guard on readable VARCHAR scope (identity de-hash increment 1) by @doudouOUC in #17927 New Contributors @Barzabel made their first contribution in #17766 Full Changelog : v0.28.0...v0.28.1-preview.1
← 返回总览 ← 上一篇 下一篇 →