發生什麼事
Anthropic's Claude Code v2.1.314 (v2.1.314) adds permissions.blockWritesOutsideWorkingDirectories. Turn it on and requests from Write, Edit, and NotebookEdit that target a path beyond the working directory are rejected, regardless of which permission mode is selected. The release also allows a Claude apps gateway upstream to include an optional groups list. We haven't tested this ourselves (🗣 self-reported).
01Sources
- v2.1.314: Anthropic's official Claude Code release on GitHub, dated 2026-10-30 at 01:06 UTC (09:06 Taipei time); it lists
permissions.blockWritesOutsideWorkingDirectoriesand an optionalgroupslist for a Claude apps gateway upstream.