Claude Code 2.1.314 and 2.1.316: fast mode for Opus 4.8 ends November 30
Two Claude Code releases from October 30 and 31 deprecate fast mode on Opus 4.8, add a setting that blocks file-tool writes outside the working directories and fix the exit code of a failed claude -p start. The changes that matter if you build with it.
Anthropic published Claude Code v2.1.314 on October 30, 2026 and v2.1.316 on October 31 (GitHub release times, UTC). The change with a deadline is in v2.1.316: fast mode for Opus 4.8 is deprecated as of October 30 and “will be removed on November 30, 2026”. After that, fast mode requests on Opus 4.8 return an error instead of falling back to standard Opus 4.8. The release note says to migrate to Opus 5.5 to keep the speedup.
The facts
- Writes outside the project (2.1.314): the new setting
permissions.blockWritesOutsideWorkingDirectoriesmakes Write, Edit and NotebookEdit “refuse paths outside the working directories in every permission mode”. - Headless runs (2.1.314):
claude -pused to exit with code 0 and no output when startup failed; it now prints the error and exits 1. Sandbox protections now also apply to a worktree entered withclaude -p --resumeor--continue. - Subagent effort (2.1.316):
CLAUDE_CODE_SUBAGENT_EFFORTsets the effort level subagents run at when nothing else names one, instead of inheriting the session’s.CLAUDE_CODE_DISABLE_ULTRATHINKturns theultrathinkkeyword off. - Hooks (2.1.314): hooks that match Bash now also run on shell commands started by the Monitor tool; they can block or ask, but not approve or rewrite those commands. Each PreCompact hook’s output is now cut at 10,000 characters.
- Idle compaction (2.1.314): in VS Code and the Code tab of Claude Desktop, a conversation of 200K tokens or more that is left idle is summarized, and the summary is used on your next message if the prompt cache has expired.
- Restricted sessions (2.1.316):
--restrictedsessions no longer upload files from outside the working directories when a Read allow rule covered them. - Managed settings (2.1.316): for Team and Enterprise logins, settings fetched from Anthropic’s API now apply without an approval prompt, and a stored copy that does not verify is refused.
Both releases list many more fixes; see the full notes for v2.1.314 and v2.1.316.
What it means for builders
Analysis: if you or a script select fast mode on Opus 4.8, switch before
November 30, because the failure will be an error, not a slower answer. The
claude -p fix matters for CI and scheduled jobs: a job that checked only the
exit code could pass with no output when Claude Code failed to start. The new
write setting is a cheap guard when an agent runs with few prompts, but the
release note names only the file tools, not shell commands; our
hooks article shows the same gap for a
file-tool hook, where a Bash redirection still overwrote the file. We have
not tested the new setting.
Not stated in the release notes
Why fast mode on Opus 4.8 is being removed, the accepted values of
CLAUDE_CODE_SUBAGENT_EFFORT, and whether
permissions.blockWritesOutsideWorkingDirectories also covers files written
by commands run through the Bash tool.