Claude Code v2.1.314 adds a setting that blocks file writes outside your working directories
Released Oct 30, the new permissions.blockWritesOutsideWorkingDirectories makes Write, Edit and NotebookEdit refuse paths outside the working directories in every permission mode, and VS Code and Claude Desktop's Code tab now summarize idle 200K+ token conversations so your next message doesn't pay for an expired cache. It also fixes claude -p silently exiting 0 when startup fails.
