Claude Code 2.1.318 adds workflow controls and background updates
Claude Code 2.1.314 adds write protection and MCP Tasks; versions 2.1.317–2.1.318 add SDK, cloud-session, and background-agent improvements.
Editorial Team
The Authority AI Tools editorial team maintains this directory using vendor documentation, dated source checks, product changelogs, and clearly identified hands-on observations where available.
Anthropic’s Claude Code 2.1.295, dated October 8, adds two features with practical effects for automated workflows and terminal status displays. First, command and HTTP hooks can set onFailure: "block" so the associated action is blocked if the hook cannot start, times out, or exits unexpectedly. Second, terminals implementing Program Status Protocol (OSC 7501) can show whether Claude Code is working, waiting for the user, or done. (https://code.claude.com/docs/en/changelog)
Anthropic's terminal-based AI coding agent with Claude Opus 4.7, /ultrareview, Routines, /ultraplan, and 80.9% SWE-bench
Fail-closed hook behavior
The new onFailure: "block" setting gives teams an explicit fail-closed option for command and HTTP hooks. This can be useful when a required check must succeed before an action continues. Review hook timeouts, expected exit codes, and recovery behavior before enabling it in shared workflows; an unavailable hook will stop the action by design.
Version 2.1.294 also improves how Claude judges prompt hooks on Stop and SubagentStop when they are written as instructions, and fixes prompt or agent hooks phrased as instructions that previously could allow the very behavior they were meant to block. (https://code.claude.com/docs/en/changelog)
Other changes in 2.1.295
The changelog also says the /copy picker now includes quoted text without its > markers, and plugin-management commands warn when the settings file they write to does not load. It changes the MCP tool-description limit loaded through tool search from 2,048 to 16,384 characters and updates local stdio MCP protocol negotiation. Check the full version notes for platform-specific fixes before updating a managed deployment.
October 19-30 follow-up: write protection and MCP Tasks
Claude Code 2.1.314, dated October 30, adds permissions.blockWritesOutsideWorkingDirectories. When enabled, Write, Edit, and NotebookEdit refuse paths outside the configured working directories in every permission mode. This provides a write boundary but does not replace review of working-directory configuration or other tool permissions. (https://code.claude.com/docs/en/changelog)
Anthropic's MCP documentation describes MCP Tasks as a public beta for supported Claude Code CLI sessions on version 2.1.304 or later. A compatible server can accept a long-running job and return control so Claude can continue, then deliver the result when the job completes. Support depends on the MCP server and session type; the documentation lists terminal CLI, Agent SDK, and GitHub Actions sessions, and excludes the VS Code extension and desktop app. Remote server tasks can continue after Claude Code exits, while a stdio server process stops when the CLI exits. (https://code.claude.com/docs/en/mcp)
Open-source, model-agnostic AI coding assistant for VS Code and JetBrains
The MCP guide also documents elicitation, which lets a server request structured form input or ask whether to open a URL. Supported modes depend on the protocol revision and server implementation. Treat any requested input or external page as a separate approval decision, especially in non-interactive sessions. (https://code.claude.com/docs/en/mcp)
November 3–4 follow-up: Claude Code 2.1.317 and 2.1.318
The November changelog adds several workflow changes. Version 2.1.317 adds onFailure: "block" to Agent SDK hook callbacks, so a failing callback can block the action, and warns when a scheduled cloud task receives connectors the user did not request. Version 2.1.318 adds a No repository option for hosted cloud sessions and moves a shell command to the background after three minutes on all providers, which Anthropic says helps prevent the prompt cache from expiring while the command runs. See the changelog for the full list of fixes and provider-specific changes. (https://code.claude.com/docs/en/changelog.md)
Separately, Anthropic’s official ClaudeDevs account announced that background subagent status updates now use Haiku 5.5 to write from short notes instead of rereading the full conversation. Anthropic says each status update uses about 99% less of the usage limit; the post says the change is live for most Pro, Max, and Ultra users and all Team and Enterprise users, with Claude Code v2.1.316 or later required. This is an official social announcement, and the supplied changelog does not document the usage comparison. (https://x.com/ClaudeDevs/status/2118063143167693011)
Sources
- Claude Code Docs — official changelog, including versions 2.1.294-2.1.318: https://code.claude.com/docs/en/changelog
- Claude Code Docs — MCP Tasks and elicitation: https://code.claude.com/docs/en/mcp
- Anthropic — Claude Code repository changelog: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
- ClaudeDevs on X — background subagent status usage update (November 4, 2026): https://x.com/ClaudeDevs/status/2118063143167693011
Tools Mentioned in This Article
Free Resource
2026 AI Coding Tools Comparison Chart
Side-by-side comparison of features, pricing, and capabilities for every major AI coding tool.
No spam, unsubscribe anytime.
Workflow Resources
Cookbook
AI-Powered Code Review & Quality
Automate code review and enforce quality standards using AI-powered tools and agentic workflows.
Cookbook
Building AI-Powered Applications
Build applications powered by LLMs, RAG, and AI agents using Claude Code, Cursor, and modern AI frameworks.
Cookbook
Building APIs & Backends with AI Agents
Design and build robust APIs and backend services with AI coding agents, from REST to GraphQL.
Cookbook
Debugging with AI Agents
Systematically debug complex issues using AI coding agents with structured workflows and MCP integrations.
MCP Server
AWS MCP Server
Interact with AWS services including S3, Lambda, CloudWatch, and ECS from your AI coding assistant.
MCP Server
Context7 MCP Server
Fetch up-to-date library documentation and code examples directly into your AI coding assistant.
MCP Server
Docker MCP Server
Manage Docker containers, images, and builds directly from your AI coding assistant.
MCP Server
Figma MCP Server
Access Figma designs, extract design tokens, and generate code from your design files.
Frequently Asked Questions
What is Claude Code 2.1.318 adds workflow controls and background updates?
Related Articles
Cursor Cloud Agents can now build and publish live apps
Cursor Apps lets Cloud Agents build web apps, provision hosting and Postgres, and publish only after required security checks and an explicit user action.
Read more →Product UpdatesOpenAI Images 2.6 adds faster generation, GIFs, and editing controls
OpenAI's GPT-Image-2.6 Sunburst and Flare models add GIF and SVG output, markup-guided editing, and adjustable complexity across ChatGPT, Codex, and the API.
Read more →Product UpdatesOpenAI expands Daybreak Red access for approved security teams
OpenAI announced GPT-6 Cyber for approved Daybreak Red customers and brought GPT-5.6 Cyber to approved AWS GovCloud customers through Amazon Bedrock.
Read more →