Claude Code 版本彙整:2026/07/19 - 2026/07/22
Claude Code 版本彙整:v2.1.215 至 v2.1.217,重點轉向穩定性、隔離邊界與長工作階段體驗
過去三天 Claude Code 連續釋出 v2.1.215、v2.1.216 與 v2.1.217 三個 patch 版本,更新節奏仍然密集。這輪變更不像前一波 v2.1.214 那樣集中在 Bash / PowerShell 權限檢查與安全補洞,而是明顯轉向三個面向:長工作階段效能與記憶體問題、背景 agent / subagent 的隔離與資源控管、以及 Desktop / Web / Remote Control / MCP 等跨介面整合的可靠性。最新版本為 v2.1.217。
版本詳情
v2.1.215:停止自動執行 /verify 與 /code-review
v2.1.215 是一個非常小的行為調整版本:
- Claude 不再自行執行
/verify與/code-reviewskills - 使用者需要時必須明確輸入
/verify或/code-review
這項改動看似簡單,但對工作流影響不小。它代表 Anthropic 正在收斂「模型自主觸發高成本或高影響操作」的範圍,把驗證與審查這類動作改回明確指令式操作。對依賴自動 review / verify 的使用者來說,這會降低意外觸發;但對高度 agentic 的工作流,則需要重新確認自訂 skill 或 workflow 是否仍會按預期執行。
v2.1.216:大幅修補長 session、背景 agent、worktree 與權限邊界
v2.1.216 是這輪更新中內容最密集的一版,重點包含:
- 新增
sandbox.filesystem.disabled設定,可在保留網路 egress 控制的同時停用 filesystem isolation - 修正長 session 中 message normalization 成本隨 turns 數量呈二次成長,導致多秒卡頓與 resume 變慢的問題
- 修正 OAuth token 過期或輪替後,auto mode 因「HTTP 401」classifier error 拒絕命令的問題
- 修正 AskUserQuestion 在使用者要求等待或先解釋時,仍指示 Claude 繼續的措辭問題
- 修正 Claude Code on the web 在 session idle 幾分鐘後重複提問並遺失使用者回答的問題
- 修正
@mentions 在 file-modifying hooks 後靜默沒有附加內容的問題 - 修正 resume picker hang、statusline resume 時執行兩次、vim paste / dot-repeat 相關問題
- 修正 resumed background agent session 會退回 default agent,未恢復原 agent prompt 與 tool restrictions 的問題
- 修正 worktree-isolated subagents 透過
git -C、--git-dir、GIT_DIR/GIT_WORK_TREE導回 shared checkout 的隔離漏洞 - 修正 worktree session 可能落入其他專案殘留 worktree 的問題
- 修正多個 background session 刪除、取消、停用與 worker 死亡後狀態殘留問題
- 修正 Bash / PowerShell 權限驗證在 redirects、non-ASCII、invisible Unicode、Windows network paths 等情境下的誤判
- 修正 symlink
.claude導致 workflow / scheduled task writes 被導向專案外的問題 - 修正 MCP re-authenticate 會先撤銷可用 credentials,導致重新登入失敗時失去工作憑證
- 修正 Prometheus metrics endpoint 輸出 invalid
# UNITlines /context現在會在 conversation 超過 context window 時明確警告/rewind不再透過 symlinks 或 hard links 還原 / 刪除 tracked paths,並回報略過數量- skills / commands 在 session 中修改後,slash menu 不再需要重啟才更新
- [VSCode] 修正 Arabic、Hebrew、Persian 等 RTL 文字與英文 / code 混排時順序錯誤
這版可以視為「agentic workflow 穩定性修補版」。尤其是 worktree、background sessions、MCP re-auth、權限驗證與 symlink 防護,顯示 Claude Code 正在補強多 agent、多 session、多專案並行時容易出現的邊界問題。
v2.1.217:記憶體洩漏、transcript 警告、subagent 上限與 Desktop 企業網路修正
v2.1.217 延續 v2.1.216 的方向,但更聚焦於資源控管與資料遺失可觀測性:
- 新增 prompt input emoji shortcode autocomplete,例如輸入
:heart:可插入 ❤️ - 可透過
emojiCompletionEnabled關閉 emoji autocomplete - transcript 寫入失敗,例如磁碟已滿,或 session saving 因繼承環境變數被關閉時,現在會顯示警告,不再靜默遺失 transcript
- 修正 MCP tool output 被截斷後,完整未截斷結果仍留在記憶體中直到 session 結束的 memory leak
- 修正 Windows auto-update 失敗後可能導致
claude.exe消失的問題;失敗更新現在會自動還原保留的 executable - 修正 background session isolation 未 canonicalize symlinked working directories,可能讓 session 逃出 workspace folder 的問題
- 修正 Claude Opus 4.8 on Bedrock 不會 auto-compact,以及超過 limit 後
/compact失敗的問題 - 修正 Claude Desktop sessions 忽略 corporate mTLS、TLS verify、OAuth scope 與 proxy settings 的問題
- 修正 screen reader mode startup announcement 被第一個 prompt render 截斷,以及 thinking status row 重複重繪的問題
- 修正 managed settings 中
OTEL_EXPORTER_OTLP_ENDPOINT未治理所有 telemetry signals 的問題 - 修正
--resume/--continue與/resume在 transcript attachment entry malformed 時 TypeError - 修正 Remote Control viewers 在 permission prompt / dialog 出現後才連線時看不到 pending prompt 的問題
- 修正 background shells 在
/background、←或高負載機器上 session exit 後可能無法停止的問題 - 修正
CLAUDE.md/SKILL.mdfrontmatter paths 中大量 brace groups 可能造成 CLI startup OOM 或 stall;brace expansion 現在有 budget bound - footer PR badge links 在無法偵測 terminal hyperlink 支援時仍會盡量 clickable,可用
FORCE_HYPERLINK=0關閉 - login-expiry warning 從到期前 5 天改為 3 天
- frontend-design plugin suggestion tip lifetime impressions 上限改為 3 次
- 新增同時執行 subagents 數量上限,預設 20,可用
CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS覆寫 - subagents 預設不再生成 nested subagents;可用
CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH允許更深層 nesting - 修正
--max-budget-usd無法停止 background subagents;達到 cap 後會拒絕新 spawn 並停止執行中的 background agents
這版最值得注意的是 subagent fan-out 被正式加上預設上限。在過去幾週的 issue 中,多 agent 工作流反覆出現 quota、成本、背景任務殘留與 session 狀態不一致問題;v2.1.217 的 CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS 與 CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH,可視為 Anthropic 對「無界 agentic expansion」做出的直接回應。
GitHub Issues 動態
這段期間 GitHub 監控共涵蓋 4 天、累計約 199 個 issues。雖然其中包含不少重複、無效或資訊不足的回報,但仍可看出幾條明顯主線。
1. Background agents / subagents 仍是高頻問題區
近期 issues 持續圍繞 agent workflow:
- #75043:nested subagents 的 completion notifications、ownership 與 resume 問題
- #77582:session limit warning 未傳達給 agent,background workflows 過 threshold 後仍消耗 quota
- #78970:PreToolUse Bash hook 未套用到 subagent tool calls
- #79561:希望提高 hosted sandboxes 的 concurrent workflow agent limit
- #79958:deep-research workflow 遇到 token / spend limit 後進度遺失,resume 從零開始
- #79948:使用者要求 Claude Code 補上更完整的 project-management layer
v2.1.217 新增 subagent 並發上限與 nested spawn depth 控制,正好對應這批問題。短期來看,這可能降低失控成本與背景任務爆量;但也可能讓部分原本依賴大量平行 agent 的 workflow 需要重新調整。
2. MCP / Desktop / Chrome connector 問題密集浮現
MCP 與 Desktop 整合相關回報非常集中:
- #79986:Claude Desktop Windows MSIX 未送出
tools/call,導致 Filesystem tools 全部失敗 - #79971:Claude Desktop chat-initiated
tools/call未抵達健康的 local stdio MCP server - #79926:Claude Desktop 在特定時間後停止 dispatch
tools/call到 local stdio MCP servers - #79970:MCP startup 早期 tool search 後 session dead-lock,出現
WaitForMcpServersnot found - #79983:MCP tool call 即使已 approval 仍報 requires approval
- #79951:GitHub OAuth connector 對 GitHub MCP endpoint 收到 HTML error page
- #65036、#79505:MCP OAuth refresh、clear authentication 與 cached DCR client rejection 問題
這顯示 Claude Code / Claude Desktop / MCP connector 的邊界仍在快速變動。v2.1.216 與 v2.1.217 修了 MCP re-auth、corporate proxy / mTLS / OAuth scope、Desktop settings 等問題,但 issue 量顯示 MCP 生態的可靠性仍是接下來幾版的重點。
3. Windows 與 Desktop 穩定性仍是主要痛點
Windows 相關問題在這幾天仍佔相當比例:
- #32870:
claude.exe觸發 Windows BSOD via Wof.sys - #62288、#75855:Windows drive-letter case canonicalization 導致 sessions / trust / config entries 重複或遺失
- #78931:voice/text interface 中 permission approval prompts 不出現
- #79025:Windows Agent View terminal rendering corruption
- #79358:Desktop Windows「Auto-fix CI and address comments」checkbox silent no-op
- #79606:v2.1.216 sandbox regression,root installs 下 Bash 因
--cap-drop ALL失效 - #79957:
/login與claude auth loginURL line break 導致不可點擊
v2.1.217 修正 Windows auto-update 失敗導致 claude.exe 消失,是一個具體且重要的穩定性改善。不過從 Desktop、Cowork、Chrome extension、TUI rendering 到 auth flow,Windows 仍是 Claude Code 最容易出現平台差異的環境。
4. 安全分類器與模型可用性抱怨升溫
這幾天出現大量與 safeguard / Fable / Opus 4.8 / Max plan 權限相關的回報:
- #78971、#78968、#78959、#79249、#79600、#79601、#79980:各類 safety classifier false positive
- #79337、#79341、#79360、#79597:Fable 5 在 Max plan 下被 usage credits gate
- #79602:
CLAUDE_CODE_OAUTH_TOKEN靜默覆蓋 Max subscription,導致 session 以 metered Claude API 身分運行 - #79253:Opus 4.8 thinking text empty
- #79263:Opus requests 在 VS Code extension 中 500,但 Sonnet 正常
這些 issue 多半橫跨 Claude Code、API、模型存取與帳號 entitlement,不一定能由 CLI 單獨修復。但對使用者而言,它們直接影響可用性與信任感。v2.1.216 修正 OAuth token 旋轉後 auto mode classifier 401 問題,v2.1.217 也調整 Desktop session 中 OAuth scope / proxy settings,但 entitlement 與 safeguard false positive 仍可能是後續需要持續處理的系統性問題。
5. 文件與可觀測性問題正在被補齊
v2.1.214 引入大量安全與 telemetry 相關變更後,立刻出現多個 docs issue:
- #78950:permission docs 未區分
dir/**在 allow / deny / ask rule 中的 scope - #78957:hook if-condition docs 未補上 single-segment
dir/**scope 變更 - #78952、#78953:OpenTelemetry docs 未記錄 message correlation、tool provenance attributes 與
CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH - #78954:
subagentStatusLinedocs 缺少 reasoning-effort payload - #78951:tools reference 缺少 EndConversation tool
- #78956:hooks reference 缺少 SessionStart
forksource
這類 issue 的意義在於:Claude Code 的表面功能已經不只是 CLI,而是包含 telemetry、hooks、skills、plugins、agents、workflow 與 Desktop / Web 整合的開發平台。文件若跟不上,進階使用者很容易踩到「行為已改,但規格未知」的坑。
總結與觀察
這輪 v2.1.215 至 v2.1.217 的更新,核心訊號很清楚:Claude Code 正在從「能力擴張」進入「邊界收斂」階段。
首先,v2.1.215 停止自動執行 /verify 與 /code-review,v2.1.217 又限制 concurrent subagents 與 nested subagent spawning,這兩者共同反映 Anthropic 正在降低 agentic workflow 的非預期行為。Claude Code 仍鼓勵自動化與多 agent,但不再讓這些能力無界成長。
其次,長 session、background sessions、worktree isolation、transcript durability、MCP output memory leak、auto-compact、budget cap 等修正,代表實際使用場景已經從短互動走向長時間、多工具、多代理的持續工作。這類場景一旦出問題,通常不是單一 bug,而是狀態管理、資源上限、隔離邊界與恢復流程的組合問題。
最後,GitHub issues 顯示使用者目前最在意的不是單一新功能,而是「能否信任 Claude Code 持續工作而不遺失資料、不亂耗 quota、不越界、不卡死」。v2.1.216 與 v2.1.217 已針對這些方向做出明顯補強,但 MCP / Desktop / Windows / model entitlement / safeguard false positive 仍是短期內最值得追蹤的問題區。
整體而言,v2.1.217 是一個比版本號看起來更重要的 patch:它不只是修 bug,而是在替 Claude Code 的 agentic 使用模式加上更明確的安全欄杆與資源邊界。
推薦閱讀
Claude Code 版本彙整:2026/07/15 - 2026/07/18
Claude Code 近期版本更新彙整 - v2.1.214,含版本變更與 GitHub Issues 動態
Claude Code 版本彙整:2026/06/21 - 2026/06/24
Claude Code 近期版本更新彙整 - v2.1.187,含版本變更與 GitHub Issues 動態
Claude Code 版本彙整:2026/06/24 - 2026/06/27
Claude Code 近期版本更新彙整 - v2.1.195,含版本變更與 GitHub Issues 動態
Claude Code 版本彙整:2026/06/28 - 2026/07/01
Claude Code 近期版本更新彙整 - v2.1.197,含版本變更與 GitHub Issues 動態
訂閱最新文章
每週接收 Claude Code 最新動態、AI 開發工具趨勢與技術分析,直接送到你的信箱。
訂閱成功!歡迎加入,我們會寄一封確認信到你的信箱。
我們尊重你的隱私,隨時可以取消訂閱。
本文由 Namog Vibe Coding 自動化監控系統生成
讀者回應
載入中...