Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

Claude Code and Codex CLI tighten unattended permission defaults

AI summary

Claude Code 2.1.325 and Codex CLI 0.169.0, released on November 13, 2026, tightened permission defaults for non-interactive and unattended use. Claude Code now sends sandboxed Bash commands and scheduled skills with allowed-tools or hooks through normal confirmation, while Codex disables project configuration and project-defined MCP servers in untrusted directories even with workspace-write sandboxing. The report says users can restore selected automation through explicit settings or directory trust.

In-depth insight

These changes can interrupt unattended AI coding workflows unless teams explicitly configure sandbox auto-approval, skill permissions, or project trust.

2026 年 11 月 13 日(按 UTC 时间),Codex CLI 0.169.0 在 08:37 发布,Claude Code 2.1.325 在 20:40 发布。两个版本发布时间相差约 12 小时,两家都在这一天收紧了非交互与无人值守场景下的默认权限行为。

升级之后,你原本跑得好好的无人值守流程可能会突然停下来等人工确认,或者干脆跳过了项目里的配置:

  • 在 Claude Code 里打开了沙箱跑 Bash 命令的人,升级到 2.1.325 后会发现沙箱内的命令不再自动放行,开始逐条走常规权限确认。
  • 用定时任务或 /loop 自动调起带 allowed-tools 或 hooks 的 skill 时,执行前会停下来弹窗询问。
  • 用 codex exec 在尚未建立信任的目录里跑自动化任务时,即使传了 --sandbox workspace-write,项目级配置(.codex/ 下的配置、hooks、rules)和项目定义的 MCP 服务器也会被禁用。

两家在发布说明和文档里都没有解释这次收紧默认值的背景或原因。要恢复原有的自动化行为,核心改动都很明确:Claude Code 沙箱需要在设置里显式加上 sandbox.autoAllowBashIfSandboxed: true,定时跑的 skill 需要把 Skill(name) 加进 permissions.allow;Codex 则需要在 codex exec 或 codex review 时带上 --trust,或者在用户级 ~/.codex/config.toml 里把对应路径标为 trusted。下面按模块拆解具体的拦截边界与配置改法。

#Claude Code#Codex CLI#Anthropic#OpenAI

Original · 10 min readRead the original
Group chat

No comments yet. Start the conversation.